RH 9: Compiling modules under BOOT kernel
James Harrison
jamesaharrisonuk at yahoo.co.uk
Mon May 3 21:48:40 UTC 2004
Is there a specific reason why you need load the module from the initrd.img
file or is it ok to put an entry into /etc/modules.conf:
alias eth0 e1000
James
--- Rebecca.R.Hepper at seagate.com wrote:
> 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
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
More information about the Kickstart-list
mailing list