Avago Technologies MegaRAID SAS 9341-4i User Manual
Page 34
Avago Technologies
- 34 -
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)
driver module. With the newly created FreeBSD kernel ISO, you can complete the installation and boot your FreeBSD
system through a MegaRAID virtual drive using the Avago's FreeBSD driver solution.
To exclude the mfi(4) driver if the FreeBSD OS has this issue, see
Section 6.4.2, Creating a Custom ISO Image to Exclude
After you create a custom FreeBSD Installation disk with the new FreeBSD kernel custom ISO image and you have the
mrsas driver diskette ready, perform the following steps to install the FreeBSD OS. The procedure describes how to
load the FreeBSD kernel driver module to enable boot device support and how to compile the current drivers into the
kernel from source files.
As a prerequisite, you need an OS Installation CD for the FreeBSD 9.x or FreeBSD 10.x OSs (i386 or amd64). Use the CD
that you created using the instructions in
Section 6.4.2, Creating a Custom ISO Image to Exclude the mfi (4)
NOTE
This procedure is specific to versions of the FreeBSD OSs for which a
compiled module is available. For other versions of a FreeBSD OS for
which a compiled module is not supplied by Avago, you must compile
your own module from source files.
Loading the Driver as a Module by Using kldload (Dynamically
Loadable Module)
.
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/DVD drive, 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 into the CD/DVD drive, and boot from it.
4.
At the FreeBSD boot menu, select Escape to loader prompt (option 2 in the FreeBSD 9.x OS, and option 3 in the
FreeBSD 10.x OS).
5.
Insert the diskette containing the
mrsas.ko module for the specific version of the FreeBSD OS into the diskette
drive.
If you use a USB flash drive, you might need to insert the drive before booting so the drive can be seen in the next
step. If so, make sure to boot from the CD/DVD drive and not from the USB drive.
6.
Perform the following steps at the loader prompt:
a.
To load a new driver from a diskette drive, type the following commands 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.
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 diskette from the diskette drive (or the
USB flash drive, if used), and reboot.
- 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