Avago Technologies MegaRAID SAS 9240-4i User Manual
Page 36

LSI Corporation
- 36 -
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)
Perform the following steps to create the custom ISO image.
1.
Install the required version of the FreeBSD OS on an available disk that is not attached to a MegaRAID controller.
During installation, you must install all of the system source code. You might need a network connection to
download the source code that is used to build the ISO image. The CD or the DVD that is used to install the OS
might already contain the source code, depending on the type of installation that is on the CD or the DVD.
Otherwise, you can use the sysinstall utility to download the source. The installed OS is used only to build
the custom ISO, and then it is no longer required.
2.
Boot to the disk with the new FreeBSD OS, and then change to the /usr/src/sys/<arch>/conf directory,
where <arch> is either i386 or amd64, depending on what type of architecture the ISO image is for. You must
edit the generic kernel configuration file in this folder so that the mfi and mpt drivers are not installed when the
new custom ISO is built. The mfi and mpt lines can be removed or commented out by adding # before device,
as shown in the following examples:
#device mfi # LSI MegaRAID SAS
#device mpt # LSI-Logic MPT-Fusion
NOTE
The preferred method to use when you edit the generic configuration
file is to copy it to another file, and then create a kernel using this new
kernel configuration file. However, using that method here would
require a more complex procedure and is unnecessary.
3.
Issue the following commands to build the tools and the other items that are required to build the ISO image. This
command can take several hours to complete.
# cd /usr/src
# make buildworld TARGET=<arch>
where <arch> is the architecture for the ISO image to be created.
If the make command fails immediately, the system source code might not be installed correctly. You can install
the source code using the sysinstall utility. Within the sysinstall utility, select the source code from
within the Distributions selection.
4.
For FreeBSD OS version 9.0 or later, the generic kernel must be built in a separate command. Previous versions do
not require this step. If you are building the kernel for version 9.0 or later, enter the following commands before
continuing; otherwise, you can skip this step.
# cd /usr/src
# make buildkernel TARGET=<arch>
Where <arch> is the architecture for the desired ISO image.
5.
Issue the following commands to build the ISO image.
The make command can take several hours to complete. See the second note after this step if you are building
the kernel for FreeBSD OS version 9.0 or later.
# cd /usr/src/release
# make release BUILDNAME=FBSD_<version>-CUSTOM \
CHROOTDIR=/usr/MyCustomBuild \
EXTSRCDIR=/usr/src \
TARGET=<arch> \
NOPORTS=1 \
NODOC=1 \
MAKE_ISOS=1
- MegaRAID SAS 9240-8i MegaRAID SAS 9260-16i MegaRAID SAS 9260-4i MegaRAID SAS 9260-8i MegaRAID SAS 9261-8i MegaRAID SAS 9270-8i MegaRAID SAS 9271-4i MegaRAID SAS 9271-8i MegaRAID SAS 9271-8iCC MegaRAID SAS 9280-16i4e MegaRAID SAS 9280-4i4e MegaRAID SAS 9280-8e MegaRAID SAS 9286-8e MegaRAID SAS 9286CV-8e MegaRAID SAS 9286CV-8eCC MegaRAID SAS 9341-4i MegaRAID SAS 9341-8i MegaRAID SAS 9361-4i MegaRAID SAS 9361-8i MegaRAID SAS 8204ELP MegaRAID SAS 8204ELP (Channel) MegaRAID SAS 8204XLP MegaRAID SAS 8204XLP (Channel) MegaRAID SAS 8208ELP MegaRAID SAS 8208ELP (Channel) MegaRAID SAS 8208XLP MegaRAID SAS 8208XLP (Channel) MegaRAID SAS 8300XLP MegaRAID SAS 8308ELP MegaRAID SAS 8344ELP MegaRAID SAS 84016E MegaRAID SAS 84016E (Channel) MegaRAID SAS 8408E MegaRAID SAS 8480E MegaRAID SAS 8704ELP MegaRAID SAS 8704ELP (Channel) MegaRAID SAS 8704EM2 MegaRAID SAS 8704EM2 (Channel) MegaRAID SAS 8708ELP MegaRAID SAS 8708ELP (Channel) MegaRAID SAS 8708EM2 MegaRAID SAS 8708EM2 (Channel) MegaRAID SAS 8880EM2 MegaRAID SAS 8880EM2 (Channel) MegaRAID SAS 8888ELP MegaRAID SAS 8888ELP (Channel) MegaRAID SAS 0260CV-8i MegaRAID SAS 0260DE-8i MegaRAID SAS 0260DE-8i (Channel) MegaRAID SAS 9265-8i MegaRAID SAS 9280DE-8e MegaRAID SAS 9280DE-8e (Channel) MegaRAID SAS 9285-8e MegaRAID SAS 9380-4i4e MegaRAID SAS 9380-8e MegaRAID SAS 0260CV-4i