Promise SATAII-150/300 Series Linux Driver ---------------------------------------------------- Jul 5, 2005 Contents ======== - Foreword - Support List - File List - Prerequisties - Building and Installation - Support Foreword ======== This driver should be used with all Promise SATAII150/300 Series adapter and onboard chipsets running under Linux operating system. Support List ============ The following Promise SATAII150/300 series adapters and Linux operating systems are compatible with the drivers in this release: Chipset Adapter Name -------- ------------ PDC40518 Promise SATAII150 TX4 PDC20575 Promise SATAII150 TX2plus PDC20579 Promise SATAII150 579 PDC40718 Promise SATA300 TX4 PDC20775 Promise SATA300 TX2plus PDC20779 Promise SATA300 779 OS kernel version -- -------------- Red Hat EL4 AS kernel 2.6.9-5 SuSE Pro 9.2 kernel 2.6.8-24 N/A kernel 2.6.x (kernel compiled by yourself) File List ========= File Name Description --------- ----------- pdc-ulsata2.c Promise SATAII150/300 Series Linux Driver pdc-ulsata2.h header file of pdc-ulsata2.c Makefile Makefile of linux driver README this README cam/ directory of Common Access Module (CAM). needed by pdc-ulsata2.c Prerequisties ============= A develop environment is required to compile SATAII150/300 Linux driver. The easiest way is to choose develop toolkit when installing linux. 1. kernel source code (PS: Please make sure you have linux kernel source code at ("/usr/src/linux"). For Linux Kernel 2.6 like FedoraCore, it may be installed by rpm command with packaged source. And we recommend the user to refer the Linux's USERGUIDE that you have, if you have any questions about kernel source code.) ex: Under the OS of Fedora Core 3 #rpm -i kernel-2.6.9-1.667.src.rpm #rpmbuild -bp --target=i686 /usr/src/redhat/SPECS/kernel-2.6.9.spec #mv /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9 /usr/src #rpmbuild --rmsource --rmspec /usr/src/redhat/SPECS/kernel-2.6.9.spec #cd /usr/src #ln -s linux-2.6.9 linux #cd linux #make mrproper #cp configs/kernel-2.6.9-i686.config .config #vi Makefile(Modify EXTRAVERSION=-prep to =-1.667) #make menuconfig #make 2. gcc compiler Building and Installation ========================= You can easily build/install driver according to the following steps: Step 1. Set the proper ulsata2 binary make clean Step 2. Build driver binary file. make DRIVER_SRC_DIR=`pwd` Step 3. Install the driver module. #cp -f ulsata2.ko /lib/modules//kernel/drivers/scsi/ulsata2.ko Step 4. Remove the module of sata_promise.ko(if it is necessary) #rmmod sata_promise.ko Step 5. Load the driver module. #insmod ulsata2.ko PS: Makefile script can receive parameters from command line, so if you want to build drive according to specific settings, such as build driver automaticly. Please refer to Makefile script itself or contact to the author. Support ======= For general information, use the following contact information. Phone: (886)-3-578-2395 Fax: (886)-3-578-2390 Web: http://www.promise.com E-Mail: support@promise.com.tw