[CLUE-Tech] kernel compilation

Dan Harris coronadh at coronasolutions.com
Mon Dec 10 11:34:44 MST 2001


Jason,

It sounds like you may have forgotten to "make modules" and "make 
modules_install".  If you are still suspicious that it's not loading the 
right kernel, you can type "uname -a" to see what kernel is in memory.

-Dan

jason at matchingmoms.com wrote:

> I'm trying to attach to my kernel the modules necessary to support a CD-RW.
> I used make xconfig, found the necessary modules, clicked 'M', made dep,
> clean, bzImage, and so on.  The result was a new file:
> 
> root at abigail ~/cdrw $ ll /usr/src/linux-2.4.3/arch/i386/boot/bzImage
> -rw-r--r--    1 root     root       930896 Dec  8 03:56
> /usr/src/linux-2.4.3/arch/i386/boot/bzImage
> 
> I copied this file to:
> 
> root at abigail ~/cdrw $ ls -ltr /boot/*3-12
> -rwxr-xr-x    1 root     root      2178832 Jun  8  2001
> /boot/vmlinux-2.4.3-12
> -rw-r--r--    1 root     root        13598 Jun  8  2001
> /boot/module-info-2.4.3-12
> -rw-r--r--    1 root     root       477638 Sep 30 00:28
> /boot/System.map-2.4.3-12
> -rw-r--r--    1 root     root       930896 Dec  8 13:50
> /boot/vmlinuz-2.4.3-12
> 
> Here's my lilo.conf:
> 
> root at abigail ~/cdrw $ cat /etc/lilo.conf
> boot=/dev/hda
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=50
> message=/boot/message
> linear
> default=linux-2.4.3-12
> 
> image=/boot/vmlinuz-2.4.3-12
>         label=linux-2.4.3-12
>         read-only
>         root=/dev/hda9
> 
> image=/boot/vmlinuz-2.4.2-2
>         label=linux.2.4.2
>         read-only
>         root=/dev/hda9
> 
> I would expect lilo to load my newly-created kernel named
> /boot/vmlinuz-2.4.3-12, but it seems to be loading an older one, because:
> 
> insmod: scsi_mod: no module by that name found
> insmod: sg: no module by that name found
> insmod: sr_mod: no module by that name found
> insmod: loop: no module by that name found
> insmod: iso9660: no module by that name found
> insmod: ide-scsi: no module by that name found
> 
> Please help!
> Thanks,
> Jason
> 
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech
> 





More information about the clue-tech mailing list