beautypg.com

Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 38

background image

LSI Corporation

- 38 -

MegaRAID SAS Device Driver Installation User Guide

June 2014

FreeBSD Driver Installation

Installing the Kernel Driver on a FreeBSD OS that Boots from a Device Not Managed by a

MegaRAID Controller (Secondary Storage)

NOTE

Your MegaRAID controller might be affected by an issue with the LSI
mpt driver in the FreeBSD 8.x and 9.x OSs. If the mpt driver issue
occurs, the system generates soft reset errors and hard reset errors on
bootup, and the DVD does not install the OS. To avoid this issue, you
must disable the mpt driver before you install or boot your FreeBSD OS
until you exclude the mpt driver from the booting kernel.

It helps to install the FreeBSD OS on the drive attached to the motherboard before you install the MegaRAID controller.
This step reduces the possibility of installing the FreeBSD OS to the wrong drive or unit.

The following procedures document two types of OS installation:

Installation on a system does not include an LSI controller before the OS installation.

installation on a system includes an LSI controller before the OS installation.

6.5.1

Installing the FreeBSD OS on a System that Does Not Include an LSI Controller before the
OS Installation

Perform the following steps:

1.

Get the latest driver source files for your version of the FreeBSD OS.

See

Section 6.2, Obtaining LSI FreeBSD Drivers

.

2.

Install the FreeBSD OS, including the kernel source, on a motherboard attached drive.

It is critical to include kernel source files.

3.

After the OS installation, reboot.

4.

Follow the instructions for driver installation in

Section 6.6.1, Updating the Kernel with the New Driver Source

, for

a statically linked module, or in

Section 6.6.2, Compiling and Loading the Driver as a Module by using kldload

(Dynamically Loadable Module)

.

5.

After the FreeBSD OS is installed and the driver is updated, power down the system and install the
MegaRAID controller.

For assistance, refer to the installation guide that came with the controller.

6.5.2

Installing the FreeBSD OS on a System that Includes an LSI Controller Before the
OS Installation

Perform the following steps:

1.

Get the latest driver source files for your version of the FreeBSD OS.

See

Section 6.2, Obtaining LSI FreeBSD Drivers

.

2.

Start the installation process.

As the DVD loads, you are offered boot options.

3.

Select Escape to prompt (option 6 in the FreeBSD 8.x OS and option 2 in the FreeBSD 9.x OS).

4.

To disable the mpt driver for the installation, type the following commands at the prompt, and press Enter.

set hint.mpt.0.disable=1

set hint.mpt.1.disable=1

boot