beautypg.com

Creating a freebsd driver diskette – Avago Technologies 3ware SAS 9750-16i4e User Manual

Page 315

background image

Installing 3ware Drivers and Software under FreeBSD

www.lsi.com/channel/products

303

Creating a FreeBSD Driver Diskette

You need a diskette drive if you are going to be installing FreeBSD on a unit
or drive managed by a 3ware RAID controller card which becomes the boot
unit for which your version of FreeBSD does not have a built-in driver.

To create a driver diskette

1

Insert a blank diskette and the 3ware software CD into a FreeBSD
installed system.

2

Navigate to: packages\drivers\freebsd\

3

Copy the appropriate driver to the diskette, i.e., driver from x86 folder if
you are installing a 32-bit FreeBSD, x86_64 folder if you are installing
64-bit FreeBSD. You need the driver source from
packages\drivers\freebsd\src\

if you are going

to update the kernel with a new driver.

Installing the Kernel Driver Module while you Install the
FreeBSD on a Unit Managed by a 3ware RAID Controller

Use this procedure if your boot unit is going to be managed by the 3ware
RAID controller.

It describes how to load the FreeBSD 7.2 kernel driver module to enable boot
device support and how to then compile the current drivers into the kernel
from source files.

1

Disconnect all SCSI, ATA, and SAS devices in the system, except the CD
or DVD and hard drives connected to the 3ware RAID controller.

2

Create the RAID units on the 3ware RAID controller using 3BM. For
details on how to create and order units, refer to "Creating a Unit through
3BM " and "Ordering Units in 3BM" on pages 97 and 101.

3

Insert the diskette containing

tws.ko

module into the diskette drive.

4

At the FreeBSD boot menu, select 6 "Escape to loader prompt."

Prerequisite:

You need a copy of:
FreeBSD 7.2 (x86 or amd64) OS Installation CD

Note:

This procedure is specific to FreeBSD 7.2 as it requires a compiled module.

For versions of FreeBSD for which a compiled module is not supplied by 3ware it is
necessary to compile your own module from source files. See “Compiling and
Loading the Driver as a Module using kldload” on page 307.