[CLUE-Tech] kernel compilation

BOF bof at pcisys.net
Mon Dec 10 14:55:59 MST 2001


After you changed the /etc/lilo.conf file, did you remember to run 
/sbin/lilo to set the changes to the new kernel?

BOF

Timothy C. Klein wrote:

>Did you do 'make modules_install' as root from the /usr/src/linux (or
>wherever it was you built the kernel)?  You don't mention it.  If you
>skipped that, it is loading your new kernel, but the modules you made
>have not been pladed /lib/modules/linux-2.4.3.12, so the kernel can't
>find them.  The modules_install step puts them there.
>
>HTH
>
>Tim
>
>* jason at matchingmoms.com (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
>>
>--
>==============================================
>== Timothy Klein || teece at silverklein.net   ==
>== ---------------------------------------- ==
>== "Hello, World" 17 Errors, 31 Warnings... ==
>==============================================
>_______________________________________________
>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