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