beautypg.com

Avago Technologies LSI SAS 3041E-R User Manual

Page 71

background image

Installing the Fusion-MPT Linux Device Drivers

3-31

Version 1.3

Copyright © 2001, 2002, 2007 by LSI Logic Corporation. All rights reserved.

To use the driver disks, follow the instructions from the previous section
to transfer the image to a diskette. Then use the following commands:

# mount /dev/fd0
# cd /mnt/floppy
# ./post_install.scr
# cd
# umount /dev/fd0

To use the RPMs, the standard install, erase, and upgrade commands
may be used. The driver source will be placed in your installations RPM
Base directory (

/usr/src/redhat

or

/usr/src/packages

). On the

ftp

site, use the following commands to download the appropriate tarball:

ftp> cd 2.05.06
ftp> cd mptlinux-rpms

3.5.3.3

Adding or Upgrading the Fusion-MPT Source to the Linux Kernel

Adding or upgrading the Fusion-MPT source to the Linux kernel is a two
step procedure:

1.

Add or upgrade the Fusion-MPT source.

2.

Patch the kernel.

Before you do this, LSI recommends that you save the original source:

# cd /usr/src/linux/drivers/message
# tar czvf fusion.orig.tar.gz fusion

Then continue with the following instructions.

For Red Hat 7.0, all 2.2 and 2.4.0 through 2.4.6 kernels, Fusion-MPT
support must be added to the kernel source. To do this, follow these
instructions:

1.

Unpack the

mptlinux

driver source tar archive in a temporary

directory (

/home//mptlinux-tmp

). Example:

$ cd
$ mkdir mptlinux-tmp
$ cd mptlinux-tmp
$ zcat /tmp/mptlinux-2.05.06-src.tar.gz | tar xvf -

2.

Run the

install

script to install the source to the kernel directory.

For example, use these commands to install the source into

/usr/src/linux-2.4.18-20

: