Find the answer to your Linux question:
Results 1 to 9 of 9
I have taken tarball of kernel linux-2.6.9 then I followed steps like make mrproper make menuconfig make dep clean make bzImage make modules then when I tred to do make ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4

    Kernel compilation problem

    I have taken tarball of kernel linux-2.6.9 then I followed steps like
    make mrproper
    make menuconfig
    make dep clean
    make bzImage
    make modules
    then when I tred to do make modules_install i got some messege like this
    if [ -r System.map ]; then /sbin/depmod -ae -F System.map System.map 2.6.9; fi
    but I have System.map file there, so tell me what should I do....

  2. #2
    Linux Newbie craigevil's Avatar
    Join Date
    Jun 2005
    Location
    Terra in the Milky Way
    Posts
    110
    Why 2.6.9 when 2.6.18 is the latest kernel in Etch/Sid?

    What are you trying to compile and why?

    Might want to read :
    Creating custom kernels with Debian's kernel-package system
    http://newbiedoc.sourceforge.net/system/kernel-pkg.html
    Debian Sid LXDE Kernel liquorix CPU Pentium IV 2.80GHz GeForce 9400 GT
    Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
    Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi

  3. #3
    Linux User cyberinstru's Avatar
    Join Date
    Jan 2007
    Location
    India
    Posts
    362
    Hey,

    it is not an error msg to worry about it. When installing the compiled modules, module dependencies are checked and also unresolved symbols are checked.

    the file System.map is updated with symbol dependencies and -e option reports any unresolved symbol errors.

    then when I tred to do make modules_install i got some messege like this
    if [ -r System.map ]; then /sbin/depmod -ae -F System.map System.map 2.6.9; fi
    but I have System.map file there, so tell me what should I do...

  4. #4
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4
    To cyberinstru

    If that is not error then I have done entery in /etc/grub/menu.lst file
    After restarting pc it cant load OS . So tell me whats problem

  5. #5
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Did you build an initrd for your kernel ?

    Check out this thread for more details :
    http://www.linuxforums.org/forum/lin...ile-error.html
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  6. #6
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4
    ya

    I have mde initrd image by issuing command

    mkinitrd -o /boot/initrd.img-2.6.9 2.6.9

    then done entry in grub

    title Debian GNU/Linux, Kernel 2.6.9
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.9 root=/dev/hdb1
    initrd /boot/initrd.img-2.6.9
    savedefault
    boot


    Then I cant load the OS on my pc it will restart after selecting kernel from grub, so can you tell me whats problem

    please tell me 2.6.9 is old version or new varsion

  7. #7
    Linux Newbie craigevil's Avatar
    Join Date
    Jun 2005
    Location
    Terra in the Milky Way
    Posts
    110
    ## ## End Default Options ##

    title Debian GNU/Linux, kernel 2.6.18-7-686
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.18-7-686 root=/dev/hda1 ro vga=791
    initrd /boot/initrd.img-2.6.18-7-686
    savedefault

    title Debian GNU/Linux, kernel 2.6.18-7-686 (single-user mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.18-7-686 root=/dev/hda1 ro single vga=791
    initrd /boot/initrd.img-2.6.18-7-686
    savedefault

    I am thinking you need the full kernel name not just the 2.6.9, above is my grub menu.lst
    Debian Sid LXDE Kernel liquorix CPU Pentium IV 2.80GHz GeForce 9400 GT
    Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
    Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi

  8. #8
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    all of what you did nice and good but
    did you copy the bzImage file from /usr/src/linux/arch/i386/boot to the /boot directory?

  9. #9
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4
    ya

    I have copied bzImage from /usr/src/linux-2.6.9/arch/i386/boot to /boot
    then sill I have problem..........

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •