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

LSI Corporation
- 28 -
MegaRAID SAS Device Driver Installation User Guide
December 2012
Chapter 6: FreeBSD Driver Installation
Installing the FreeBSD OS on Storage Managed by a MegaRAID Controller (Primary Storage)
6.4.2
Installing the FreeBSD OS on Storage Managed by a MegaRAID Controller
Use the following procedure if your boot unit will be managed by the MegaRAID controller.
The prerequisite for this procedure is an OS installation CD for the FreeBSD 7.4, FreeBSD 8.2, or FreeBSD 9.0 OSs (x86 or
amd64).
Perform the following steps to install the FreeBSD OS on storage managed by a MegaRAID controller:
1.
Disconnect all SCSI, ATA, and SAS devices in the system, except for the CD or the DVD, and the hard drives that are
connected to the MegaRAID controller.
2.
Create the RAID virtual drives on the MegaRAID controller using WebBIOS or Preboot CLI.
3.
Insert the FreeBSD Installation disk to CD/DVD drive and boot from it.
4.
At the FreeBSD boot menu, select Escape to loader prompt (option 6 in the FreeBSD 7.x and 8.x OSs, and
option 2 in the FreeBSD 9.x OS).
5.
Insert the diskette containing the driver_name.ko module for the specific version of the FreeBSD OS into the
diskette drive.
For the mfi driver, the driver_name.ko is mfi.ko.
For the mrsas driver, the driver_name.ko is mrsas.ko.
6.
Perform the following steps at the loader prompt:
a.
To disable the mpt driver, type the following commands and press Enter.
OK set hint.mpt.0.disable=1
OK set hint.mpt.1.disable=1
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:
OK load disk0:mfi.ko
For the mrsas driver, type the following command and press Enter:
OK load disk0:mrsas.ko
7.
To continue the installation procedure, type the following command, and press Enter.
OK 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 floppy disk from the floppy drive, and
reboot.
10. On bootup, repeat step
through step
.
NOTE This procedure is specific to the FreeBSD 7.4, FreeBSD 8.2, or FreeBSD 9.0 OSs because it requires a
compiled module. For other versions of a FreeBSD OS for which a compiled module is not supplied by LSI, you
must compile your own module from source files. See
Section 6.6.2, Compiling and Loading the Driver as a
Module by Using kldload (Dynamically Loadable Module)
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.
NOTE At this point the old driver is not used, but it is still installed as a part of the new installation. The
installed kernel has to be rebuilt.
- 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 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-4i 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