beautypg.com

Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 37

background image

LSI Corporation

- 37 -

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)

Where <version> is the FreeBSD version being built, and <arch> is the architecture for the desired ISO image.
The BUILDNAME and CHROOTDIR values are examples. You can set these values to whatever you want. 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 the
ISO image creation fails, make sure the latest /usr/local/bin/
files and /usr/local/lib/ files are copied into the
<CHROOTDIR>/usr/local/bin

and <CHROOTDIR>/usr/

local/lib

folders. If these folders already exist, and the files are up

to date, the next step is to make sure that the cdrtools package was
installed successfully. If the package was not installed successfully, use
the sysinstall utility or another method to get this package.

After the cdrtools package is installed, make sure again that the

/usr/local/bin/

and /usr/local/lib/ folders are up to

date, as described previously. 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.

NOTE

For FreeBSD OS version 9.0 or later, the make release
command has been simplified and follows. See the Makefile for
more information.

# cd /usr/src/release

# make release TARGET=<arch> \

NOPORTS=1 \

NODOC=1

6.

After you successfully complete the make process, all of the new ISO images are located in the

<CHROOTDIR>/R/cdrom

directory.

NOTE

For FreeBSD OS version 9.0 or later, the new ISO images are located in
the /usr/obj/usr/src/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.