RH 9: Compiling modules under BOOT kernel
Rebecca.R.Hepper at seagate.com
Rebecca.R.Hepper at seagate.com
Mon May 3 19:14:48 UTC 2004
I forgot to add something that happens when I try to compile the module in
step 7. When I do a 'make' everything looks good. When I do a 'make
install', I see the following warning:
depmod: *** Unresolved symbols in
/lib/modules/2.4.20-6BOOT/kernel/drivers/net/e1000.o
|---------+--------------------------------->
| | Rebecca.R.Hepper at seaga|
| | te.com |
| | Sent by: |
| | kickstart-list-bounces|
| | @redhat.com |
| | 952-402-3686 |
| | |
| | 05/03/2004 01:15 PM |
| | Please respond to |
| | Discussion list about |
| | Kickstart |
| | |
|---------+--------------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
| |
| To: kickstart-list at redhat.com |
| cc: |
| Subject: RH 9: Compiling modules under BOOT kernel |
>------------------------------------------------------------------------------------------------------------------------------|
Hi All,
I am using RH 9 and need to compile a module under the BOOT kernel because
I need a newer module than what is available with the bootnet.img.
These are my steps:
1. Install the BOOT kernel RPM and the kernel-source RPM
2. /boot/initrd-2.4.20-6BOOT.img does not exist but I'll need to specify it
in the /etc/lilo.conf so I manually create one by running 'mkinitrd
/boot/initrd-2.4.20-6BOOT.img 2.4.20-6.img'
3. Edit /etc/lilo.conf adding a section for the BOOT kernel
4. run /sbin/lilo
5. Reboot the system and boot into the BOOT kernel.
6. Edit /usr/src/linux-2.4.2/include/linux/version.h: set UTS_RELEASE to
2.4.20-6BOOT
7. Untar the e1000 tar file that was downloaded from the Intel site and
compile the module without MODVERSIONS (i.e edit the Makefile - in the
section that defines the standard flags for module builds, delete the
CFLAGS definition that contains the word MODVERSIONS)
While booted into the BOOT kernel, I can do an 'insmod' on the module and
it will install without errors but my eth0 does not work. I guess there
must be something wrong in my steps. Can anyone point me in the right
direction for compiling a module under the BOOT kernel in RH 9?
Thanks!
_______________________________________________
Kickstart-list mailing list
Kickstart-list at redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list
More information about the Kickstart-list
mailing list