Driver Installation Under Linux
www.3ware.com
41
Determining the Current Version of your 3ware Driver
If you already have a 3ware controller installed, you can check the current
driver version, using either 3DM 2 or the CLI. (For details, see “Viewing
Information About a Controller” on page 85.)
You can also check it using the following method:
If you have a 2.4 kernel or earlier,
type the following command:
cat /proc/scsi/3w-9xxx/*
where the asterisk (*) represents SCSI host ID and
9xxx
represents the
family of the controller. For example:
cat /proc/scsi/3w-9xxx/0
If you have a 2.6 kernel with sysfs,
type the following command:
cat /sys/class/scsi_host/
<hostid>
/stats
where <hostid> is usually host0, unless other SCSI devices are available,
in which case it may be host1 or higher.
If you have a 2.6 kernel without sysfs,
type the following command:
dmesg | grep 3w
(dmesg can also be used with earlier kernel versions.)
Driver Installation Under Red Hat Linux or
Fedora Core 5
Materials required
•
3ware software CD-ROM
•
Floppy diskette, if you need to create a driver install diskette.
•
Red Hat Linux installation CD-ROM. (Not required if Red Hat Linux is
already installed on another drive.)
Creating a Red Hat Linux Driver Diskette
If you are installing Linux on the new drive or unit managed by the 3ware
RAID controller, you must create a 3ware driver install diskette. If Linux is
already installed on another device, you may install the 3ware kernel driver
module from the 3ware software CD-ROM.