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 November 11, 2003 29.Dt IPS 4 30.Os 31.Sh NAME 32.Nm ips 33.Nd IBM/Adaptec ServeRAID controller driver 34.Sh SYNOPSIS 35.Cd device scbus 36.Cd device ips 37.Sh DESCRIPTION 38The 39.Nm 40driver claims to support the 41.Tn IBM 42(now Adaptec) ServeRAID series 43.Tn SCSI 44controller cards. 45Some supported devices include: 46.Pp 47.Bl -bullet -compact 48.It 49IBM ServeRAID 3H 50.It 51ServeRAID 4L/4M/4H 52.It 53ServeRAID Series 5 54.It 55ServeRAID 6i/6M 56.El 57.Pp 58These cards come with a built in configuration utility stored in 59the firmware known as the 60.Tn ISPR . 61This utility is accessed with the 62.Aq Em Ctrl+I 63key combination during the initial card 64.Tn POST . 65.Pp 66It is highly recommended that this utility be used to configure the card 67before attempting to diagnose the below error messages. 68.Pp 69In some cases, the 70.Nm 71driver can have difficulties attaching during 72the system initialization period. 73To avoid these difficulties, set the 74.Va hw.ips.0.disable 75tunable to 1. 76It will prevent the driver from attaching. 77.Sh DIAGNOSTICS 78Several error codes may be shown when the card initializes the 79.Tn IBM 80.Tn ISPR 81utility and are independent of 82.Fx . 83.Bl -diag 84.It ips%d: failed to get adapter configuration data from device 85.It ips%d: failed to get drive configuration data from device 86.Pp 87Unable to obtain adapter or drive configuration. 88.It ips%d iobuf error 89.Pp 90A buffer input/output error has occurred. 91.Bq Er ENXIO 92.El 93.Ss General adapter errors: 94.Bl -diag 95.It Attaching bus failed 96.Pp 97This message is undocumented. 98.It WARNING: command timeout. Adapter is in toaster mode, resetting 99.Pp 100A command timeout has caused the adapter to be reset. 101.It AIEE! adapter reset failed, giving up and going home! Have a nice day 102.Pp 103An error occurred while attempting to reset the adapter. 104.It unable to get adapter configuration 105.It unable to get drive configuration 106.Pp 107There was an error when attempting to get configuration information. 108.It Adapter error during initialization. 109.It adapter initialization failed 110.Pp 111There was an error while attempting to initialize the adapter. 112.It adapter failed config check 113.It adapter clear failed 114.Pp 115There was an error while checking the adapter. 116.It device is disabled 117.Pp 118The adapter is disabled. 119.It resource allocation failed 120.It irq allocation failed 121.It irq setup failed 122.Pp 123The driver was unable to allocate resources for the device. 124.El 125.Ss Error messages due to DMA: 126.Bl -diag 127.It can't alloc command dma tag 128.It can't alloc SG dma tag 129.It can't alloc dma tag for statue queue 130.It dmamap failed 131.Pp 132Failure to map or allocate DMA resources. 133.El 134.Ss Cache, buffer, and command errors: 135.Bl -diag 136.It failed to initialize command buffers 137.It no mem for command slots! 138.Pp 139The 140.Nm 141driver will return 142.Bq Er ENOMEM 143in such cases. 144.It ERROR: unable to get a command! can't flush cache! 145.It ERROR: cache flush command failed! 146.It ERROR: unable to get a command! can't update nvram 147.It ERROR: nvram update command failed! 148.It ERROR: unable to get a command! can't sync cache! 149.It ERROR: cache sync command failed! 150.It ERROR: unable to get a command! can't sync cache! 151.It ERROR: etable command failed! 152.El 153.Sh COMPATIBILITY 154Unlike many of the other 155.Tn SCSI 156devices in 157.Fx , 158the 159.Nm 160driver does not use the 161.Xr cam 4 162.Tn SCSI 163subsystem. 164.Sh SEE ALSO 165.Xr ch 4 , 166.Xr da 4 , 167.Xr sysctl 8 168.Sh AUTHORS 169The 170.Nm 171driver was written by 172.An -nosplit 173.An David Jefferys 174and 175.An Scott Long Aq scottl@FreeBSD.org . 176.Pp 177This manual page was written by 178.An Tom Rhodes Aq trhodes@FreeBSD.org . 179