3ware 9690SA SAS/SATA RAID Software User Guide Addendum for FreeBSD

3ware® SAS/SATA RAID Software User Guide Addendum
for FreeBSD
Supports the 9690SA Models
PN 720-0179-00 February 2008
©2004-2008 Applied Micro Circuits Corporation (AMCC). All rights reserved. This publication may be copied or reproduced for reference purposes only. All other purposes require the express written consent of AMCC, 215 Moffett Park Drive, Sunnyvale, CA 94089. AMCC shall not be responsible or liable for, and shall be held harmless against, any and all damages, claims, and/or disputes that arise from the copying or reproduction of this publication.
Trademarks
3ware®, Escalade®, 3DM®, and TwinStor® are all registered trademarks of AMCC. The 3ware logo, 3BM, Multi-Lane, StorSave, StorSwitch, StreamFusion, and R5 Fusion are all trademarks of AMCC. PowerPC and the PowerPC logo are trademarks of International Business Machines Corporation. Linux® is a registered trademark of Linus Torvalds in the United States, other countries, or both. Windows® is a registered trademark of Microsoft Corporation in the United States and other countries. Firefox® is a registered trademark of the Mozilla Foundation. PCI Express® is a registered trademark of PCI-SIG®. All other trademarks herein are property of their respective owners.
Disclaimer
While every attempt is made to make this document as accurate as possible, AMCC assumes no responsibility for errors or omissions in this document, nor does AMCC make any commitment to update the information contained herein.
3ware® SAS/SATA RAID Software User Guide Addendum for FreeBSD
This document is an addendum to the 3ware SAS/SATA RAID Software User Guide, Version 9.5.
It provides information about support for FreeBSD under version 9.5.0.1 of the 3ware RAID controller software.
For general information about using the 3ware RAID controller management software (3BM and 3DM), see the 3ware SAS/SATA RAID Software User Guide, Version 9.5.
For information on installing your 3ware RAID controller card, see the Installation Guide for your 3ware RAID controller model. If you do not have the copy that came with your controller, electronic versions are available on the 3ware website at http://www.3ware.com/support/userdocs.asp.
This document includes these topics:
“Driver Installation Under FreeBSD” on page 1
“Updating Drivers under FreeBSD” on page 6
“Updating the Firmware Under FreeBSD” on page 9
“Installing 3ware RAID Controller Management Software for FreeBSD”
on page 10
“Uninstalling 3DM 2 on FreeBSD” on page 12
“Starting the 3DM 2 Daemon under FreeBSD” on page 12

Driver Installation Under FreeBSD

Notes: If you use FreeBSD 6.3 or later you do not need to install drivers, as driver
support up through the 3ware 9690SA RAID controller is built into the kernel. If you need to do an update to your drivers, see “Updating the Kernel with the New
Driver Source” on page 6. For a complete list of supported versions of FreeBSD and 3ware RAID controllers,
see http://www.3ware.com/support/OS-support.asp.
www.3ware.com 1
Driver Installation Under FreeBSD
This section provides details about how to install the driver for your 3ware RAID controller under FreeBSD and make the units available if you use a version prior to 6.3 and later than 5.0.
If the units you have created will be your boot device, you will install the
driver for the controller as you install FreeBSD.
If the operating system is already installed on a unit connected to another
controller or to the motherboard, you will start FreeBSD and then install the driver.
This section includes these topics:
Obtaining 3ware FreeBSD Drivers
Creating A FreeBSD Driver Diskette
Installing the Kernel Driver Module while Installing FreeBSD 6.2 on a
Unit Managed by a 3ware RAID Controller
Installing the 3ware Kernel Driver on a FreeBSD System that Boots from
a Different Device

Obtaining 3ware FreeBSD Drivers

3ware drivers can be compiled from source files into the kernel as built-in drivers or can be modules that are loaded by the operating system. Both source files and modules are available from 3ware, but modules with current controller drivers are only available for FreeBSD 5.5 and FreeBSD 6.2.
You can obtain the 3ware RAID controller driver for FreeBSD from one of these two sources:
3ware software CD-ROM. This CD includes: Compiled and tested kernel driver modules for FreeBSD 5.5 and
FreeBSD 6.2, located at:
FreeBSD 6.2 32bit: packages/drivers/freebsd/6.2/x86 FreeBSD 6.2 64bit: packages/drivers/freebsd/6.2/x86_64
FreeBSD 5.5 32bit: packages/drivers/freebsd/5.5/x86
FreeBSD 5.5 64bit: packages/drivers/freebsd/5.5/x86_64
Driver source files for FreeBSD 5.x, 6.x, and 7.x, located at:
FreeBSD 5.x: packages/drivers/freebsd/src/5.x FreeBSD 6.x: packages/drivers/freebsd/src/6.x
FreeBSD 7.x: packages/drivers/freebsd/src/7.x
3ware web site. You can download the latest compiled and tested driver
modules and driver source files for FreeBSD from the 3ware web site at
http://www.3ware.com/support/index.asp.
2 3ware SAS/SATA RAID Software User Guide Addendum for FreeBSD, Version 9.5.0.1
Driver Installation Under FreeBSD

Creating A FreeBSD Driver Diskette

You will need a driver diskette if you are going to be installing FreeBSD on a unit or drive managed by a 3ware RAID controller card which will become the boot unit and for which your version of FreeBSD does not have a built-in driver.
To create a driver diskette
1 Insert a blank floppy diskette and the 3ware software CD-ROM into a
FreeBSD installed system.
2 Create a mount point for the floppy.
mkdir /floppy
3 Format the floppy.
newfs /dev/fd0 (assuming fd0 is the floppy disk drive)
4 Mount the floppy drive.
mount -t ufs /dev/fd0 /floppy
5 Mount the 3ware software CD-ROM.
mount -t cd9660 /dev/acd0 /cdrom (assuming acd0 is the CD-
ROM drive).
6 Copy the appropriate module from the 3ware CD-ROM to the floppy . For
example:
cp /cdrom/packages/drivers/freebsd/6.2/x86_64/twa.ko /floppy
www.3ware.com 3
Loading...
+ 9 hidden pages