The solution:
This document is written by Albert van Harten.
It describes how to compile the Open Source driver for the Promise Fasttrak 2650 na 4650 on a CentOS Linux.
It might also work on Fedora or Redhat Enterprise Linux distributions, as long as the kernel is a 2.6.x
You need:
- a Linux machine with a Promise Fasttrak 2650 or 4650 card, a SAS harddisk and a SATA or PATA disk and a floppy drive
Note: the SATA or PATA disk are just temporary
- a Windows machine with a floppy drive
- a blank, formatted 1,44 HD diskette
First step: On a Windows-client
First, download
http://www.promise.com/upload/Suppor...201.1.0.12.tgz on a Windows machine.
Unpack the .tgz-file with WinRAR or WinZIP. The content is a .tar-file.
Unpack the .tar-file with WinRAR or WinZIP.
Possibly the unpack utility asks automatically if you want to unpack the .tar-file.
Start rawwritewin.exe, select the rhel5_64.img and create a disk. Make sure you are having a blank, errorfree diskette in your disk drive.
Second step: The Linux machine you want to install the driver
Install Linux as normal, on a SATA or PATA-disk - you can't install YET on the SAS-disk. This will be done later
# yum install kernel-devel
Reply Y when needed
# ln -s /usr/src/kernels/2.6.18-128.1.16.el5-x86_64 /usr/src/linux
# cd /home
# wget
http://www.promise.com/upload/Suppor...0v1.1.0.12.tgz
# tar -zxvf FT\ TX4650-2650\ Linux\ Kernl\ 2.6\ PSC\ v1.1.0.12.tgz
# cd tx4650
# make clean
# make
Following two lines are NOT necessary to create a driver disk, but helps to check if the driver is working. If you are doing this on another machine, without having the Promise Fasttrak card, then those two lines will definitely return with errors.
# modprobe -a sd_mod
# insmod t3sas.ko
Third step: rest of this document is mandatory to fulfill the procedure
# uname -r
The system returns with the kernel version. Note: if you are doing this with another distribution than the one you have planned to install, the kernel version could be different. Make sure, you have installed the same distribution on the SATA / PATA disk, as the one you want to install on the SAS disk.
Remember the kernel version - you'd better write it down.
# mkdir /tmp/floppy
# cd /tmp/floppy
# mkdir [kernelversion]
Note: in stead of typing [kernelversion], type the version number you just wrote down
# cd [kernelversion]
# mkdir x86_64
# cd x86_64
# cp /home/tx4650/t3sas.ko
# cd ../..
# ls -1 */*/*.ko > modules.list
# cpio -o --format=crc < modules-list | gzip -c -9 > modules.cgz
Insert the floppy, you created on your Windows machine, into the floppy drive on your Linux machine
# mkdir /floppy
# mount /dev/fd0 /floppy
# cp modules.cgz /floppy
# cd /floppy
# nano install
On line 7, change base_ver= to the kernel version you wrote down.
Save the install script, you just edited, by pressing Ctrl and X, and then Y
Now you created a proper installation disk.
Shut down the Linux machine, disconnect the SATA / PATA disk, connect your SAS-disk.
Start your Linux installation, and use your driver disk to install Linux on your SAS-disk
Any questions? Feel free to contact me:
Albert van Harten
Havécom Danmark
Sønderbro 27
6823 Ansager
Denmark
Tel.: +45 70 20 09 30 or +31 33 711 55 10
franl@mailme.dk