3Ware 7506-4LP User Guide - Page 84

Edit the custom file, Comment out the line under RAID controllers that says

Page 84 highlights

FreeBSD Installation To install the 3ware driver For FreeBSD Version 4.8: The FreeBSD kernel already has an old 3ware driver embedded. You cannot load the new driver on top of the existing driver, so you must first remove it. 1 Make sure the FreeBSD driver is in an accessible location. 2 Remove the old 3ware driver which is part of the kernel. Change to this directory: /usr/src/sys/i386/conf Copy the configuration file to a custom file. For example, if the configuration file is GENERIC, type: cp GENERIC CUSTOM Edit the custom file vi CUSTOM Comment out the line under RAID controllers that says #device twe # 3ware Escalade (move to that line and type #) Save the file. Follow FreeBSD instructions to rebuild the kernel and install the new kernel. 3 Reboot with the rebuilt kernel. 4 Back up /modules/twe.ko 5 Copy the driver file (twe.ko) to /modules cp twe.ko /modules 6 Load the driver kldload twe.ko If units are present, you should see unit information in the system log (usually, /var/log/messages). To make the driver part of the kernel 1 Copy the 3ware driver source file archive (twe.tgz) to an accessible location. 2 Unpack the 3ware driver source files. 3 Back up the original source files under /sys/dev/twe and /sys/modules/twe 4 Copy the new source files (*.c *.h) to /sys/dev/twe 76 3ware Escalade ATA RAID Controller User 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

FreeBSD Installation
76
3ware Escalade ATA RAID Controller User Guide
To install the 3ware driver
For FreeBSD Version 4.8:
The FreeBSD kernel already has an old 3ware driver embedded. You cannot
load the new driver on top of the existing driver, so you must first remove it.
1
Make sure the FreeBSD driver is in an accessible location.
2
Remove the old 3ware driver which is part of the kernel.
Change to this directory:
/usr/src/sys/i386/conf
Copy the configuration file to a custom file. For example, if the
configuration file is GENERIC, type:
cp GENERIC CUSTOM
Edit the custom file
vi CUSTOM
Comment out the line under RAID controllers that says
#device twe # 3ware Escalade
(move to that line and type #)
Save the file.
Follow FreeBSD instructions to rebuild the kernel and install the
new kernel.
3
Reboot with the rebuilt kernel.
4
Back up
/modules/twe.ko
5
Copy the driver file (twe.ko) to /modules
cp twe.ko /modules
6
Load the driver
kldload twe.ko
If units are present, you should see unit information in the system
log (usually,
/var/log/messages
).
To make the driver part of the kernel
1
Copy the 3ware driver source file archive (twe.tgz) to an accessible
location.
2
Unpack the 3ware driver source files.
3
Back up the original source files under
/sys/dev/twe
and
/sys/modules/twe
4
Copy the new source files (*.c *.h) to
/sys/dev/twe