168560908STom Rhodes.\" 268560908STom Rhodes.\" Copyright (c) 2003 Tom Rhodes 368560908STom Rhodes.\" All rights reserved. 468560908STom Rhodes.\" 568560908STom Rhodes.\" Redistribution and use in source and binary forms, with or without 668560908STom Rhodes.\" modification, are permitted provided that the following conditions 768560908STom Rhodes.\" are met: 868560908STom Rhodes.\" 1. Redistributions of source code must retain the above copyright 968560908STom Rhodes.\" notice, this list of conditions and the following disclaimer. 1068560908STom Rhodes.\" 2. Redistributions in binary form must reproduce the above copyright 1168560908STom Rhodes.\" notice, this list of conditions and the following disclaimer in the 1268560908STom Rhodes.\" documentation and/or other materials provided with the distribution. 1368560908STom Rhodes.\" 1468560908STom Rhodes.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1568560908STom Rhodes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1668560908STom Rhodes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1768560908STom Rhodes.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1868560908STom Rhodes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1968560908STom Rhodes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2068560908STom Rhodes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2168560908STom Rhodes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2268560908STom Rhodes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2368560908STom Rhodes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2468560908STom Rhodes.\" SUCH DAMAGE. 2568560908STom Rhodes.\" 263110a4ebSEdward Tomasz Napierala.Dd August 7, 2009 2768560908STom Rhodes.Dt IPS 4 2868560908STom Rhodes.Os 2968560908STom Rhodes.Sh NAME 3068560908STom Rhodes.Nm ips 3168560908STom Rhodes.Nd IBM/Adaptec ServeRAID controller driver 3268560908STom Rhodes.Sh SYNOPSIS 335cf3ccd2SChristian BruefferTo compile this driver into the kernel, 345cf3ccd2SChristian Bruefferplace the following lines in your 355cf3ccd2SChristian Bruefferkernel configuration file: 365cf3ccd2SChristian Brueffer.Bd -ragged -offset indent 375cf3ccd2SChristian Brueffer.Cd "device pci" 385cf3ccd2SChristian Brueffer.Cd "device scbus" 395cf3ccd2SChristian Brueffer.Cd "device ips" 405cf3ccd2SChristian Brueffer.Ed 415cf3ccd2SChristian Brueffer.Pp 425cf3ccd2SChristian BruefferAlternatively, to load the driver as a 435cf3ccd2SChristian Brueffermodule at boot time, place the following line in 445cf3ccd2SChristian Brueffer.Xr loader.conf 5 : 455cf3ccd2SChristian Brueffer.Bd -literal -offset indent 465cf3ccd2SChristian Bruefferips_load="YES" 475cf3ccd2SChristian Brueffer.Ed 4868560908STom Rhodes.Sh DESCRIPTION 4968560908STom RhodesThe 5068560908STom Rhodes.Nm 5168560908STom Rhodesdriver claims to support the 5268560908STom Rhodes.Tn IBM 5368560908STom Rhodes(now Adaptec) ServeRAID series 5468560908STom Rhodes.Tn SCSI 5568560908STom Rhodescontroller cards. 5668560908STom Rhodes.Pp 5768560908STom RhodesThese cards come with a built in configuration utility stored in 5868560908STom Rhodesthe firmware known as the 5968560908STom Rhodes.Tn ISPR . 6068560908STom RhodesThis utility is accessed with the 61f5298929SRuslan Ermilov.Aq Em Ctrl+I 6268560908STom Rhodeskey combination during the initial card 6368560908STom Rhodes.Tn POST . 6468560908STom Rhodes.Pp 6571069620SHiten PandyaIt is highly recommended that this utility be used to configure the card 6668560908STom Rhodesbefore attempting to diagnose the below error messages. 6768560908STom Rhodes.Pp 6868560908STom RhodesIn some cases, the 6968560908STom Rhodes.Nm 7068560908STom Rhodesdriver can have difficulties attaching during 7168560908STom Rhodesthe system initialization period. 7268560908STom RhodesTo avoid these difficulties, set the 73f5298929SRuslan Ermilov.Va hw.ips.0.disable 74f5298929SRuslan Ermilovtunable to 1. 75f5298929SRuslan ErmilovIt will prevent the driver from attaching. 76f0c7f156SSimon L. B. Nielsen.Sh HARDWARE 77f0c7f156SSimon L. B. NielsenControllers supported by the 78f0c7f156SSimon L. B. Nielsen.Nm 79f0c7f156SSimon L. B. Nielsendriver include: 80f0c7f156SSimon L. B. Nielsen.Pp 81f0c7f156SSimon L. B. Nielsen.Bl -bullet -compact 82f0c7f156SSimon L. B. Nielsen.It 83f0c7f156SSimon L. B. NielsenIBM ServeRAID 3H 84f0c7f156SSimon L. B. Nielsen.It 85f0c7f156SSimon L. B. NielsenServeRAID 4L/4M/4H 86f0c7f156SSimon L. B. Nielsen.It 87f0c7f156SSimon L. B. NielsenServeRAID Series 5 88f0c7f156SSimon L. B. Nielsen.It 89f0c7f156SSimon L. B. NielsenServeRAID 6i/6M 90b16b2bd2SMaxim Konovalov.It 91b16b2bd2SMaxim KonovalovServeRAID 7t/7k/7M 92f0c7f156SSimon L. B. Nielsen.El 930bb9bb9eSEdward Tomasz Napierala.Pp 940bb9bb9eSEdward Tomasz NapieralaNewer ServeRAID controllers are supported by the 950bb9bb9eSEdward Tomasz Napierala.Xr aac 4 963110a4ebSEdward Tomasz Napieralaor 973110a4ebSEdward Tomasz Napierala.Xr mfi 4 980bb9bb9eSEdward Tomasz Napieraladriver. 9968560908STom Rhodes.Sh DIAGNOSTICS 10068560908STom RhodesSeveral error codes may be shown when the card initializes the 10168560908STom Rhodes.Tn IBM 10268560908STom Rhodes.Tn ISPR 10368560908STom Rhodesutility and are independent of 10468560908STom Rhodes.Fx . 10568560908STom Rhodes.Bl -diag 10668560908STom Rhodes.It ips%d: failed to get adapter configuration data from device 10768560908STom Rhodes.It ips%d: failed to get drive configuration data from device 10868560908STom Rhodes.Pp 10968560908STom RhodesUnable to obtain adapter or drive configuration. 11068560908STom Rhodes.It ips%d iobuf error 11168560908STom Rhodes.Pp 11268560908STom RhodesA buffer input/output error has occurred. 11371069620SHiten Pandya.Bq Er ENXIO 11468560908STom Rhodes.El 11568560908STom Rhodes.Ss General adapter errors : 11668560908STom Rhodes.Bl -diag 11768560908STom Rhodes.It Attaching bus failed 11868560908STom Rhodes.Pp 11968560908STom RhodesThis message is undocumented. 12068560908STom Rhodes.It WARNING: command timeout. Adapter is in toaster mode, resetting 12168560908STom Rhodes.Pp 12268560908STom RhodesA command timeout has caused the adapter to be reset. 12368560908STom Rhodes.It AIEE! adapter reset failed, giving up and going home! Have a nice day 12468560908STom Rhodes.Pp 12568560908STom RhodesAn error occurred while attempting to reset the adapter. 12668560908STom Rhodes.It unable to get adapter configuration 12768560908STom Rhodes.It unable to get drive configuration 12868560908STom Rhodes.Pp 12968560908STom RhodesThere was an error when attempting to get configuration information. 13068560908STom Rhodes.It Adapter error during initialization. 13168560908STom Rhodes.It adapter initialization failed 13268560908STom Rhodes.Pp 13368560908STom RhodesThere was an error while attempting to initialize the adapter. 13468560908STom Rhodes.It adapter failed config check 13568560908STom Rhodes.It adapter clear failed 13668560908STom Rhodes.Pp 13768560908STom RhodesThere was an error while checking the adapter. 13868560908STom Rhodes.It device is disabled 13968560908STom Rhodes.Pp 14068560908STom RhodesThe adapter is disabled. 14168560908STom Rhodes.It resource allocation failed 14268560908STom Rhodes.It irq allocation failed 14368560908STom Rhodes.It irq setup failed 14468560908STom Rhodes.Pp 14568560908STom RhodesThe driver was unable to allocate resources for the device. 14668560908STom Rhodes.El 14768560908STom Rhodes.Ss Error messages due to DMA : 14868560908STom Rhodes.Bl -diag 14968560908STom Rhodes.It can't alloc command dma tag 15068560908STom Rhodes.It can't alloc SG dma tag 15168560908STom Rhodes.It can't alloc dma tag for statue queue 15268560908STom Rhodes.It dmamap failed 15368560908STom Rhodes.Pp 15468560908STom RhodesFailure to map or allocate DMA resources. 15568560908STom Rhodes.El 15668560908STom Rhodes.Ss Cache, buffer, and command errors : 15768560908STom Rhodes.Bl -diag 15868560908STom Rhodes.It failed to initialize command buffers 15968560908STom Rhodes.It no mem for command slots! 16068560908STom Rhodes.Pp 16168560908STom RhodesThe 16268560908STom Rhodes.Nm 16368560908STom Rhodesdriver will return 16471069620SHiten Pandya.Bq Er ENOMEM 16568560908STom Rhodesin such cases. 16668560908STom Rhodes.It ERROR: unable to get a command! can't flush cache! 16768560908STom Rhodes.It ERROR: cache flush command failed! 16868560908STom Rhodes.It ERROR: unable to get a command! can't update nvram 16968560908STom Rhodes.It ERROR: nvram update command failed! 17068560908STom Rhodes.It ERROR: unable to get a command! can't sync cache! 17168560908STom Rhodes.It ERROR: cache sync command failed! 17268560908STom Rhodes.It ERROR: unable to get a command! can't sync cache! 17368560908STom Rhodes.It ERROR: etable command failed! 17468560908STom Rhodes.El 17568560908STom Rhodes.Sh COMPATIBILITY 17668560908STom RhodesUnlike many of the other 17768560908STom Rhodes.Tn SCSI 17868560908STom Rhodesdevices in 17968560908STom Rhodes.Fx , 18068560908STom Rhodesthe 18168560908STom Rhodes.Nm 18268560908STom Rhodesdriver does not use the 18368560908STom Rhodes.Xr cam 4 18468560908STom Rhodes.Tn SCSI 18568560908STom Rhodessubsystem. 18668560908STom Rhodes.Sh SEE ALSO 1870bb9bb9eSEdward Tomasz Napierala.Xr aac 4 , 18868560908STom Rhodes.Xr ch 4 , 18968560908STom Rhodes.Xr da 4 , 190*923544aaSBaptiste Daroussin.Xr mfi 4 , 19168560908STom Rhodes.Xr sysctl 8 19268560908STom Rhodes.Sh AUTHORS 19368560908STom RhodesThe 19468560908STom Rhodes.Nm 19568560908STom Rhodesdriver was written by 19668560908STom Rhodes.An -nosplit 19768560908STom Rhodes.An David Jefferys 19868560908STom Rhodesand 1996c899950SBaptiste Daroussin.An Scott Long Aq Mt scottl@FreeBSD.org . 20071069620SHiten Pandya.Pp 20168560908STom RhodesThis manual page was written by 2026c899950SBaptiste Daroussin.An Tom Rhodes Aq Mt trhodes@FreeBSD.org . 203