Thanks to Mark for the detailed instructions.  I'm following his notes now
(on a Redhat RHEL 3.0 server), but the build "make binaries" bombs out
while building dosfstools-2.8:

(lines deleted)
lfn.o(.text+0x462): In function `lfn_add_slot':
: undefined reference to `__cpu_to_le16'
collect2: ld returned 1 exit status
make[2]: *** [dosfsck] Error 1
make[2]: Leaving directory `/scratch/SI/systemimager-3.0.1/src/dosfstools-2.8/dosfsck'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/scratch/SI/systemimager-3.0.1/src/dosfstools-2.8'
make: *** [/scratch/SI/systemimager-3.0.1/src/dosfstools-2.8/mkdosfs/mkdosfs] Error 2


I seem to recall previous problems with dosfstools, but the list archives
don't work at this time, so I wonder if someone can point to a fix for the
dosfstools problem ?


One small glitch in the Mark's notes: > Edit INSMOD_COMMAND > Add nsmod ./e1000.o' should read: Edit INSMOD_COMMAND and append this line: insmod ./e1000.o

Mark Ferlatte wrote:
Notes are below.  I use Debian, but you can probably figure out the parts y=
ou
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 =3D ~/src/systemimager/systemimager-3.0.1/systemimager-3.0.1/sr=
c/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/m=
y_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.


Ole Holm Nielsen
Department of Physics, Technical University of Denmark


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Sisuite-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to