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.\" 26*572f2440SWarner Losh.Dd February 15, 2017 27038ec875SJeroen Ruigrok van der Werven.Dt MLX 4 28038ec875SJeroen Ruigrok van der Werven.Os 29038ec875SJeroen Ruigrok van der Werven.Sh NAME 30038ec875SJeroen Ruigrok van der Werven.Nm mlx 319b58ae86SMike Smith.Nd Mylex DAC-family RAID driver 32038ec875SJeroen Ruigrok van der Werven.Sh SYNOPSIS 332d431ba6SChristian BruefferTo compile this driver into the kernel, 342d431ba6SChristian Bruefferplace the following lines in your 352d431ba6SChristian Bruefferkernel configuration file: 362d431ba6SChristian Brueffer.Bd -ragged -offset indent 372d431ba6SChristian Brueffer.Cd "device pci" 382d431ba6SChristian Brueffer.Cd "device mlx" 392d431ba6SChristian Brueffer.Ed 402d431ba6SChristian Brueffer.Pp 412d431ba6SChristian BruefferAlternatively, to load the driver as a 422d431ba6SChristian Brueffermodule at boot time, place the following line in 432d431ba6SChristian Brueffer.Xr loader.conf 5 : 442d431ba6SChristian Brueffer.Bd -literal -offset indent 452d431ba6SChristian Brueffermlx_load="YES" 462d431ba6SChristian Brueffer.Ed 47038ec875SJeroen Ruigrok van der Werven.Sh DESCRIPTION 48038ec875SJeroen Ruigrok van der WervenThe 49038ec875SJeroen Ruigrok van der Werven.Nm 509b58ae86SMike Smithdriver provides support for Mylex DAC-family PCI to SCSI RAID controllers, 51e0723ac9SDima Dorfmanincluding versions relabeled by Digital/Compaq. 5280efc187SSimon L. B. Nielsen.Sh HARDWARE 5380efc187SSimon L. B. NielsenControllers supported by the 5480efc187SSimon L. B. Nielsen.Nm 5580efc187SSimon L. B. Nielsendriver include: 5680efc187SSimon L. B. Nielsen.Pp 5780efc187SSimon L. B. Nielsen.Bl -bullet -compact 589b58ae86SMike Smith.It 5980efc187SSimon L. B. NielsenMylex DAC960P 609b58ae86SMike Smith.It 6180efc187SSimon L. B. NielsenMylex DAC960PD / DEC KZPSC (Fast Wide) 629b58ae86SMike Smith.It 6380efc187SSimon L. B. NielsenMylex DAC960PDU 642cdcddd0SBruce A. Mah.It 6580efc187SSimon L. B. NielsenMylex DAC960PL 669b58ae86SMike Smith.It 6780efc187SSimon L. B. NielsenMylex DAC960PJ 689b58ae86SMike Smith.It 6980efc187SSimon L. B. NielsenMylex DAC960PG 709b58ae86SMike Smith.It 7180efc187SSimon L. B. NielsenMylex DAC960PU / DEC PZPAC (Ultra Wide) 729b58ae86SMike Smith.It 7380efc187SSimon L. B. NielsenMylex AcceleRAID 150 (DAC960PRL) 749b58ae86SMike Smith.It 7580efc187SSimon L. B. NielsenMylex AcceleRAID 250 (DAC960PTL1) 769d27d78bSDavid E. O'Brien.It 7780efc187SSimon L. B. NielsenMylex eXtremeRAID 1100 (DAC1164P) 789d27d78bSDavid E. O'Brien.It 7980efc187SSimon L. B. NielsenRAIDarray 230 controllers, aka the Ultra-SCSI DEC KZPAC-AA (1-ch, 4MB 8080efc187SSimon L. B. Nielsencache), KZPAC-CA (3-ch, 4MB), KZPAC-CB (3-ch, 8MB cache) 819b58ae86SMike Smith.El 82038ec875SJeroen Ruigrok van der Werven.Pp 839b58ae86SMike SmithAll major firmware revisions (2.x, 3.x, 4.x and 5.x) are supported, however 843750188aSSheldon Hearnit is always advisable to upgrade to the most recent firmware 853750188aSSheldon Hearnavailable for the controller. 869b58ae86SMike Smith.Pp 879b58ae86SMike SmithCompatible Mylex controllers not listed should work, but have not been 889b58ae86SMike Smithverified. 899b58ae86SMike Smith.Sh DIAGNOSTICS 9051f63d32SSheldon Hearn.Ss Controller initialisation phase 919b58ae86SMike Smith.Bl -diag 929b58ae86SMike Smith.It mlx%d: controller initialisation in progress... 939b58ae86SMike Smith.It mlx%d: initialisation complete 949b58ae86SMike Smith.Pp 959b58ae86SMike SmithThe controller firmware is performing/has completed initialisation. 969b58ae86SMike Smith.It mlx%d: physical drive %d:%d not responding 979b58ae86SMike Smith.Pp 989b58ae86SMike SmithThe drive at channel:target is not responding; it may have failed or 999b58ae86SMike Smithbeen removed. 1009b58ae86SMike Smith.It mlx%d: spinning up drives... 1019b58ae86SMike Smith.Pp 1029b58ae86SMike SmithDrive startup is in progress; this may take several minutes. 1039b58ae86SMike Smith.It mlx%d: configuration checksum error 1049b58ae86SMike Smith.Pp 1059b58ae86SMike SmithThe array configuration has become corrupted. 1069b58ae86SMike Smith.It mlx%d: mirror race recovery in progress 1079b58ae86SMike Smith.It mlx%d: mirror race on a critical system drive 1089b58ae86SMike Smith.It mlx%d: mirror race recovery failed 1099b58ae86SMike Smith.Pp 1109b58ae86SMike SmithThese error codes are undocumented. 1119b58ae86SMike Smith.It mlx%d: physical drive %d:%d COD mismatch 1129b58ae86SMike Smith.Pp 1139b58ae86SMike SmithConfiguration data on the drive at channel:target does not match the 1149b58ae86SMike Smithrest of the array. 1159b58ae86SMike Smith.It mlx%d: system drive installation aborted 1169b58ae86SMike Smith.Pp 117f87717faSMike PritchardErrors occurred preventing one or more system drives from being configured. 1189b58ae86SMike Smith.It mlx%d: new controller configuration found 1199b58ae86SMike Smith.Pp 1209b58ae86SMike SmithThe controller has detected a configuration on disk which supersedes the 121f60eac6fSSheldon Hearnconfiguration in its nonvolatile memory. 122f60eac6fSSheldon HearnIt will reset and come up with the new configuration. 1239b58ae86SMike Smith.It mlx%d: FATAL MEMORY PARITY ERROR 1249b58ae86SMike Smith.Pp 1259b58ae86SMike SmithFirmware detected a fatal memory error; the driver will not attempt to 1269b58ae86SMike Smithattach to this controller. 1279b58ae86SMike Smith.It mlx%d: unknown firmware initialisation error %x:%x:%x 1289b58ae86SMike Smith.Pp 1299b58ae86SMike SmithAn unknown error occurred during initialisation; it will be ignored. 13051f63d32SSheldon Hearn.El 13151f63d32SSheldon Hearn.Ss Driver initialisation/shutdown phase: 1329b58ae86SMike Smith.Bl -diag 1339b58ae86SMike Smith.It mlx%d: can't allocate scatter/gather DMA tag 1349b58ae86SMike Smith.It mlx%d: can't allocate buffer DMA tag 1359b58ae86SMike Smith.It mlx%d: can't allocate s/g table 1369b58ae86SMike Smith.It mlx%d: can't make initial s/g list mapping 1379b58ae86SMike Smith.It mlx%d: can't make permanent s/g list mapping 1389b58ae86SMike Smith.It mlx%d: can't allocate interrupt 1399b58ae86SMike Smith.It mlx%d: can't set up interrupt 1409b58ae86SMike Smith.Pp 1419b58ae86SMike SmithA resource allocation error occurred while initialising the driver; 1429b58ae86SMike Smithinitialisation has failed and the driver will not attach to this 1439b58ae86SMike Smithcontroller. 1449b58ae86SMike Smith.It mlx%d: error fetching drive status 1459b58ae86SMike Smith.Pp 1469b58ae86SMike SmithThe current status of all system drives could not be fetched; attachment 1479b58ae86SMike Smithof system drives will be aborted. 1489b58ae86SMike Smith.It mlx%d: device_add_child failed 1499b58ae86SMike Smith.It mlx%d: bus_generic_attach returned %d 1509b58ae86SMike Smith.Pp 1519b58ae86SMike SmithCreation of the system drive instances failed; attachment of one or more 1529b58ae86SMike Smithsystem drives may have been aborted. 1539b58ae86SMike Smith.It mlxd%d: detaching... 1549b58ae86SMike Smith.Pp 1559b58ae86SMike SmithThe indicated system drive is being detached. 1569b58ae86SMike Smith.It mlxd%d: still open, can't detach 1579b58ae86SMike Smith.Pp 1583750188aSSheldon HearnThe indicated system drive is still open or mounted; 1593750188aSSheldon Hearnthe controller cannot be detached. 1609b58ae86SMike Smith.It mlx%d: flushing cache... 1619b58ae86SMike Smith.Pp 1629b58ae86SMike SmithThe controller cache is being flushed prior to detach or shutdown. 16351f63d32SSheldon Hearn.El 16451f63d32SSheldon Hearn.Ss Operational diagnostics: 1659b58ae86SMike Smith.Bl -diag 1669b58ae86SMike Smith.It mlx%d: ENQUIRY failed - %s 1679b58ae86SMike Smith.It mlx%d: ENQUIRY2 failed 1689b58ae86SMike Smith.It mlx%d: ENQUIRY_OLD failed 1699b58ae86SMike Smith.It mlx%d: FLUSH failed - %s 1709b58ae86SMike Smith.It mlx%d: CHECK ASYNC failed - %s 1719b58ae86SMike Smith.It mlx%d: REBUILD ASYNC failed - %s 1729b58ae86SMike Smith.It mlx%d: command failed - %s 1739b58ae86SMike Smith.Pp 1749b58ae86SMike SmithThe controller rejected a command for the reason given. 1759b58ae86SMike Smith.It mlx%d: I/O beyond end of unit (%u,%d > %u) 1769b58ae86SMike Smith.It mlx%d: I/O error - %s 1779b58ae86SMike Smith.Pp 1789b58ae86SMike SmithAn I/O error was reported by the controller. 1799b58ae86SMike Smith.It mlx%d: periodic enquiry failed - %s 1809b58ae86SMike Smith.Pp 1819b58ae86SMike SmithAn attempt to poll the controller for status failed for the reason given. 1829b58ae86SMike Smith.It mlx%d: mlx_periodic_enquiry: unknown command %x 1839b58ae86SMike Smith.Pp 1849b58ae86SMike SmithThe periodic status poll has issued a command which has become corrupted. 1859b58ae86SMike Smith.It mlxd%d: drive offline 1869b58ae86SMike Smith.It mlxd%d: drive online 1879b58ae86SMike Smith.It mlxd%d: drive critical 1889b58ae86SMike Smith.Pp 1899b58ae86SMike SmithThe system disk indicated has changed state. 1909b58ae86SMike Smith.It mlx%d: physical drive %d:%d reset 1919b58ae86SMike Smith.It mlx%d: physical drive %d:%d killed %s 1929b58ae86SMike Smith.It "mlx%d: physical drive %d:%d error log: sense = %d asc = %x asq = %x" 1939b58ae86SMike Smith.It "mlx%d: info %4D csi %4D" 1949b58ae86SMike Smith.Pp 1959b58ae86SMike SmithThe drive at channel:target has been reset, killed for the given reason, 1969b58ae86SMike Smithor experienced a SCSI error. 1979b58ae86SMike Smith.It mlx%d: unknown log message type %x 1989b58ae86SMike Smith.It mlx%d: error reading message log - %s 1999b58ae86SMike Smith.Pp 2009b58ae86SMike SmithAn error occurred while trying to read the controller's message log. 2019b58ae86SMike Smith.It mlxd%d: consistency check started 2029b58ae86SMike Smith.It mlx%d: consistency check completed 2039b58ae86SMike Smith.Pp 2049b58ae86SMike SmithA user-initiated consistency check has started/completed. 2059b58ae86SMike Smith.It mlx%d: drive rebuild started for %d:%d 2069b58ae86SMike Smith.It mlx%d: drive rebuild completed 2079b58ae86SMike Smith.Pp 2089b58ae86SMike SmithA user-initiated physical drive rebuild has started/completed. 2099b58ae86SMike Smith.It mlx%d: background check/rebuild operation started 2109b58ae86SMike Smith.It mlx%d: background check/rebuild operation completed 2119b58ae86SMike Smith.Pp 2123750188aSSheldon HearnAn automatic system drive consistency check 2133750188aSSheldon Hearnor physical drive rebuild has started/completed. 2149b58ae86SMike Smith.It mlx%d: channel %d pausing for %d seconds 2159b58ae86SMike Smith.It mlx%d: channel %d resuming 2169b58ae86SMike Smith.It mlx%d: pause command failed - %s 2179b58ae86SMike Smith.It mlx%d: pause failed for channel %d 2189b58ae86SMike Smith.It mlx%d: resume command failed - %s 2199b58ae86SMike Smith.It mlx%d: resume failed for channel %d 2209b58ae86SMike Smith.Pp 221f60eac6fSSheldon HearnController/channel pause operation notification. 222f60eac6fSSheldon Hearn(Channel pause is not currently supported on any controller.) 2239b58ae86SMike Smith.It mlx%d: controller wedged (not taking commands) 2249b58ae86SMike Smith.Pp 2259b58ae86SMike SmithThe controller is not responding to attempts to submit new commands. 2269b58ae86SMike Smith.It mlx%d: duplicate done event for slot %d 2279b58ae86SMike Smith.It mlx%d: done event for nonbusy slot %d 2289b58ae86SMike Smith.Pp 2299b58ae86SMike SmithCorruption has occurred in either the controller's onboard list of commands 2309b58ae86SMike Smithor in the driver. 23151f63d32SSheldon Hearn.El 232038ec875SJeroen Ruigrok van der Werven.Sh SEE ALSO 2339b58ae86SMike Smith.Xr mlxcontrol 8 234079f468aSJeroen Ruigrok van der Werven.Sh AUTHORS 235f4d874a1SRuslan Ermilov.An -nosplit 2364f713f8bSSheldon HearnThe 2374f713f8bSSheldon Hearn.Nm 2384f713f8bSSheldon Hearndriver was written by 2396c899950SBaptiste Daroussin.An Michael Smith Aq Mt msmith@FreeBSD.org . 240079f468aSJeroen Ruigrok van der Werven.Pp 241079f468aSJeroen Ruigrok van der WervenThis manual page was written by 2426c899950SBaptiste Daroussin.An Jeroen Ruigrok van der Werven Aq Mt asmodai@FreeBSD.org 2439b58ae86SMike Smithand 2446c899950SBaptiste Daroussin.An Michael Smith Aq Mt msmith@FreeBSD.org . 2459cbda590SRuslan Ermilov.Sh BUGS 2469cbda590SRuslan ErmilovThe DEC KZPSC has insufficient flash ROM to hold any reasonably recent firmware. 2479cbda590SRuslan ErmilovThis has caused problems for this driver. 2489cbda590SRuslan Ermilov.Pp 2499cbda590SRuslan ErmilovThe driver does not yet support the version 6.x firmware as found in the 2509cbda590SRuslan ErmilovAcceleRAID 352 and eXtremeRAID 2000 and 3000 products. 251