User guide
Table Of Contents
- Title Page
- Table of Contents
- About this User Guide
- Introducing the 3ware® SATA RAID Controller
- Getting Started with Your 3ware RAID Controller
- First-Time RAID Configuration Using 3BM
- Driver Installation
- Driver Installation Under Windows
- Driver Installation Under Linux
- Obtaining 3ware Linux Drivers
- Driver Installation Under Red Hat Linux or Fedora Core 5
- Materials required
- Creating a Red Hat Linux Driver Diskette
- Installing the 3ware Kernel Driver Module while Installing Red Hat Linux on a New Unit
- Installing the 3ware Kernel Driver Module on a Red Hat or Fedora Core Linux System that Boots From a Different Device
- About Variables In the Kernel Driver Module Installation Instructions
- Driver Installation Under SuSE Linux
- Compiling a 3ware Driver for Linux
- Driver Installation Under FreeBSD
- 3ware BIOS Manager 2 (3BM 2) Introduction
- 3DM 2 (3ware Disk Manager) Introduction
- Configuring Your Controller
- Configuring Units
- Configuring a New Unit
- Creating a Hot Spare
- Naming a Unit
- Setting Unit Policies
- Changing An Existing Configuration by Migrating
- Deleting a Unit
- Removing a Unit
- Moving a Unit from One Controller to Another
- Adding a Drive
- Removing a Drive
- Rescanning the Controller
- Maintaining Units
- Checking Unit and Drive Status through 3DM
- About Degraded Units
- About Inoperable Units
- Alarms, Errors, and Other Events
- Background Tasks
- Scheduling Background Tasks
- Locating a Drive by Blinking Its LED
- Maintaining Your Controller
- Determining the Current Version of Your 3ware Driver
- Updating the Firmware and Driver
- Downloading the Driver and Firmware
- Updating the Firmware Through 3DM 2
- Updating the 3ware Driver and Firmware Under Windows
- Using the Update Utility With Multiple Controllers
- Updating the 3ware Driver Under Windows XP
- Updating the 3ware Driver Under Red Hat or Fedora Core
- Updating the 3ware Driver Under SuSE
- Updating the 3ware Driver Under FreeBSD
- Updating the Firmware Under Linux and FreeBSD
- Viewing Battery Information
- Testing Battery Capacity
- 3DM 2 Reference
- Troubleshooting
- Appendices
- Index

Chapter 4. Driver Installation
54 3ware Serial ATA RAID Controller User Guide
3Go to /usr/src/sys/conf/ and edit kern.pre.mk (use vi or any
other editor).
Below this line:
INCLUDES+= -I$S/contrib/ngatm
Add this line: INCLUDES+= -I$S/dev/twa
Save changes.
4Go to usr/src/sys/i386/conf or /usr/src/sys/amd64/conf,
depending on whether you have a 32-bit or 64-bit version of FreeBSD 5.4
(respectively).
a Edit the
GENERIC file (use vi or any other editor).
b Make sure
Device twa # 3ware 9000 series is not commented
out.
c Save changes.
dDo
config (GENERIC, SMP, PAE), using the flags required for your
hardware, followed by
cd ../compile/SMP
make clean
make cleandepend
make depend
make
make install
5 Reboot your system.
When the system reboots, the new kernel driver module will load
automatically.
Installing the 3ware Kernel Driver Module on a FreeBSD
System that Boots from a Device on the Motherboard
Use the steps in this section if FreeBSD is installed on a boot drive attached to
the motherboard ATA controller, and you will be using the unit on your 3ware
RAID controller for secondary storage.
When you use the controller for secondary storage, you do not need to install
the kernel driver module, however you may want to update the kernel with it.
Note: If you have more than 4 GBytes of system memory, you will need to use the
PAE kernel. The FreeBSD PAE kernel has a bug that requires the 3ware driver to
be statically compiled. Do not dynamically load the kernel driver module (e.g.
kldload twa.ko); doing so will cause the kernel to panic.










