Driver Installation Under Linux
5Copy 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.
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 |
|
|
6Make oldconfig
7Untar the driver source with this command:
tar zxfv
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
The created file is
10 To build SMP module boot to desired SMP kernel, type:
make smp
The created file is
11 Copy the module
/lib/modules/<kernel string>/kernel/drivers/scsi/
12Edit /etc/modprobe.conf and add alias scsi_hostadapter
13Load the module modprobe
843ware 9000 Series Serial ATA RAID Controller Installation Guide