Ole Holm Nielsen said on Mon, Mar 22, 2004 at 04:26:24PM +0100:
> This is probably a FAQ:  We need a kernel (+ initrd.img ?) which
> supports the Intel e1000 driver, as well as Serial-ATA disks.
> Does anyone have it available for download ?
 
Not for download, but I have instructions for how to build one that supports
the e1000.  Don't have any SATA hosts, so can't help you with that.

Notes are below.  I use Debian, but you can probably figure out the parts you
need.

M

mkdir ~/src/systemimager
cd ~/src/systemimager
apt-get source systemimager # ~ 45MB
cd systemimager-3.0.1
tar -xjf systemimager-3.0.1.tar.bz2
cd systemimager-3.0.1
make patched_kernel-stamp

There is now a systemimager kernel source tree in src/linux-2.4.20

Download the e1000 source from Intel:
http://support.intel.com/support/network/sb/cs-006120-prd38.htm

mkdir ~/src/e1000
cd ~/src/e1000
tar -xzf e1000.tar.gz
cd e1000/src
Edit Makefile:
    Set KSP = ~/src/systemimager/systemimager-3.0.1/systemimager-3.0.1/src/linux-2.4.20
make
cp e1000.o 
~/src/systemimager/systemimager-3.0.1/systemimager-3.0.1/initrd_source/my_modules
cd ~/src/systemimager/systemimager-3.0.1/systemimager-3.0.1/initrd_source/my_modules
Edit INSMOD_COMMAND
    Add nsmod ./e1000.o'
cd ~/src/systemimager/systemimager-3.0.1
Edit FLAVOR
    Change it to something else (like e1000) for testing.
make binaries
    Go get lunch... this takes a _long_ time.
sudo make install_binaries
    This puts the binaries into /usr/share/systemimager/boot/i386/e1000

Now copy kernel, config, and initrd.img from e1000 to the master, and to the
master /tftpboot.

Test.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to