3Ware 9500S-4LP Installation Guide - Page 92

The created file is, To build UP module boot to desired UP kernel, type

Page 92 highlights

Driver Installation Under Linux 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. 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 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/drivers/scsi/ 3w-9xxx.o 12 Edit /etc/modprobe.conf and add alias scsi_hostadapter 3w-9xxx 13 Load the module modprobe 3w-9xxx 84 3ware 9000 Series Serial ATA RAID Controller Installation Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 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