User`s guide

MegaRAID Device Driver Installation User’s Guide 7-1
Copyright © 2006-2008 by LSI Corporation. All rights reserved.
Chapter 7
FreeBSD Driver
Installation
This chapter describes the installation of the FreeBSD
®
driver and
consists of the following section:
Section 7.1, “Upgrading the Driver on an Existing FreeBSD System”
7.1 Upgrading the Driver on an Existing FreeBSD System
When the FreeBSD operating system is already installed, the kernel
image has to be updated on the new driver module. Perform the following
steps to install the FreeBSD driver.
Step 1. Make sure that the kernel source has been installed on the
system. If the kernel source has been installed, the
/usr/src/sys directory exists.
Step 2. Move to the arch/conf directory and copy the GENERIC
configuration file to a new file. The new file will be the kernel
configuration file. Here is an example:
# cd /usr/src/sys/i386/conf
# cp GENERIC MYKERNEL
Step 3. Copy the zip file (mfi.zip) under the path /usr/src/sys/dev.
Before you proceed to the next step, make sure that the
directory with name “mfi” does not exist under the path
/usr/src/sys/dev/. If a directory with the name “mfi” already
exists, move it to a different folder. For example, type the
following command: mv /usr/src/sys/dev/mfi
/root/mfibackup.
Step 4. Go to the directory /usr/src/sys/dev and run the following
command to unzip the source:
tar –x –f mfi.zip