Re: Intel Pro 1000 woes

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

 



AS: Ajay Shekhawat

AS> Your writeup works, as long as the modules are already  built by RedHat
AS> and are available on one of the images.
AS> If you have to build your own module (as the original poster had to), then
AS> you get into problems (like unresolved symbols).

You actually can build your own modules for the install kernel without
unresolved symbols: you just have to make sure that your kernel source
tree is configured properly.

These instructions are for RH7.2, adjust appropriately for RH7.3:

(a) The install kernel is 2.4.7-10, so install the kernel-source 
    RPM for that kernel.
(b) /usr/src/linux-2.4.7-10/configs contains all the .config files (the
    file that 'make xconfig' or 'make menuconfig' writes at the end)
    that RedHat used to build the various kernel RPMS.  The one we
    want is kernel-2.4.7-i386-BOOT.config.  

    cp /usr/src/linux-2.4.7-10/configs/kernel-2.4.7-i386-BOOT.config \
        /usr/src/linux-2.4.7-10/.config
    
(c) Configure the kernel source tree:

    cd /usr/src/linux-2.4.7-10
    make oldconfig
    make dep

(d) Now you can go to your e1000 driver source, and configure the
    Makefile appropriately. Namely:

    Change the KSP define to:

       KSP :=  /usr/src/linux-2.4.7-10

(e) Make the driver, an you've got a module that will work with the
    install kernel.  Install it into the initrd.img, and make sure you
    update modules.info and pcitable.

This only covers the boot kernel -- you'll need to do this again for the
live kernel, and make sure it gets installed onto the machine during the
%post phase, or else your install will go fine but you won't be able to
bring up networking after the reboot.

Chris Malek
-- 
cmalek@xxxxxxxxxxx
Nosce Teipsum 
Office:    (626) 395-2593
Fax:       (626) 792-4257
Mail Stop: 014-81





[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