Section 6.6.3, updating the, Megaraid kernel driver module in the freebsd os – Avago Technologies MegaRAID SAS 9240-4i User Manual
Page 43

LSI Corporation
- 43 -
MegaRAID SAS Device Driver Installation User Guide
June 2014
FreeBSD Driver Installation
Updating Drivers in the FreeBSD System
5.
To load the kernel driver module, type the following commands, depending on which driver you use, and
press Enter.
—
For the mfi driver, type the following commands and press Enter.
# cd /usr/src/sys/modules/mfi
# kldload -v ./mfi.ko
—
For the mrsas driver, type the following commands and press Enter.
# cd /usr/src/sys/modules/mrsas
# kldload -v ./mrsas.ko
6.
To load the driver automatically during bootup, but still be linked dynamically, perform the following steps,
depending on which driver you use:
—
To copy the mfi driver into the boot folder, type the following command, and press Enter.
# cp /usr/src/sys/modules/mfi/mfi.ko /boot/kernel/mfi.ko
—
To copy the mrsas driver into the boot folder, type the following command, and press Enter.
# cp /usr/src/sys/modules/mrsas/mrsas.ko /boot/kernel/mrsas.ko
NOTE
Back up the old module in case you want to revert back to it.
—
For the mfi driver, enter the following line in the /boot/loader.conf file:
mfi_load="YES"
—
For the mrsas driver, enter the following line in the /boot/loader.conf file:
mrsas_load="YES"
6.6.3
Updating the MegaRAID Kernel Driver Module in the FreeBSD OS
This section describes how to update the MegaRAID driver with a kernel driver module in the FreeBSD OS.
NOTE
Make a backup of your original driver before updating the MegaRAID
driver in case you need to revert back to it. However, you cannot revert
back to the original driver if you are booting from that unit.
Perform the following steps to update the MegaRAID driver with a kernel driver module under the FreeBSD OS.
1.
Download and extract the driver.
See
Section 6.2, Obtaining LSI FreeBSD Drivers
, for instructions.
2.
Back up any critical data before you update the MegaRAID driver.
3.
Change the directory to the location with the extracted driver.
4.
To copy the driver into the /boot/kernel directory, perform the following steps, depending on which driver
you use.
—
For the mfi driver, type the following command, and press Enter.
# cp mfi.ko /boot/kernel
—
For the mrsas driver, type the following command, and press Enter.
# cp mrsas.ko /boot/kernel
Make sure that the module version (32-bit or 64-bit) matches the FreeBSD version. If the versions do not match, a
kernel panic might occur.
- 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