Undo part of the last commit. OBJFORMAT_PATH controls how the cross
[dragonfly.git] / share / man / man4 / mly.4
1 .\"
2 .\" Copyright (c) 2000 Michael Smith
3 .\" Copyright (c) 2000 BSDi
4 .\" All rights reserved.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\"    notice, this list of conditions and the following disclaimer.
11 .\" 2. The name of the author may not be used to endorse or promote products
12 .\"    derived from this software without specific prior written permission
13 .\"
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 .\"
25 .\" $FreeBSD: src/share/man/man4/mly.4,v 1.4.2.3 2001/07/21 09:16:46 schweikh Exp $
26 .\" $DragonFly: src/share/man/man4/mly.4,v 1.2 2003/06/17 04:36:59 dillon Exp $
27 .\"
28 .Dd August 22, 2000
29 .Dt MLY 4
30 .Os
31 .Sh NAME
32 .Nm mly
33 .Nd Mylex AcceleRAID/eXtremeRAID family driver
34 .Sh SYNOPSIS
35 .Cd device pci
36 .Cd device mly
37 .Cd device scbus
38 .Cd device da
39 .Sh DESCRIPTION
40 The
41 .Nm
42 driver provides support for Mylex AcceleRAID and eXtremeRAID-family
43 PCI to SCSI RAID controllers with version 6.00 and later
44 firmware.
45 Supported controllers include:
46 .Bl -bullet
47 .It
48 AcceleRAID 160
49 .It
50 AcceleRAID 170
51 .It
52 AcceleRAID 352
53 .It
54 eXtremeRAID 2000
55 .It
56 eXtremeRAID 3000
57 .El
58 .Pp
59 Compatible Mylex controllers not listed should work, but have not been
60 verified.
61 .Pp
62 Logical devices (array drives) attached to the controller are presented
63 to the SCSI subsystem as though they were direct-access devices on a
64 virtual SCSI bus.
65 Physical devices which are not claimed by a logical
66 device are presented on SCSI channels which match the physical channels
67 on the controller.
68 .Sh DIAGNOSTICS
69 .Ss Controller initialisation phase
70 .Bl -diag
71 .It "mly%d: controller initialisation started"
72 .It "mly%d: initialisation complete"
73 .Pp
74 The controller firmware has started initialisation.
75 Normally this process is performed by the controller BIOS,
76 but the driver may need
77 to do this in cases where the BIOS has failed, or is not compatible
78 (e.g. on non-x86 systems).
79 .It "mly%d: drive spinup in progress"
80 .Pp
81 Drive startup is in progress; this may take several minutes.
82 .It "mly%d: mirror race recovery failed, one or more drives offline"
83 .It "mly%d: mirror race recovery in progress"
84 .It "mly%d: mirror race recovery on a critical drive"
85 .Pp
86 These error codes are undocumented.
87 .It "mly%d: FATAL MEMORY PARITY ERROR"
88 .Pp
89 Firmware detected a fatal memory error; the driver will not attempt to
90 attach to this controller.
91 .It "mly%d: unknown initialisation code %x"
92 .Pp
93 An unknown error occurred during initialisation; it will be ignored.
94 .El
95 .Ss Driver initialisation/shutdown phase
96 .Bl -diag
97 .It "mly%d: can't enable busmaster feature"
98 .It "mly%d: memory window not available"
99 .It "mly%d: can't allocate register window"
100 .It "mly%d: can't allocate interrupt"
101 .It "mly%d: can't set up interrupt"
102 .Pp
103 The system's PCI BIOS has not correctly configured the controller's
104 PCI interface; initialisation has failed and the driver will not
105 attach to this controller.
106 .It "mly%d: can't allocate parent DMA tag"
107 .It "mly%d: can't allocate buffer DMA tag"
108 .It "mly%d: can't allocate command packet DMA tag"
109 .It "mly%d: can't allocate scatter/gather DMA tag"
110 .It "mly%d: can't allocate s/g table"
111 .It "mly%d: can't allocate memory mailbox DMA tag"
112 .It "mly%d: can't allocate memory mailbox"
113 .Pp
114 A resource allocation error occurred while initialising the driver;
115 initialisation has failed and the driver will not attach to this
116 controller.
117 .It "mly%d: BTL rescan result corrupted"
118 .Pp
119 The results of a scan for an attached device were corrupted.
120 One or more devices may not be correctly reported.
121 .It "mly%d: flushing cache..."
122 .Pp
123 The controller cache is being flushed prior to detach or shutdown.
124 .El
125 .Ss Operational diagnostics
126 .Bl -diag
127 .It "mly%d: physical device %d:%d online"
128 .It "mly%d: physical device %d:%d standby"
129 .It "mly%d: physical device %d:%d automatic rebuild started"
130 .It "mly%d: physical device %d:%d manual rebuild started"
131 .It "mly%d: physical device %d:%d rebuild completed"
132 .It "mly%d: physical device %d:%d rebuild cancelled"
133 .It "mly%d: physical device %d:%d rebuild failed for unknown reasons"
134 .It "mly%d: physical device %d:%d rebuild failed due to new physical device"
135 .It "mly%d: physical device %d:%d rebuild failed due to logical drive failure"
136 .It "mly%d: physical device %d:%d found"
137 .It "mly%d: physical device %d:%d gone"
138 .It "mly%d: physical device %d:%d unconfigured"
139 .It "mly%d: physical device %d:%d expand capacity started"
140 .It "mly%d: physical device %d:%d expand capacity completed"
141 .It "mly%d: physical device %d:%d expand capacity failed"
142 .It "mly%d: physical device %d:%d parity error"
143 .It "mly%d: physical device %d:%d soft error"
144 .It "mly%d: physical device %d:%d miscellaneous error"
145 .It "mly%d: physical device %d:%d reset"
146 .It "mly%d: physical device %d:%d active spare found"
147 .It "mly%d: physical device %d:%d warm spare found"
148 .It "mly%d: physical device %d:%d initialization started"
149 .It "mly%d: physical device %d:%d initialization completed"
150 .It "mly%d: physical device %d:%d initialization failed"
151 .It "mly%d: physical device %d:%d initialization cancelled"
152 .It "mly%d: physical device %d:%d write recovery failed"
153 .It "mly%d: physical device %d:%d scsi bus reset failed"
154 .It "mly%d: physical device %d:%d double check condition"
155 .It "mly%d: physical device %d:%d device cannot be accessed"
156 .It "mly%d: physical device %d:%d gross error on scsi processor"
157 .It "mly%d: physical device %d:%d bad tag from device"
158 .It "mly%d: physical device %d:%d command timeout"
159 .It "mly%d: physical device %d:%d system reset"
160 .It "mly%d: physical device %d:%d busy status or parity error"
161 .It "mly%d: physical device %d:%d host set device to failed state"
162 .It "mly%d: physical device %d:%d selection timeout"
163 .It "mly%d: physical device %d:%d scsi bus phase error"
164 .It "mly%d: physical device %d:%d device returned unknown status"
165 .It "mly%d: physical device %d:%d device not ready"
166 .It "mly%d: physical device %d:%d device not found at startup"
167 .It "mly%d: physical device %d:%d COD write operation failed"
168 .It "mly%d: physical device %d:%d BDT write operation failed"
169 .It "mly%d: physical device %d:%d missing at startup"
170 .It "mly%d: physical device %d:%d start rebuild failed due to physical drive too small"
171 .It "mly%d: physical device %d:%d sense data received"
172 .It "mly%d:   sense key %d  asc %02x  ascq %02x"
173 .It "mly%d:   info %4D  csi %4D"
174 .It "mly%d: physical device %d:%d offline"
175 .It "mly%d:   sense key %d  asc %02x  ascq %02x"
176 .It "mly%d:   info %4D  csi %4D"
177 .Pp
178 The reported event refers to the physical device at the given channel:target
179 address.
180 .It "mly%d: logical device %d (%s) consistency check started"
181 .It "mly%d: logical device %d (%s) consistency check completed"
182 .It "mly%d: logical device %d (%s) consistency check cancelled"
183 .It "mly%d: logical device %d (%s) consistency check completed with errors"
184 .It "mly%d: logical device %d (%s) consistency check failed due to logical drive failure"
185 .It "mly%d: logical device %d (%s) consistency check failed due to physical device failure"
186 .It "mly%d: logical device %d (%s) automatic rebuild started"
187 .It "mly%d: logical device %d (%s) manual rebuild started"
188 .It "mly%d: logical device %d (%s) rebuild completed"
189 .It "mly%d: logical device %d (%s) rebuild cancelled"
190 .It "mly%d: logical device %d (%s) rebuild failed for unknown reasons"
191 .It "mly%d: logical device %d (%s) rebuild failed due to new physical device"
192 .It "mly%d: logical device %d (%s) rebuild failed due to logical drive failure"
193 .It "mly%d: logical device %d (%s) offline"
194 .It "mly%d: logical device %d (%s) critical"
195 .It "mly%d: logical device %d (%s) online"
196 .It "mly%d: logical device %d (%s) initialization started"
197 .It "mly%d: logical device %d (%s) initialization completed"
198 .It "mly%d: logical device %d (%s) initialization cancelled"
199 .It "mly%d: logical device %d (%s) initialization failed"
200 .It "mly%d: logical device %d (%s) found"
201 .It "mly%d: logical device %d (%s) gone"
202 .It "mly%d: logical device %d (%s) expand capacity started"
203 .It "mly%d: logical device %d (%s) expand capacity completed"
204 .It "mly%d: logical device %d (%s) expand capacity failed"
205 .It "mly%d: logical device %d (%s) bad block found"
206 .It "mly%d: logical device %d (%s) size changed"
207 .It "mly%d: logical device %d (%s) type changed"
208 .It "mly%d: logical device %d (%s) bad data block found"
209 .It "mly%d: logical device %d (%s) read of data block in bdt"
210 .It "mly%d: logical device %d (%s) write back data for disk block lost"
211 .Pp
212 The event report will include the name of the SCSI device which has
213 attached to the device if possible.
214 .It "mly%d: enclosure %d fan %d failed"
215 .It "mly%d: enclosure %d fan %d ok"
216 .It "mly%d: enclosure %d fan %d not present"
217 .It "mly%d: enclosure %d power supply %d failed"
218 .It "mly%d: enclosure %d power supply %d ok"
219 .It "mly%d: enclosure %d power supply %d not present"
220 .It "mly%d: enclosure %d temperature sensor %d failed"
221 .It "mly%d: enclosure %d temperature sensor %d critical"
222 .It "mly%d: enclosure %d temperature sensor %d ok"
223 .It "mly%d: enclosure %d temperature sensor %d not present"
224 .It "mly%d: enclosure %d unit %d access critical"
225 .It "mly%d: enclosure %d unit %d access ok"
226 .It "mly%d: enclosure %d unit %d access offline"
227 .Pp
228 These events refer to external enclosures by number.
229 The driver does not attempt to name the enclosures.
230 .It "mly%d: controller cache write back error"
231 .It "mly%d: controller battery backup unit found"
232 .It "mly%d: controller battery backup unit charge level low"
233 .It "mly%d: controller battery backup unit charge level ok"
234 .It "mly%d: controller installation aborted"
235 .It "mly%d: controller mirror race recovery in progress"
236 .It "mly%d: controller mirror race on critical drive"
237 .It "mly%d: controller memory soft ecc error"
238 .It "mly%d: controller memory hard ecc error"
239 .It "mly%d: controller battery backup unit failed"
240 .Pp
241 These events report controller status changes.
242 .El
243 .Sh BUGS
244 The driver does not yet provide an external management interface.
245 .Pp
246 Enclosures are not named or otherwise identified in event messages.
247 .Sh AUTHORS
248 .An -nosplit
249 The
250 .Nm
251 driver was written by
252 .An Michael Smith
253 .Aq msmith@FreeBSD.org .
254 .Pp
255 This manual page was written by
256 .An Michael Smith
257 .Aq msmith@FreeBSD.org .