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