/********************************************************************************** * PROMISE FastTrak TX 4660/8660/8664/8668 Series Linux Driver Installation Guide * * PROMISE Linux support team 2009/02/02 ***********************************************************************************/ Now we support Linux kernel version : 2.6.27 How to make driver for FastTrak & load it? 1.) Please ensure cc, the source compiler , version is above 3 by issuing Linux command : # gcc -v If you do not install the compiler, you will not be able to built Promise driver. 2.) Please ensure linux kernel source directory is "/usr/src/linux". For SuSE EL9 platform, it always release its kernel source in /usr/src/linux-2.6.7-97. Please make a link to the appropriate directory, for example: # ln -s /usr/src/linux-2.6.7-97 /usr/src/linux For RHEL4 platform, it always release its kernel source in /usr/src/kernels/2.6.9-5.EL.??? which ??? means various kernel images. 3.) Setup Kernel Compile Environment For SuSE EL9, SuSE 10: # cd /usr/src/linux/ # make mrproper # cp arch/$(ARCH)/defconfig.??? .config # Execute 'make' for a while about 5 sec. and then stop its execution. (Avoid below make menuconfig fail...) # Execute 'make menuconfig' & exit with configuration save. # Execute 'make' for a while about 10 sec. and then stop its execution. For RHEL4: DO NOTHING. [1]. $(ARCH) means architecture, which is i386 or x86_64. [2]. ??? is options to make choose, default, smp and bigmem, depend on your booting image. 4.) Check /lib/modules/$(UTS_RELEASE)/build directy was linked properly to /usr/src/linux. UTS_RELEASE is the current version of your booting image. You can get it by issuing Linux command : #uname -r 5.) Goto directory where the PROMISE driver source was located. 5.) Issue Linux command to make FastTrak driver: t3sas.o #make clean #make or #make all 6.) Load PROMISE driver # modprobe -a sd_mod # insmod t8.ko or # insmod t8.o 7.) You can copy this module to /lib/modules/$(UTS_VERSION)/kernel/drivers/scsi/ for automatic load when boot system. Note: 1. Promise partial source can be adapted on kernel 2.6. 2. Different OS may has different kernel source location, please do some modifications of above steps to fit their requirements.