Avago Technologies LSI SAS 3041E-R User Manual

Page 72

Advertising
background image

3-32

UNIX Operating System Device Drivers

Version 1.3

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

$ su root
# ./install /usr/src/linux-2.4.18-20

Next, continue with the kernel patch instructions in the next section.

3.5.3.4

Kernel Patch Instructions

The

mptlinux

host drivers may require a small set of patches to your

Linux kernel source tree. Patch sets for stock and well known kernel
versions have been included with the packed source tar archive. Patches
may be required even if the

mptlinux

driver is currently bundled.

See the driver

readme

files for more information about which kernel

patches are available.

To identify which kernel version you have, examine the

/usr/src/linux/Makefile

as follows:

Example (on a RedHat 6.2 system):

VERSION = 2
PATCHLEVEL = 2
SUBLEVEL = 14
EXTRAVERSION = -5.0

Then apply the closest patch set you can find.

3.5.4

Configuring and Building the Fusion-MPT Linux Drivers

The following examples show how to configure and build the LSI
Fusion-MPT driver(s) as kernel modules. However, the MPT base and
ScsiHost drivers can alternatively be compiled into the Linux kernel
instead of being built as modules.

1.

From the

/usr/src/linux directory

, ensure a clean kernel source

tree by executing the following command:

# make mrproper

2.

From the

/usr/src/linux

directory, run the normal kernel

configuration routine:

# make oldconfig

or:

# make config

or:

Advertising