Import 2.4.0-test2pre7
[davej-history.git] / Documentation / cpqarray.txt
blob45a53216fb1bfedb3cfc10dac84439ccc616434a
1 This driver is for Compaq's SMART2 Intellegent Disk Array Controllers.
3 WARNING:
4 --------
6 This driver comes with NO WARRANTY.  It is not officially supported by
7 Compaq.  Do not call technical support.  Use at your own risk.
9 Supported Cards:
10 ----------------
12 This driver is known to work with the following cards:
14         * SMART (EISA)
15         * SMART-2/E (EISA)
16         * SMART-2/P
17         * SMART-2DH
18         * SMART-2SL
19         * SMART-221
20         * SMART-3100ES
21         * SMART-3200
22         * Integrated Smart Array Controller
23         * SA 4200
24         * SA 4250ES
26 It should also work with some really old Disk array adapters, but I am
27 unable to test against these cards:
29         * IDA
30         * IDA-2
31         * IAES
33 Installing:
34 -----------
36 You need to build a new kernel to use this device, even if you want to
37 use a loadable module.  
39 Apply the patch to a 2.2.x kernel:
41 # cd linux
42 # patch -p1 <smart2.patch
44 Then build a new kernel and turn on Compaq SMART2 Disk Array support.
45 Create device nodes for the diskarray device:
47 # mkdev.ida [ctlrs]
49 Where ctlrs is the number of controllers you have (defaults to 1 if not
50 specified).
52 EISA Controllers:
53 -----------------
55 If you want to use an EISA controller you'll have to supply some
56 insmod/lilo paramaters.  If the driver is compiled into the kernel, must
57 give it the controller's IO port address at boot time (it is no longer
58 necessary to specifiy the IRQ).  For example, if you had two SMART-2/E
59 controllers, in EISA slots 1 and 2 you'd give it a boot argument like
60 this:
62         smart2=0x1000,0x2000
64 If you were loading the driver as a module, you'd give load it like this:
66         insmod cpqarray.o eisa=0x1000,0x2000
68 You can use EISA and PCI adapters at the same time.
70 Booting:
71 --------
73 You'll need to use a modified lilo if you want to boot from a disk array.
74 Its simply a version of lilo with some code added to tell it how to
75 understand Compaq diskarray devices.
77 Device Naming:
78 --------------
80 You need some entries in /dev for the ida device.  The mkdev.ida script
81 can make device nodes for you automatically.  Currently the device setup
82 is as follows:
84 Major numbers:
85         72      ida0
86         73      ida1
87         74      ida2
88         etc...
90 Minor numbers:
91         b7 b6 b5 b4 b3 b2 b1 b0
92         |----+----| |----+----|
93              |           |
94              |           +-------- Partition ID (0=wholedev, 1-15 partition)
95              |
96              +-------------------- Logical Volume number
98 The suggested device naming scheme is:
99 /dev/ida/c0d0           Controller 0, disk 0, whole device
100 /dev/ida/c0d0p1         Controller 0, disk 0, partition 1
101 /dev/ida/c0d0p2         Controller 0, disk 0, partition 2
102 /dev/ida/c0d0p3         Controller 0, disk 0, partition 3
104 /dev/ida/c1d1           Controller 1, disk 1, whole device
105 /dev/ida/c1d1p1         Controller 1, disk 1, partition 1
106 /dev/ida/c1d1p2         Controller 1, disk 1, partition 2
107 /dev/ida/c1d1p3         Controller 1, disk 1, partition 3