Re: problem to compile linux kernel....

From: *** Voorthuis (none_at_nowhere.invalid)
Date: 09/03/05

  • Next message: John Scudder: "Re: Failing to get wireless card working on Toshiba + Suse"
    Date: Sat, 03 Sep 2005 01:08:52 +0200
    
    

    collinm wrote:

    > hi
    >
    > i use suse 9.3
    >
    > i would to have choice between some kernel... (suse kernel and some
    > compiled by me...)
    >
    > i have folder: linux-2.6.11.4-21.8
    >
    > i copied this folder to linux-2.6.11.4-21.8N (i will use this one for
    > my kernel)
    >
    >
    > /usr/src/linux-2.6.11.4-21.8N
    >
    > i do:
    >
    > make xconfig
    > make bzImage
    > make modules
    > make modules_install
    >
    > cp arch/i386/boot/bzImage /boot/bzImage-2.6.11.4-21.8N
    > cp System.map /boot/System.map-2.6.11.4-21.8N
    > cp vmlinux /boot/vmlinux-2.6.11.4-21.8N
    > mkinitrd -k vmlinux-2.6.11.4-21.8N -i initrd-2.6.11.4-21.8N
    >
    >
    > my grub menu:
    >
    > code:
    > color white/blue black/light-gray
    > default 0
    > timeout 8
    > gfxmenu (hd0,0)/message
    >
    > ###Don't change this comment - YaST2 identifier: Original name:
    > linux###
    > title SUSE LINUX 9.3
    > kernel (hd0,0)/vmlinuz root=/dev/sda5 vga=0x317 selinux=0
    > splash=silent resume=/dev/sda8 showopts
    > initrd (hd0,0)/initrd
    >
    > #Home make kernel
    > title SUSE LINUX 9.3 home made
    > kernel (hd0,0)/bzImage-2.6.11.4-21.8N root=/dev/sda5 vga=0x317
    > selinux=0 splash=silent resume=/dev/sda8 showopts
    > initrd (hd0,0)/initrd-2.6.11.4-21.8N
    >
    >
    >
    > don't understand why... but when i choose SUSE LINUX 9.3 that seem to
    > be my new kernel... (because i'm not able to boot on it) and SUSE
    > LINUX 9.3 home made seem my old...
    >
    >
    > if i boot my old kernel i get some message:
    >
    > code:
    > Sep 2 11:35:03 amd kernel: capability: version magic
    > '2.6.11.4-21.8-default preempt K7 REGPARM gcc-3.3' should be '2.6.11.4
    > -21.8-default 586 REGPARM gcc-3.3'
    > Sep 2 11:35:03 amd kernel: load_module: err 0xfffffff8 (dont worry)
    > Sep 2 11:35:03 amd kernel: ieee1394: version magic
    > '2.6.11.4-21.8-default preempt K7 REGPARM gcc-3.3' should be
    > '2.6.11.4-2
    > 1.8-default 586 REGPARM gcc-3.3'
    > Sep 2 11:35:03 amd kernel: load_module: err 0xfffffff8 (dont worry)
    > Sep 2 11:35:03 amd kernel: raw1394: version magic
    > '2.6.11.4-21.8-default preempt K7 REGPARM gcc-3.3' should be
    > '2.6.11.4-21
    > .8-default 586 REGPARM gcc-3.3'
    > Sep 2 11:35:03 amd kernel: load_module: err 0xfffffff8 (dont worry)
    > Sep 2 11:35:03 amd kernel: ieee1394: version magic
    > '2.6.11.4-21.8-default preempt K7 REGPARM gcc-3.3' should be
    > '2.6.11.4-2
    > 1.8-default 586 REGPARM gcc-3.3'
    > Sep 2 11:35:03 amd kernel: load_module: err 0xfffffff8 (dont worry)
    > Sep 2 11:35:03 amd kernel: ohci1394: version magic
    > '2.6.11.4-21.8-default preempt K7 REGPARM gcc-3.3' should be
    > '2.6.11.4-2
    > 1.8-default 586 REGPARM gcc-3.3'
    >
    >
    >
    > any idea?

    Probably you did not change the 'Local version' when configuring the
    kernel (it is the first item in 'General setup')
    The modules you compiled and installed, are stored in a subdirectory
    in /lib/modules, the name of which is composed of the kernel version,
    rpm version and local version. If none of these has changed, your
    new-compiled modules did overwrite the old ones.
    If you would have changed 'Local version', then a new subdirectory would
    have been created in /lib/modules.
    It seems your old kernel does not boot because it can not find the
    correct modules, the kernel that does boot is actually your new kernel.
    (I don't pretend that I understand all of these things, so I hope
    someone will correct when I am wrong)
    You probably can get the original modules back by re-installing the Suse
    kernel.


  • Next message: John Scudder: "Re: Failing to get wireless card working on Toshiba + Suse"