I'm successfully using SystemImager (sisuite 3.0.1) to populate a
cluster of dual athlon boxes with a RH8.0 (2.4.18 kernel) and eepro100
networking module. Very happy with how well it worked.  Then I got a set
of 3 new machines with a new broadcom nic  - requires the BCM5700 driver
module. Got this module source from BroadCom (v7.1.9), built and working
on the golden client (2.4.18-14smp kernel).  Tried to use the regular
autoinstall CD for booting the blank nodes to suck down the image, but
couldn't bring up the nic (two onboard GigE nics on this motherboard). 

So, I figured, follow instructions in the docs
(http://www.systemimager.org/doc/html/c673.html#AEN807) to add a driver
for a special card to the initrd.img. Figured out that process:
Loopback mount initrd.img
Copy filesystem to disk
Slap the bcm5700.o file into the appropriate place (my_modules dir)
Add a line to "insmod bcm5700" to the INSMOD_COMMANDS file
then manually created the initrd.img (using mkcramfs, gzip as the
makefile in the initrd_source directory would do). 
And pop it into the /usr/share/systemimager/boot/i386/standard dir and
run mkautoinstallcd

I didn't rebuild the kernel under the systemimager source dir since I
only wanted to add in a module so I figured my module (built against
2.4.20 kernel on a uniprocessor machine) should be OK. Go the new
autoinstallcd setup, confirmed it had my module in it and attempted the
node boot with the fresh CD. 

End result - a bunch of unresolved symbols during the insmod step, all
suspiciously containing the string Rsmp in them. Can send list, but have
to manually type it since no networking on that node now.

A complication I have is that the stupid broadcom module building script
assumes you only want to build against the **running** kernel, seemingly
not giving the option to build against any old kernel source you have
lying around (it gratuitously uses uname -r throughout to determine
kernel version). So I can hack that to try to build against the
systemimager kernel source, if that might be what's needed. 

I also tried building the systemimager package from source tarball, on
RH8.0, 2.4.20 kernel. Hit a roadblock (see below)

Any help - greatly appreciated....

Fred



gcc -Wall -Os -falign-functions=1 -march=i386
-mpreferred-stack-boundary=2 -falign-jumps=0 -falign-loops=0
-fno-builtin -nostdinc  -I../../../include -iwithprefix include -I.
-D_LIBC  -DNDEBUG  -fPIC -D_LIBC_REENTRANT -c alphasort.c -o alphasort.o
In file included from dirstream.h:30,
                 from alphasort.c:3:
../../../include/pthread.h:163: parse error before "__thread"
../../../include/pthread.h:165: `pthread_create' declared as function
returning a function
../../../include/pthread.h:166: parse error before "void"
../../../include/pthread.h:591: storage class specified for parameter
`type name'
In file included from ../../../include/pthread.h:655,
                 from dirstream.h:30,
                 from alphasort.c:3:
../../../include/bits/sigthread.h:36: storage class specified for
parameter `type name'
make[4]: *** [alphasort.o] Error 1
make[4]: Leaving directory
`/root/Install/sisuite_src/systemimager-3.0.1/initrd_source/src/uClibc-0
.9.12/libc/misc/dirent'
make[3]: *** [_dir_dirent] Error 2
make[3]: Leaving directory
`/root/Install/sisuite_src/systemimager-3.0.1/initrd_source/src/uClibc-0
.9.12/libc/misc'
make[2]: *** [_dir_misc] Error 2
make[2]: Leaving directory
`/root/Install/sisuite_src/systemimager-3.0.1/initrd_source/src/uClibc-0
.9.12/libc'
make[1]: *** [_dir_libc] Error 2
make[1]: Leaving directory
`/root/Install/sisuite_src/systemimager-3.0.1/initrd_source/src/uClibc-0
.9.12'
make: ***
[/root/Install/sisuite_src/systemimager-3.0.1/initrd_source/src/uclibc_b
uild-stamp] Error 2





-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Sisuite-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to