/share/man/man4/mlx.4

https://bitbucket.org/freebsd/freebsd-head/ · Forth · 256 lines · 256 code · 0 blank · 0 comment · 15 complexity · 5a8b3842c9c1523e4cdb219ad9c1eddd MD5 · raw file

  1. .\"
  2. .\" Copyright (c) 2003 David O'Brien
  3. .\" Copyright (c) 2000 Jeroen Ruigrok van der Werven
  4. .\" Copyright (c) 2000 Michael Smith
  5. .\" All rights reserved.
  6. .\"
  7. .\" Redistribution and use in source and binary forms, with or without
  8. .\" modification, are permitted provided that the following conditions
  9. .\" are met:
  10. .\" 1. Redistributions of source code must retain the above copyright
  11. .\" notice, this list of conditions and the following disclaimer.
  12. .\" 2. The name of the author may not be used to endorse or promote products
  13. .\" derived from this software without specific prior written permission
  14. .\"
  15. .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  16. .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  17. .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  18. .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
  19. .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  20. .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  21. .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  22. .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  23. .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  24. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  25. .\"
  26. .\" $FreeBSD$
  27. .\"
  28. .Dd August 10, 2004
  29. .Dt MLX 4
  30. .Os
  31. .Sh NAME
  32. .Nm mlx
  33. .Nd Mylex DAC-family RAID driver
  34. .Sh SYNOPSIS
  35. To compile this driver into the kernel,
  36. place the following lines in your
  37. kernel configuration file:
  38. .Bd -ragged -offset indent
  39. .Cd "device pci"
  40. .Cd "device mlx"
  41. .Ed
  42. .Pp
  43. Alternatively, to load the driver as a
  44. module at boot time, place the following line in
  45. .Xr loader.conf 5 :
  46. .Bd -literal -offset indent
  47. mlx_load="YES"
  48. .Ed
  49. .Sh DESCRIPTION
  50. The
  51. .Nm
  52. driver provides support for Mylex DAC-family PCI to SCSI RAID controllers,
  53. including versions relabeled by Digital/Compaq.
  54. .Sh HARDWARE
  55. Controllers supported by the
  56. .Nm
  57. driver include:
  58. .Pp
  59. .Bl -bullet -compact
  60. .It
  61. Mylex DAC960P
  62. .It
  63. Mylex DAC960PD / DEC KZPSC (Fast Wide)
  64. .It
  65. Mylex DAC960PDU
  66. .It
  67. Mylex DAC960PL
  68. .It
  69. Mylex DAC960PJ
  70. .It
  71. Mylex DAC960PG
  72. .It
  73. Mylex DAC960PU / DEC PZPAC (Ultra Wide)
  74. .It
  75. Mylex AcceleRAID 150 (DAC960PRL)
  76. .It
  77. Mylex AcceleRAID 250 (DAC960PTL1)
  78. .It
  79. Mylex eXtremeRAID 1100 (DAC1164P)
  80. .It
  81. RAIDarray 230 controllers, aka the Ultra-SCSI DEC KZPAC-AA (1-ch, 4MB
  82. cache), KZPAC-CA (3-ch, 4MB), KZPAC-CB (3-ch, 8MB cache)
  83. .El
  84. .Pp
  85. All major firmware revisions (2.x, 3.x, 4.x and 5.x) are supported, however
  86. it is always advisable to upgrade to the most recent firmware
  87. available for the controller.
  88. .Pp
  89. Compatible Mylex controllers not listed should work, but have not been
  90. verified.
  91. .Sh DIAGNOSTICS
  92. .Ss Controller initialisation phase
  93. .Bl -diag
  94. .It mlx%d: controller initialisation in progress...
  95. .It mlx%d: initialisation complete
  96. .Pp
  97. The controller firmware is performing/has completed initialisation.
  98. .It mlx%d: physical drive %d:%d not responding
  99. .Pp
  100. The drive at channel:target is not responding; it may have failed or
  101. been removed.
  102. .It mlx%d: spinning up drives...
  103. .Pp
  104. Drive startup is in progress; this may take several minutes.
  105. .It mlx%d: configuration checksum error
  106. .Pp
  107. The array configuration has become corrupted.
  108. .It mlx%d: mirror race recovery in progress
  109. .It mlx%d: mirror race on a critical system drive
  110. .It mlx%d: mirror race recovery failed
  111. .Pp
  112. These error codes are undocumented.
  113. .It mlx%d: physical drive %d:%d COD mismatch
  114. .Pp
  115. Configuration data on the drive at channel:target does not match the
  116. rest of the array.
  117. .It mlx%d: system drive installation aborted
  118. .Pp
  119. Errors occurred preventing one or more system drives from being configured.
  120. .It mlx%d: new controller configuration found
  121. .Pp
  122. The controller has detected a configuration on disk which supersedes the
  123. configuration in its nonvolatile memory.
  124. It will reset and come up with the new configuration.
  125. .It mlx%d: FATAL MEMORY PARITY ERROR
  126. .Pp
  127. Firmware detected a fatal memory error; the driver will not attempt to
  128. attach to this controller.
  129. .It mlx%d: unknown firmware initialisation error %x:%x:%x
  130. .Pp
  131. An unknown error occurred during initialisation; it will be ignored.
  132. .El
  133. .Ss Driver initialisation/shutdown phase:
  134. .Bl -diag
  135. .It mlx%d: can't allocate scatter/gather DMA tag
  136. .It mlx%d: can't allocate buffer DMA tag
  137. .It mlx%d: can't allocate s/g table
  138. .It mlx%d: can't make initial s/g list mapping
  139. .It mlx%d: can't make permanent s/g list mapping
  140. .It mlx%d: can't allocate interrupt
  141. .It mlx%d: can't set up interrupt
  142. .Pp
  143. A resource allocation error occurred while initialising the driver;
  144. initialisation has failed and the driver will not attach to this
  145. controller.
  146. .It mlx%d: error fetching drive status
  147. .Pp
  148. The current status of all system drives could not be fetched; attachment
  149. of system drives will be aborted.
  150. .It mlx%d: device_add_child failed
  151. .It mlx%d: bus_generic_attach returned %d
  152. .Pp
  153. Creation of the system drive instances failed; attachment of one or more
  154. system drives may have been aborted.
  155. .It mlxd%d: detaching...
  156. .Pp
  157. The indicated system drive is being detached.
  158. .It mlxd%d: still open, can't detach
  159. .Pp
  160. The indicated system drive is still open or mounted;
  161. the controller cannot be detached.
  162. .It mlx%d: flushing cache...
  163. .Pp
  164. The controller cache is being flushed prior to detach or shutdown.
  165. .El
  166. .Ss Operational diagnostics:
  167. .Bl -diag
  168. .It mlx%d: ENQUIRY failed - %s
  169. .It mlx%d: ENQUIRY2 failed
  170. .It mlx%d: ENQUIRY_OLD failed
  171. .It mlx%d: FLUSH failed - %s
  172. .It mlx%d: CHECK ASYNC failed - %s
  173. .It mlx%d: REBUILD ASYNC failed - %s
  174. .It mlx%d: command failed - %s
  175. .Pp
  176. The controller rejected a command for the reason given.
  177. .It mlx%d: I/O beyond end of unit (%u,%d > %u)
  178. .It mlx%d: I/O error - %s
  179. .Pp
  180. An I/O error was reported by the controller.
  181. .It mlx%d: periodic enquiry failed - %s
  182. .Pp
  183. An attempt to poll the controller for status failed for the reason given.
  184. .It mlx%d: mlx_periodic_enquiry: unknown command %x
  185. .Pp
  186. The periodic status poll has issued a command which has become corrupted.
  187. .It mlxd%d: drive offline
  188. .It mlxd%d: drive online
  189. .It mlxd%d: drive critical
  190. .Pp
  191. The system disk indicated has changed state.
  192. .It mlx%d: physical drive %d:%d reset
  193. .It mlx%d: physical drive %d:%d killed %s
  194. .It "mlx%d: physical drive %d:%d error log: sense = %d asc = %x asq = %x"
  195. .It "mlx%d: info %4D csi %4D"
  196. .Pp
  197. The drive at channel:target has been reset, killed for the given reason,
  198. or experienced a SCSI error.
  199. .It mlx%d: unknown log message type %x
  200. .It mlx%d: error reading message log - %s
  201. .Pp
  202. An error occurred while trying to read the controller's message log.
  203. .It mlxd%d: consistency check started
  204. .It mlx%d: consistency check completed
  205. .Pp
  206. A user-initiated consistency check has started/completed.
  207. .It mlx%d: drive rebuild started for %d:%d
  208. .It mlx%d: drive rebuild completed
  209. .Pp
  210. A user-initiated physical drive rebuild has started/completed.
  211. .It mlx%d: background check/rebuild operation started
  212. .It mlx%d: background check/rebuild operation completed
  213. .Pp
  214. An automatic system drive consistency check
  215. or physical drive rebuild has started/completed.
  216. .It mlx%d: channel %d pausing for %d seconds
  217. .It mlx%d: channel %d resuming
  218. .It mlx%d: pause command failed - %s
  219. .It mlx%d: pause failed for channel %d
  220. .It mlx%d: resume command failed - %s
  221. .It mlx%d: resume failed for channel %d
  222. .Pp
  223. Controller/channel pause operation notification.
  224. (Channel pause is not currently supported on any controller.)
  225. .It mlx%d: controller wedged (not taking commands)
  226. .Pp
  227. The controller is not responding to attempts to submit new commands.
  228. .It mlx%d: duplicate done event for slot %d
  229. .It mlx%d: done event for nonbusy slot %d
  230. .Pp
  231. Corruption has occurred in either the controller's onboard list of commands
  232. or in the driver.
  233. .El
  234. .Sh SEE ALSO
  235. .Xr mlxcontrol 8
  236. .Sh AUTHORS
  237. .An -nosplit
  238. The
  239. .Nm
  240. driver was written by
  241. .An Michael Smith
  242. .Aq msmith@FreeBSD.org .
  243. .Pp
  244. This manual page was written by
  245. .An Jeroen Ruigrok van der Werven
  246. .Aq asmodai@FreeBSD.org
  247. and
  248. .An Michael Smith
  249. .Aq msmith@FreeBSD.org .
  250. .Sh BUGS
  251. The driver does not yet support EISA adapters.
  252. The DEC KZPSC has insufficient flash ROM to hold any reasonably recent firmware.
  253. This has caused problems for this driver.
  254. .Pp
  255. The driver does not yet support the version 6.x firmware as found in the
  256. AcceleRAID 352 and eXtremeRAID 2000 and 3000 products.