beautypg.com

3 creating a freebsd os driver diskette – Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 33

background image

LSI Corporation

- 33 -

MegaRAID SAS Device Driver Installation User Guide

June 2014

FreeBSD Driver Installation

Creating a FreeBSD OS Driver Diskette

Driver source files for the FreeBSD 8.x, 9.x and 10.x OSs are located at the following paths:

For the mfi driver: components/src/mfi.tgz

For the mrsas driver: components/src/mrsas.tgz

LSI website

You can download the latest compiled and tested driver modules, and the driver source files for the FreeBSD OS
from the LSI 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 LSI software CD into an installed FreeBSD OS.

2.

Navigate to one of the following folders, depending on the OS version:

For the FreeBSD 8.2 OS, navigate to components/8.2.0.

For the FreeBSD 8.3 OS, navigate to components/8.3.0.

For the FreeBSD 8.4 OS, navigate to components/8.4.0.

For the FreeBSD 9.0 OS, navigate to components/9.0.0.

For the FreeBSD 9.1 OS, navigate to components/9.1.0.

For the FreeBSD 9.2 OS, navigate to components/9.2.0.

For the FreeBSD 10.0OS, navigate to components/10.0.0.

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.

For example:

For the mfi driver, the driver source is in the components/src/mfi.tgz file.

For the mrsas driver, the driver source is in the components/src/mrsas.tgz file.

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

Issues Concerning the LSI mpt Driver and the Outdated LSI mpt Driver

The process for using your MegaRAID controller for primary storage might be affected by the LSI mpt driver and
FreeBSD versions 6.1 to 9.x containing outdated LSI mfi in-box driver.