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