beautypg.com

Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 34

background image

LSI Corporation

- 34 -

MegaRAID SAS Device Driver Installation User Guide

June 2014

FreeBSD Driver Installation

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

If the mpt driver issue occurs, the system generates a continuous soft and hard reset, and the system cannot boot. The
installation disk will not install the OS and the process must be terminated. To avoid the issue with the mpt driver, you
need to disable the mpt driver.

If you have FreeBSD versions up to 8.2 or 9.0, your FreeBSD OS most likely contains the outdated mfi driver in the
kernel. You might need a new FreeBSD kernel ISO to exclude the outdated mfi driver, before you load the updated mfi
driver (version 4.8 or newer) or the mrsas driver. With the new FreeBSD kernel ISO, and the updated mfi driver
(version 4.8 or newer) or the mrsas driver, you can complete the installation and boot your FreeBSD system through a
MegaRAID virtual drive.

This situation no longer exists after the mpt driver issue is fixed and the outdated inbox mfi driver is replaced with the
new mfi driver. LSI is working to resolve this situation so that the extra steps are not necessary in the future. This issue
does not affect the FreeBSD 8.3 and FreeBSD 8.4 OS.

See

Section 6.4.3, Creating a Custom ISO Image to Exclude the mfi and mpt Drivers

, if your FreeBSD OS has this issue.

After you create a custom FreeBSD Installation disk with the new FreeBSD kernel custom ISO image, and you have the
mfi driver (version 4.8 or newer) or the mrsas driver ready, follow the instructions in

Section 6.4.2, Installing the

FreeBSD OS on Storage Managed by a MegaRAID Controller

. These instructions describe how to load the FreeBSD

kernel driver module to enable boot device support, and then how to compile the current drivers into the kernel from
source files.

6.4.2

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.

As a prerequisite, you need an OS Installation CD for the FreeBSD 8.2 and FreeBSD 9.0 OSs (i386 or amd64). Use the CD
that you created using the instructions in

Section 6.4.3, Creating a Custom ISO Image to Exclude the mfi and mpt

Drivers

. Although LSI does not fully support the FreeBSD 6.x OS, the FreeBSD 6.x OS versions also require a custom ISO

image if primary storage is required.

NOTE

This procedure is specific to versions of the FreeBSD OSs for which a
compiled module is available. For other versions of a FreeBSD OS for
which a compiled module is not supplied by LSI, you must compile
your own module from source files. See

Section 6.6.2, Compiling and

Loading the Driver as a Module by using kldload (Dynamically
Loadable Module)

.

Perform the following steps to install the FreeBSD OS on storage managed by a MegaRAID controller:

1.

Disconnect all SCSI, ATA, and SAS devices in the system, except for the CD/DVD drive, and the hard drives that are
connected to the MegaRAID controller.

2.

Create the RAID virtual drives on the MegaRAID controller using WebBIOS or Preboot CLI.

3.

Insert the FreeBSD Installation disk into the CD/DVD drive, and boot from it.

4.

At the FreeBSD boot menu, select Escape to loader prompt (option 6 in the FreeBSD 8.x OS, and option 2 in the
FreeBSD 9.x OS).

5.

Insert the diskette containing the driver_name.ko module for the specific version of the FreeBSD OS into the
diskette drive.

If you use a USB flash drive, you might need to insert the drive before booting so the drive can be seen in the next
step. If so, make sure to boot from the CD/DVD drive and not from the USB drive.

For the mfi driver, the driver_name.ko is mfi.ko.

For the mrsas driver, the driver_name.ko is mrsas.ko.