I have read the FAQ on adding a driver but it didn't work for me and I am looking for some hints or advice on what I might have done wrong.
Background: I want to install from an existing image to a new client system whose SCSI adapter is newer than the golden client but is otherwise hardware "similar" to the golden client, so I am positive the image will work other than this missing driver. The older clients have an AIC78xx adapter and the newer ones have an AIC79xx adapter, so they use the aic7xxx vs aic79xx drivers. The auto installer does not have the aic79xx driver so it sees no disks to partition. I read the FAQ at http://www.systemimager.org/doc/html, and learned that I need to create a custom boot package. It seems that there are some variations on how one can do this. I opted for a complete build from source partly because the pre-built modules I found did not seem to be the right kernel version or architecture (although this may be a lack of understanding on my part). In any case, I thought I would try the "whole ball of wax" since that might also be a good learning experience. What I did: - download the source tarball from systemimager.org. The FAQ says to do a make patched_kernel-stamp and I was at the top of the systemimager source tree, but it returns: make: Nothing to be done for `patched_kernel-stamp'. Any suggestions on what went wrong here? - So I figure I would try the prebuilt module even though the version doesn't quite seem right (I am running 2.4.18-18.7.xsmp on a dual athlone and the closest module I found was for i686 and kernel 2.4.14 or some such--I don't know anymore because my desktop system disk died) and I do: vi initrd_source/my_modules/INSMOD_COMMANDS to add insmod aic79xx.o at the end of the file and then I move the .o file to that directory as well. I change the flavor file to contain "aic79xx". Then I do make binaries which quickly fails due to something missing so I install the e2fsprogs-devel package, and the make then gets a heck of a long way before failing on a syntax error: ... make -C dirent make[4]: Entering directory `/var/lib/systemimager/src-3.0.1/initrd_source/src/uClibc-0.9.12/libc/misc/dirent' 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 `/var/lib/systemimager/src-3.0.1/initrd_source/src/uClibc-0.9.12/libc/misc/dirent' make[3]: *** [_dir_dirent] Error 2 make[3]: Leaving directory `/var/lib/systemimager/src-3.0.1/initrd_source/src/uClibc-0.9.12/libc/misc' make[2]: *** [_dir_misc] Error 2 make[2]: Leaving directory `/var/lib/systemimager/src-3.0.1/initrd_source/src/uClibc-0.9.12/libc' make[1]: *** [_dir_libc] Error 2 make[1]: Leaving directory `/var/lib/systemimager/src-3.0.1/initrd_source/src/uClibc-0.9.12' make: *** [/var/lib/systemimager/src-3.0.1/initrd_source/src/uclibc_build-stamp] Error 2 The machine I am running this on is the imageserver NOT an image client--is that okay? The server is RH8.0 with updates to 2.4.18-27 and I installed the Development and Kernel Development groups of packages. Any ideas on what could be wrong? It is like I have the wrong version of the pthread.h file? Thanks for any suggestions or comments. Gerald Justice ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Sisuite-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sisuite-users
