- 论坛徽章:
- 0
|
我从网上找到了源码,可是我不会用
这是它的说明文本,请高手帮帮我!!!!
/***********************************************************************
* PROMISE FastTrak TX4000/376/378/S150 TX Series Linux Driver README *
* *
* PROMISE Linux support team <support@promise.com.tw> 2003/07/03 *
***********************************************************************/
How to make and load a Driver module (UP/SMP) for FastTrak
1.) Make sure you have linux kernel source code in /usr/src/linux,
and the gcc version is 3.x by issuing the command -
# gcc -v
2.) Set the Kernel Compiling Environment -
# cd /usr/src/linux/
# make config(or menuconfig/xconfig)
To set kernel config items as you wish as below,
Processor type and features/Processor family
Processor type and features/High Memory Support
Processor type and features/Symmetric multi-processing support
# make dep clean
3.) Go to the directory where PROMISE driver code is located and edit
Makefile.
4.) Choose the parameters in Makefile (default parameter is INDEP586)
ex: INDEP586 for most common case
DEP586 for most common case including module version
SuSE_TB for SuSE linux and Turbolinux,
MDK for Mandrake linux
5.) Issue Linux command to make a FastTrak(UP/SMP) driver: ft3xx.o
#make clean all
6.) Be sure to load scsi_mod.o before "insmod ft3xx.o".
7.) Copy this module to /lib/modules/2.4.x/kernel/drivers/scsi/
8.) Issue "cat /proc/scsi/ft3xx/x" (x is a SCSI host number) to get the
RAID array status. |
|