beautypg.com

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

Page 40

background image

Avago Technologies

- 40 -

MegaRAID SAS Device Driver Installation User Guide
June 2015

FreeBSD Driver Installation

Updating Drivers in the FreeBSD System

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 Avago 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, 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.

5.

To load the driver, type the following command, and press Enter.

— # kldload -v /boot/kernel/mrsas.ko

If storage is present, the system log records its presence (usually in

/var/log/messages).

6.

To have the driver load automatically every time the system reboots, add the following line to the
/boot/loader.conf file, and press Enter.
— mrsas_load="YES"