ibmmca.txt 76 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403
  1. -=< The IBM Microchannel SCSI-Subsystem >=-
  2. for the IBM PS/2 series
  3. Low Level Software-Driver for Linux
  4. Copyright (c) 1995 Strom Systems, Inc. under the terms of the GNU
  5. General Public License. Originally written by Martin Kolinek, December 1995.
  6. Officially modified and maintained by Michael Lang since January 1999.
  7. Version 4.0a
  8. Last update: January 3, 2001
  9. Before you Start
  10. ----------------
  11. This is the common README.ibmmca file for all driver releases of the
  12. IBM MCA SCSI driver for Linux. Please note, that driver releases 4.0
  13. or newer do not work with kernel versions older than 2.4.0, while driver
  14. versions older than 4.0 do not work with kernels 2.4.0 or later! If you
  15. try to compile your kernel with the wrong driver source, the
  16. compilation is aborted and you get a corresponding error message. This is
  17. no bug in the driver; it prevents you from using the wrong source code
  18. with the wrong kernel version.
  19. Authors of this Driver
  20. ----------------------
  21. - Chris Beauregard (improvement of the SCSI-device mapping by the driver)
  22. - Martin Kolinek (origin, first release of this driver)
  23. - Klaus Kudielka (multiple SCSI-host management/detection, adaption to
  24. Linux Kernel 2.1.x, module support)
  25. - Michael Lang (assigning original pun/lun mapping, dynamical ldn
  26. assignment, rewritten adapter detection, this file,
  27. patches, official driver maintenance and subsequent
  28. debugging, related with the driver)
  29. Table of Contents
  30. -----------------
  31. 1 Abstract
  32. 2 Driver Description
  33. 2.1 IBM SCSI-Subsystem Detection
  34. 2.2 Physical Units, Logical Units, and Logical Devices
  35. 2.3 SCSI-Device Recognition and dynamical ldn Assignment
  36. 2.4 SCSI-Device Order
  37. 2.5 Regular SCSI-Command-Processing
  38. 2.6 Abort & Reset Commands
  39. 2.7 Disk Geometry
  40. 2.8 Kernel Boot Option
  41. 2.9 Driver Module Support
  42. 2.10 Multiple Hostadapter Support
  43. 2.11 /proc/scsi-Filesystem Information
  44. 2.12 /proc/mca-Filesystem Information
  45. 2.13 Supported IBM SCSI-Subsystems
  46. 2.14 Linux Kernel Versions
  47. 3 Code History
  48. 4 To do
  49. 5 Users' Manual
  50. 5.1 Commandline Parameters
  51. 5.2 Troubleshooting
  52. 5.3 Bug reports
  53. 5.4 Support WWW-page
  54. 6 References
  55. 7 Credits to
  56. 7.1 People
  57. 7.2 Sponsors & Supporters
  58. 8 Trademarks
  59. 9 Disclaimer
  60. * * *
  61. 1 Abstract
  62. ----------
  63. This README-file describes the IBM SCSI-subsystem low level driver for
  64. Linux. The descriptions which were formerly kept in the source code have
  65. been taken out of this file to simplify the codes readability. The driver
  66. description has been updated, as most of the former description was already
  67. quite outdated. The history of the driver development is also kept inside
  68. here. Multiple historical developments have been summarized to shorten the
  69. text size a bit. At the end of this file you can find a small manual for
  70. this driver and hints to get it running on your machine.
  71. 2 Driver Description
  72. --------------------
  73. 2.1 IBM SCSI-Subsystem Detection
  74. --------------------------------
  75. This is done in the ibmmca_detect() function. It first checks, if the
  76. Microchannel-bus support is enabled, as the IBM SCSI-subsystem needs the
  77. Microchannel. In a next step, a free interrupt is chosen and the main
  78. interrupt handler is connected to it to handle answers of the SCSI-
  79. subsystem(s). If the F/W SCSI-adapter is forced by the BIOS to use IRQ11
  80. instead of IRQ14, IRQ11 is used for the IBM SCSI-2 F/W adapter. In a
  81. further step it is checked, if the adapter gets detected by force from
  82. the kernel commandline, where the I/O port and the SCSI-subsystem id can
  83. be specified. The next step checks if there is an integrated SCSI-subsystem
  84. installed. This register area is fixed through all IBM PS/2 MCA-machines
  85. and appears as something like a virtual slot 10 of the MCA-bus. On most
  86. PS/2 machines, the POS registers of slot 10 are set to 0xff or 0x00 if not
  87. integrated SCSI-controller is available. But on certain PS/2s, like model
  88. 9595, this slot 10 is used to store other information which at earlier
  89. stage confused the driver and resulted in the detection of some ghost-SCSI.
  90. If POS-register 2 and 3 are not 0x00 and not 0xff, but all other POS
  91. registers are either 0xff or 0x00, there must be an integrated SCSI-
  92. subsystem present and it will be registered as IBM Integrated SCSI-
  93. Subsystem. The next step checks, if there is a slot-adapter installed on
  94. the MCA-bus. To get this, the first two POS-registers, that represent the
  95. adapter ID are checked. If they fit to one of the ids, stored in the
  96. adapter list, a SCSI-subsystem is assumed to be found in a slot and will be
  97. registered. This check is done through all possible MCA-bus slots to allow
  98. more than one SCSI-adapter to be present in the PS/2-system and this is
  99. already the first point of problems. Looking into the technical reference
  100. manual for the IBM PS/2 common interfaces, the POS2 register must have
  101. different interpretation of its single bits to avoid overlapping I/O
  102. regions. While one can assume, that the integrated subsystem has a fix
  103. I/O-address at 0x3540 - 0x3547, further installed IBM SCSI-adapters must
  104. use a different I/O-address. This is expressed by bit 1 to 3 of POS2
  105. (multiplied by 8 + 0x3540). Bits 2 and 3 are reserved for the integrated
  106. subsystem, but not for the adapters! The following list shows, how the
  107. bits of POS2 and POS3 should be interpreted.
  108. The POS2-register of all PS/2 models' integrated SCSI-subsystems has the
  109. following interpretation of bits:
  110. Bit 7 - 4 : Chip Revision ID (Release)
  111. Bit 3 - 2 : Reserved
  112. Bit 1 : 8k NVRAM Disabled
  113. Bit 0 : Chip Enable (EN-Signal)
  114. The POS3-register is interpreted as follows (for most IBM SCSI-subsys.):
  115. Bit 7 - 5 : SCSI ID
  116. Bit 4 - 0 : Reserved = 0
  117. The slot-adapters have different interpretation of these bits. The IBM SCSI
  118. adapter (w/Cache) and the IBM SCSI-2 F/W adapter use the following
  119. interpretation of the POS2 register:
  120. Bit 7 - 4 : ROM Segment Address Select
  121. Bit 3 - 1 : Adapter I/O Address Select (*8+0x3540)
  122. Bit 0 : Adapter Enable (EN-Signal)
  123. and for the POS3 register:
  124. Bit 7 - 5 : SCSI ID
  125. Bit 4 : Fairness Enable (SCSI ID3 f. F/W)
  126. Bit 3 - 0 : Arbitration Level
  127. The most modern product of the series is the IBM SCSI-2 F/W adapter, it
  128. allows dual-bus SCSI and SCSI-wide addressing, which means, PUNs may be
  129. between 0 and 15. Here, Bit 4 is the high-order bit of the 4-bit wide
  130. adapter PUN expression. In short words, this means, that IBM PS/2 machines
  131. can only support 1 single integrated subsystem by default. Additional
  132. slot-adapters get ports assigned by the automatic configuration tool.
  133. One day I found a patch in ibmmca_detect(), forcing the I/O-address to be
  134. 0x3540 for integrated SCSI-subsystems, there was a remark placed, that on
  135. integrated IBM SCSI-subsystems of model 56, the POS2 register was showing 5.
  136. This means, that really for these models, POS2 has to be interpreted
  137. sticking to the technical reference guide. In this case, the bit 2 (4) is
  138. a reserved bit and may not be interpreted. These differences between the
  139. adapters and the integrated controllers are taken into account by the
  140. detection routine of the driver on from version >3.0g.
  141. Every time, a SCSI-subsystem is discovered, the ibmmca_register() function
  142. is called. This function checks first, if the requested area for the I/O-
  143. address of this SCSI-subsystem is still available and assigns this I/O-
  144. area to the SCSI-subsystem. There are always 8 sequential I/O-addresses
  145. taken for each individual SCSI-subsystem found, which are:
  146. Offset Type Permissions
  147. 0 Command Interface Register 1 Read/Write
  148. 1 Command Interface Register 2 Read/Write
  149. 2 Command Interface Register 3 Read/Write
  150. 3 Command Interface Register 4 Read/Write
  151. 4 Attention Register Read/Write
  152. 5 Basic Control Register Read/Write
  153. 6 Interrupt Status Register Read
  154. 7 Basic Status Register Read
  155. After the I/O-address range is assigned, the host-adapter is assigned
  156. to a local structure which keeps all adapter information needed for the
  157. driver itself and the mid- and higher-level SCSI-drivers. The SCSI pun/lun
  158. and the adapters' ldn tables are initialized and get probed afterwards by
  159. the check_devices() function. If no further adapters are found,
  160. ibmmca_detect() quits.
  161. 2.2 Physical Units, Logical Units, and Logical Devices
  162. ------------------------------------------------------
  163. There can be up to 56 devices on the SCSI bus (besides the adapter):
  164. there are up to 7 "physical units" (each identified by physical unit
  165. number or pun, also called the scsi id, this is the number you select
  166. with hardware jumpers), and each physical unit can have up to 8
  167. "logical units" (each identified by logical unit number, or lun,
  168. between 0 and 7). The IBM SCSI-2 F/W adapter offers this on up to two
  169. busses and provides support for 30 logical devices at the same time, where
  170. in wide-addressing mode you can have 16 puns with 32 luns on each device.
  171. This section describes the handling of devices on non-F/W adapters.
  172. Just imagine, that you can have 16 * 32 = 512 devices on a F/W adapter
  173. which means a lot of possible devices for such a small machine.
  174. Typically the adapter has pun=7, so puns of other physical units
  175. are between 0 and 6(15). On a wide-adapter a pun higher than 7 is
  176. possible, but is normally not used. Almost all physical units have only
  177. one logical unit, with lun=0. A CD-ROM jukebox would be an example of a
  178. physical unit with more than one logical unit.
  179. The embedded microprocessor of the IBM SCSI-subsystem hides the complex
  180. two-dimensional (pun,lun) organization from the operating system.
  181. When the machine is powered-up (or rebooted), the embedded microprocessor
  182. checks, on its own, all 56 possible (pun,lun) combinations, and the first
  183. 15 devices found are assigned into a one-dimensional array of so-called
  184. "logical devices", identified by "logical device numbers" or ldn. The last
  185. ldn=15 is reserved for the subsystem itself. Wide adapters may have
  186. to check up to 15 * 8 = 120 pun/lun combinations.
  187. 2.3 SCSI-Device Recognition and Dynamical ldn Assignment
  188. --------------------------------------------------------
  189. One consequence of information hiding is that the real (pun,lun)
  190. numbers are also hidden. The two possibilities to get around this problem
  191. are to offer fake pun/lun combinations to the operating system or to
  192. delete the whole mapping of the adapter and to reassign the ldns, using
  193. the immediate assign command of the SCSI-subsystem for probing through
  194. all possible pun/lun combinations. An ldn is a "logical device number"
  195. which is used by IBM SCSI-subsystems to access some valid SCSI-device.
  196. At the beginning of the development of this driver, the following approach
  197. was used:
  198. First, the driver checked the ldn's (0 to 6) to find out which ldn's
  199. have devices assigned. This was done by the functions check_devices() and
  200. device_exists(). The interrupt handler has a special paragraph of code
  201. (see local_checking_phase_flag) to assist in the checking. Assume, for
  202. example, that three logical devices were found assigned at ldn 0, 1, 2.
  203. These are presented to the upper layer of Linux SCSI driver
  204. as devices with bogus (pun, lun) equal to (0,0), (1,0), (2,0).
  205. On the other hand, if the upper layer issues a command to device
  206. say (4,0), this driver returns DID_NO_CONNECT error.
  207. In a second step of the driver development, the following improvement has
  208. been applied: The first approach limited the number of devices to 7, far
  209. fewer than the 15 that it could use, then it just mapped ldn ->
  210. (ldn/8,ldn%8) for pun,lun. We ended up with a real mishmash of puns
  211. and luns, but it all seemed to work.
  212. The latest development, which is implemented from the driver version 3.0
  213. and later, realizes the device recognition in the following way:
  214. The physical SCSI-devices on the SCSI-bus are probed via immediate_assign-
  215. and device_inquiry-commands, that is all implemented in a completely new
  216. made check_devices() subroutine. This delivers an exact map of the physical
  217. SCSI-world that is now stored in the get_scsi[][]-array. This means,
  218. that the once hidden pun,lun assignment is now known to this driver.
  219. It no longer believes in default-settings of the subsystem and maps all
  220. ldns to existing pun,lun "by foot". This assures full control of the ldn
  221. mapping and allows dynamical remapping of ldns to different pun,lun, if
  222. there are more SCSI-devices installed than ldns available (n>15). The
  223. ldns from 0 to 6 get 'hardwired' by this driver to puns 0 to 7 at lun=0,
  224. excluding the pun of the subsystem. This assures, that at least simple
  225. SCSI-installations have optimum access-speed and are not touched by
  226. dynamical remapping. The ldns 7 to 14 are put to existing devices with
  227. lun>0 or to non-existing devices, in order to satisfy the subsystem, if
  228. there are less than 15 SCSI-devices connected. In the case of more than 15
  229. devices, the dynamical mapping goes active. If the get_scsi[][] reports a
  230. device to be existent, but it has no ldn assigned, it gets an ldn out of 7
  231. to 14. The numbers are assigned in cyclic order, therefore it takes 8
  232. dynamical reassignments on the SCSI-devices until a certain device
  233. loses its ldn again. This assures that dynamical remapping is avoided
  234. during intense I/O between up to 15 SCSI-devices (means pun,lun
  235. combinations). A further advantage of this method is that people who
  236. build their kernel without probing on all luns will get what they expect,
  237. because the driver just won't assign everything with lun>0 when
  238. multiple lun probing is inactive.
  239. 2.4 SCSI-Device Order
  240. ---------------------
  241. Because of the now correct recognition of physical pun,lun, and
  242. their report to mid-level- and higher-level-drivers, the new reported puns
  243. can be different from the old, faked puns. Therefore, Linux will eventually
  244. change /dev/sdXXX assignments and prompt you for corrupted superblock
  245. repair on boottime. In this case DO NOT PANIC, YOUR DISKS ARE STILL OK!!!
  246. You have to reboot (CTRL-D) with an old kernel and set the /etc/fstab-file
  247. entries right. After that, the system should come up as errorfree as before.
  248. If your boot-partition is not coming up, also edit the /etc/lilo.conf-file
  249. in a Linux session booted on old kernel and run lilo before reboot. Check
  250. lilo.conf anyway to get boot on other partitions with foreign OSes right
  251. again. But there exists a feature of this driver that allows you to change
  252. the assignment order of the SCSI-devices by flipping the PUN-assignment.
  253. See the next paragraph for a description.
  254. The problem for this is, that Linux does not assign the SCSI-devices in the
  255. way as described in the ANSI-SCSI-standard. Linux assigns /dev/sda to
  256. the device with at minimum id 0. But the first drive should be at id 6,
  257. because for historical reasons, drive at id 6 has, by hardware, the highest
  258. priority and a drive at id 0 the lowest. IBM was one of the rare producers,
  259. where the BIOS assigns drives belonging to the ANSI-SCSI-standard. Most
  260. other producers' BIOS does not (I think even Adaptec-BIOS). The
  261. IBMMCA_SCSI_ORDER_STANDARD flag, which you set while configuring the
  262. kernel enables to choose the preferred way of SCSI-device-assignment.
  263. Defining this flag would result in Linux determining the devices in the
  264. same order as DOS and OS/2 does on your MCA-machine. This is also standard
  265. on most industrial computers and OSes, like e.g. OS-9. Leaving this flag
  266. undefined will get your devices ordered in the default way of Linux. See
  267. also the remarks of Chris Beauregard from Dec 15, 1997 and the followups
  268. in section 3.
  269. 2.5 Regular SCSI-Command-Processing
  270. -----------------------------------
  271. Only three functions get involved: ibmmca_queuecommand(), issue_cmd(),
  272. and interrupt_handler().
  273. The upper layer issues a scsi command by calling function
  274. ibmmca_queuecommand(). This function fills a "subsystem control block"
  275. (scb) and calls a local function issue_cmd(), which writes a scb
  276. command into subsystem I/O ports. Once the scb command is carried out,
  277. the interrupt_handler() is invoked. If a device is determined to be
  278. existent and it has not assigned any ldn, it gets one dynamically.
  279. For this, the whole stuff is done in ibmmca_queuecommand().
  280. 2.6 Abort & Reset Commands
  281. --------------------------
  282. These are implemented with busy waiting for interrupt to arrive.
  283. ibmmca_reset() and ibmmca_abort() do not work sufficiently well
  284. up to now and need still a lot of development work. This seems
  285. to be a problem with other low-level SCSI drivers too, however
  286. this should be no excuse.
  287. 2.7 Disk Geometry
  288. -----------------
  289. The ibmmca_biosparams() function should return the same disk geometry
  290. as the bios. This is needed for fdisk, etc. The returned geometry is
  291. certainly correct for disks smaller than 1 gigabyte. In the meantime,
  292. it has been proved, that this works fine even with disks larger than
  293. 1 gigabyte.
  294. 2.8 Kernel Boot Option
  295. ----------------------
  296. The function ibmmca_scsi_setup() is called if option ibmmcascsi=n
  297. is passed to the kernel. See file linux/init/main.c for details.
  298. 2.9 Driver Module Support
  299. -------------------------
  300. Is implemented and tested by K. Kudielka. This could probably not work
  301. on kernels <2.1.0.
  302. 2.10 Multiple Hostadapter Support
  303. ---------------------------------
  304. This driver supports up to eight interfaces of type IBM-SCSI-Subsystem.
  305. Integrated-, and MCA-adapters are automatically recognized. Unrecognizable
  306. IBM-SCSI-Subsystem interfaces can be specified as kernel-parameters.
  307. 2.11 /proc/scsi-Filesystem Information
  308. --------------------------------------
  309. Information about the driver condition is given in
  310. /proc/scsi/ibmmca/<host_no>. ibmmca_proc_info() provides this information.
  311. This table is quite informative for interested users. It shows the load
  312. of commands on the subsystem and whether you are running the bypassed
  313. (software) or integrated (hardware) SCSI-command set (see below). The
  314. amount of accesses is shown. Read, write, modeselect is shown separately
  315. in order to help debugging problems with CD-ROMs or tapedrives.
  316. The following table shows the list of 15 logical device numbers, that are
  317. used by the SCSI-subsystem. The load on each ldn is shown in the table,
  318. again, read and write commands are split. The last column shows the amount
  319. of reassignments, that have been applied to the ldns, if you have more than
  320. 15 pun/lun combinations available on the SCSI-bus.
  321. The last two tables show the pun/lun map and the positions of the ldns
  322. on this pun/lun map. This may change during operation, when a ldn is
  323. reassigned to another pun/lun combination. If the necessity for dynamical
  324. assignments is set to 'no', the ldn structure keeps static.
  325. 2.12 /proc/mca-Filesystem Information
  326. -------------------------------------
  327. The slot-file contains all default entries and in addition chip and I/O-
  328. address information of the SCSI-subsystem. This information is provided
  329. by ibmmca_getinfo().
  330. 2.13 Supported IBM SCSI-Subsystems
  331. ----------------------------------
  332. The following IBM SCSI-subsystems are supported by this driver:
  333. - IBM Fast/Wide SCSI-2 Adapter
  334. - IBM 7568 Industrial Computer SCSI Adapter w/Cache
  335. - IBM Expansion Unit SCSI Controller
  336. - IBM SCSI Adapter w/Cache
  337. - IBM SCSI Adapter
  338. - IBM Integrated SCSI Controller
  339. - All clones, 100% compatible with the chipset and subsystem command
  340. system of IBM SCSI-adapters (forced detection)
  341. 2.14 Linux Kernel Versions
  342. --------------------------
  343. The IBM SCSI-subsystem low level driver is prepared to be used with
  344. all versions of Linux between 2.0.x and 2.4.x. The compatibility checks
  345. are fully implemented up from version 3.1e of the driver. This means, that
  346. you just need the latest ibmmca.h and ibmmca.c file and copy it in the
  347. linux/drivers/scsi directory. The code is automatically adapted during
  348. kernel compilation. This is different from kernel 2.4.0! Here version
  349. 4.0 or later of the driver must be used for kernel 2.4.0 or later. Version
  350. 4.0 or later does not work together with older kernels! Driver versions
  351. older than 4.0 do not work together with kernel 2.4.0 or later. They work
  352. on all older kernels.
  353. 3 Code History
  354. --------------
  355. Jan 15 1996: First public release.
  356. - Martin Kolinek
  357. Jan 23 1996: Scrapped code which reassigned scsi devices to logical
  358. device numbers. Instead, the existing assignment (created
  359. when the machine is powered-up or rebooted) is used.
  360. A side effect is that the upper layer of Linux SCSI
  361. device driver gets bogus scsi ids (this is benign),
  362. and also the hard disks are ordered under Linux the
  363. same way as they are under dos (i.e., C: disk is sda,
  364. D: disk is sdb, etc.).
  365. - Martin Kolinek
  366. I think that the CD-ROM is now detected only if a CD is
  367. inside CD_ROM while Linux boots. This can be fixed later,
  368. once the driver works on all types of PS/2's.
  369. - Martin Kolinek
  370. Feb 7 1996: Modified biosparam function. Fixed the CD-ROM detection.
  371. For now, devices other than harddisk and CD_ROM are
  372. ignored. Temporarily modified abort() function
  373. to behave like reset().
  374. - Martin Kolinek
  375. Mar 31 1996: The integrated scsi subsystem is correctly found
  376. in PS/2 models 56,57, but not in model 76. Therefore
  377. the ibmmca_scsi_setup() function has been added today.
  378. This function allows the user to force detection of
  379. scsi subsystem. The kernel option has format
  380. ibmmcascsi=n
  381. where n is the scsi_id (pun) of the subsystem. Most likely, n is 7.
  382. - Martin Kolinek
  383. Aug 21 1996: Modified the code which maps ldns to (pun,0). It was
  384. insufficient for those of us with CD-ROM changers.
  385. - Chris Beauregard
  386. Dec 14 1996: More improvements to the ldn mapping. See check_devices
  387. for details. Did more fiddling with the integrated SCSI detection,
  388. but I think it's ultimately hopeless without actually testing the
  389. model of the machine. The 56, 57, 76 and 95 (ultimedia) all have
  390. different integrated SCSI register configurations. However, the 56
  391. and 57 are the only ones that have problems with forced detection.
  392. - Chris Beauregard
  393. Mar 8-16 1997: Modified driver to run as a module and to support
  394. multiple adapters. A structure, called ibmmca_hostdata, is now
  395. present, containing all the variables, that were once only
  396. available for one single adapter. The find_subsystem-routine has vanished.
  397. The hardware recognition is now done in ibmmca_detect directly.
  398. This routine checks for presence of MCA-bus, checks the interrupt
  399. level and continues with checking the installed hardware.
  400. Certain PS/2-models do not recognize a SCSI-subsystem automatically.
  401. Hence, the setup defined by command-line-parameters is checked first.
  402. Thereafter, the routine probes for an integrated SCSI-subsystem.
  403. Finally, adapters are checked. This method has the advantage to cover all
  404. possible combinations of multiple SCSI-subsystems on one MCA-board. Up to
  405. eight SCSI-subsystems can be recognized and announced to the upper-level
  406. drivers with this improvement. A set of defines made changes to other
  407. routines as small as possible.
  408. - Klaus Kudielka
  409. May 30 1997: (v1.5b)
  410. 1) SCSI-command capability enlarged by the recognition of MODE_SELECT.
  411. This needs the RD-Bit to be disabled on IM_OTHER_SCSI_CMD_CMD which
  412. allows data to be written from the system to the device. It is a
  413. necessary step to be allowed to set blocksize of SCSI-tape-drives and
  414. the tape-speed, without confusing the SCSI-Subsystem.
  415. 2) The recognition of a tape is included in the check_devices routine.
  416. This is done by checking for TYPE_TAPE, that is already defined in
  417. the kernel-scsi-environment. The markup of a tape is done in the
  418. global ldn_is_tape[] array. If the entry on index ldn
  419. is 1, there is a tapedrive connected.
  420. 3) The ldn_is_tape[] array is necessary to distinguish between tape- and
  421. other devices. Fixed blocklength devices should not cause a problem
  422. with the SCB-command for read and write in the ibmmca_queuecommand
  423. subroutine. Therefore, I only derivate the READ_XX, WRITE_XX for
  424. the tape-devices, as recommended by IBM in this Technical Reference,
  425. mentioned below. (IBM recommends to avoid using the read/write of the
  426. subsystem, but the fact was, that read/write causes a command error from
  427. the subsystem and this causes kernel-panic.)
  428. 4) In addition, I propose to use the ldn instead of a fix char for the
  429. display of PS2_DISK_LED_ON(). On 95, one can distinguish between the
  430. devices that are accessed. It shows activity and easyfies debugging.
  431. The tape-support has been tested with a SONY SDT-5200 and a HP DDS-2
  432. (I do not know yet the type). Optimization and CD-ROM audio-support,
  433. I am working on ...
  434. - Michael Lang
  435. June 19 1997: (v1.6b)
  436. 1) Submitting the extra-array ldn_is_tape[] -> to the local ld[]
  437. device-array.
  438. 2) CD-ROM Audio-Play seems to work now.
  439. 3) When using DDS-2 (120M) DAT-Tapes, mtst shows still density-code
  440. 0x13 for ordinary DDS (61000 BPM) instead 0x24 for DDS-2. This appears
  441. also on Adaptec 2940 adaptor in a PCI-System. Therefore, I assume that
  442. the problem is independent of the low-level-driver/bus-architecture.
  443. 4) Hexadecimal ldn on PS/2-95 LED-display.
  444. 5) Fixing of the PS/2-LED on/off that it works right with tapedrives and
  445. does not confuse the disk_rw_in_progress counter.
  446. - Michael Lang
  447. June 21 1997: (v1.7b)
  448. 1) Adding of a proc_info routine to inform in /proc/scsi/ibmmca/<host> the
  449. outer-world about operational load statistics on the different ldns,
  450. seen by the driver. Everybody that has more than one IBM-SCSI should
  451. test this, because I only have one and cannot see what happens with more
  452. than one IBM-SCSI hosts.
  453. 2) Definition of a driver version-number to have a better recognition of
  454. the source when there are existing too much releases that may confuse
  455. the user, when reading about release-specific problems. Up to know,
  456. I calculated the version-number to be 1.7. Because we are in BETA-test
  457. yet, it is today 1.7b.
  458. 3) Sorry for the heavy bug I programmed on June 19 1997! After that, the
  459. CD-ROM did not work any more! The C7-command was a fake impression
  460. I got while programming. Now, the READ and WRITE commands for CD-ROM are
  461. no longer running over the subsystem, but just over
  462. IM_OTHER_SCSI_CMD_CMD. On my observations (PS/2-95), now CD-ROM mounts
  463. much faster(!) and hopefully all fancy multimedia-functions, like direct
  464. digital recording from audio-CDs also work. (I tried it with cdda2wav
  465. from the cdwtools-package and it filled up the harddisk immediately :-).)
  466. To easify boolean logics, a further local device-type in ld[], called
  467. is_cdrom has been included.
  468. 4) If one uses a SCSI-device of unsupported type/commands, one
  469. immediately runs into a kernel-panic caused by Command Error. To better
  470. understand which SCSI-command caused the problem, I extended this
  471. specific panic-message slightly.
  472. - Michael Lang
  473. June 25 1997: (v1.8b)
  474. 1) Some cosmetic changes for the handling of SCSI-device-types.
  475. Now, also CD-Burners / WORMs and SCSI-scanners should work. For
  476. MO-drives I have no experience, therefore not yet supported.
  477. In logical_devices I changed from different type-variables to one
  478. called 'device_type' where the values, corresponding to scsi.h,
  479. of a SCSI-device are stored.
  480. 2) There existed a small bug, that maps a device, coming after a SCSI-tape
  481. wrong. Therefore, e.g. a CD-ROM changer would have been mapped wrong
  482. -> problem removed.
  483. 3) Extension of the logical_device structure. Now it contains also device,
  484. vendor and revision-level of a SCSI-device for internal usage.
  485. - Michael Lang
  486. June 26-29 1997: (v2.0b)
  487. 1) The release number 2.0b is necessary because of the completely new done
  488. recognition and handling of SCSI-devices with the adapter. As I got
  489. from Chris the hint, that the subsystem can reassign ldns dynamically,
  490. I remembered this immediate_assign-command, I found once in the handbook.
  491. Now, the driver first kills all ldn assignments that are set by default
  492. on the SCSI-subsystem. After that, it probes on all puns and luns for
  493. devices by going through all combinations with immediate_assign and
  494. probing for devices, using device_inquiry. The found physical(!) pun,lun
  495. structure is stored in get_scsi[][] as device types. This is followed
  496. by the assignment of all ldns to existing SCSI-devices. If more ldns
  497. than devices are available, they are assigned to non existing pun,lun
  498. combinations to satisfy the adapter. With this, the dynamical mapping
  499. was possible to implement. (For further info see the text in the
  500. source code and in the description below. Read the description
  501. below BEFORE installing this driver on your system!)
  502. 2) Changed the name IBMMCA_DRIVER_VERSION to IBMMCA_SCSI_DRIVER_VERSION.
  503. 3) The LED-display shows on PS/2-95 no longer the ldn, but the SCSI-ID
  504. (pun) of the accessed SCSI-device. This is now senseful, because the
  505. pun known within the driver is exactly the pun of the physical device
  506. and no longer a fake one.
  507. 4) The /proc/scsi/ibmmca/<host_no> consists now of the first part, where
  508. hit-statistics of ldns is shown and a second part, where the maps of
  509. physical and logical SCSI-devices are displayed. This could be very
  510. interesting, when one is using more than 15 SCSI-devices in order to
  511. follow the dynamical remapping of ldns.
  512. - Michael Lang
  513. June 26-29 1997: (v2.0b-1)
  514. 1) I forgot to switch the local_checking_phase_flag to 1 and back to 0
  515. in the dynamical remapping part in ibmmca_queuecommand for the
  516. device_exist routine. Sorry.
  517. - Michael Lang
  518. July 1-13 1997: (v3.0b,c)
  519. 1) Merging of the driver-developments of Klaus Kudielka and Michael Lang
  520. in order to get a optimum and unified driver-release for the
  521. IBM-SCSI-Subsystem-Adapter(s).
  522. For people, using the Kernel-release >=2.1.0, module-support should
  523. be no problem. For users, running under <2.1.0, module-support may not
  524. work, because the methods have changed between 2.0.x and 2.1.x.
  525. 2) Added some more effective statistics for /proc-output.
  526. 3) Change typecasting at necessary points from (unsigned long) to
  527. virt_to_bus().
  528. 4) Included #if... at special points to have specific adaption of the
  529. driver to kernel 2.0.x and 2.1.x. It should therefore also run with
  530. later releases.
  531. 5) Magneto-Optical drives and medium-changers are also recognized, now.
  532. Therefore, we have a completely gapfree recognition of all SCSI-
  533. device-types, that are known by Linux up to kernel 2.1.31.
  534. 6) The flag SCSI_IBMMCA_DEV_RESET has been inserted. If it is set within
  535. the configuration, each connected SCSI-device will get a reset command
  536. during boottime. This can be necessary for some special SCSI-devices.
  537. This flag should be included in Config.in.
  538. (See also the new Config.in file.)
  539. Probable next improvement: bad disk handler.
  540. - Michael Lang
  541. Sept 14 1997: (v3.0c)
  542. 1) Some debugging and speed optimization applied.
  543. - Michael Lang
  544. Dec 15, 1997
  545. - chrisb@truespectra.com
  546. - made the front panel display thingy optional, specified from the
  547. command-line via ibmmcascsi=display. Along the lines of the /LED
  548. option for the OS/2 driver.
  549. - fixed small bug in the LED display that would hang some machines.
  550. - reversed ordering of the drives (using the
  551. IBMMCA_SCSI_ORDER_STANDARD define). This is necessary for two main
  552. reasons:
  553. - users who've already installed Linux won't be screwed. Keep
  554. in mind that not everyone is a kernel hacker.
  555. - be consistent with the BIOS ordering of the drives. In the
  556. BIOS, id 6 is C:, id 0 might be D:. With this scheme, they'd be
  557. backwards. This confuses the crap out of those heathens who've
  558. got a impure Linux installation (which, <wince>, I'm one of).
  559. This whole problem arises because IBM is actually non-standard with
  560. the id to BIOS mappings. You'll find, in fdomain.c, a similar
  561. comment about a few FD BIOS revisions. The Linux (and apparently
  562. industry) standard is that C: maps to scsi id (0,0). Let's stick
  563. with that standard.
  564. - Since this is technically a branch of my own, I changed the
  565. version number to 3.0e-cpb.
  566. Jan 17, 1998: (v3.0f)
  567. 1) Addition of some statistical info for /proc in proc_info.
  568. 2) Taking care of the SCSI-assignment problem, dealed by Chris at Dec 15
  569. 1997. In fact, IBM is right, concerning the assignment of SCSI-devices
  570. to driveletters. It is conform to the ANSI-definition of the SCSI-
  571. standard to assign drive C: to SCSI-id 6, because it is the highest
  572. hardware priority after the hostadapter (that has still today by
  573. default everywhere id 7). Also realtime-operating systems that I use,
  574. like LynxOS and OS9, which are quite industrial systems use top-down
  575. numbering of the harddisks, that is also starting at id 6. Now, one
  576. sits a bit between two chairs. On one hand side, using the define
  577. IBMMCA_SCSI_ORDER_STANDARD makes Linux assigning disks conform to
  578. the IBM- and ANSI-SCSI-standard and keeps this driver downward
  579. compatible to older releases, on the other hand side, people is quite
  580. habituated in believing that C: is assigned to (0,0) and much other
  581. SCSI-BIOS do so. Therefore, I moved the IBMMCA_SCSI_ORDER_STANDARD
  582. define out of the driver and put it into Config.in as subitem of
  583. 'IBM SCSI support'. A help, added to Documentation/Configure.help
  584. explains the differences between saying 'y' or 'n' to the user, when
  585. IBMMCA_SCSI_ORDER_STANDARD prompts, so the ordinary user is enabled to
  586. choose the way of assignment, depending on his own situation and gusto.
  587. 3) Adapted SCSI_IBMMCA_DEV_RESET to the local naming convention, so it is
  588. now called IBMMCA_SCSI_DEV_RESET.
  589. 4) Optimization of proc_info and its subroutines.
  590. 5) Added more in-source-comments and extended the driver description by
  591. some explanation about the SCSI-device-assignment problem.
  592. - Michael Lang
  593. Jan 18, 1998: (v3.0g)
  594. 1) Correcting names to be absolutely conform to the later 2.1.x releases.
  595. This is necessary for
  596. IBMMCA_SCSI_DEV_RESET -> CONFIG_IBMMCA_SCSI_DEV_RESET
  597. IBMMCA_SCSI_ORDER_STANDARD -> CONFIG_IBMMCA_SCSI_ORDER_STANDARD
  598. - Michael Lang
  599. Jan 18, 1999: (v3.1 MCA-team internal)
  600. 1) The multiple hosts structure is accessed from every subroutine, so there
  601. is no longer the address of the device structure passed from function
  602. to function, but only the hostindex. A call by value, nothing more. This
  603. should really be understood by the compiler and the subsystem should get
  604. the right values and addresses.
  605. 2) The SCSI-subsystem detection was not complete and quite hugely buggy up
  606. to now, compared to the technical manual. The interpretation of the pos2
  607. register is not as assumed by people before, therefore, I dropped a note
  608. in the ibmmca_detect function to show the registers' interpretation.
  609. The pos-registers of integrated SCSI-subsystems do not contain any
  610. information concerning the IO-port offset, really. Instead, they contain
  611. some info about the adapter, the chip, the NVRAM .... The I/O-port is
  612. fixed to 0x3540 - 0x3547. There can be more than one adapters in the
  613. slots and they get an offset for the I/O area in order to get their own
  614. I/O-address area. See chapter 2 for detailed description. At least, the
  615. detection should now work right, even on models other than 95. The 95ers
  616. came happily around the bug, as their pos2 register contains always 0
  617. in the critical area. Reserved bits are not allowed to be interpreted,
  618. therefore, IBM is allowed to set those bits as they like and they may
  619. really vary between different PS/2 models. So, now, no interpretation
  620. of reserved bits - hopefully no trouble here anymore.
  621. 3) The command error, which you may get on models 55, 56, 57, 70, 77 and
  622. P70 may have been caused by the fact, that adapters of older design do
  623. not like sending commands to non-existing SCSI-devices and will react
  624. with a command error as a sign of protest. While this error is not
  625. present on IBM SCSI Adapter w/cache, it appears on IBM Integrated SCSI
  626. Adapters. Therefore, I implemented a workaround to forgive those
  627. adapters their protests, but it is marked up in the statistics, so
  628. after a successful boot, you can see in /proc/scsi/ibmmca/<host_number>
  629. how often the command errors have been forgiven to the SCSI-subsystem.
  630. If the number is bigger than 0, you have a SCSI subsystem of older
  631. design, what should no longer matter.
  632. 4) ibmmca_getinfo() has been adapted very carefully, so it shows in the
  633. slotn file really, what is senseful to be presented.
  634. 5) ibmmca_register() has been extended in its parameter list in order to
  635. pass the right name of the SCSI-adapter to Linux.
  636. - Michael Lang
  637. Feb 6, 1999: (v3.1)
  638. 1) Finally, after some 3.1Beta-releases, the 3.1 release. Sorry, for
  639. the delayed release, but it was not finished with the release of
  640. Kernel 2.2.0.
  641. - Michael Lang
  642. Feb 10, 1999 (v3.1)
  643. 1) Added a new commandline parameter called 'bypass' in order to bypass
  644. every integrated subsystem SCSI-command consequently in case of
  645. troubles.
  646. 2) Concatenated read_capacity requests to the harddisks. It gave a lot
  647. of troubles with some controllers and after I wanted to apply some
  648. extensions, it jumped out in the same situation, on my w/cache, as like
  649. on D. Weinehalls' Model 56, having integrated SCSI. This gave me the
  650. decisive hint to move the code-part out and declare it global. Now
  651. it seems to work far better and more stable. Let us see what
  652. the world thinks of it...
  653. 3) By the way, only Sony DAT-drives seem to show density code 0x13. A
  654. test with a HP drive gave right results, so the problem is vendor-
  655. specific and not a problem of the OS or the driver.
  656. - Michael Lang
  657. Feb 18, 1999 (v3.1d)
  658. 1) The abort command and the reset function have been checked for
  659. inconsistencies. From the logical point of thinking, they work
  660. at their optimum, now, but as the subsystem does not answer with an
  661. interrupt, abort never finishes, sigh...
  662. 2) Everything, that is accessed by a busmaster request from the adapter
  663. is now declared as global variable, even the return-buffer in the
  664. local checking phase. This assures, that no accesses to undefined memory
  665. areas are performed.
  666. 3) In ibmmca.h, the line unchecked_isa_dma is added with 1 in order to
  667. avoid memory-pointers for the areas higher than 16MByte in order to
  668. be sure, it also works on 16-Bit Microchannel bus systems.
  669. 4) A lot of small things have been found, but nothing that endangered the
  670. driver operations. Just it should be more stable, now.
  671. - Michael Lang
  672. Feb 20, 1999 (v3.1e)
  673. 1) I took the warning from the Linux Kernel Hackers Guide serious and
  674. checked the cmd->result return value to the done-function very carefully.
  675. It is obvious, that the IBM SCSI only delivers the tsb.dev_status, if
  676. some error appeared, else it is undefined. Now, this is fixed. Before
  677. any SCB command gets queued, the tsb.dev_status is set to 0, so the
  678. cmd->result won't screw up Linux higher level drivers.
  679. 2) The reset-function has slightly improved. This is still planned for
  680. abort. During the abort and the reset function, no interrupts are
  681. allowed. This is however quite hard to cope with, so the INT-status
  682. register is read. When the interrupt gets queued, one can find its
  683. status immediately on that register and is enabled to continue in the
  684. reset function. I had no chance to test this really, only in a bogus
  685. situation, I got this function running, but the situation was too much
  686. worse for Linux :-(, so tests will continue.
  687. 3) Buffers got now consistent. No open address mapping, as before and
  688. therefore no further troubles with the unassigned memory segmentation
  689. faults that scrambled probes on 95XX series and even on 85XX series,
  690. when the kernel is done in a not so perfectly fitting way.
  691. 4) Spontaneous interrupts from the subsystem, appearing without any
  692. command previously queued are answered with a DID_BAD_INTR result.
  693. 5) Taken into account ZP Gus' proposals to reverse the SCSI-device
  694. scan order. As it does not work on Kernel 2.1.x or 2.2.x, as proposed
  695. by him, I implemented it in a slightly derived way, which offers in
  696. addition more flexibility.
  697. - Michael Lang
  698. Apr 23, 2000 (v3.2pre1)
  699. 1) During a very long time, I collected a huge amount of bug reports from
  700. various people, trying really quite different things on their SCSI-
  701. PS/2s. Today, all these bug reports are taken into account and should be
  702. mostly solved. The major topics were:
  703. - Driver crashes during boottime by no obvious reason.
  704. - Driver panics while the midlevel-SCSI-driver is trying to inquire
  705. the SCSI-device properties, even though hardware is in perfect state.
  706. - Displayed info for the various slot-cards is interpreted wrong.
  707. The main reasons for the crashes were two:
  708. 1) The commands to check for device information like INQUIRY,
  709. TEST_UNIT_READY, REQUEST_SENSE and MODE_SENSE cause the devices
  710. to deliver information of up to 255 bytes. Midlevel drivers offer
  711. 1024 bytes of space for the answer, but the IBM-SCSI-adapters do
  712. not accept this, as they stick quite near to ANSI-SCSI and report
  713. a COMMAND_ERROR message which causes the driver to panic. The main
  714. problem was located around the INQUIRY command. Now, for all the
  715. mentioned commands, the buffersize sent to the adapter is at
  716. maximum 255 which seems to be a quite reasonable solution.
  717. TEST_UNIT_READY gets a buffersize of 0 to make sure that no
  718. data is transferred in order to avoid any possible command failure.
  719. 2) On unsuccessful TEST_UNIT_READY, the mid-level driver has to send
  720. a REQUEST_SENSE in order to see where the problem is located. This
  721. REQUEST_SENSE may have various length in its answer-buffer. IBM
  722. SCSI-subsystems report a command failure if the returned buffersize
  723. is different from the sent buffersize, but this can be suppressed by
  724. a special bit, which is now done and problems seem to be solved.
  725. 2) Code adaption to all kernel-releases. Now, the 3.2 code compiles on
  726. 2.0.x, 2.1.x, 2.2.x and 2.3.x kernel releases without any code-changes.
  727. 3) Commandline-parameters are recognized again, even under Kernel 2.3.x or
  728. higher.
  729. - Michael Lang
  730. April 27, 2000 (v3.2pre2)
  731. 1) Bypassed commands get read by the adapter by one cycle instead of two.
  732. This increases SCSI-performance.
  733. 2) Synchronous datatransfer is provided for sure to be 5 MHz on older
  734. SCSI and 10 MHz on internal F/W SCSI-adapter.
  735. 3) New commandline parameters allow to force the adapter to slow down while
  736. in synchronous transfer. Could be helpful for very old devices.
  737. - Michael Lang
  738. June 2, 2000 (v3.2pre5)
  739. 1) Added Jim Shorney's contribution to make the activity indicator
  740. flashing in addition to the LED-alphanumeric display-panel on
  741. models 95A. To be enabled to choose this feature freely, a new
  742. commandline parameter is added, called 'activity'.
  743. 2) Added the READ_CONTROL bit for test_unit_ready SCSI-command.
  744. 3) Added some suppress_exception bits to read_device_capacity and
  745. all device_inquiry occurrences in the driver code.
  746. 4) Complaints about the various KERNEL_VERSION implementations are
  747. taken into account. Every local_LinuxKernelVersion occurrence is
  748. now replaced by KERNEL_VERSION, defined in linux/version.h.
  749. Corresponding changes were applied to ibmmca.h, too. This was a
  750. contribution to all kernel-parts by Philipp Hahn.
  751. - Michael Lang
  752. July 17, 2000 (v3.2pre8)
  753. A long period of collecting bug reports from all corners of the world
  754. now lead to the following corrections to the code:
  755. 1) SCSI-2 F/W support crashed with a COMMAND ERROR. The reason for this
  756. was that it is possible to disable Fast-SCSI for the external bus.
  757. The feature-control command, where this crash appeared regularly, tried
  758. to set the maximum speed of 10MHz synchronous transfer speed and that
  759. reports a COMMAND ERROR if external bus Fast-SCSI is disabled. Now,
  760. the feature-command probes down from maximum speed until the adapter
  761. stops to complain, which is at the same time the maximum possible
  762. speed selected in the reference program. So, F/W external can run at
  763. 5 MHz (slow-) or 10 MHz (fast-SCSI). During feature probing, the
  764. COMMAND ERROR message is used to detect if the adapter does not complain.
  765. 2) Up to now, only combined busmode is supported, if you use external
  766. SCSI-devices, attached to the F/W-controller. If dual bus is selected,
  767. only the internal SCSI-devices get accessed by Linux. For most
  768. applications, this should do fine.
  769. 3) Wide-SCSI-addressing (16-Bit) is now possible for the internal F/W
  770. bus on the F/W adapter. If F/W adapter is detected, the driver
  771. automatically uses the extended PUN/LUN <-> LDN mapping tables, which
  772. are now new from 3.2pre8. This allows PUNs between 0 and 15 and should
  773. provide more fun with the F/W adapter.
  774. 4) Several machines use the SCSI: POS registers for internal/undocumented
  775. storage of system relevant info. This confused the driver, mainly on
  776. models 9595, as it expected no onboard SCSI only, if all POS in
  777. the integrated SCSI-area are set to 0x00 or 0xff. Now, the mechanism
  778. to check for integrated SCSI is much more restrictive and these problems
  779. should be history.
  780. - Michael Lang
  781. July 18, 2000 (v3.2pre9)
  782. This develop rather quickly at the moment. Two major things were still
  783. missing in 3.2pre8:
  784. 1) The adapter PUN for F/W adapters has 4-bits, while all other adapters
  785. have 3-bits. This is now taken into account for F/W.
  786. 2) When you select CONFIG_IBMMCA_SCSI_ORDER_STANDARD, you should
  787. normally get the inverse probing order of your devices on the SCSI-bus.
  788. The ANSI device order gets scrambled in version 3.2pre8!! Now, a new
  789. and tested algorithm inverts the device-order on the SCSI-bus and
  790. automatically avoids accidental access to whatever SCSI PUN the adapter
  791. is set and works with SCSI- and Wide-SCSI-addressing.
  792. - Michael Lang
  793. July 23, 2000 (v3.2pre10 unpublished)
  794. 1) LED panel display supports wide-addressing in ibmmca=display mode.
  795. 2) Adapter-information and autoadaption to address-space is done.
  796. 3) Auto-probing for maximum synchronous SCSI transfer rate is working.
  797. 4) Optimization to some embedded function calls is applied.
  798. 5) Added some comment for the user to wait for SCSI-devices being probed.
  799. 6) Finished version 3.2 for Kernel 2.4.0. It least, I thought it is but...
  800. - Michael Lang
  801. July 26, 2000 (v3.2pre11)
  802. 1) I passed a horrible weekend getting mad with NMIs on kernel 2.2.14 and
  803. a model 9595. Asking around in the community, nobody except of me has
  804. seen such errors. Weird, but I am trying to recompile everything on
  805. the model 9595. Maybe, as I use a specially modified gcc, that could
  806. cause problems. But, it was not the reason. The true background was,
  807. that the kernel was compiled for i386 and the 9595 has a 486DX-2.
  808. Normally, no troubles should appear, but for this special machine,
  809. only the right processor support is working fine!
  810. 2) Previous problems with synchronous speed, slowing down from one adapter
  811. to the next during probing are corrected. Now, local variables store
  812. the synchronous bitmask for every single adapter found on the MCA bus.
  813. 3) LED alphanumeric panel support for XX95 systems is now showing some
  814. alive rotator during boottime. This makes sense, when no monitor is
  815. connected to the system. You can get rid of all display activity, if
  816. you do not use any parameter or just ibmmcascsi=activity, for the
  817. harddrive activity LED, existent on all PS/2, except models 8595-XXX.
  818. If no monitor is available, please use ibmmcascsi=display, which works
  819. fine together with the linuxinfo utility for the LED-panel.
  820. - Michael Lang
  821. July 29, 2000 (v3.2)
  822. 1) Submission of this driver for kernel 2.4test-XX and 2.2.17.
  823. - Michael Lang
  824. December 28, 2000 (v3.2d / v4.0)
  825. 1) The interrupt handler had some wrong statement to wait for. This
  826. was done due to experimental reasons during 3.2 development but it
  827. has shown that this is not stable enough. Going back to wait for the
  828. adapter to be not busy is best.
  829. 2) Inquiry requests can be shorter than 255 bytes of return buffer. Due
  830. to a bug in the ibmmca_queuecommand routine, this buffer was forced
  831. to 255 at minimum. If the memory address, this return buffer is pointing
  832. to does not offer more space, invalid memory accesses destabilized the
  833. kernel.
  834. 3) version 4.0 is only valid for kernel 2.4.0 or later. This is necessary
  835. to remove old kernel version dependent waste from the driver. 3.2d is
  836. only distributed with older kernels but keeps compatibility with older
  837. kernel versions. 4.0 and higher versions cannot be used with older
  838. kernels anymore!! You must have at least kernel 2.4.0!!
  839. 4) The commandline argument 'bypass' and all its functionality got removed
  840. in version 4.0. This was never really necessary, as all troubles were
  841. based on non-command related reasons up to now, so bypassing commands
  842. did not help to avoid any bugs. It is kept in 3.2X for debugging reasons.
  843. 5) Dynamic reassignment of ldns was again verified and analyzed to be
  844. completely inoperational. This is corrected and should work now.
  845. 6) All commands that get sent to the SCSI adapter were verified and
  846. completed in such a way, that they are now completely conform to the
  847. demands in the technical description of IBM. Main candidates were the
  848. DEVICE_INQUIRY, REQUEST_SENSE and DEVICE_CAPACITY commands. They must
  849. be transferred by bypassing the internal command buffer of the adapter
  850. or else the response can be a random result. GET_POS_INFO would be more
  851. safe in usage, if one could use the SUPRESS_EXCEPTION_SHORT, but this
  852. is not allowed by the technical references of IBM. (Sorry, folks, the
  853. model 80 problem is still a task to be solved in a different way.)
  854. 7) v3.2d is still hold back for some days for testing, while 4.0 is
  855. released.
  856. - Michael Lang
  857. January 3, 2001 (v4.0a)
  858. 1) A lot of complains after the 2.4.0-prerelease kernel came in about
  859. the impossibility to compile the driver as a module. This problem is
  860. solved. In combination with that problem, some unprecise declaration
  861. of the function option_setup() gave some warnings during compilation.
  862. This is solved, too by a forward declaration in ibmmca.c.
  863. 2) #ifdef argument concerning CONFIG_SCSI_IBMMCA is no longer needed and
  864. was entirely removed.
  865. 3) Some switch statements got optimized in code, as some minor variables
  866. in internal SCSI-command handlers.
  867. - Michael Lang
  868. 4 To do
  869. -------
  870. - IBM SCSI-2 F/W external SCSI bus support in separate mode!
  871. - It seems that the handling of bad disks is really bad -
  872. non-existent, in fact. However, a low-level driver cannot help
  873. much, if such things happen.
  874. 5 Users' Manual
  875. ---------------
  876. 5.1 Commandline Parameters
  877. --------------------------
  878. There exist several features for the IBM SCSI-subsystem driver.
  879. The commandline parameter format is:
  880. ibmmcascsi=<command1>,<command2>,<command3>,...
  881. where commandN can be one of the following:
  882. display Owners of a model 95 or other PS/2 systems with an
  883. alphanumeric LED display may set this to have their
  884. display showing the following output of the 8 digits:
  885. ------DA
  886. where '-' stays dark, 'D' shows the SCSI-device id
  887. and 'A' shows the SCSI hostindex, being currently
  888. accessed. During boottime, this will give the message
  889. SCSIini*
  890. on the LED-panel, where the * represents a rotator,
  891. showing the activity during the probing phase of the
  892. driver which can take up to two minutes per SCSI-adapter.
  893. adisplay This works like display, but gives more optical overview
  894. of the activities on the SCSI-bus. The display will have
  895. the following output:
  896. 6543210A
  897. where the numbers 0 to 6 light up at the shown position,
  898. when the SCSI-device is accessed. 'A' shows again the SCSI
  899. hostindex. If display nor adisplay is set, the internal
  900. PS/2 harddisk LED is used for media-activities. So, if
  901. you really do not have a system with a LED-display, you
  902. should not set display or adisplay. Keep in mind, that
  903. display and adisplay can only be used alternatively. It
  904. is not recommended to use this option, if you have some
  905. wide-addressed devices e.g. at the SCSI-2 F/W adapter in
  906. your system. In addition, the usage of the display for
  907. other tasks in parallel, like the linuxinfo-utility makes
  908. no sense with this option.
  909. activity This enables the PS/2 harddisk LED activity indicator.
  910. Most PS/2 have no alphanumeric LED display, but some
  911. indicator. So you should use this parameter to activate it.
  912. If you own model 9595 (Server95), you can have both, the
  913. LED panel and the activity indicator in parallel. However,
  914. some PS/2s, like the 8595 do not have any harddisk LED
  915. activity indicator, which means, that you must use the
  916. alphanumeric LED display if you want to monitor SCSI-
  917. activity.
  918. bypass This is obsolete from driver version 4.0, as the adapters
  919. got that far understood, that the selection between
  920. integrated and bypassed commands should now work completely
  921. correct! For historical reasons, the old description is
  922. kept here:
  923. This commandline parameter forces the driver never to use
  924. SCSI-subsystems' integrated SCSI-command set. Except of
  925. the immediate assign, which is of vital importance for
  926. every IBM SCSI-subsystem to set its ldns right. Instead,
  927. the ordinary ANSI-SCSI-commands are used and passed by the
  928. controller to the SCSI-devices, therefore 'bypass'. The
  929. effort, done by the subsystem is quite bogus and at a
  930. minimum and therefore it should work everywhere. This
  931. could maybe solve troubles with old or integrated SCSI-
  932. controllers and nasty harddisks. Keep in mind, that using
  933. this flag will slow-down SCSI-accesses slightly, as the
  934. software generated commands are always slower than the
  935. hardware. Non-harddisk devices always get read/write-
  936. commands in bypass mode. On the most recent releases of
  937. the Linux IBM-SCSI-driver, the bypass command should be
  938. no longer a necessary thing, if you are sure about your
  939. SCSI-hardware!
  940. normal This is the parameter, introduced on the 2.0.x development
  941. rail by ZP Gu. This parameter defines the SCSI-device
  942. scan order in the new industry standard. This means, that
  943. the first SCSI-device is the one with the lowest pun.
  944. E.g. harddisk at pun=0 is scanned before harddisk at
  945. pun=6, which means, that harddisk at pun=0 gets sda
  946. and the one at pun=6 gets sdb.
  947. ansi The ANSI-standard for the right scan order, as done by
  948. IBM, Microware and Microsoft, scans SCSI-devices starting
  949. at the highest pun, which means, that e.g. harddisk at
  950. pun=6 gets sda and a harddisk at pun=0 gets sdb. If you
  951. like to have the same SCSI-device order, as in DOS, OS-9
  952. or OS/2, just use this parameter.
  953. fast SCSI-I/O in synchronous mode is done at 5 MHz for IBM-
  954. SCSI-devices. SCSI-2 Fast/Wide Adapter/A external bus
  955. should then run at 10 MHz if Fast-SCSI is enabled,
  956. and at 5 MHz if Fast-SCSI is disabled on the external
  957. bus. This is the default setting when nothing is
  958. specified here.
  959. medium Synchronous rate is at 50% approximately, which means
  960. 2.5 MHz for IBM SCSI-adapters and 5.0 MHz for F/W ext.
  961. SCSI-bus (when Fast-SCSI speed enabled on external bus).
  962. slow The slowest possible synchronous transfer rate is set.
  963. This means 1.82 MHz for IBM SCSI-adapters and 2.0 MHz
  964. for F/W external bus at Fast-SCSI speed on the external
  965. bus.
  966. A further option is that you can force the SCSI-driver to accept a SCSI-
  967. subsystem at a certain I/O-address with a predefined adapter PUN. This
  968. is done by entering
  969. commandN = I/O-base
  970. commandN+1 = adapter PUN
  971. e.g. ibmmcascsi=0x3540,7 will force the driver to detect a SCSI-subsystem
  972. at I/O-address 0x3540 with adapter PUN 7. Please only use this method, if
  973. the driver does really not recognize your SCSI-adapter! With driver version
  974. 3.2, this recognition of various adapters was hugely improved and you
  975. should try first to remove your commandline arguments of such type with a
  976. newer driver. I bet, it will be recognized correctly. Even multiple and
  977. different types of IBM SCSI-adapters should be recognized correctly, too.
  978. Use the forced detection method only as last solution!
  979. Examples:
  980. ibmmcascsi=adisplay
  981. This will use the advanced display mode for the model 95 LED alphanumeric
  982. display.
  983. ibmmcascsi=display,0x3558,7
  984. This will activate the default display mode for the model 95 LED display
  985. and will force the driver to accept a SCSI-subsystem at I/O-base 0x3558
  986. with adapter PUN 7.
  987. 5.2 Troubleshooting
  988. -------------------
  989. The following FAQs should help you to solve some major problems with this
  990. driver.
  991. Q: "Reset SCSI-devices at boottime" halts the system at boottime, why?
  992. A: This is only tested with the IBM SCSI Adapter w/cache. It is not
  993. yet proven to run on other adapters, however you may be lucky.
  994. In version 3.1d this has been hugely improved and should work better,
  995. now. Normally you really won't need to activate this flag in the
  996. kernel configuration, as all post 1989 SCSI-devices should accept
  997. the reset-signal, when the computer is switched on. The SCSI-
  998. subsystem generates this reset while being initialized. This flag
  999. is really reserved for users with very old, very strange or self-made
  1000. SCSI-devices.
  1001. Q: Why is the SCSI-order of my drives mirrored to the device-order
  1002. seen from OS/2 or DOS ?
  1003. A: It depends on the operating system, if it looks at the devices in
  1004. ANSI-SCSI-standard (starting from pun 6 and going down to pun 0) or
  1005. if it just starts at pun 0 and counts up. If you want to be conform
  1006. with OS/2 and DOS, you have to activate this flag in the kernel
  1007. configuration or you should set 'ansi' as parameter for the kernel.
  1008. The parameter 'normal' sets the new industry standard, starting
  1009. from pun 0, scanning up to pun 6. This allows you to change your
  1010. opinion still after having already compiled the kernel.
  1011. Q: Why can't I find IBM MCA SCSI support in the config menu?
  1012. A: You have to activate MCA bus support, first.
  1013. Q: Where can I find the latest info about this driver?
  1014. A: See the file MAINTAINERS for the current WWW-address, which offers
  1015. updates, info and Q/A lists. At this file's origin, the webaddress
  1016. was: http://www.staff.uni-mainz.de/mlang/linux.html
  1017. Q: My SCSI-adapter is not recognized by the driver, what can I do?
  1018. A: Just force it to be recognized by kernel parameters. See section 5.1.
  1019. If this really happens, do also send e-mail to the maintainer, as
  1020. forced detection should be never necessary. Forced detection is in
  1021. principal some flaw of the driver adapter detection and goes into
  1022. bug reports.
  1023. Q: The driver screws up, if it starts to probe SCSI-devices, is there
  1024. some way out of it?
  1025. A: Yes, that was some recognition problem of the correct SCSI-adapter
  1026. and its I/O base addresses. Upgrade your driver to the latest release
  1027. and it should be fine again.
  1028. Q: I get a message: panic IBM MCA SCSI: command error .... , what can
  1029. I do against this?
  1030. A: Previously, I followed the way by ignoring command errors by using
  1031. ibmmcascsi=forgiveall, but this command no longer exists and is
  1032. obsolete. If such a problem appears, it is caused by some segmentation
  1033. fault of the driver, which maps to some unallowed area. The latest
  1034. version of the driver should be ok, as most bugs have been solved.
  1035. Q: There are still kernel panics, even after having set
  1036. ibmmcascsi=forgiveall. Are there other possibilities to prevent
  1037. such panics?
  1038. A: No, get just the latest release of the driver and it should work
  1039. better and better with increasing version number. Forget about this
  1040. ibmmcascsi=forgiveall, as also ignorecmd are obsolete.!
  1041. Q: Linux panics or stops without any comment, but it is probable, that my
  1042. harddisk(s) have bad blocks.
  1043. A: Sorry, the bad-block handling is still a feeble point of this driver,
  1044. but is on the schedule for development in the near future.
  1045. Q: Linux panics while dynamically assigning SCSI-ids or ldns.
  1046. A: If you disconnect a SCSI-device from the machine, while Linux is up
  1047. and the driver uses dynamical reassignment of logical device numbers
  1048. (ldn), it really gets "angry" if it won't find devices, that were still
  1049. present at boottime and stops Linux.
  1050. Q: The system does not recover after an abort-command has been generated.
  1051. A: This is regrettably true, as it is not yet understood, why the
  1052. SCSI-adapter does really NOT generate any interrupt at the end of
  1053. the abort-command. As no interrupt is generated, the abort command
  1054. cannot get finished and the system hangs, sorry, but checks are
  1055. running to hunt down this problem. If there is a real pending command,
  1056. the interrupt MUST get generated after abort. In this case, it
  1057. should finish well.
  1058. Q: The system gets in bad shape after a SCSI-reset, is this known?
  1059. A: Yes, as there are a lot of prescriptions (see the Linux Hackers'
  1060. Guide) what has to be done for reset, we still share the bad shape of
  1061. the reset functions with all other low level SCSI-drivers.
  1062. Astonishingly, reset works in most cases quite ok, but the harddisks
  1063. won't run in synchronous mode anymore after a reset, until you reboot.
  1064. Q: Why does my XXX w/Cache adapter not use read-prefetch?
  1065. A: Ok, that is not completely possible. If a cache is present, the
  1066. adapter tries to use it internally. Explicitly, one can use the cache
  1067. with a read prefetch command, maybe in future, but this requires
  1068. some major overhead of SCSI-commands that risks the performance to
  1069. go down more than it gets improved. Tests with that are running.
  1070. Q: I have a IBM SCSI-2 Fast/Wide adapter, it boots in some way and hangs.
  1071. A: Yes, that is understood, as for sure, your SCSI-2 Fast/Wide adapter
  1072. was in such a case recognized as integrated SCSI-adapter or something
  1073. else, but not as the correct adapter. As the I/O-ports get assigned
  1074. wrongly by that reason, the system should crash in most cases. You
  1075. should upgrade to the latest release of the SCSI-driver. The
  1076. recommended version is 3.2 or later. Here, the F/W support is in
  1077. a stable and reliable condition. Wide-addressing is in addition
  1078. supported.
  1079. Q: I get an Oops message and something like "killing interrupt".
  1080. A: The reason for this is that the IBM SCSI-subsystem only sends a
  1081. termination status back, if some error appeared. In former releases
  1082. of the driver, it was not checked, if the termination status block
  1083. is NULL. From version 3.2, it is taken care of this.
  1084. Q: I have a F/W adapter and the driver sees my internal SCSI-devices,
  1085. but ignores the external ones.
  1086. A: Select combined busmode in the IBM config-program and check for that
  1087. no SCSI-id on the external devices appears on internal devices.
  1088. Reboot afterwards. Dual busmode is supported, but works only for the
  1089. internal bus, yet. External bus is still ignored. Take care for your
  1090. SCSI-ids. If combined bus-mode is activated, on some adapters,
  1091. the wide-addressing is not possible, so devices with ids between 8
  1092. and 15 get ignored by the driver & adapter!
  1093. Q: I have a 9595 and I get a NMI during heavy SCSI I/O e.g. during fsck.
  1094. A COMMAND ERROR is reported and characters on the screen are missing.
  1095. Warm reboot is not possible. Things look like quite weird.
  1096. A: Check the processor type of your 9595. If you have an 80486 or 486DX-2
  1097. processor complex on your mainboard and you compiled a kernel that
  1098. supports 80386 processors, it is possible, that the kernel cannot
  1099. keep track of the PS/2 interrupt handling and stops on an NMI. Just
  1100. compile a kernel for the correct processor type of your PS/2 and
  1101. everything should be fine. This is necessary even if one assumes,
  1102. that some 80486 system should be downward compatible to 80386
  1103. software.
  1104. Q: Some commands hang and interrupts block the machine. After some
  1105. timeout, the syslog reports that it tries to call abort, but the
  1106. machine is frozen.
  1107. A: This can be a busy wait bug in the interrupt handler of driver
  1108. version 3.2. You should at least upgrade to 3.2c if you use
  1109. kernel < 2.4.0 and driver version 4.0 if you use kernel 2.4.0 or
  1110. later (including all test releases).
  1111. Q: I have a PS/2 model 80 and more than 16 MBytes of RAM. The driver
  1112. completely refuses to work, reports NMIs, COMMAND ERRORs or other
  1113. ambiguous stuff. When reducing the RAM size down below 16 MB,
  1114. everything is running smoothly.
  1115. A: No real answer, yet. In any case, one should force the kernel to
  1116. present SCBs only below the 16 MBytes barrier. Maybe this solves the
  1117. problem. Not yet tried, but guessing that it could work. To get this,
  1118. set unchecked_isa_dma argument of ibmmca.h from 0 to 1.
  1119. 5.3 Bug reports
  1120. --------------
  1121. If you really find bugs in the source code or the driver will successfully
  1122. refuse to work on your machine, you should send a bug report to me. The
  1123. best for this is to follow the instructions on the WWW-page for this
  1124. driver. Fill out the bug-report form, placed on the WWW-page and ship it,
  1125. so the bugs can be taken into account with maximum efforts. But, please
  1126. do not send bug reports about this driver to Linus Torvalds or Leonard
  1127. Zubkoff, as Linus is buried in E-Mail and Leonard is supervising all
  1128. SCSI-drivers and won't have the time left to look inside every single
  1129. driver to fix a bug and especially DO NOT send modified code to Linus
  1130. Torvalds or Alan J. Cox which has not been checked here!!! They are both
  1131. quite buried in E-mail (as me, sometimes, too) and one should first check
  1132. for problems on my local teststand. Recently, I got a lot of
  1133. bug reports for errors in the ibmmca.c code, which I could not imagine, but
  1134. a look inside some Linux-distribution showed me quite often some modified
  1135. code, which did no longer work on most other machines than the one of the
  1136. modifier. Ok, so now that there is maintenance service available for this
  1137. driver, please use this address first in order to keep the level of
  1138. confusion low. Thank you!
  1139. When you get a SCSI-error message that panics your system, a list of
  1140. register-entries of the SCSI-subsystem is shown (from Version 3.1d). With
  1141. this list, it is very easy for the maintainer to localize the problem in
  1142. the driver or in the configuration of the user. Please write down all the
  1143. values from this report and send them to the maintainer. This would really
  1144. help a lot and makes life easier concerning misunderstandings.
  1145. Use the bug-report form (see 5.4 for its address) to send all the bug-
  1146. stuff to the maintainer or write e-mail with the values from the table.
  1147. 5.4 Support WWW-page
  1148. --------------------
  1149. The address of the IBM SCSI-subsystem supporting WWW-page is:
  1150. http://www.staff.uni-mainz.de/mlang/linux.html
  1151. Here you can find info about the background of this driver, patches,
  1152. troubleshooting support, news and a bugreport form. Please check that
  1153. WWW-page regularly for latest hints. If ever this URL changes, please
  1154. refer to the MAINTAINERS file in order to get the latest address.
  1155. For the bugreport, please fill out the formular on the corresponding
  1156. WWW-page. Read the dedicated instructions and write as much as you
  1157. know about your problem. If you do not like such formulars, please send
  1158. some e-mail directly, but at least with the same information as required by
  1159. the formular.
  1160. If you have extensive bug reports, including Oops messages and
  1161. screen-shots, please feel free to send it directly to the address
  1162. of the maintainer, too. The current address of the maintainer is:
  1163. Michael Lang <langa2@kph.uni-mainz.de>
  1164. 6 References
  1165. ------------
  1166. IBM Corp., "Update for the PS/2 Hardware Interface Technical Reference,
  1167. Common Interfaces", Armonk, September 1991, PN 04G3281,
  1168. (available in the U.S. for $21.75 at 1-800-IBM-PCTB or in Germany for
  1169. around 40,-DM at "Hallo IBM").
  1170. IBM Corp., "Personal System/2 Micro Channel SCSI
  1171. Adapter with Cache Technical Reference", Armonk, March 1990, PN 68X2365.
  1172. IBM Corp., "Personal System/2 Micro Channel SCSI
  1173. Adapter Technical Reference", Armonk, March 1990, PN 68X2397.
  1174. IBM Corp., "SCSI-2 Fast/Wide Adapter/A Technical Reference - Dual Bus",
  1175. Armonk, March 1994, PN 83G7545.
  1176. Friedhelm Schmidt, "SCSI-Bus und IDE-Schnittstelle - Moderne Peripherie-
  1177. Schnittstellen: Hardware, Protokollbeschreibung und Anwendung", 2. Aufl.
  1178. Addison Wesley, 1996.
  1179. Michael K. Johnson, "The Linux Kernel Hackers' Guide", Version 0.6, Chapel
  1180. Hill - North Carolina, 1995
  1181. Andreas Kaiser, "SCSI TAPE BACKUP for OS/2 2.0", Version 2.12, Stuttgart
  1182. 1993
  1183. Helmut Rompel, "IBM Computerwelt GUIDE", What is what bei IBM., Systeme *
  1184. Programme * Begriffe, IWT-Verlag GmbH - Muenchen, 1988
  1185. 7 Credits to
  1186. ------------
  1187. 7.1 People
  1188. ----------
  1189. Klaus Grimm
  1190. who already a long time ago gave me the old code from the
  1191. SCSI-driver in order to get it running for some old machine
  1192. in our institute.
  1193. Martin Kolinek
  1194. who wrote the first release of the IBM SCSI-subsystem driver.
  1195. Chris Beauregard
  1196. who for a long time maintained MCA-Linux and the SCSI-driver
  1197. in the beginning. Chris, wherever you are: Cheers to you!
  1198. Klaus Kudielka
  1199. with whom in the 2.1.x times, I had a quite fruitful
  1200. cooperation to get the driver running as a module and to get
  1201. it running with multiple SCSI-adapters.
  1202. David Weinehall
  1203. for his excellent maintenance of the MCA-stuff and the quite
  1204. detailed bug reports and ideas for this driver (and his
  1205. patience ;-)).
  1206. Alan J. Cox
  1207. for his bug reports and his bold activities in cross-checking
  1208. the driver-code with his teststand.
  1209. 7.2 Sponsors & Supporters
  1210. -------------------------
  1211. "Hallo IBM",
  1212. IBM-Deutschland GmbH
  1213. the service of IBM-Deutschland for customers. Their E-Mail
  1214. service is unbeatable. Whatever old stuff I asked for, I
  1215. always got some helpful answers.
  1216. Karl-Otto Reimers,
  1217. IBM Klub - Sparte IBM Geschichte, Sindelfingen
  1218. for sending me a copy of the w/Cache manual from the
  1219. IBM-Deutschland archives.
  1220. Harald Staiger
  1221. for his extensive hardware donations which allows me today
  1222. still to test the driver in various constellations.
  1223. Erich Fritscher
  1224. for his very kind sponsoring.
  1225. Louis Ohland,
  1226. Charles Lasitter
  1227. for support by shipping me an IBM SCSI-2 Fast/Wide manual.
  1228. In addition, the contribution of various hardware is quite
  1229. decessive and will make it possible to add FWSR (RAID)
  1230. adapter support to the driver in the near future! So,
  1231. complaints about no RAID support won't remain forever.
  1232. Yes, folks, that is no joke, RAID support is going to rise!
  1233. Erik Weber
  1234. for the great deal we made about a model 9595 and the nice
  1235. surrounding equipment and the cool trip to Mannheim
  1236. second-hand computer market. In addition, I would like
  1237. to thank him for his exhaustive SCSI-driver testing on his
  1238. 95er PS/2 park.
  1239. Anthony Hogbin
  1240. for his direct shipment of a SCSI F/W adapter, which allowed
  1241. me immediately on the first stage to try it on model 8557
  1242. together with onboard SCSI adapter and some SCSI w/Cache.
  1243. Andreas Hotz
  1244. for his support by memory and an IBM SCSI-adapter. Collecting
  1245. all this together now allows me to try really things with
  1246. the driver at maximum load and variety on various models in
  1247. a very quick and efficient way.
  1248. Peter Jennewein
  1249. for his model 30, which serves me as part of my teststand
  1250. and his cool remark about how you make an ordinary diskette
  1251. drive working and how to connect it to an IBM-diskette port.
  1252. Johannes Gutenberg-Universitaet, Mainz &
  1253. Institut fuer Kernphysik, Mainz Microtron (MAMI)
  1254. for the offered space, the link, placed on the central
  1255. homepage and the space to store and offer the driver and
  1256. related material and the free working times, which allow
  1257. me to answer all your e-mail.
  1258. 8 Trademarks
  1259. ------------
  1260. IBM, PS/2, OS/2, Microchannel are registered trademarks of International
  1261. Business Machines Corporation
  1262. MS-DOS is a registered trademark of Microsoft Corporation
  1263. Microware, OS-9 are registered trademarks of Microware Systems
  1264. 9 Disclaimer
  1265. ------------
  1266. Beside the GNU General Public License and the dependent disclaimers and disclaimers
  1267. concerning the Linux-kernel in special, this SCSI-driver comes without any
  1268. warranty. Its functionality is tested as good as possible on certain
  1269. machines and combinations of computer hardware, which does not exclude,
  1270. that data loss or severe damage of hardware is possible while using this
  1271. part of software on some arbitrary computer hardware or in combination
  1272. with other software packages. It is highly recommended to make backup
  1273. copies of your data before using this software. Furthermore, personal
  1274. injuries by hardware defects, that could be caused by this SCSI-driver are
  1275. not excluded and it is highly recommended to handle this driver with a
  1276. maximum of carefulness.
  1277. This driver supports hardware, produced by International Business Machines
  1278. Corporation (IBM).
  1279. ------
  1280. Michael Lang
  1281. (langa2@kph.uni-mainz.de)