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

<Kernel Src Dir &gt, from the appropriate /usr/src/linux/arch directory listed below

Page 93 highlights

Driver Installation Under SuSE Linux To compile a 3ware driver for SuSE Linux 2.6 kernels 1 Download the 3ware 2.6 driver source from the 3ware website (www.3ware.com). 2 Copy the driver source into a working directory. (The latest 3ware driver source is bundled with the latest firmware and is in the /src sub-directory.) 3 Install the Kernel source under /usr/src 4 Create a symbolic link. ln -s /usr/src/ /usr/src/linux 5 Change the directory to cd /usr/src/linux 6 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.smp x86 Big SMP /usr/src/linux/arch/i386/defconfig.bigsmp x86_64 UP /usr/src/linux/arch/x86_64/defconfig.default x86_64 SMP /usr/src/linux/arch/x86_64/defconfig.smp 7 Make oldconfig 8 Untar the driver source with this command: tar zxfv 3w-9xxx.tgz The driver source will be output to a directory called "driver". www.3ware.com 85

  • 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 SuSE Linux
www.3ware.com
85
To compile a 3ware driver for SuSE Linux 2.6 kernels
1
Download the 3ware 2.6 driver source from the 3ware website
(www.3ware.com).
2
Copy the driver source into a working directory. (The latest
3ware driver source is bundled with the latest firmware and is
in the /src sub-directory.)
3
Install the Kernel source under
/usr/src
4
Create a symbolic link.
ln -s /usr/src/
<Kernel Src Dir >
/usr/src/linux
5
Change the directory to
cd /usr/src/linux
6
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.
7
Make oldconfig
8
Untar the driver source with this command:
tar zxfv 3w-9xxx.tgz
The driver source will be output to a directory called “driver”.
kernel
directory
x86 UP
/usr/src/linux/arch/i386/defconfig.default
x86 SMP
/usr/src/linux/arch/i386/defconfig.smp
x86 Big SMP
/usr/src/linux/arch/i386/defconfig.bigsmp
x86_64 UP
/usr/src/linux/arch/x86_64/defconfig.default
x86_64 SMP
/usr/src/linux/arch/x86_64/defconfig.sm
p