Building and Installation ========================= You can easily build/install driver according to the following steps: Step 1. Set the proper ulsata2 binary make clean wescotte@Slackbox:~/ut_mod$ make clean cd cam; rm -rf *.o *.ko .*.cmd .?*.o.d .*tmp*; cd .. rm -rf *.o *.ko .*.cmd .?*.o.d .*tmp* ulsata2.mod.c Step 2. Build driver binary file. make DRIVER_SRC_DIR=`pwd` wescotte@Slackbox:~/ut_mod$ make DRIVER_SRC_DIR=`pwd` make -C /usr/src/linux SUBDIRS=`pwd` modules make[1]: Entering directory `/usr/src/linux-2.4.31' make -C /home/wescotte/ut_mod CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.31/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -DMODULE" MAKING_MODULES=1 modules make[2]: Entering directory `/home/wescotte/ut_mod' make[2]: *** No rule to make target `modules'. Stop. make[2]: Leaving directory `/home/wescotte/ut_mod' make[1]: *** [_mod_/home/wescotte/ut_mod] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.31' make: *** [default] Error 2 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.