Initial import from FreeBSD RELENG_4:
[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 .\"
27 .Dd August 22, 2000
28 .Dt MLY 4
29 .Os
30 .Sh NAME
31 .Nm mly
32 .Nd Mylex AcceleRAID/eXtremeRAID family driver
33 .Sh SYNOPSIS
34 .Cd device pci
35 .Cd device mly
36 .Cd device scbus
37 .Cd device da
38 .Sh DESCRIPTION
39 The
40 .Nm
41 driver provides support for Mylex AcceleRAID and eXtremeRAID-family
42 PCI to SCSI RAID controllers with version 6.00 and later
43 firmware.
44 Supported controllers include:
45 .Bl -bullet
46 .It
47 AcceleRAID 160
48 .It
49 AcceleRAID 170
50 .It
51 AcceleRAID 352
52 .It
53 eXtremeRAID 2000
54 .It
55 eXtremeRAID 3000
56 .El
57 .Pp
58 Compatible Mylex controllers not listed should work, but have not been
59 verified.
60 .Pp
61 Logical devices (array drives) attached to the controller are presented
62 to the SCSI subsystem as though they were direct-access devices on a
63 virtual SCSI bus.
64 Physical devices which are not claimed by a logical
65 device are presented on SCSI channels which match the physical channels
66 on the controller.
67 .Sh DIAGNOSTICS
68 .Ss Controller initialisation phase
69 .Bl -diag
70 .It "mly%d: controller initialisation started"
71 .It "mly%d: initialisation complete"
72 .Pp
73 The controller firmware has started initialisation.
74 Normally this process is performed by the controller BIOS,
75 but the driver may need
76 to do this in cases where the BIOS has failed, or is not compatible
77 (e.g. on non-x86 systems).
78 .It "mly%d: drive spinup in progress"
79 .Pp
80 Drive startup is in progress; this may take several minutes.
81 .It "mly%d: mirror race recovery failed, one or more drives offline"
82 .It "mly%d: mirror race recovery in progress"
83 .It "mly%d: mirror race recovery on a critical drive"
84 .Pp
85 These error codes are undocumented.
86 .It "mly%d: FATAL MEMORY PARITY ERROR"
87 .Pp
88 Firmware detected a fatal memory error; the driver will not attempt to
89 attach to this controller.
90 .It "mly%d: unknown initialisation code %x"
91 .Pp
92 An unknown error occurred during initialisation; it will be ignored.
93 .El
94 .Ss Driver initialisation/shutdown phase
95 .Bl -diag
96 .It "mly%d: can't enable busmaster feature"
97 .It "mly%d: memory window not available"
98 .It "mly%d: can't allocate register window"
99 .It "mly%d: can't allocate interrupt"
100 .It "mly%d: can't set up interrupt"
101 .Pp
102 The system's PCI BIOS has not correctly configured the controller's
103 PCI interface; initialisation has failed and the driver will not
104 attach to this controller.
105 .It "mly%d: can't allocate parent DMA tag"
106 .It "mly%d: can't allocate buffer DMA tag"
107 .It "mly%d: can't allocate command packet DMA tag"
108 .It "mly%d: can't allocate scatter/gather DMA tag"
109 .It "mly%d: can't allocate s/g table"
110 .It "mly%d: can't allocate memory mailbox DMA tag"
111 .It "mly%d: can't allocate memory mailbox"
112 .Pp
113 A resource allocation error occurred while initialising the driver;
114 initialisation has failed and the driver will not attach to this
115 controller.
116 .It "mly%d: BTL rescan result corrupted"
117 .Pp
118 The results of a scan for an attached device were corrupted.
119 One or more devices may not be correctly reported.
120 .It "mly%d: flushing cache..."
121 .Pp
122 The controller cache is being flushed prior to detach or shutdown.
123 .El
124 .Ss Operational diagnostics
125 .Bl -diag
126 .It "mly%d: physical device %d:%d online"
127 .It "mly%d: physical device %d:%d standby"
128 .It "mly%d: physical device %d:%d automatic rebuild started"
129 .It "mly%d: physical device %d:%d manual rebuild started"
130 .It "mly%d: physical device %d:%d rebuild completed"
131 .It "mly%d: physical device %d:%d rebuild cancelled"
132 .It "mly%d: physical device %d:%d rebuild failed for unknown reasons"
133 .It "mly%d: physical device %d:%d rebuild failed due to new physical device"
134 .It "mly%d: physical device %d:%d rebuild failed due to logical drive failure"
135 .It "mly%d: physical device %d:%d found"
136 .It "mly%d: physical device %d:%d gone"
137 .It "mly%d: physical device %d:%d unconfigured"
138 .It "mly%d: physical device %d:%d expand capacity started"
139 .It "mly%d: physical device %d:%d expand capacity completed"
140 .It "mly%d: physical device %d:%d expand capacity failed"
141 .It "mly%d: physical device %d:%d parity error"
142 .It "mly%d: physical device %d:%d soft error"
143 .It "mly%d: physical device %d:%d miscellaneous error"
144 .It "mly%d: physical device %d:%d reset"
145 .It "mly%d: physical device %d:%d active spare found"
146 .It "mly%d: physical device %d:%d warm spare found"
147 .It "mly%d: physical device %d:%d initialization started"
148 .It "mly%d: physical device %d:%d initialization completed"
149 .It "mly%d: physical device %d:%d initialization failed"
150 .It "mly%d: physical device %d:%d initialization cancelled"
151 .It "mly%d: physical device %d:%d write recovery failed"
152 .It "mly%d: physical device %d:%d scsi bus reset failed"
153 .It "mly%d: physical device %d:%d double check condition"
154 .It "mly%d: physical device %d:%d device cannot be accessed"
155 .It "mly%d: physical device %d:%d gross error on scsi processor"
156 .It "mly%d: physical device %d:%d bad tag from device"
157 .It "mly%d: physical device %d:%d command timeout"
158 .It "mly%d: physical device %d:%d system reset"
159 .It "mly%d: physical device %d:%d busy status or parity error"
160 .It "mly%d: physical device %d:%d host set device to failed state"
161 .It "mly%d: physical device %d:%d selection timeout"
162 .It "mly%d: physical device %d:%d scsi bus phase error"
163 .It "mly%d: physical device %d:%d device returned unknown status"
164 .It "mly%d: physical device %d:%d device not ready"
165 .It "mly%d: physical device %d:%d device not found at startup"
166 .It "mly%d: physical device %d:%d COD write operation failed"
167 .It "mly%d: physical device %d:%d BDT write operation failed"
168 .It "mly%d: physical device %d:%d missing at startup"
169 .It "mly%d: physical device %d:%d start rebuild failed due to physical drive too small"
170 .It "mly%d: physical device %d:%d sense data received"
171 .It "mly%d:   sense key %d  asc %02x  ascq %02x"
172 .It "mly%d:   info %4D  csi %4D"
173 .It "mly%d: physical device %d:%d offline"
174 .It "mly%d:   sense key %d  asc %02x  ascq %02x"
175 .It "mly%d:   info %4D  csi %4D"
176 .Pp
177 The reported event refers to the physical device at the given channel:target
178 address.
179 .It "mly%d: logical device %d (%s) consistency check started"
180 .It "mly%d: logical device %d (%s) consistency check completed"
181 .It "mly%d: logical device %d (%s) consistency check cancelled"
182 .It "mly%d: logical device %d (%s) consistency check completed with errors"
183 .It "mly%d: logical device %d (%s) consistency check failed due to logical drive failure"
184 .It "mly%d: logical device %d (%s) consistency check failed due to physical device failure"
185 .It "mly%d: logical device %d (%s) automatic rebuild started"
186 .It "mly%d: logical device %d (%s) manual rebuild started"
187 .It "mly%d: logical device %d (%s) rebuild completed"
188 .It "mly%d: logical device %d (%s) rebuild cancelled"
189 .It "mly%d: logical device %d (%s) rebuild failed for unknown reasons"
190 .It "mly%d: logical device %d (%s) rebuild failed due to new physical device"
191 .It "mly%d: logical device %d (%s) rebuild failed due to logical drive failure"
192 .It "mly%d: logical device %d (%s) offline"
193 .It "mly%d: logical device %d (%s) critical"
194 .It "mly%d: logical device %d (%s) online"
195 .It "mly%d: logical device %d (%s) initialization started"
196 .It "mly%d: logical device %d (%s) initialization completed"
197 .It "mly%d: logical device %d (%s) initialization cancelled"
198 .It "mly%d: logical device %d (%s) initialization failed"
199 .It "mly%d: logical device %d (%s) found"
200 .It "mly%d: logical device %d (%s) gone"
201 .It "mly%d: logical device %d (%s) expand capacity started"
202 .It "mly%d: logical device %d (%s) expand capacity completed"
203 .It "mly%d: logical device %d (%s) expand capacity failed"
204 .It "mly%d: logical device %d (%s) bad block found"
205 .It "mly%d: logical device %d (%s) size changed"
206 .It "mly%d: logical device %d (%s) type changed"
207 .It "mly%d: logical device %d (%s) bad data block found"
208 .It "mly%d: logical device %d (%s) read of data block in bdt"
209 .It "mly%d: logical device %d (%s) write back data for disk block lost"
210 .Pp
211 The event report will include the name of the SCSI device which has
212 attached to the device if possible.
213 .It "mly%d: enclosure %d fan %d failed"
214 .It "mly%d: enclosure %d fan %d ok"
215 .It "mly%d: enclosure %d fan %d not present"
216 .It "mly%d: enclosure %d power supply %d failed"
217 .It "mly%d: enclosure %d power supply %d ok"
218 .It "mly%d: enclosure %d power supply %d not present"
219 .It "mly%d: enclosure %d temperature sensor %d failed"
220 .It "mly%d: enclosure %d temperature sensor %d critical"
221 .It "mly%d: enclosure %d temperature sensor %d ok"
222 .It "mly%d: enclosure %d temperature sensor %d not present"
223 .It "mly%d: enclosure %d unit %d access critical"
224 .It "mly%d: enclosure %d unit %d access ok"
225 .It "mly%d: enclosure %d unit %d access offline"
226 .Pp
227 These events refer to external enclosures by number.
228 The driver does not attempt to name the enclosures.
229 .It "mly%d: controller cache write back error"
230 .It "mly%d: controller battery backup unit found"
231 .It "mly%d: controller battery backup unit charge level low"
232 .It "mly%d: controller battery backup unit charge level ok"
233 .It "mly%d: controller installation aborted"
234 .It "mly%d: controller mirror race recovery in progress"
235 .It "mly%d: controller mirror race on critical drive"
236 .It "mly%d: controller memory soft ecc error"
237 .It "mly%d: controller memory hard ecc error"
238 .It "mly%d: controller battery backup unit failed"
239 .Pp
240 These events report controller status changes.
241 .El
242 .Sh BUGS
243 The driver does not yet provide an external management interface.
244 .Pp
245 Enclosures are not named or otherwise identified in event messages.
246 .Sh AUTHORS
247 .An -nosplit
248 The
249 .Nm
250 driver was written by
251 .An Michael Smith
252 .Aq msmith@FreeBSD.org .
253 .Pp
254 This manual page was written by
255 .An Michael Smith
256 .Aq msmith@FreeBSD.org .