beautypg.com

2 obtaining avago freebsd drivers, 3 creating a freebsd os driver diskette – Avago Technologies MegaRAID SAS 9341-4i User Manual

Page 33

background image

Avago Technologies

- 33 -

MegaRAID SAS Device Driver Installation User Guide
June 2015

FreeBSD Driver Installation

Obtaining Avago FreeBSD Drivers

6.2

Obtaining Avago FreeBSD Drivers

Avago drivers can be compiled from source files into the kernel as built-in drivers or they can be modules that are
loaded manually or by the operating system. Both source files and modules are available from Avago, but modules
with current controller drivers are available for the FreeBSD 9.2, 9.3, 10.0, and 10.1operating systems.

You can obtain the MegaRAID controller driver for the FreeBSD OS from one of these two sources:

Avago software CD-ROM, which includes the following items:

Compiled and tested kernel driver modules for the FreeBSD OSs are located at:

components/<OS_Version>/<Architecture>

Driver source files for the FreeBSD OSs are located at the following path:

components/src/mrsas.tgz

Avago website

You can download the latest compiled and tested driver modules, and the driver source files for the FreeBSD OS from
the company website at

http://www.lsi.com/support/Pages/download-search.aspx

.

6.3

Creating a FreeBSD OS Driver Diskette

You need a diskette to install the FreeBSD OS on a virtual drive or a drive that is managed by a MegaRAID controller.
The virtual drive or drive then becomes the boot unit for which your version of the FreeBSD OS does not have an
up-to-date built-in driver.

Follow these steps to create a driver diskette.

1.

Insert a blank diskette and the Avago software CD into an installed FreeBSD OS.

2.

Navigate to the following folder path, depending on your current FreeBSD OS version and the system architecture:

components/<OS_Vesrsion>/<Architecture>/boot/kernel/mrsas.ko

3.

Copy the appropriate driver to the diskette.

This driver is the driver from the folder

i386 if you are installing the 32-bit FreeBSD OS, and the amd64 folder if

you are installing the 64-bit FreeBSD OS.

You need the driver source from the file

components/src/driver_name.tgz to update the kernel with a

new driver.

6.4

Installing the FreeBSD OS on Storage Managed by a MegaRAID Controller
(Primary Storage)

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

Use the procedure in this section if your boot unit is going to be managed by the MegaRAID controller.

6.4.1

Installing the FreeBSD OS on Storage Managed by a MegaRAID Controller

Use the following procedure if your boot unit will be managed by the MegaRAID controller.

For the FreeBSD OS versions 9.x or 10.x, the FreeBSD system contains the

mfi(4) driver as an inbox solution in the

kernel. A new FreeBSD kernel ISO must to be created to exclude the

mfi(4) driver before you load the mrsas(4)