The mfi (4) – Avago Technologies MegaRAID SAS 9341-4i User Manual
Page 35
Avago Technologies
- 35 -
MegaRAID SAS Device Driver Installation User Guide
June 2015
FreeBSD Driver Installation
Installing the FreeBSD OS on Storage Managed by a MegaRAID Controller (Primary Storage)
10. On bootup, repeat step
.
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.4.2
Creating a Custom ISO Image to Exclude the mfi (4)
You must use this procedure if you are installing the FreeBSD OS on Storage Managed by a MegaRAID Controller
(Primary Storage), which is described in
Section 6.4, Installing the FreeBSD OS on Storage Managed by a MegaRAID
. You must use this procedure if you need to exclude the mfi driver from the kernel from
the kernel because it may conflict with mrsas(4).
This procedure is leveraged from the following locations:
A FreeBSD article, FreeBSD Release Engineering, Section 3 Release Building, by Murray Stokely.
See,
FreeBSD Handbook, Chapter 9 Configuring the FreeBSD Kernel, Section 9.5 Building and Installing a Custom Kernel.
Because different versions of the FreeBSD OS have different make files, drivers, build procedures, and so on, the easiest
way to create a custom ISO image for a specific version of the FreeBSD OS is to install the version of the FreeBSD OS
that is needed for the ISO image. The procedure outlined in this section works for all supported versions of the FreeBSD
OS (currently, versions 9.2.0, 9.3.0, 10.0.0 and 10.1.0). Some steps are different for FreeBSD version 9.2 or later, and
are noted.
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
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.
- MegaRAID SAS 9341-8i MegaRAID SAS 9361-4i MegaRAID SAS 9361-8i MegaRAID SAS 9380-8e MegaRAID SAS 9240-4i 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 9380-4i4e 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 0260CV-4i