de41ed0db599c9ae4e8d6ef231670444eca21a28
[dragonfly.git] / share / man / man4 / ips.4
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: src/share/man/man4/ips.4,v 1.2 2003/11/12 02:26:47 hmp Exp $
27 .\"
28 .Dd November 30, 2010
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
38 The
39 .Nm
40 driver claims to support the
41 .Tn IBM
42 (now Adaptec) ServeRAID series
43 .Tn SCSI
44 controller cards.
45 Some supported devices include:
46 .Pp
47 .Bl -item -compact
48 .It
49 IBM ServeRAID 3H
50 .It
51 ServeRAID 4L/4M/4H
52 .It
53 ServeRAID Series 5
54 .It
55 ServeRAID 6i/6M
56 .It
57 ServeRAID 7t/7k/7M
58 .El
59 .Pp
60 Newer ServeRAID controllers are supported by the
61 .Xr aac 4
62 or
63 .Xr mfi 4
64 driver.
65 .Pp
66 These cards come with a built in configuration utility stored in
67 the firmware known as the
68 .Tn ISPR .
69 This utility is accessed with the
70 .Em CTRL + I
71 key combination during the initial card
72 .Tn POST .
73 .Pp
74 It is highly recommended that this utility be used to configure the card
75 before attempting to diagnose the below error messages.
76 .Pp
77 In some cases, the
78 .Nm
79 driver can have difficulties attaching during
80 the system initialization period.
81 To avoid these difficulties, set the
82 .Dl hw.ips.0.disable
83 tunable to
84 .Dq 1 .
85 This
86 .Tn MIB
87 prevents the driver from attaching.
88 .Pp
89 If you see occasional iobuf errors on the console after
90 .Xr sync 2
91 or
92 .Xr fsync 2
93 are issued, you can try setting
94 .Dl debug.ips.ignore_flush_cmd
95 tunable to
96 .Dq 1
97 and see if that stops it.
98 You can also use the
99 .Xr sysctl 8
100 command to change this setting after boot.
101 .Sh DIAGNOSTICS
102 Several error codes may be shown when the card initializes the
103 .Tn IBM
104 .Tn ISPR
105 utility and are independent of
106 .Dx .
107 .Bl -diag
108 .It ips%d: failed to get adapter configuration data from device
109 .It ips%d: failed to get drive configuration data from device
110 .Pp
111 Unable to obtain adapter or drive configuration.
112 .It ips%d iobuf error
113 .Pp
114 A buffer input/output error has occurred.
115 .Bq Er ENXIO
116 .El
117 .Ss General adapter errors:
118 .Bl -diag
119 .It Attaching bus failed
120 .Pp
121 This message is undocumented.
122 .It WARNING: command timeout. Adapter is in toaster mode, resetting
123 .Pp
124 A command timeout has caused the adapter to be reset.
125 .It AIEE! adapter reset failed, giving up and going home! Have a nice day
126 .Pp
127 An error occurred while attempting to reset the adapter.
128 .It unable to get adapter configuration
129 .It unable to get drive configuration
130 .Pp
131 There was an error when attempting to get configuration information.
132 .It Adapter error during initialization.
133 .It adapter initialization failed
134 .Pp
135 There was an error while attempting to initialize the adapter.
136 .It adapter failed config check
137 .It adapter clear failed
138 .Pp
139 There was an error while checking the adapter.
140 .It device is disabled
141 .Pp
142 The adapter is disabled.
143 .It resource allocation failed
144 .It irq allocation failed
145 .It irq setup failed
146 .Pp
147 The driver was unable to allocate resources for the device.
148 .El
149 .Ss Error messages due to DMA:
150 .Bl -diag
151 .It can't alloc command dma tag
152 .It can't alloc SG dma tag
153 .It can't alloc dma tag for statue queue
154 .It dmamap failed
155 .Pp
156 Failure to map or allocate DMA resources.
157 .El
158 .Ss Cache, buffer, and command errors:
159 .Bl -diag
160 .It failed to initialize command buffers
161 .It no mem for command slots!
162 .Pp
163 The
164 .Nm
165 driver will return
166 .Bq Er ENOMEM
167 in such cases.
168 .It ERROR: unable to get a command! can't flush cache!
169 .It ERROR: cache flush command failed!
170 .It ERROR: unable to get a command! can't update nvram
171 .It ERROR: nvram update command failed!
172 .It ERROR: unable to get a command! can't sync cache!
173 .It ERROR: cache sync command failed!
174 .It ERROR: unable to get a command! can't sync cache!
175 .It ERROR: etable command failed!
176 .El
177 .Sh COMPATIBILITY
178 Unlike many of the other
179 .Tn SCSI
180 devices in
181 .Dx ,
182 the
183 .Nm
184 driver does not use the
185 .Xr cam 4
186 .Tn SCSI
187 subsystem.
188 .Sh SEE ALSO
189 .Xr aac 4 ,
190 .Xr ch 4 ,
191 .Xr da 4 ,
192 .Xr mfi 4 ,
193 .Xr sysctl 8
194 .Sh AUTHORS
195 The
196 .Nm
197 driver was written by
198 .An -nosplit
199 .An David Jefferys
200 and
201 .An Scott Long Aq scottl@FreeBSD.org .
202 .Pp
203 This manual page was written by
204 .An Tom Rhodes Aq trhodes@FreeBSD.org .