Compiling The Driver As A Loadable Module - AMCC 3ware Installation Manual

Sata raid controller
Hide thumbs Also See for 3ware:
Table of Contents

Advertisement

Driver Installation Under FreeBSD
h
If you intend to bundle the firmware image with the driver,
add the following line to /sys/conf/options:
TWA_FIRMWARE_FLASH
and the following line to your kernel configuration file
("custom" in the example above):
options
i
If you intend to enable printing of debug messages in the
driver, add the following line to /sys/conf/options:
TWA_DEBUG
and the following line to your kernel configuration file
("custom" in the example above):
options
Specifying 0 in the above line prints no debug messages,
whereas specifying 10 prints a LOT of debug messages.
5
Rebuild the kernel and install the new kernel.
6
Reboot with the rebuilt kernel.
Compiling the Driver as a Loadable
Module
If you wish to compile the driver yourself (for a different kernel
version that you are running), then perform the following steps.
1
Create the directories /sys/modules/twa and /sys/dev/twa
mkdir /sys/modules/twa
mkdir /sys/dev/twa
2
Copy the 3ware driver source file archive (twa.tgz) to
/sys/dev/twa
3
Unpack the driver source files.
cd /sys/dev/twa
tar -xzvf twa.tgz
94
3ware 9000 Series Serial ATA RAID Controller Installation Guide
TWA_DEBUG=
.
opt_twa.h
TWA_FLASH_FIRMWARE
opt_twa.h
<number from 0 to 10>

Advertisement

Table of Contents
loading

Table of Contents