AMCC 9000 manual Compiling a 3ware Driver for Red Hat Linux

Models: 9000

1 126
Download 126 pages 4.7 Kb
Page 85
Image 85

Driver Installation Under Red Hat Linux

Compiling a 3ware Driver for Red Hat Linux

For Experts Only

If necessary, you can compile the 3ware driver yourself. (For example, if you are running a different kernel version.)

Notes:

You must have a full Linux kernel source tree in /usr/src/linux in order to do the compile.

In addition, you must boot to the UP kernel to use the make targets. Otherwise errors will result that will cause the driver build to fail.

The instructions below are for compiling the driver under a 2.4 kernel. For information about compiling the driver under a 2.6 kernel, see the Knowledgebase on the website at www.3ware.com

1Download the 3ware driver source from 3ware’s website.

2Copy the driver source into a working directory. (The latest 3ware driver source is bundled with the latest firmware.)

3Untar the driver source with this command:

tar zxfv 3w-9xxx.tgz

The driver source will be output to a directory called driver.

4 Change directory to driver.

cd driver

5Red Hat 7.2 and later support multiple build targets from makefile. Boot to UP version of kernel to build all modules.

www.3ware.com

77

Page 85
Image 85
AMCC 9000 manual Compiling a 3ware Driver for Red Hat Linux