Copyright (c) 2003 Tom Rhodes
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
$FreeBSD: releng/11.0/share/man/man4/ips.4 276259 2014-12-26 22:30:18Z bapt $
.Dd August 7, 2009 .Dt IPS 4 .Os .Sh NAME .Nm ips .Nd IBM/Adaptec ServeRAID controller driver .Sh SYNOPSIS To compile this driver into the kernel, place the following lines in your kernel configuration file: d -ragged -offset indent .Cd "device pci" .Cd "device scbus" .Cd "device ips" .Ed
p Alternatively, to load the driver as a module at boot time, place the following line in .Xr loader.conf 5 : d -literal -offset indent ips_load="YES" .Ed .Sh DESCRIPTION The .Nm driver claims to support the .Tn IBM (now Adaptec) ServeRAID series .Tn SCSI controller cards.
p These cards come with a built in configuration utility stored in the firmware known as the .Tn ISPR . This utility is accessed with the .Aq Em Ctrl+I key combination during the initial card .Tn POST .
p It is highly recommended that this utility be used to configure the card before attempting to diagnose the below error messages.
p In some cases, the .Nm driver can have difficulties attaching during the system initialization period. To avoid these difficulties, set the .Va hw.ips.0.disable tunable to 1. It will prevent the driver from attaching. .Sh HARDWARE Controllers supported by the .Nm driver include:
p l -bullet -compact t IBM ServeRAID 3H t ServeRAID 4L/4M/4H t ServeRAID Series 5 t ServeRAID 6i/6M t ServeRAID 7t/7k/7M .El
p Newer ServeRAID controllers are supported by the .Xr aac 4 or .Xr mfi 4 driver. .Sh DIAGNOSTICS Several error codes may be shown when the card initializes the .Tn IBM .Tn ISPR utility and are independent of .Fx . l -diag t ips%d: failed to get adapter configuration data from device t ips%d: failed to get drive configuration data from device
p Unable to obtain adapter or drive configuration. t ips%d iobuf error
p A buffer input/output error has occurred. q Er ENXIO .El .Ss General adapter errors: l -diag t Attaching bus failed
p This message is undocumented. t WARNING: command timeout. Adapter is in toaster mode, resetting
p A command timeout has caused the adapter to be reset. t AIEE! adapter reset failed, giving up and going home! Have a nice day
p An error occurred while attempting to reset the adapter. t unable to get adapter configuration t unable to get drive configuration
p There was an error when attempting to get configuration information. t Adapter error during initialization. t adapter initialization failed
p There was an error while attempting to initialize the adapter. t adapter failed config check t adapter clear failed
p There was an error while checking the adapter. t device is disabled
p The adapter is disabled. t resource allocation failed t irq allocation failed t irq setup failed
p The driver was unable to allocate resources for the device. .El .Ss Error messages due to DMA: l -diag t can't alloc command dma tag t can't alloc SG dma tag t can't alloc dma tag for statue queue t dmamap failed
p Failure to map or allocate DMA resources. .El .Ss Cache, buffer, and command errors: l -diag t failed to initialize command buffers t no mem for command slots!
p The .Nm driver will return q Er ENOMEM in such cases. t ERROR: unable to get a command! can't flush cache! t ERROR: cache flush command failed! t ERROR: unable to get a command! can't update nvram t ERROR: nvram update command failed! t ERROR: unable to get a command! can't sync cache! t ERROR: cache sync command failed! t ERROR: unable to get a command! can't sync cache! t ERROR: etable command failed! .El .Sh COMPATIBILITY Unlike many of the other .Tn SCSI devices in .Fx , the .Nm driver does not use the .Xr cam 4 .Tn SCSI subsystem. .Sh SEE ALSO .Xr aac 4 , .Xr ch 4 , .Xr da 4 , .Xr mfi 4 , .Xr sysctl 8 .Sh AUTHORS The .Nm driver was written by .An -nosplit .An David Jefferys and .An Scott Long Aq Mt scottl@FreeBSD.org .
p This manual page was written by .An Tom Rhodes Aq Mt trhodes@FreeBSD.org .