If y, Ions in, Drivers – Avago Technologies MegaRAID SAS 9240-4i User Manual
Page 35

LSI Corporation
- 35 -
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)
6.
Perform the following steps at the loader prompt:
a.
To disable the mpt driver, type the following commands and press Enter.
set hint.mpt.0.disable=1
set hint.mpt.1.disable=1
NOTE
Disabling the mpt driver is not required when you use a custom ISO
image because the mpt driver will not exist if the custom image was
created correctly. A custom ISO is required only for the OS versions
that need it as a prerequisite, as described at the start of this section.
b.
To load a new driver from a diskette drive, type either of the following two commands and press Enter.
For the mfi driver, type the following command and press Enter:
load disk0:mfi.ko
For the mrsas driver, type the following command and press Enter:
load disk0:mrsas.ko
NOTE
If you have multiple units or devices for the OS installation, and the
unit or device that you want to use for the installation is not disk0;
change disk0 to the appropriate number, such as disk1 or disk5.
The lsdev command lists all of the devices from which you can load
the driver. If you use a USB flash drive, you might need to insert the
flash drive before booting so that it can be accessed in this step.
7.
To continue the installation procedure, type the following command, and press Enter.
boot
8.
Install the FreeBSD OS, including the kernel source.
It is very important to include the kernel source files.
9.
Remove both the FreeBSD installation disk from the CD/DVD drive, and the diskette from the diskette drive (or the
USB flash drive, if used), and reboot.
10. On bootup, repeat step
through 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.3
Creating a Custom ISO Image to Exclude the mfi and mpt Drivers
You must create a custom ISO image that excludes mfi drivers and mpt drivers if you install the FreeBSD OS on storage
managed by a MegaRAID controller as primary storage, which is described in
Section 6.4, Installing the FreeBSD OS on
Storage Managed by a MegaRAID Controller (Primary Storage)
. You must use this procedure if you must exclude the
mfi driver from the kernel because of the problem described in
Section 6.4.1, Issues Concerning the LSI mpt Driver
and the Outdated LSI mpt Driver
. In this procedure, the mpt driver is also excluded so that it is not attached to the
MegaRAID controller during the OS installation to primary storage. If the mpt driver attaches to the MegaRAID
controller, any drives attached to the MegaRAID controller will not be found during the OS installation process.
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 8.2, 8.3, 8.4, 9.0, and 9.1). Some steps are different for FreeBSD version 9.0 or later, and
are noted.
- 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