1This driver is for Compaq's SMART2 Intellegent Disk Array Controllers. 2 3Supported Cards: 4---------------- 5 6This driver is known to work with the following cards: 7 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 20 21It should also work with some really old Disk array adapters, but I am 22unable to test against these cards: 23 24 * IDA 25 * IDA-2 26 * IAES 27 28Installing: 29----------- 30 31You need to build a new kernel to use this device, even if you want to 32use a loadable module. 33 34Apply the patch to a 2.2.x kernel: 35 36# cd linux 37# patch -p1 <smart2.patch 38 39Then build a new kernel and turn on Compaq SMART2 Disk Array support. 40Create device nodes for the diskarray device: 41 42# mkdev.ida [ctlrs] 43 44Where ctlrs is the number of controllers you have (defaults to 1 if not 45specified). 46 47EISA Controllers: 48----------------- 49 50If you want to use an EISA controller you'll have to supply some 51insmod/lilo paramaters. If the driver is compiled into the kernel, must 52give it the controller's IO port address at boot time (it is no longer 53necessary to specifiy the IRQ). For example, if you had two SMART-2/E 54controllers, in EISA slots 1 and 2 you'd give it a boot argument like 55this: 56 57 smart2=0x1000,0x2000 58 59If you were loading the driver as a module, you'd give load it like this: 60 61 insmod cpqarray.o eisa=0x1000,0x2000 62 63You can use EISA and PCI adapters at the same time. 64 65Booting: 66-------- 67 68You'll need to use a modified lilo if you want to boot from a disk array. 69Its simply a version of lilo with some code added to tell it how to 70understand Compaq diskarray devices. 71 72Device Naming: 73-------------- 74 75You need some entries in /dev for the ida device. The mkdev.ida script 76can make device nodes for you automatically. Currently the device setup 77is as follows: 78 79Major numbers: 80 72 ida0 81 73 ida1 82 74 ida2 83 etc... 84 85Minor 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 92 93The 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 98 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 103

