beautypg.com

Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 29

background image

LSI Corporation

- 29 -

MegaRAID SAS Device Driver Installation User Guide

December 2012

Chapter 6: FreeBSD Driver Installation

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

MegaRAID Controller (Secondary Storage)

11. Upon boot, continue with the instructions in

Section 6.6.1, Updating the Kernel with the New Driver Source

, for a

statically linked module.

6.5

Installing the Kernel Driver on a FreeBSD OS That Boots from a Device Not
Managed by a MegaRAID Controller (Secondary Storage)

Perform the procedures in this section if the FreeBSD OS boots from a device that is not managed by a MegaRAID
controller, but in which the MegaRAID controller is or will be present on the system and used for managing
secondary storage.

When you use the virtual drive managed by the MegaRAID controller for secondary storage, you do not need to use a
driver diskette for driver installation.

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.

Perform the following steps:

1.

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

See

Section 6.2, Obtaining LSI FreeBSD Drivers

.

2.

If your system does not include an LSI controller before the OS installation, perform the following steps. If your
system includes an LSI controller, go to step

3

.

a.

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

It is critical to include kernel source files.

b.

After the OS installation, reboot and then 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)

.

c.

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

For assistance, see the quick installation guide that came with the controller.

3.

If your system includes an LSI controller, perform the following steps:

a.

Start the installation process.

As the DVD loads, you are offered boot options.

b.

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

c.

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

OK set hint.mpt.0.disable=1

OK set hint.mpt.1.disable=1

OK boot

d.

Proceed with the installation on a drive attached to the motherboard.

Make sure you install the full the FreeBSD OS source.

After the OS installation, follow the instructions for driver installation in

Section 6.6.1, Updating the Kernel with the

New Driver Source

, (for static linking) or in

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

kldload (Dynamically Loadable Module)

.

NOTE Your MegaRAID controller might be affected by an issue with the LSI mpt driver in the FreeBSD 7.x, 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 need to disable the mpt driver before
you install or boot your FreeBSD OS until you exclude the mpt driver from the booting kernel.