Driver Installation 23
Creating a Driver Update Diskette
The following files are needed before you create the DUD.
NOTE: The SAS 6/iR driver package installs these files. You do not need to do anything at this point.
The directory
/usr/src/mptlinux-<driver_version>
contains the driver source code,
dkms.conf
, and
specifications file for the driver.
The subdirectory
redhat_driver_disk
contains the files needed to create the DUD. The files needed are
disk_info
,
modinfo
,
modules.dep
, and
pcitable
.
To create the DUD image for pre-Red Hat Linux (version 4), the kernel source package must be
installed to compile the driver. For Red Hat Linux 4 distribution, the kernel source is not needed.
Perform the following steps to create the DUD using the DKMS tool:
1
Install the DKMS-enabled SAS 6/iR driver rpm package on a system running Red Hat Linux
operating system.
2
Type the following command in any directory:
dkms mkdriverdisk -d redhat -m mptlinux -v <driver version>
-k <kernel version>
3
If you want to build the DUD image for multiple kernel versions, use the following command:
dkms mkdriverdisk -d redhat -m mptlinux -v <driver version>
-k <kernel_version_1> -k <kernel_version_2>...
4
After the DUD image has been built, you can find it in the DKMS tree for the SAS 6/iR driver.
NOTE: The DKMS package supports both Red Hat Linux and SUSE Linux.
Installing the Driver
To install Red Hat Linux (versions 4 and 5) and the appropriatedriver:
1
Boot normally from the Red Hat Linux installation CD.
2
At the command prompt, type:
Linux expert dd
3
When the install prompts for a driver diskette, insert the diskette and press <Enter>.
See "Creating a Driver Diskette" on page 19 for information on creating a driver diskette.
4
Complete the driver installation as directed by the program.
Installing the Driver Using an Update RPM
The following steps explain the installation procedure for the Red Hat Linux (versions 4 and 5) operating
systems and the appropriate RAID driver using an update RPM:
book.book Page 23 Wednesday, July 25, 2007 10:58 AM