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 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.oto the scsi directory.

/lib/modules/<kernel string>/kernel/drivers/scsi/ 3w-9xxx.o

12Edit /etc/modprobe.conf and add alias scsi_hostadapter 3w-9xxx

13Load the module modprobe 3w-9xxx

843ware 9000 Series Serial ATA RAID Controller Installation Guide

Page 92
Image 92
AMCC 9000 manual Make oldconfig Untar the driver source with this command