RH 9: Compiling modules under BOOT kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux