Precompiled kernel with Nokia DKU-2

Discussion in 'Kernel Questions' started by the87boy, Sep 11, 2006.

  1. the87boy

    the87boy New Member

    Hey

    I'm having some problems, because I'm going to USA soon, and I'm going to have a mobile phone connected to my mobile phone, while I'm overthere, so I can send smses to my friends and so on
    I have a Nokia 6230i, I will like to have connected to my computer
    Otherwise I'm searching for a precompiled kernel, where usb_serial.h is included
     
  2. falko

    falko Super Moderator Howtoforge Staff

    I don't know where you can find such a kernel... Maybe it's easier to compile your own one?
     
  3. the87boy

    the87boy New Member

    I have given it a try, but it wasn't successful
    I had a config-file, but it's failing everytime, so if someone can compile it for me, I will be very happy
     
  4. Ben

    Ben Active Member Moderator

    Can you copy any output why it is failing and what you are doing stepy by step maybe it is easier to help then...

    Is it failing while compiling or on reboot?
     
  5. the87boy

    the87boy New Member

    Shall I also copy the whole config file in here or?

    It's failing on compiling
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Just post this error for now.
     
  7. the87boy

    the87boy New Member

    Now I had compiled it with just this errors, who are written in the zipped log-file, I had attached.
    Now I can't remember, what I have to do, and the howto, I had followed isn't avaible more
    I had compiled the kernel with this commando:
    Code:
    make-kpkg --revision=custom.1.0 --initrd --rootcmd fakeroot binary-arch
    Shall I just use this commandoes:
    Code:
    dpkg -i linux-image-2.6.17.11_custom.1.0_i386.deb linux-headers-2.6.17.11_custom.1.0_i386.deb
    And then just reboot or what?
     

    Attached Files:

  8. Ben

    Ben Active Member Moderator

    Ah I thought of compiling the "real" source from kernel.org with "patching" or adding the dku2 sources....
     
  9. the87boy

    the87boy New Member

    It was also my meaning, but I couldn't find out of how to do that, so I will make the DKU-2 driver as a module (as described on the http://www.gnokii.org/docs.shtml#dku2) when I can't find out of the other thing
     
    Last edited: Sep 13, 2006
  10. Ben

    Ben Active Member Moderator

    Well I would use this:

    For the first part I would download the actual kernel image from kernel.org,
    unzip it in e.g. /usr/local/src
    cd into the kernel dir
    if you already have a kernel config for that kernel tree (eihter 2.4 or 2.6) copy it into that dir
    run "make menuconfig" and change things which you need or do not need.
    then run the above steps till make (excluding make) and run
    "make bzImage modules modules_install"

    then follow the rest.

    at least do

    cp arch/i386/boot/bzImage /boot/kernel-2.X.XX.X
    cp System.map /boot/System.map-2.X.XX.X
    cp .config /boot/.config-2.X.XX.X

    the rest depends now on your bootloader config if it is lilo or grub...
     
  11. the87boy

    the87boy New Member

    I have done that, but I had used /usr/src instead

    Wouldn't it mean, that I have to compile the kernel first to see, if
    Shouldn't I have installed the kernel first (the .deb-files)? I'm using grub
     
  12. Ben

    Ben Active Member Moderator

    Well the .deb are prceompiled packages I thought...
    It's now matter how you first got your kernel, if you take the one coming with debian or compile one for your self...

    I thought /lib/modules/`uname -r`/build is either a symlink, but did not check that....
     
  13. the87boy

    the87boy New Member

    Don't you have a messenger? It's much easier in that way, I think, because I'm so confused
     
  14. Ben

    Ben Active Member Moderator

    At the moment not, I'm at work sorry. But just describe it here, maybe sb. else has any helpfull ideas...
     
  15. the87boy

    the87boy New Member

    I will do so
    Now I had download and extracted 'linux-2.6.17.13.tar.bz2'
    What shall I do now?
     
  16. the87boy

    the87boy New Member

    Shall I compile the kernel and then edit the kernel again or what do I have to do :confused:
     
  17. falko

    falko Super Moderator Howtoforge Staff

  18. the87boy

    the87boy New Member

    Yes, but I thought, I should do something, before I had to configure the kernel
     
  19. falko

    falko Super Moderator Howtoforge Staff

    No, you must compile a new kernel, and when you run
    Code:
    make menuconfig
    you must select all kernel modules you need.
     
  20. the87boy

    the87boy New Member

    Does that mean, I have to compile the kernel first or what?

    It's easy, but when I run the command below, it says, that there aren't no rules to create the bzImage
    That's what I have done until now
     

Share This Page