6 updating drivers in the freebsd system, 1 updating the kernel with the new driver source – Avago Technologies MegaRAID SAS 9341-4i User Manual
Page 37

Avago Technologies
- 37 -
MegaRAID SAS Device Driver Installation User Guide
June 2015
FreeBSD Driver Installation
Updating Drivers in the FreeBSD System
3.
Follow the instructions for driver installation in
Section 6.6.1, Updating the Kernel with the New Driver Source
, for
a statically linked module, or in
Section 6.6.2, Compiling and Loading the Driver as a Module by Using kldload
.
4.
After the FreeBSD OS is installed and the driver is updated, power down the system and install the
MegaRAID controller.
For assistance, refer to the installation guide that came with the controller.
6.5.2
Installing the FreeBSD OS on a System that Includes an Avago Controller before the
OS Installation
Perform the following steps:
1.
Start the installation process.
2.
Proceed with the installation on a drive attached to the motherboard.
Make sure you install the full the FreeBSD OS source.
3.
After the OS installation, follow the instructions for driver installation in
Section 6.5.2, Installing the FreeBSD OS on
a System that Includes an Avago Controller before the OS Installation
(for a statically linked module), or in
6.6
Updating Drivers in the FreeBSD System
You can update drivers either from source files or with driver modules. By using source files, you can compile drivers
into the kernel, or you can create modules for versions of the FreeBSD OS for which Avago does not supply modules.
This section includes these topics:
Updating the kernel with the new driver source
Compiling and loading the driver as a module using
kldload (dynamically loadable module)
Updating the MegaRAID kernel driver module in the FreeBSD OS
6.6.1
Updating the Kernel with the New Driver Source
Use this procedure to update your kernel from driver source files for both a dynamically loadable module and a
statically linked module. To obtain the source files, see
Section 6.2, Obtaining Avago FreeBSD Drivers
Perform the following steps to update your kernel with the driver source files:
1.
Make sure that the kernel source has been installed on the system.
The kernel sources are in the
/usr/src/sys directory.
2.
Go to the
/usr/src/sys/dev/ directory and perform the following steps.
a.
Check to see whether a directory with the driver name
mrsas already exists. If a directory already exists, move
it to a different folder.
To move the mrsas (4)driver, type the following command and press Enter:
# mv /usr/src/sys/dev/mrsas /root/mrsas.backup
3.
Proceed to the
/usr/src/sys/modules/ directory and repeat Step 2.
- 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