1038ec875SJeroen Ruigrok van der Werven.\" 29d27d78bSDavid E. O'Brien.\" Copyright (c) 2003 David O'Brien 3038ec875SJeroen Ruigrok van der Werven.\" Copyright (c) 2000 Jeroen Ruigrok van der Werven 49b58ae86SMike Smith.\" Copyright (c) 2000 Michael Smith 5038ec875SJeroen Ruigrok van der Werven.\" All rights reserved. 6038ec875SJeroen Ruigrok van der Werven.\" 7038ec875SJeroen Ruigrok van der Werven.\" Redistribution and use in source and binary forms, with or without 8038ec875SJeroen Ruigrok van der Werven.\" modification, are permitted provided that the following conditions 9038ec875SJeroen Ruigrok van der Werven.\" are met: 10038ec875SJeroen Ruigrok van der Werven.\" 1. Redistributions of source code must retain the above copyright 11038ec875SJeroen Ruigrok van der Werven.\" notice, this list of conditions and the following disclaimer. 12038ec875SJeroen Ruigrok van der Werven.\" 2. The name of the author may not be used to endorse or promote products 13038ec875SJeroen Ruigrok van der Werven.\" derived from this software without specific prior written permission 14038ec875SJeroen Ruigrok van der Werven.\" 15038ec875SJeroen Ruigrok van der Werven.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16038ec875SJeroen Ruigrok van der Werven.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17038ec875SJeroen Ruigrok van der Werven.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18038ec875SJeroen Ruigrok van der Werven.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19038ec875SJeroen Ruigrok van der Werven.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20038ec875SJeroen Ruigrok van der Werven.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21038ec875SJeroen Ruigrok van der Werven.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22038ec875SJeroen Ruigrok van der Werven.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23038ec875SJeroen Ruigrok van der Werven.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24038ec875SJeroen Ruigrok van der Werven.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25038ec875SJeroen Ruigrok van der Werven.\" 26038ec875SJeroen Ruigrok van der Werven.\" $FreeBSD$ 27038ec875SJeroen Ruigrok van der Werven.\" 289b58ae86SMike Smith.Dd April 10, 2000 29038ec875SJeroen Ruigrok van der Werven.Dt MLX 4 30038ec875SJeroen Ruigrok van der Werven.Os 31038ec875SJeroen Ruigrok van der Werven.Sh NAME 32038ec875SJeroen Ruigrok van der Werven.Nm mlx 339b58ae86SMike Smith.Nd Mylex DAC-family RAID driver 34038ec875SJeroen Ruigrok van der Werven.Sh SYNOPSIS 35cda5a90fSJeroen Ruigrok van der Werven.Cd device pci 36038ec875SJeroen Ruigrok van der Werven.Cd device mlx 37038ec875SJeroen Ruigrok van der Werven.Sh DESCRIPTION 38038ec875SJeroen Ruigrok van der WervenThe 39038ec875SJeroen Ruigrok van der Werven.Nm 409b58ae86SMike Smithdriver provides support for Mylex DAC-family PCI to SCSI RAID controllers, 41e0723ac9SDima Dorfmanincluding versions relabeled by Digital/Compaq. 42f60eac6fSSheldon HearnSupported controllers include: 439b58ae86SMike Smith.Bl -bullet 449b58ae86SMike Smith.It 459b58ae86SMike SmithDAC960P 469b58ae86SMike Smith.It 479d27d78bSDavid E. O'BrienDAC960PD / DEC KZPSC (Fast Wide) 489b58ae86SMike Smith.It 492cdcddd0SBruce A. MahDAC960PDU 502cdcddd0SBruce A. Mah.It 519b58ae86SMike SmithDAC960PL 529b58ae86SMike Smith.It 539b58ae86SMike SmithDAC960PJ 549b58ae86SMike Smith.It 559b58ae86SMike SmithDAC960PG 569b58ae86SMike Smith.It 579d27d78bSDavid E. O'BrienDAC960PU / DEC PZPAC (Ultra Wide) 589b58ae86SMike Smith.It 599d27d78bSDavid E. O'BrienAcceleRAID 150 (DAC960PRL) 609b58ae86SMike Smith.It 619d27d78bSDavid E. O'BrienAcceleRAID 250 (DAC960PTL1) 629d27d78bSDavid E. O'Brien.It 639d27d78bSDavid E. O'BrieneXtremeRAID 1100 (DAC1164P) 649d27d78bSDavid E. O'Brien.It 659d27d78bSDavid E. O'BrienRAIDarray 230 controllers, aka the Ultra-SCSI DEC KZPAC-AA (1-ch, 4MB cache), KZPAC-CA (3-ch, 4MB), KZPAC-CB (3-ch, 8MB cache) 669b58ae86SMike Smith.El 67038ec875SJeroen Ruigrok van der Werven.Pp 689b58ae86SMike SmithAll major firmware revisions (2.x, 3.x, 4.x and 5.x) are supported, however 693750188aSSheldon Hearnit is always advisable to upgrade to the most recent firmware 703750188aSSheldon Hearnavailable for the controller. 719b58ae86SMike Smith.Pp 729b58ae86SMike SmithCompatible Mylex controllers not listed should work, but have not been 739b58ae86SMike Smithverified. 749b58ae86SMike Smith.Sh DIAGNOSTICS 7551f63d32SSheldon Hearn.Ss Controller initialisation phase 769b58ae86SMike Smith.Bl -diag 779b58ae86SMike Smith.It mlx%d: controller initialisation in progress... 789b58ae86SMike Smith.It mlx%d: initialisation complete 799b58ae86SMike Smith.Pp 809b58ae86SMike SmithThe controller firmware is performing/has completed initialisation. 819b58ae86SMike Smith.It mlx%d: physical drive %d:%d not responding 829b58ae86SMike Smith.Pp 839b58ae86SMike SmithThe drive at channel:target is not responding; it may have failed or 849b58ae86SMike Smithbeen removed. 859b58ae86SMike Smith.It mlx%d: spinning up drives... 869b58ae86SMike Smith.Pp 879b58ae86SMike SmithDrive startup is in progress; this may take several minutes. 889b58ae86SMike Smith.It mlx%d: configuration checksum error 899b58ae86SMike Smith.Pp 909b58ae86SMike SmithThe array configuration has become corrupted. 919b58ae86SMike Smith.It mlx%d: mirror race recovery in progress 929b58ae86SMike Smith.It mlx%d: mirror race on a critical system drive 939b58ae86SMike Smith.It mlx%d: mirror race recovery failed 949b58ae86SMike Smith.Pp 959b58ae86SMike SmithThese error codes are undocumented. 969b58ae86SMike Smith.It mlx%d: physical drive %d:%d COD mismatch 979b58ae86SMike Smith.Pp 989b58ae86SMike SmithConfiguration data on the drive at channel:target does not match the 999b58ae86SMike Smithrest of the array. 1009b58ae86SMike Smith.It mlx%d: system drive installation aborted 1019b58ae86SMike Smith.Pp 102f87717faSMike PritchardErrors occurred preventing one or more system drives from being configured. 1039b58ae86SMike Smith.It mlx%d: new controller configuration found 1049b58ae86SMike Smith.Pp 1059b58ae86SMike SmithThe controller has detected a configuration on disk which supersedes the 106f60eac6fSSheldon Hearnconfiguration in its nonvolatile memory. 107f60eac6fSSheldon HearnIt will reset and come up with the new configuration. 1089b58ae86SMike Smith.It mlx%d: FATAL MEMORY PARITY ERROR 1099b58ae86SMike Smith.Pp 1109b58ae86SMike SmithFirmware detected a fatal memory error; the driver will not attempt to 1119b58ae86SMike Smithattach to this controller. 1129b58ae86SMike Smith.It mlx%d: unknown firmware initialisation error %x:%x:%x 1139b58ae86SMike Smith.Pp 1149b58ae86SMike SmithAn unknown error occurred during initialisation; it will be ignored. 11551f63d32SSheldon Hearn.El 11651f63d32SSheldon Hearn.Ss Driver initialisation/shutdown phase: 1179b58ae86SMike Smith.Bl -diag 1189b58ae86SMike Smith.It mlx%d: can't allocate scatter/gather DMA tag 1199b58ae86SMike Smith.It mlx%d: can't allocate buffer DMA tag 1209b58ae86SMike Smith.It mlx%d: can't allocate s/g table 1219b58ae86SMike Smith.It mlx%d: can't make initial s/g list mapping 1229b58ae86SMike Smith.It mlx%d: can't make permanent s/g list mapping 1239b58ae86SMike Smith.It mlx%d: can't allocate interrupt 1249b58ae86SMike Smith.It mlx%d: can't set up interrupt 1259b58ae86SMike Smith.Pp 1269b58ae86SMike SmithA resource allocation error occurred while initialising the driver; 1279b58ae86SMike Smithinitialisation has failed and the driver will not attach to this 1289b58ae86SMike Smithcontroller. 1299b58ae86SMike Smith.It mlx%d: error fetching drive status 1309b58ae86SMike Smith.Pp 1319b58ae86SMike SmithThe current status of all system drives could not be fetched; attachment 1329b58ae86SMike Smithof system drives will be aborted. 1339b58ae86SMike Smith.It mlx%d: device_add_child failed 1349b58ae86SMike Smith.It mlx%d: bus_generic_attach returned %d 1359b58ae86SMike Smith.Pp 1369b58ae86SMike SmithCreation of the system drive instances failed; attachment of one or more 1379b58ae86SMike Smithsystem drives may have been aborted. 1389b58ae86SMike Smith.It mlxd%d: detaching... 1399b58ae86SMike Smith.Pp 1409b58ae86SMike SmithThe indicated system drive is being detached. 1419b58ae86SMike Smith.It mlxd%d: still open, can't detach 1429b58ae86SMike Smith.Pp 1433750188aSSheldon HearnThe indicated system drive is still open or mounted; 1443750188aSSheldon Hearnthe controller cannot be detached. 1459b58ae86SMike Smith.It mlx%d: flushing cache... 1469b58ae86SMike Smith.Pp 1479b58ae86SMike SmithThe controller cache is being flushed prior to detach or shutdown. 14851f63d32SSheldon Hearn.El 14951f63d32SSheldon Hearn.Ss Operational diagnostics: 1509b58ae86SMike Smith.Bl -diag 1519b58ae86SMike Smith.It mlx%d: ENQUIRY failed - %s 1529b58ae86SMike Smith.It mlx%d: ENQUIRY2 failed 1539b58ae86SMike Smith.It mlx%d: ENQUIRY_OLD failed 1549b58ae86SMike Smith.It mlx%d: FLUSH failed - %s 1559b58ae86SMike Smith.It mlx%d: CHECK ASYNC failed - %s 1569b58ae86SMike Smith.It mlx%d: REBUILD ASYNC failed - %s 1579b58ae86SMike Smith.It mlx%d: command failed - %s 1589b58ae86SMike Smith.Pp 1599b58ae86SMike SmithThe controller rejected a command for the reason given. 1609b58ae86SMike Smith.It mlx%d: I/O beyond end of unit (%u,%d > %u) 1619b58ae86SMike Smith.It mlx%d: I/O error - %s 1629b58ae86SMike Smith.Pp 1639b58ae86SMike SmithAn I/O error was reported by the controller. 1649b58ae86SMike Smith.It mlx%d: periodic enquiry failed - %s 1659b58ae86SMike Smith.Pp 1669b58ae86SMike SmithAn attempt to poll the controller for status failed for the reason given. 1679b58ae86SMike Smith.It mlx%d: mlx_periodic_enquiry: unknown command %x 1689b58ae86SMike Smith.Pp 1699b58ae86SMike SmithThe periodic status poll has issued a command which has become corrupted. 1709b58ae86SMike Smith.It mlxd%d: drive offline 1719b58ae86SMike Smith.It mlxd%d: drive online 1729b58ae86SMike Smith.It mlxd%d: drive critical 1739b58ae86SMike Smith.Pp 1749b58ae86SMike SmithThe system disk indicated has changed state. 1759b58ae86SMike Smith.It mlx%d: physical drive %d:%d reset 1769b58ae86SMike Smith.It mlx%d: physical drive %d:%d killed %s 1779b58ae86SMike Smith.It "mlx%d: physical drive %d:%d error log: sense = %d asc = %x asq = %x" 1789b58ae86SMike Smith.It "mlx%d: info %4D csi %4D" 1799b58ae86SMike Smith.Pp 1809b58ae86SMike SmithThe drive at channel:target has been reset, killed for the given reason, 1819b58ae86SMike Smithor experienced a SCSI error. 1829b58ae86SMike Smith.It mlx%d: unknown log message type %x 1839b58ae86SMike Smith.It mlx%d: error reading message log - %s 1849b58ae86SMike Smith.Pp 1859b58ae86SMike SmithAn error occurred while trying to read the controller's message log. 1869b58ae86SMike Smith.It mlxd%d: consistency check started 1879b58ae86SMike Smith.It mlx%d: consistency check completed 1889b58ae86SMike Smith.Pp 1899b58ae86SMike SmithA user-initiated consistency check has started/completed. 1909b58ae86SMike Smith.It mlx%d: drive rebuild started for %d:%d 1919b58ae86SMike Smith.It mlx%d: drive rebuild completed 1929b58ae86SMike Smith.Pp 1939b58ae86SMike SmithA user-initiated physical drive rebuild has started/completed. 1949b58ae86SMike Smith.It mlx%d: background check/rebuild operation started 1959b58ae86SMike Smith.It mlx%d: background check/rebuild operation completed 1969b58ae86SMike Smith.Pp 1973750188aSSheldon HearnAn automatic system drive consistency check 1983750188aSSheldon Hearnor physical drive rebuild has started/completed. 1999b58ae86SMike Smith.It mlx%d: channel %d pausing for %d seconds 2009b58ae86SMike Smith.It mlx%d: channel %d resuming 2019b58ae86SMike Smith.It mlx%d: pause command failed - %s 2029b58ae86SMike Smith.It mlx%d: pause failed for channel %d 2039b58ae86SMike Smith.It mlx%d: resume command failed - %s 2049b58ae86SMike Smith.It mlx%d: resume failed for channel %d 2059b58ae86SMike Smith.Pp 206f60eac6fSSheldon HearnController/channel pause operation notification. 207f60eac6fSSheldon Hearn(Channel pause is not currently supported on any controller.) 2089b58ae86SMike Smith.It mlx%d: controller wedged (not taking commands) 2099b58ae86SMike Smith.Pp 2109b58ae86SMike SmithThe controller is not responding to attempts to submit new commands. 2119b58ae86SMike Smith.It mlx%d: duplicate done event for slot %d 2129b58ae86SMike Smith.It mlx%d: done event for nonbusy slot %d 2139b58ae86SMike Smith.Pp 2149b58ae86SMike SmithCorruption has occurred in either the controller's onboard list of commands 2159b58ae86SMike Smithor in the driver. 21651f63d32SSheldon Hearn.El 217038ec875SJeroen Ruigrok van der Werven.Sh SEE ALSO 2189b58ae86SMike Smith.Xr mlxcontrol 8 2199b58ae86SMike Smith.Sh BUGS 2209b58ae86SMike SmithThe driver does not yet support EISA adapters. 2216d3138d7SDavid E. O'BrienThe DEC KZPSC has insufficient flash ROM to hold any reasonably recent firmware. 2226d3138d7SDavid E. O'BrienThis has caused problems for this driver. 2239b58ae86SMike Smith.Pp 2249b58ae86SMike SmithThe driver does not yet support the version 6.x firmware as found in the 2259b58ae86SMike SmithAcceleRAID 352 and eXtremeRAID 2000 and 3000 products. 226079f468aSJeroen Ruigrok van der Werven.Sh AUTHORS 227f4d874a1SRuslan Ermilov.An -nosplit 2284f713f8bSSheldon HearnThe 2294f713f8bSSheldon Hearn.Nm 2304f713f8bSSheldon Hearndriver was written by 2319b58ae86SMike Smith.An Michael Smith 2323d647f8bSMike Pritchard.Aq msmith@FreeBSD.org . 233079f468aSJeroen Ruigrok van der Werven.Pp 234079f468aSJeroen Ruigrok van der WervenThis manual page was written by 235079f468aSJeroen Ruigrok van der Werven.An Jeroen Ruigrok van der Werven 2369b58ae86SMike Smith.Aq asmodai@FreeBSD.org 2379b58ae86SMike Smithand 2389b58ae86SMike Smith.An Michael Smith 2399b58ae86SMike Smith.Aq msmith@FreeBSD.org . 240