xref: /freebsd/share/man/man4/ips.4 (revision b16b2bd27488db1ec5b36c22f7b4776b70616a9d)
168560908STom Rhodes.\"
268560908STom Rhodes.\" Copyright (c) 2003 Tom Rhodes
368560908STom Rhodes.\" All rights reserved.
468560908STom Rhodes.\"
568560908STom Rhodes.\" Redistribution and use in source and binary forms, with or without
668560908STom Rhodes.\" modification, are permitted provided that the following conditions
768560908STom Rhodes.\" are met:
868560908STom Rhodes.\" 1. Redistributions of source code must retain the above copyright
968560908STom Rhodes.\"    notice, this list of conditions and the following disclaimer.
1068560908STom Rhodes.\" 2. Redistributions in binary form must reproduce the above copyright
1168560908STom Rhodes.\"    notice, this list of conditions and the following disclaimer in the
1268560908STom Rhodes.\"    documentation and/or other materials provided with the distribution.
1368560908STom Rhodes.\"
1468560908STom Rhodes.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1568560908STom Rhodes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1668560908STom Rhodes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1768560908STom Rhodes.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1868560908STom Rhodes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1968560908STom Rhodes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2068560908STom Rhodes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2168560908STom Rhodes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2268560908STom Rhodes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2368560908STom Rhodes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2468560908STom Rhodes.\" SUCH DAMAGE.
2568560908STom Rhodes.\"
2668560908STom Rhodes.\" $FreeBSD$
2768560908STom Rhodes.\"
28b16b2bd2SMaxim Konovalov.Dd November 4, 2006
2968560908STom Rhodes.Dt IPS 4
3068560908STom Rhodes.Os
3168560908STom Rhodes.Sh NAME
3268560908STom Rhodes.Nm ips
3368560908STom Rhodes.Nd IBM/Adaptec ServeRAID controller driver
3468560908STom Rhodes.Sh SYNOPSIS
355cf3ccd2SChristian BruefferTo compile this driver into the kernel,
365cf3ccd2SChristian Bruefferplace the following lines in your
375cf3ccd2SChristian Bruefferkernel configuration file:
385cf3ccd2SChristian Brueffer.Bd -ragged -offset indent
395cf3ccd2SChristian Brueffer.Cd "device pci"
405cf3ccd2SChristian Brueffer.Cd "device scbus"
415cf3ccd2SChristian Brueffer.Cd "device ips"
425cf3ccd2SChristian Brueffer.Ed
435cf3ccd2SChristian Brueffer.Pp
445cf3ccd2SChristian BruefferAlternatively, to load the driver as a
455cf3ccd2SChristian Brueffermodule at boot time, place the following line in
465cf3ccd2SChristian Brueffer.Xr loader.conf 5 :
475cf3ccd2SChristian Brueffer.Bd -literal -offset indent
485cf3ccd2SChristian Bruefferips_load="YES"
495cf3ccd2SChristian Brueffer.Ed
5068560908STom Rhodes.Sh DESCRIPTION
5168560908STom RhodesThe
5268560908STom Rhodes.Nm
5368560908STom Rhodesdriver claims to support the
5468560908STom Rhodes.Tn IBM
5568560908STom Rhodes(now Adaptec) ServeRAID series
5668560908STom Rhodes.Tn SCSI
5768560908STom Rhodescontroller cards.
5868560908STom Rhodes.Pp
5968560908STom RhodesThese cards come with a built in configuration utility stored in
6068560908STom Rhodesthe firmware known as the
6168560908STom Rhodes.Tn ISPR .
6268560908STom RhodesThis utility is accessed with the
63f5298929SRuslan Ermilov.Aq Em Ctrl+I
6468560908STom Rhodeskey combination during the initial card
6568560908STom Rhodes.Tn POST .
6668560908STom Rhodes.Pp
6771069620SHiten PandyaIt is highly recommended that this utility be used to configure the card
6868560908STom Rhodesbefore attempting to diagnose the below error messages.
6968560908STom Rhodes.Pp
7068560908STom RhodesIn some cases, the
7168560908STom Rhodes.Nm
7268560908STom Rhodesdriver can have difficulties attaching during
7368560908STom Rhodesthe system initialization period.
7468560908STom RhodesTo avoid these difficulties, set the
75f5298929SRuslan Ermilov.Va hw.ips.0.disable
76f5298929SRuslan Ermilovtunable to 1.
77f5298929SRuslan ErmilovIt will prevent the driver from attaching.
78f0c7f156SSimon L. B. Nielsen.Sh HARDWARE
79f0c7f156SSimon L. B. NielsenControllers supported by the
80f0c7f156SSimon L. B. Nielsen.Nm
81f0c7f156SSimon L. B. Nielsendriver include:
82f0c7f156SSimon L. B. Nielsen.Pp
83f0c7f156SSimon L. B. Nielsen.Bl -bullet -compact
84f0c7f156SSimon L. B. Nielsen.It
85f0c7f156SSimon L. B. NielsenIBM ServeRAID 3H
86f0c7f156SSimon L. B. Nielsen.It
87f0c7f156SSimon L. B. NielsenServeRAID 4L/4M/4H
88f0c7f156SSimon L. B. Nielsen.It
89f0c7f156SSimon L. B. NielsenServeRAID Series 5
90f0c7f156SSimon L. B. Nielsen.It
91f0c7f156SSimon L. B. NielsenServeRAID 6i/6M
92b16b2bd2SMaxim Konovalov.It
93b16b2bd2SMaxim KonovalovServeRAID 7t/7k/7M
94f0c7f156SSimon L. B. Nielsen.El
9568560908STom Rhodes.Sh DIAGNOSTICS
9668560908STom RhodesSeveral error codes may be shown when the card initializes the
9768560908STom Rhodes.Tn IBM
9868560908STom Rhodes.Tn ISPR
9968560908STom Rhodesutility and are independent of
10068560908STom Rhodes.Fx .
10168560908STom Rhodes.Bl -diag
10268560908STom Rhodes.It ips%d: failed to get adapter configuration data from device
10368560908STom Rhodes.It ips%d: failed to get drive configuration data from device
10468560908STom Rhodes.Pp
10568560908STom RhodesUnable to obtain adapter or drive configuration.
10668560908STom Rhodes.It ips%d iobuf error
10768560908STom Rhodes.Pp
10868560908STom RhodesA buffer input/output error has occurred.
10971069620SHiten Pandya.Bq Er ENXIO
11068560908STom Rhodes.El
11168560908STom Rhodes.Ss General adapter errors:
11268560908STom Rhodes.Bl -diag
11368560908STom Rhodes.It Attaching bus failed
11468560908STom Rhodes.Pp
11568560908STom RhodesThis message is undocumented.
11668560908STom Rhodes.It WARNING: command timeout. Adapter is in toaster mode, resetting
11768560908STom Rhodes.Pp
11868560908STom RhodesA command timeout has caused the adapter to be reset.
11968560908STom Rhodes.It AIEE! adapter reset failed, giving up and going home! Have a nice day
12068560908STom Rhodes.Pp
12168560908STom RhodesAn error occurred while attempting to reset the adapter.
12268560908STom Rhodes.It unable to get adapter configuration
12368560908STom Rhodes.It unable to get drive configuration
12468560908STom Rhodes.Pp
12568560908STom RhodesThere was an error when attempting to get configuration information.
12668560908STom Rhodes.It Adapter error during initialization.
12768560908STom Rhodes.It adapter initialization failed
12868560908STom Rhodes.Pp
12968560908STom RhodesThere was an error while attempting to initialize the adapter.
13068560908STom Rhodes.It adapter failed config check
13168560908STom Rhodes.It adapter clear failed
13268560908STom Rhodes.Pp
13368560908STom RhodesThere was an error while checking the adapter.
13468560908STom Rhodes.It device is disabled
13568560908STom Rhodes.Pp
13668560908STom RhodesThe adapter is disabled.
13768560908STom Rhodes.It resource allocation failed
13868560908STom Rhodes.It irq allocation failed
13968560908STom Rhodes.It irq setup failed
14068560908STom Rhodes.Pp
14168560908STom RhodesThe driver was unable to allocate resources for the device.
14268560908STom Rhodes.El
14368560908STom Rhodes.Ss Error messages due to DMA:
14468560908STom Rhodes.Bl -diag
14568560908STom Rhodes.It can't alloc command dma tag
14668560908STom Rhodes.It can't alloc SG dma tag
14768560908STom Rhodes.It can't alloc dma tag for statue queue
14868560908STom Rhodes.It dmamap failed
14968560908STom Rhodes.Pp
15068560908STom RhodesFailure to map or allocate DMA resources.
15168560908STom Rhodes.El
15268560908STom Rhodes.Ss Cache, buffer, and command errors:
15368560908STom Rhodes.Bl -diag
15468560908STom Rhodes.It failed to initialize command buffers
15568560908STom Rhodes.It no mem for command slots!
15668560908STom Rhodes.Pp
15768560908STom RhodesThe
15868560908STom Rhodes.Nm
15968560908STom Rhodesdriver will return
16071069620SHiten Pandya.Bq Er ENOMEM
16168560908STom Rhodesin such cases.
16268560908STom Rhodes.It ERROR: unable to get a command! can't flush cache!
16368560908STom Rhodes.It ERROR: cache flush command failed!
16468560908STom Rhodes.It ERROR: unable to get a command! can't update nvram
16568560908STom Rhodes.It ERROR: nvram update command failed!
16668560908STom Rhodes.It ERROR: unable to get a command! can't sync cache!
16768560908STom Rhodes.It ERROR: cache sync command failed!
16868560908STom Rhodes.It ERROR: unable to get a command! can't sync cache!
16968560908STom Rhodes.It ERROR: etable command failed!
17068560908STom Rhodes.El
17168560908STom Rhodes.Sh COMPATIBILITY
17268560908STom RhodesUnlike many of the other
17368560908STom Rhodes.Tn SCSI
17468560908STom Rhodesdevices in
17568560908STom Rhodes.Fx ,
17668560908STom Rhodesthe
17768560908STom Rhodes.Nm
17868560908STom Rhodesdriver does not use the
17968560908STom Rhodes.Xr cam 4
18068560908STom Rhodes.Tn SCSI
18168560908STom Rhodessubsystem.
18268560908STom Rhodes.Sh SEE ALSO
18368560908STom Rhodes.Xr ch 4 ,
18468560908STom Rhodes.Xr da 4 ,
18568560908STom Rhodes.Xr sysctl 8
18668560908STom Rhodes.Sh AUTHORS
18768560908STom RhodesThe
18868560908STom Rhodes.Nm
18968560908STom Rhodesdriver was written by
19068560908STom Rhodes.An -nosplit
19168560908STom Rhodes.An David Jefferys
19268560908STom Rhodesand
19368560908STom Rhodes.An Scott Long Aq scottl@FreeBSD.org .
19471069620SHiten Pandya.Pp
19568560908STom RhodesThis manual page was written by
19668560908STom Rhodes.An Tom Rhodes Aq trhodes@FreeBSD.org .
197