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

LSI Corporation
- 40 -
MegaRAID SAS Device Driver Installation User Guide
June 2014
FreeBSD Driver Installation
Updating Drivers in the FreeBSD System
3.
Proceed to the /usr/src/sys/modules/ directory and perform the following steps.
a.
Check to see whether a directory with the driver name already exists. If a directory already exists, move it to a
different folder.
For example, to move the mfi driver module, type the following command and press Enter:
# mv /usr/src/sys/modules/mfi /root/mfi_module.backup
To move the mrsas driver module, type the following command and press Enter:
# mv /usr/src/sys/modules/mrsas /root/mrsas_module.backup
b.
Make sure the directory exists.
For example, to make sure the mfi directory exists, type the following command and press Enter:
# mkdir /usr/src/sys/modules/mfi
To make sure the mrsas directory exists, type the following command and press Enter:
# mkdir /usr/src/sys/modules/mrsas
4.
Perform the following steps:
a.
Unpack the compressed driver source file (mfi.tgz for the mfi driver and mrsas.tgz for the mrsas driver).
b.
Move the *.c and *.h files to /usr/src/sys/dev/driver_name (the driver name is mfi for the mfi
driver and mrsas for the mrsas driver).
c.
Move the Makefile to the /usr/src/sys/modules/driver_name (the driver name is mfi for the mfi
driver and mrsas for the mrsas driver).
For example, to unpack the compressed driver source file and move the Makefile for the mfi driver, enter
the following commands and press Enter:
# cd /usr/src/sys/dev
# tar -xf mfi.tgz
# mv mfi/Makefile /usr/src/sys/modules/mfi/
To unpack the compressed driver source file and move the Makefile for the mrsas driver, enter the
following commands and press Enter:
# cd /usr/src/sys/dev
# tar -xf mrsas.tgz
# mv mrsas/Makefile /usr/src/sys/modules/mrsas/
5.
Go to /usr/src/sys/i386/conf if you are running a 32-bit version of the FreeBSD OS, or
/usr/src/sys/amd64/conf
if you are running a 64-bit version of the FreeBSD OS, and perform the
following steps:
a.
Copy the GENERIC configuration file to another filename. For example:
# cp GENERIC MYKERNEL
b.
Open your current configuration file (GENERIC, MYKERNEL, SMP, or PAE, or custom configuration), with vi
or another editor. For example:
# vi MYKERNEL
- 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