⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cpqarray.txt

📁 嵌入式系统设计与实例开发实验教材二源码 多线程应用程序设计 串行端口程序设计 AD接口实验 CAN总线通信实验 GPS通信实验 Linux内核移植与编译实验 IC卡读写实验 SD驱动使
💻 TXT
字号:
This driver is for Compaq's SMART2 Intelligent Disk Array Controllers.Supported Cards:----------------This driver is known to work with the following cards:	* SMART (EISA)	* SMART-2/E (EISA)	* SMART-2/P	* SMART-2DH	* SMART-2SL	* SMART-221	* SMART-3100ES	* SMART-3200	* Integrated Smart Array Controller	* SA 4200	* SA 4250ES	* SA 431	* RAID LC2 ControllerIt should also work with some really old Disk array adapters, but I amunable to test against these cards:	* IDA	* IDA-2	* IAESInstalling:-----------You need to build a new kernel to use this device, even if you want touse a loadable module.  Apply the patch to a 2.2.x kernel:# cd linux# patch -p1 <smart2.patchThen build a new kernel and turn on Compaq SMART2 Disk Array support.Create device nodes for the diskarray device:# mkdev.ida [ctlrs]Where ctlrs is the number of controllers you have (defaults to 1 if notspecified).EISA Controllers:-----------------If you want to use an EISA controller you'll have to supply someinsmod/lilo paramaters.  If the driver is compiled into the kernel, mustgive it the controller's IO port address at boot time (it is no longernecessary to specifiy the IRQ).  For example, if you had two SMART-2/Econtrollers, in EISA slots 1 and 2 you'd give it a boot argument likethis:	smart2=0x1000,0x2000If you were loading the driver as a module, you'd give load it like this:	insmod cpqarray.o eisa=0x1000,0x2000You can use EISA and PCI adapters at the same time.Booting:--------You'll need to use a modified lilo if you want to boot from a disk array.Its simply a version of lilo with some code added to tell it how tounderstand Compaq diskarray devices.Device Naming:--------------You need some entries in /dev for the ida device.  The mkdev.ida scriptcan make device nodes for you automatically.  Currently the device setupis as follows:Major numbers:	72	ida0	73	ida1	74	ida2	etc...Minor numbers:        b7 b6 b5 b4 b3 b2 b1 b0        |----+----| |----+----|             |           |             |           +-------- Partition ID (0=wholedev, 1-15 partition)             |             +-------------------- Logical Volume numberThe suggested device naming scheme is:/dev/ida/c0d0		Controller 0, disk 0, whole device/dev/ida/c0d0p1		Controller 0, disk 0, partition 1/dev/ida/c0d0p2		Controller 0, disk 0, partition 2/dev/ida/c0d0p3		Controller 0, disk 0, partition 3/dev/ida/c1d1		Controller 1, disk 1, whole device/dev/ida/c1d1p1		Controller 1, disk 1, partition 1/dev/ida/c1d1p2		Controller 1, disk 1, partition 2/dev/ida/c1d1p3		Controller 1, disk 1, partition 3

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -