Avago Technologies MegaRAID SAS 9341-4i User Manual
Page 38

Avago Technologies
- 38 -
MegaRAID SAS Device Driver Installation User Guide
June 2015
FreeBSD Driver Installation
Updating Drivers in the FreeBSD System
4.
Unpack the compressed
mrsas driver source file and move the sys/dev/mrsas directory to the
/usr/src/sys/dev/mrsas directory.
a.
Enter the
# cp -r
/usr/src/sys/dev/command.
b.
Enter the
# cp -r
/usr/src/sys/modules/ command to copy the sys/modules/mrsas directory to the
/usr/src/sys/modules/ directory.
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 file name. 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:
For a dynamically loadable module, comment out the following lines by typing
# at the start of the line:
For the mrsas driver, comment out the following line by typing
# at the start of the line, if it exists:
#device mfi # LSI MegaRAID SAS
#device
mrsas
# LSI MegaRAID SAS2
For a statically linked module, make sure the following lines are not commented out:
For the mrsas driver, make sure the following line is not commented out:
device
mrsas
# LSI MegaRAID SAS2
If you do not have a MegaRAID 92XX or earlier controller installed in your system, make sure to comment
out the following line:
#device
mfi
# LSI MegaRAID SAS
c.
Save your changes.
NOTE
Each line is an entry in this file. Make sure a newly added entry is on a
new line.
d.
In the
/usr/src/sys/conf/ file, perform the following steps for the mfi driver or the MegaRAID SAS
driver, depending on which driver you use:
For the mrsas driver, make sure that the following entries are present:
dev/mrsas/mrsas.c
optional mrsas
dev/mrsas/mrsas_cam.c
optional mrsas
dev/mrsas/mrsas_ioctl.c
optional mrsas
dev/mrsas/mrsas_fp.c optional mrsas
dev/mrsas/mrsas_linux.c optional mrsas
NOTE
Make sure if a new
*.c file is added, then entry for that should be
added in the same manner as above.Each line is an entry in this file.
Make sure a newly added entry is on a new line.
e.
Save your changes.
f.
To compile the kernel, go to the
/usr/src directory, type the following commands if your current
configuration is MYKERNEL, and press Enter.
# cd /usr/src
- 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