1.\" 2.\" Copyright (c) 2003 Tom Rhodes 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" 26.\" $FreeBSD$ 27.\" 28.Dd August 8, 2004 29.Dt IPS 4 30.Os 31.Sh NAME 32.Nm ips 33.Nd IBM/Adaptec ServeRAID controller driver 34.Sh SYNOPSIS 35To compile this driver into the kernel, 36place the following lines in your 37kernel configuration file: 38.Bd -ragged -offset indent 39.Cd "device pci" 40.Cd "device scbus" 41.Cd "device ips" 42.Ed 43.Pp 44Alternatively, to load the driver as a 45module at boot time, place the following line in 46.Xr loader.conf 5 : 47.Bd -literal -offset indent 48ips_load="YES" 49.Ed 50.Sh DESCRIPTION 51The 52.Nm 53driver claims to support the 54.Tn IBM 55(now Adaptec) ServeRAID series 56.Tn SCSI 57controller cards. 58.Pp 59These cards come with a built in configuration utility stored in 60the firmware known as the 61.Tn ISPR . 62This utility is accessed with the 63.Aq Em Ctrl+I 64key combination during the initial card 65.Tn POST . 66.Pp 67It is highly recommended that this utility be used to configure the card 68before attempting to diagnose the below error messages. 69.Pp 70In some cases, the 71.Nm 72driver can have difficulties attaching during 73the system initialization period. 74To avoid these difficulties, set the 75.Va hw.ips.0.disable 76tunable to 1. 77It will prevent the driver from attaching. 78.Sh HARDWARE 79Controllers supported by the 80.Nm 81driver include: 82.Pp 83.Bl -bullet -compact 84.It 85IBM ServeRAID 3H 86.It 87ServeRAID 4L/4M/4H 88.It 89ServeRAID Series 5 90.It 91ServeRAID 6i/6M 92.El 93.Sh DIAGNOSTICS 94Several error codes may be shown when the card initializes the 95.Tn IBM 96.Tn ISPR 97utility and are independent of 98.Fx . 99.Bl -diag 100.It ips%d: failed to get adapter configuration data from device 101.It ips%d: failed to get drive configuration data from device 102.Pp 103Unable to obtain adapter or drive configuration. 104.It ips%d iobuf error 105.Pp 106A buffer input/output error has occurred. 107.Bq Er ENXIO 108.El 109.Ss General adapter errors: 110.Bl -diag 111.It Attaching bus failed 112.Pp 113This message is undocumented. 114.It WARNING: command timeout. Adapter is in toaster mode, resetting 115.Pp 116A command timeout has caused the adapter to be reset. 117.It AIEE! adapter reset failed, giving up and going home! Have a nice day 118.Pp 119An error occurred while attempting to reset the adapter. 120.It unable to get adapter configuration 121.It unable to get drive configuration 122.Pp 123There was an error when attempting to get configuration information. 124.It Adapter error during initialization. 125.It adapter initialization failed 126.Pp 127There was an error while attempting to initialize the adapter. 128.It adapter failed config check 129.It adapter clear failed 130.Pp 131There was an error while checking the adapter. 132.It device is disabled 133.Pp 134The adapter is disabled. 135.It resource allocation failed 136.It irq allocation failed 137.It irq setup failed 138.Pp 139The driver was unable to allocate resources for the device. 140.El 141.Ss Error messages due to DMA: 142.Bl -diag 143.It can't alloc command dma tag 144.It can't alloc SG dma tag 145.It can't alloc dma tag for statue queue 146.It dmamap failed 147.Pp 148Failure to map or allocate DMA resources. 149.El 150.Ss Cache, buffer, and command errors: 151.Bl -diag 152.It failed to initialize command buffers 153.It no mem for command slots! 154.Pp 155The 156.Nm 157driver will return 158.Bq Er ENOMEM 159in such cases. 160.It ERROR: unable to get a command! can't flush cache! 161.It ERROR: cache flush command failed! 162.It ERROR: unable to get a command! can't update nvram 163.It ERROR: nvram update command failed! 164.It ERROR: unable to get a command! can't sync cache! 165.It ERROR: cache sync command failed! 166.It ERROR: unable to get a command! can't sync cache! 167.It ERROR: etable command failed! 168.El 169.Sh COMPATIBILITY 170Unlike many of the other 171.Tn SCSI 172devices in 173.Fx , 174the 175.Nm 176driver does not use the 177.Xr cam 4 178.Tn SCSI 179subsystem. 180.Sh SEE ALSO 181.Xr ch 4 , 182.Xr da 4 , 183.Xr sysctl 8 184.Sh AUTHORS 185The 186.Nm 187driver was written by 188.An -nosplit 189.An David Jefferys 190and 191.An Scott Long Aq scottl@FreeBSD.org . 192.Pp 193This manual page was written by 194.An Tom Rhodes Aq trhodes@FreeBSD.org . 195