beautypg.com

Avago Technologies LSI20160 User Manual

Page 229

background image

Installing Your Linux Driver

11-5

Copyright © 1993–2001 by LSI Logic Corporation. All rights reserved.

Step 1.

Obtain and install the kernel source.

The kernel source may be obtained through anonymous ftp
from:

ftp.us.kernel.org/pub

.

Be sure to use binary mode to download the kernel file. For this
example, the

bz2

compressed kernel was downloaded and

stored under

/root/Kernels

.

Step 2.

Uncompress and install the kernel by typing at the prompt
(each command on one line):

#cd /usr/src

#rm linux

#bunzip2 -c /root/Kernels/linux-2.2.13.tar.bz2 | tar

xvf -

Note:

bunzip2

is not installed by default with Red Hat 6.1 version.

Step 3.

Reset the soft links and type at the prompt:

#mv linux linux-2.2.13

#ln -s linux-2.2.13 linux

#cd linux/include

#ln -s asm- asm

Step 4.

Obtain the driver source or patches.

FOR the driver source:

1.

Obtain the latest version of the driver that is stored in
full-source format:

-all_kernels.tar.gz

either from the SDMS Software Device Drivers and Utilities
CD-ROM at (all on one line):

{CD-ROM Mount Point} drivers/unixes/linux

/c8xx-driver

or

by anonymous ftp from:

ftp://ftp.lsil.com/HostAdapterDrivers/linux

2.

When using ftp, download the tarball for the driver version
of interest by typing these instructions:

This manual is related to the following products: