2002-12-30 22:54:29 +00:00
|
|
|
.\" $FreeBSD$
|
|
|
|
.\" Written by Tom Rhodes
|
|
|
|
.\" This file is in the public domain.
|
|
|
|
.\"
|
2005-11-03 13:02:35 +00:00
|
|
|
.Dd November 3, 2005
|
2002-12-30 22:54:29 +00:00
|
|
|
.Dt CISS 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm ciss
|
2003-02-24 22:53:26 +00:00
|
|
|
.Nd Common Interface for SCSI-3 Support driver
|
2002-12-30 22:54:29 +00:00
|
|
|
.Sh SYNOPSIS
|
2006-05-20 09:39:28 +00:00
|
|
|
To compile this driver into the kernel,
|
|
|
|
place the following lines in your
|
|
|
|
kernel configuration file:
|
|
|
|
.Bd -ragged -offset indent
|
2003-02-24 22:53:26 +00:00
|
|
|
.Cd "device scbus"
|
|
|
|
.Cd "device ciss"
|
2006-05-20 09:39:28 +00:00
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
Alternatively, to load the driver as a
|
|
|
|
module at boot time, place the following line in
|
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
ciss_load="YES"
|
|
|
|
.Ed
|
2002-12-30 22:54:29 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver claims to provide a common interface between generic SCSI
|
|
|
|
transports and intelligent host adapters.
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports
|
|
|
|
.Em CISS
|
|
|
|
as defined in the document entitled
|
2003-02-24 22:53:26 +00:00
|
|
|
.%T "CISS Command Interface for SCSI-3 Support Open Specification, Version 1.04, Valence Number 1" ,
|
|
|
|
dated 2000/11/27, produced by Compaq Computer Corporation.
|
2002-12-30 22:54:29 +00:00
|
|
|
.Pp
|
|
|
|
We provide a shim layer between the
|
|
|
|
.Nm
|
2003-02-24 22:53:26 +00:00
|
|
|
interface and
|
|
|
|
.Xr CAM 4 ,
|
2002-12-30 22:54:29 +00:00
|
|
|
offloading most of the queueing and being-a-disk chores onto CAM.
|
|
|
|
Entry to the driver is via the PCI bus attachment
|
2003-02-24 22:53:26 +00:00
|
|
|
.Fn ciss_probe ,
|
|
|
|
.Fn ciss_attach ,
|
2004-07-03 18:29:24 +00:00
|
|
|
etc.\& and via the CAM interface
|
2003-02-24 22:53:26 +00:00
|
|
|
.Fn ciss_cam_action ,
|
2002-12-30 22:54:29 +00:00
|
|
|
and
|
2003-02-24 22:53:26 +00:00
|
|
|
.Fn ciss_cam_poll .
|
2002-12-30 22:54:29 +00:00
|
|
|
The Compaq
|
|
|
|
.Nm
|
|
|
|
adapters require faked responses to get reasonable
|
|
|
|
behavior out of them.
|
|
|
|
In addition, the
|
|
|
|
.Nm
|
2003-02-24 22:53:26 +00:00
|
|
|
command set is by no means adequate to support the functionality
|
|
|
|
of a RAID controller,
|
2002-12-30 22:54:29 +00:00
|
|
|
and thus the supported Compaq adapters utilize portions of the
|
|
|
|
control protocol from earlier Compaq adapter families.
|
|
|
|
.Pp
|
|
|
|
Currently
|
|
|
|
.Nm
|
|
|
|
only supports the
|
|
|
|
.Dq simple
|
|
|
|
transport layer over PCI.
|
|
|
|
This interface (ab)uses the I2O register set (specifically the post
|
|
|
|
queues) to exchange commands with the adapter.
|
2002-12-31 17:53:04 +00:00
|
|
|
Other interfaces are available, but we are not supposed to know about them,
|
2002-12-30 22:54:29 +00:00
|
|
|
and it is dubious whether they would provide major performance improvements
|
|
|
|
except under extreme load.
|
2003-02-24 22:53:26 +00:00
|
|
|
.Pp
|
|
|
|
Non-disk devices (such as internal DATs and devices
|
2004-06-23 00:27:56 +00:00
|
|
|
attached to the external SCSI bus) are supported as normal CAM devices
|
|
|
|
provided that they are exported by the controller firmware and are not
|
2004-07-03 18:29:24 +00:00
|
|
|
marked as being masked.
|
|
|
|
Masked devices can be exposed by setting the
|
2004-06-23 00:27:56 +00:00
|
|
|
.Va hw.ciss.expose_hidden_physical
|
2004-07-03 18:29:24 +00:00
|
|
|
tunable to non-zero at boot time.
|
|
|
|
Direct Access devices (such as disk
|
2004-06-23 00:27:56 +00:00
|
|
|
drives) are only exposed as
|
|
|
|
.Xr pass 4
|
2004-07-03 18:29:24 +00:00
|
|
|
devices.
|
|
|
|
Hot-insertion and removal of devices is supported but a bus
|
2004-06-23 00:27:56 +00:00
|
|
|
rescan might be necessary.
|
2004-08-03 20:52:28 +00:00
|
|
|
.Sh HARDWARE
|
|
|
|
Controllers supported by the
|
|
|
|
.Nm
|
|
|
|
driver include:
|
2002-12-30 22:54:29 +00:00
|
|
|
.Pp
|
2004-08-03 20:52:28 +00:00
|
|
|
.Bl -bullet -compact
|
2003-02-24 22:53:26 +00:00
|
|
|
.It
|
|
|
|
Compaq Smart Array 5300
|
|
|
|
.It
|
|
|
|
Compaq Smart Array 532
|
|
|
|
.It
|
|
|
|
Compaq Smart Array 5i
|
2003-11-07 11:43:05 +00:00
|
|
|
.It
|
|
|
|
HP Smart Array 5312
|
|
|
|
.It
|
|
|
|
HP Smart Array 6i
|
|
|
|
.It
|
|
|
|
HP Smart Array 641
|
|
|
|
.It
|
|
|
|
HP Smart Array 642
|
|
|
|
.It
|
|
|
|
HP Smart Array 6400
|
|
|
|
.It
|
|
|
|
HP Smart Array 6400 EM
|
2004-04-16 23:00:01 +00:00
|
|
|
.It
|
2005-11-11 16:45:33 +00:00
|
|
|
HP Smart Array E200
|
|
|
|
.It
|
|
|
|
HP Smart Array E200i
|
|
|
|
.It
|
|
|
|
HP Smart Array P400
|
|
|
|
.It
|
|
|
|
HP Smart Array P400i
|
2004-06-14 22:10:56 +00:00
|
|
|
.It
|
2005-11-03 13:02:35 +00:00
|
|
|
HP Smart Array P600
|
|
|
|
.It
|
|
|
|
HP Smart Array P800
|
2004-06-14 22:10:56 +00:00
|
|
|
.It
|
2004-04-16 23:00:01 +00:00
|
|
|
HP Modular Smart Array 20 (MSA20)
|
|
|
|
.It
|
|
|
|
HP Modular Smart Array 500 (MSA500)
|
2002-12-30 22:54:29 +00:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr cam 4 ,
|
|
|
|
.Xr pass 4 ,
|
|
|
|
.Xr xpt 4 ,
|
2004-06-23 00:27:56 +00:00
|
|
|
.Xr loader.conf 5 ,
|
2003-02-24 22:53:26 +00:00
|
|
|
.Xr camcontrol 8
|
|
|
|
.Rs
|
|
|
|
.%T "CISS Command Interface for SCSI-3 Support Open Specification, Version 1.04, Valence Number 1"
|
|
|
|
.%D 2000/11/27
|
|
|
|
.%Q "Compaq Computer Corporation"
|
|
|
|
.Re
|
2002-12-30 22:54:29 +00:00
|
|
|
.Sh AUTHORS
|
2003-02-24 22:53:26 +00:00
|
|
|
.An -nosplit
|
2002-12-30 22:54:29 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver was written by
|
|
|
|
.An Mike Smith Aq msmith@FreeBSD.org .
|
2003-02-24 22:53:26 +00:00
|
|
|
.Pp
|
2002-12-31 17:53:04 +00:00
|
|
|
This manual page is based on his comments and was written by
|
|
|
|
.An Tom Rhodes Aq trhodes@FreeBSD.org .
|