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

Driver Installation Under FreeBSD
www.3ware.com 55
To install the 3ware kernel driver module when FreeBSD is
installed on a device on the motherboard
1 Make sure the 3ware RAID controller is not installed in the system yet.
2 Install FreeBSD to a disk attached to the motherboard ATA controller.
Be sure to install the full FreeBSD source.
3 Once FreeBSD is installed, power down the system and install the 3ware
RAID controller. For assistance, see the installation guide that came with
the controller.
Create the RAID units on the controller using either 3BM (the BIOS of
the controller) or 3DM2/CLI (once FreeBSD is loaded).
4 Boot to FreeBSD.
5 Once the system boots up, replace the twa driver sources at
/sys/dev/twa and /sys/modules/twa with the new sources that
have 9550SX/9590SE/9650 support, for the OS version being used.
The sources for the new kernel driver module for FreeBSD 5.4 can be
found on both the 3ware CD-ROM and the 3ware website.
For step-by-step instructions, see “To update the kernel with new driver
source” on page 53.
6 Build the kernel with the new driver sources.
For help with this, see http://www.freebsd.org/doc/en_US.ISO8859-1/
books/handbook/kernelconfig-building.html.
7 Reboot your system.
Compiling and Loading the driver as a Module
If you want to compile the driver and load it as a module without rebuilding
the kernel, follow these steps.
1 Disconnect all SCSI devices in the system, except the ones connected to
the 3ware RAID controller.
2 Create the RAID units on the 3ware RAID controller using 3BM (BIOS)
3 Unpack twa.tgz and copy (*.c and *.h) files to
sys/dev/twa and
Makefile to
sys/modules/twa
Note: The 6.x source files are located on the CD at
/packages/drivers/freebsd/src/6.x/twa.tgz
The 5.x source files are located on the CD at
/packages/drivers/freebsd/src/5.x/twa.tgz










