xref: /freebsd/share/man/man4/ips.4 (revision 3193579b66fd7067f898dbc54bdea81a0e6f9bd0)
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 -item -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.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.Dl hw.ips.0.disable
75tunable to
76.Dq 1 .
77This
78.Tn MIB
79prevents the driver from attaching.
80.Sh DIAGNOSTICS
81Several error codes may be shown when the card initializes the
82.Tn IBM
83.Tn ISPR
84utility and are independent of
85.Fx .
86.Pp
87.Bl -diag
88.It ips%d: failed to get adapter configuration data from device
89.It ips%d: failed to get drive configuration data from device
90.Pp
91Unable to obtain adapter or drive configuration.
92.It ips%d iobuf error
93.Pp
94A buffer input/output error has occurred.
95.Bq Er ENXIO
96.El
97.Ss General adapter errors:
98.Bl -diag
99.It Attaching bus failed
100.Pp
101This message is undocumented.
102.It WARNING: command timeout. Adapter is in toaster mode, resetting
103.Pp
104A command timeout has caused the adapter to be reset.
105.It AIEE! adapter reset failed, giving up and going home! Have a nice day
106.Pp
107An error occurred while attempting to reset the adapter.
108.It unable to get adapter configuration
109.It unable to get drive configuration
110.Pp
111There was an error when attempting to get configuration information.
112.It Adapter error during initialization.
113.It adapter initialization failed
114.Pp
115There was an error while attempting to initialize the adapter.
116.It adapter failed config check
117.It adapter clear failed
118.Pp
119There was an error while checking the adapter.
120.It device is disabled
121.Pp
122The adapter is disabled.
123.It resource allocation failed
124.It irq allocation failed
125.It irq setup failed
126.Pp
127The driver was unable to allocate resources for the device.
128.El
129.Ss Error messages due to DMA:
130.Bl -diag
131.It can't alloc command dma tag
132.It can't alloc SG dma tag
133.It can't alloc dma tag for statue queue
134.It dmamap failed
135.Pp
136Failure to map or allocate DMA resources.
137.El
138.Ss Cache, buffer, and command errors:
139.Bl -diag
140.It failed to initialize command buffers
141.It no mem for command slots!
142.Pp
143The
144.Nm
145driver will return
146.Bq Er ENOMEM
147in such cases.
148.It ERROR: unable to get a command! can't flush cache!
149.It ERROR: cache flush command failed!
150.It ERROR: unable to get a command! can't update nvram
151.It ERROR: nvram update command failed!
152.It ERROR: unable to get a command! can't sync cache!
153.It ERROR: cache sync command failed!
154.It ERROR: unable to get a command! can't sync cache!
155.It ERROR: etable command failed!
156.El
157.Sh COMPATIBILITY
158Unlike many of the other
159.Tn SCSI
160devices in
161.Fx ,
162the
163.Nm
164driver does not use the
165.Xr cam 4
166.Tn SCSI
167subsystem.
168.Sh SEE ALSO
169.Xr ch 4 ,
170.Xr da 4 ,
171.Xr sysctl 8
172.Sh AUTHORS
173The
174.Nm
175driver was written by
176.An -nosplit
177.An David Jefferys
178and
179.An Scott Long Aq scottl@FreeBSD.org .
180.Pp
181This manual page was written by
182.An Tom Rhodes Aq trhodes@FreeBSD.org .
183