beautypg.com

Avago Technologies MegaRAID SAS 9341-4i User Manual

Page 36

background image

Avago Technologies

- 36 -

MegaRAID SAS Device Driver Installation User Guide
June 2015

FreeBSD Driver Installation

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

MegaRAID Controller (Secondary Storage)

4.

Issue the following commands to build the ISO image.

The

make command can take several hours to complete.

# cd /usr/src

# make buildkernel TARGET=

NOPORTS=1 \

NODOC=1

Where

<arch> is the architecture for the desired ISO image. Ports and Docs are not included in this example

because it is faster and less complex to leave these values out of the build. If Ports and Docs were included, the
build process might fail because more packages might be needed. Visit the FreeBSD website at

http://www.freebsd.org

for complete documentation about the

make release command.

NOTE

The creation of the ISO image is the last step in the make process. If ISO
image creation fails then run the

make command again, but use the

rerelease command instead of the release command. Using the
rerelease command makes sure that the make process starts up
from where it failed, and not from the start of the

make process, which

could save several hours.

5.

After you successfully complete the

make process, all of the new ISO images are located in the

/usr/obj/usr/src/release release directory.

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.

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.

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

Obtaining Avago FreeBSD Drivers

.

The following procedures document two types of OS installation:

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

Installation on a system includes an Avago controller before the OS installation.

6.5.1

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

Perform the following steps:

1.

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

It is critical to include kernel source files.

2.

After the OS installation, reboot.