1edc6143bSDavid Rhodus.\" 2edc6143bSDavid Rhodus.\" Copyright (c) 2003 Tom Rhodes 3edc6143bSDavid Rhodus.\" All rights reserved. 4edc6143bSDavid Rhodus.\" 5edc6143bSDavid Rhodus.\" Redistribution and use in source and binary forms, with or without 6edc6143bSDavid Rhodus.\" modification, are permitted provided that the following conditions 7edc6143bSDavid Rhodus.\" are met: 8edc6143bSDavid Rhodus.\" 1. Redistributions of source code must retain the above copyright 9edc6143bSDavid Rhodus.\" notice, this list of conditions and the following disclaimer. 10edc6143bSDavid Rhodus.\" 2. Redistributions in binary form must reproduce the above copyright 11edc6143bSDavid Rhodus.\" notice, this list of conditions and the following disclaimer in the 12edc6143bSDavid Rhodus.\" documentation and/or other materials provided with the distribution. 13edc6143bSDavid Rhodus.\" 14edc6143bSDavid Rhodus.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15edc6143bSDavid Rhodus.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16edc6143bSDavid Rhodus.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17edc6143bSDavid Rhodus.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18edc6143bSDavid Rhodus.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19edc6143bSDavid Rhodus.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20edc6143bSDavid Rhodus.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21edc6143bSDavid Rhodus.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22edc6143bSDavid Rhodus.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23edc6143bSDavid Rhodus.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24edc6143bSDavid Rhodus.\" SUCH DAMAGE. 25edc6143bSDavid Rhodus.\" 26edc6143bSDavid Rhodus.\" $FreeBSD: src/share/man/man4/ips.4,v 1.2 2003/11/12 02:26:47 hmp Exp $ 27edc6143bSDavid Rhodus.\" 28*ec363e75SSascha Wildner.Dd December 10, 2014 29edc6143bSDavid Rhodus.Dt IPS 4 30edc6143bSDavid Rhodus.Os 31edc6143bSDavid Rhodus.Sh NAME 32edc6143bSDavid Rhodus.Nm ips 33edc6143bSDavid Rhodus.Nd IBM/Adaptec ServeRAID controller driver 34edc6143bSDavid Rhodus.Sh SYNOPSIS 35edc6143bSDavid Rhodus.Cd device scbus 36edc6143bSDavid Rhodus.Cd device ips 37edc6143bSDavid Rhodus.Sh DESCRIPTION 38edc6143bSDavid RhodusThe 39edc6143bSDavid Rhodus.Nm 40edc6143bSDavid Rhodusdriver claims to support the 41edc6143bSDavid Rhodus.Tn IBM 42edc6143bSDavid Rhodus(now Adaptec) ServeRAID series 43edc6143bSDavid Rhodus.Tn SCSI 44edc6143bSDavid Rhoduscontroller cards. 45edc6143bSDavid RhodusSome supported devices include: 46edc6143bSDavid Rhodus.Pp 47edc6143bSDavid Rhodus.Bl -item -compact 48edc6143bSDavid Rhodus.It 49edc6143bSDavid RhodusIBM ServeRAID 3H 50edc6143bSDavid Rhodus.It 51edc6143bSDavid RhodusServeRAID 4L/4M/4H 52edc6143bSDavid Rhodus.It 53edc6143bSDavid RhodusServeRAID Series 5 54edc6143bSDavid Rhodus.It 55edc6143bSDavid RhodusServeRAID 6i/6M 56667d31bbSYONETANI Tomokazu.It 57667d31bbSYONETANI TomokazuServeRAID 7t/7k/7M 58edc6143bSDavid Rhodus.El 59edc6143bSDavid Rhodus.Pp 60fbd682a6SYONETANI TomokazuNewer ServeRAID controllers are supported by the 61fbd682a6SYONETANI Tomokazu.Xr aac 4 62249d29c8SSascha Wildneror 63249d29c8SSascha Wildner.Xr mfi 4 64fbd682a6SYONETANI Tomokazudriver. 65fbd682a6SYONETANI Tomokazu.Pp 66edc6143bSDavid RhodusThese cards come with a built in configuration utility stored in 67edc6143bSDavid Rhodusthe firmware known as the 68edc6143bSDavid Rhodus.Tn ISPR . 69edc6143bSDavid RhodusThis utility is accessed with the 70edc6143bSDavid Rhodus.Em CTRL + I 71edc6143bSDavid Rhoduskey combination during the initial card 72edc6143bSDavid Rhodus.Tn POST . 73edc6143bSDavid Rhodus.Pp 74edc6143bSDavid RhodusIt is highly recommended that this utility be used to configure the card 75edc6143bSDavid Rhodusbefore attempting to diagnose the below error messages. 76edc6143bSDavid Rhodus.Pp 77edc6143bSDavid RhodusIn some cases, the 78edc6143bSDavid Rhodus.Nm 79edc6143bSDavid Rhodusdriver can have difficulties attaching during 80edc6143bSDavid Rhodusthe system initialization period. 81edc6143bSDavid RhodusTo avoid these difficulties, set the 82edc6143bSDavid Rhodus.Dl hw.ips.0.disable 83edc6143bSDavid Rhodustunable to 84edc6143bSDavid Rhodus.Dq 1 . 85edc6143bSDavid RhodusThis 86edc6143bSDavid Rhodus.Tn MIB 87edc6143bSDavid Rhodusprevents the driver from attaching. 88ac8b35f8SYONETANI Tomokazu.Pp 89ac8b35f8SYONETANI TomokazuIf you see occasional iobuf errors on the console after 90ac8b35f8SYONETANI Tomokazu.Xr sync 2 91ac8b35f8SYONETANI Tomokazuor 92ac8b35f8SYONETANI Tomokazu.Xr fsync 2 93ac8b35f8SYONETANI Tomokazuare issued, you can try setting 94ac8b35f8SYONETANI Tomokazu.Dl debug.ips.ignore_flush_cmd 95ac8b35f8SYONETANI Tomokazutunable to 96ac8b35f8SYONETANI Tomokazu.Dq 1 975c70dd4aSSascha Wildnerand see if that stops it. 985c70dd4aSSascha WildnerYou can also use the 995c70dd4aSSascha Wildner.Xr sysctl 8 100ac8b35f8SYONETANI Tomokazucommand to change this setting after boot. 101*ec363e75SSascha Wildner.Sh FILES 102*ec363e75SSascha Wildner.Bl -tag -width ".Pa /dev/ipsdX" -compact 103*ec363e75SSascha Wildner.It Pa /dev/ipsdX 104*ec363e75SSascha Wildner.Nm 105*ec363e75SSascha Wildnerdevice nodes 106*ec363e75SSascha Wildner.El 107edc6143bSDavid Rhodus.Sh DIAGNOSTICS 108edc6143bSDavid RhodusSeveral error codes may be shown when the card initializes the 109edc6143bSDavid Rhodus.Tn IBM 110edc6143bSDavid Rhodus.Tn ISPR 111edc6143bSDavid Rhodusutility and are independent of 1129bb2a92dSHiten Pandya.Dx . 113edc6143bSDavid Rhodus.Bl -diag 114edc6143bSDavid Rhodus.It ips%d: failed to get adapter configuration data from device 115edc6143bSDavid Rhodus.It ips%d: failed to get drive configuration data from device 116edc6143bSDavid Rhodus.Pp 117edc6143bSDavid RhodusUnable to obtain adapter or drive configuration. 118edc6143bSDavid Rhodus.It ips%d iobuf error 119edc6143bSDavid Rhodus.Pp 120edc6143bSDavid RhodusA buffer input/output error has occurred. 121edc6143bSDavid Rhodus.Bq Er ENXIO 122edc6143bSDavid Rhodus.El 123edc6143bSDavid Rhodus.Ss General adapter errors: 124edc6143bSDavid Rhodus.Bl -diag 125edc6143bSDavid Rhodus.It Attaching bus failed 126edc6143bSDavid Rhodus.Pp 127edc6143bSDavid RhodusThis message is undocumented. 128edc6143bSDavid Rhodus.It WARNING: command timeout. Adapter is in toaster mode, resetting 129edc6143bSDavid Rhodus.Pp 130edc6143bSDavid RhodusA command timeout has caused the adapter to be reset. 131edc6143bSDavid Rhodus.It AIEE! adapter reset failed, giving up and going home! Have a nice day 132edc6143bSDavid Rhodus.Pp 133edc6143bSDavid RhodusAn error occurred while attempting to reset the adapter. 134edc6143bSDavid Rhodus.It unable to get adapter configuration 135edc6143bSDavid Rhodus.It unable to get drive configuration 136edc6143bSDavid Rhodus.Pp 137edc6143bSDavid RhodusThere was an error when attempting to get configuration information. 138edc6143bSDavid Rhodus.It Adapter error during initialization. 139edc6143bSDavid Rhodus.It adapter initialization failed 140edc6143bSDavid Rhodus.Pp 141edc6143bSDavid RhodusThere was an error while attempting to initialize the adapter. 142edc6143bSDavid Rhodus.It adapter failed config check 143edc6143bSDavid Rhodus.It adapter clear failed 144edc6143bSDavid Rhodus.Pp 145edc6143bSDavid RhodusThere was an error while checking the adapter. 146edc6143bSDavid Rhodus.It device is disabled 147edc6143bSDavid Rhodus.Pp 148edc6143bSDavid RhodusThe adapter is disabled. 149edc6143bSDavid Rhodus.It resource allocation failed 150edc6143bSDavid Rhodus.It irq allocation failed 151edc6143bSDavid Rhodus.It irq setup failed 152edc6143bSDavid Rhodus.Pp 153edc6143bSDavid RhodusThe driver was unable to allocate resources for the device. 154edc6143bSDavid Rhodus.El 155edc6143bSDavid Rhodus.Ss Error messages due to DMA: 156edc6143bSDavid Rhodus.Bl -diag 157edc6143bSDavid Rhodus.It can't alloc command dma tag 158edc6143bSDavid Rhodus.It can't alloc SG dma tag 159edc6143bSDavid Rhodus.It can't alloc dma tag for statue queue 160edc6143bSDavid Rhodus.It dmamap failed 161edc6143bSDavid Rhodus.Pp 162edc6143bSDavid RhodusFailure to map or allocate DMA resources. 163edc6143bSDavid Rhodus.El 164edc6143bSDavid Rhodus.Ss Cache, buffer, and command errors: 165edc6143bSDavid Rhodus.Bl -diag 166edc6143bSDavid Rhodus.It failed to initialize command buffers 167edc6143bSDavid Rhodus.It no mem for command slots! 168edc6143bSDavid Rhodus.Pp 169edc6143bSDavid RhodusThe 170edc6143bSDavid Rhodus.Nm 171edc6143bSDavid Rhodusdriver will return 172edc6143bSDavid Rhodus.Bq Er ENOMEM 173edc6143bSDavid Rhodusin such cases. 174edc6143bSDavid Rhodus.It ERROR: unable to get a command! can't flush cache! 175edc6143bSDavid Rhodus.It ERROR: cache flush command failed! 176edc6143bSDavid Rhodus.It ERROR: unable to get a command! can't update nvram 177edc6143bSDavid Rhodus.It ERROR: nvram update command failed! 178edc6143bSDavid Rhodus.It ERROR: unable to get a command! can't sync cache! 179edc6143bSDavid Rhodus.It ERROR: cache sync command failed! 180edc6143bSDavid Rhodus.It ERROR: unable to get a command! can't sync cache! 181edc6143bSDavid Rhodus.It ERROR: etable command failed! 182edc6143bSDavid Rhodus.El 183edc6143bSDavid Rhodus.Sh COMPATIBILITY 184edc6143bSDavid RhodusUnlike many of the other 185edc6143bSDavid Rhodus.Tn SCSI 186edc6143bSDavid Rhodusdevices in 1879bb2a92dSHiten Pandya.Dx , 188edc6143bSDavid Rhodusthe 189edc6143bSDavid Rhodus.Nm 190edc6143bSDavid Rhodusdriver does not use the 191edc6143bSDavid Rhodus.Xr cam 4 192edc6143bSDavid Rhodus.Tn SCSI 193edc6143bSDavid Rhodussubsystem. 194edc6143bSDavid Rhodus.Sh SEE ALSO 195fbd682a6SYONETANI Tomokazu.Xr aac 4 , 196edc6143bSDavid Rhodus.Xr ch 4 , 197edc6143bSDavid Rhodus.Xr da 4 , 19831aae627SSascha Wildner.Xr mfi 4 , 199edc6143bSDavid Rhodus.Xr sysctl 8 200edc6143bSDavid Rhodus.Sh AUTHORS 201edc6143bSDavid RhodusThe 202edc6143bSDavid Rhodus.Nm 203edc6143bSDavid Rhodusdriver was written by 204edc6143bSDavid Rhodus.An -nosplit 205edc6143bSDavid Rhodus.An David Jefferys 206edc6143bSDavid Rhodusand 207b2a6f486SFranco Fichtner.An Scott Long Aq Mt scottl@FreeBSD.org . 208edc6143bSDavid Rhodus.Pp 209edc6143bSDavid RhodusThis manual page was written by 210b2a6f486SFranco Fichtner.An Tom Rhodes Aq Mt trhodes@FreeBSD.org . 211