AMCC 9000 Benutzerhandbuch

Seite von 126
Driver Installation Under Linux
84
3ware 9000 Series Serial ATA RAID Controller Installation Guide
5
Copy the config file for the kernel you want to build module for 
from the appropriate /usr/src/linux/arch directory (listed below) 
to /usr/src/linux/.config.
6
Make oldconfig
7
Untar the driver source with this command:
tar zxfv 3w-9xxx.tgz 
The driver source will be output to a directory called “driver”.
8
Change directory to driver.
cd driver 
9
To build UP module boot to desired UP kernel, type:
make -f Makefile.oth
The created file is 
3w-9xxx.o
10 To build SMP module boot to desired SMP kernel, type:
make smp -f Makefile.oth
The created file is 
3w-9xxx.smp
11 Copy the module 
3w-9xxx.o 
to the scsi directory.
/lib/modules/
<kernel string>
/kernel/drivers/scsi/
 
3w-9xxx.o
12 Edit 
/etc/modprobe.conf
 and add 
alias scsi_hostadapter 3w-9xxx
13 Load the module
modprobe 3w-9xxx
kernel
directory
x86 UP 
/usr/src/linux/arch/i386/defconfig.default
x86 SMP 
/usr/src/linux/arch/i386/defconfig.smp4g
x86 ATHLON 
/usr/src/linux/arch/i386/defconfig.athlon