AMCC 9000 Computer Hardware User Manual


 
Driver Installation Under Red Hat Linux
www.3ware.com 77
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
1 Download the 3ware driver source from 3ware’s website.
2 Copy the driver source into a working directory. (The latest
3ware driver source is bundled with the latest firmware.)
3 Untar 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
5 Red Hat 7.2 and later support multiple build targets from
makefile.
Boot to UP version of kernel to build all
modules.