beautypg.com

Avago Technologies LSI20160 User Manual

Page 232

background image

11-8

Linux Device Driver Installation

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

gzip -d

2.2.13.gz | patch -p0

gzip -d

2.2.13.gz | patch -p0

gzip -d

2.2.13.gz | patch -p0

rm source

5.

Execute the script by typing at the prompt:

#./script-2.2.13

Note 1:

The script must have execute permission. If it does not, set
the permission by typing at the prompt:

#chmod +x script-2.2.13

Note 2:

If you uncompress the patch files to examine the content,
you can still apply the patch either by recompressing with
gzip or by replacing "gzip -d <" with "cat" in the script file.

Step 5.

Reconfigure and rebuild the kernel.

1.

Rebuild the kernel in the usual way for your platform.
LSI Logic strongly recommends that you make an
emergency boot diskette prior to rebuilding the kernel. See
your system documentation or use the online
documentation (

$man mkbootdisk

) for more information.

2.

To rebuild the kernel on an I386 platform, type at the
prompt:

#cd /usr/src/linux

#make mrproper

(to reset to default state)

#make xconfig

(or: #make menuconfig)

At this point, enable the Joliet file system for CD-ROMs
under the Filesystems option. Then continue, typing each
command all on one line:

#make dep

#make clean

#make bzImage

(for an Alpha platform: #make boot)

#make modules

This manual is related to the following products: