Compaq Cciss Driver
I want to include cciss driver in my customized kernel on red hat 7.3. I know there is a way to put precompiled driver from HP driver disk in initrd image but that.
Some development versions 2.6.33-rc1 up to 2.6.36-ish of
the linux kernel as of Jan 8, 2009 on kernel.org have cciss
and hpsa drivers which currently both support some Smart Array
controllers. That is, there are some kernels which have overlapping
sets of controllers supported by both hpsa and cciss. The intent
with newer kernels 2.6.36-ish is to remove this overlap so the
sets of controllers supported by hpsa and cciss are disjoint.
In the case of kernels with cciss and hpsa drivers which do
have overlapping sets of supported controllers, by default,
cciss will claim these devices if it is loaded prior
to hpsa which it normally will be. If you re already running cciss
on these devices, and upgrade to a kernel containing the hpsa driver,
you shouldn t have to do anything, as cciss will continue to claim
these devices. If you would like to run hpsa instead, there is a new
module parameter to cciss, cciss.cciss_allow_hpsa 1, which will cause
the cciss driver to ignore the controllers on the above list, which will
permit the hpsa driver to claim those devices. NOTE: The hpsa driver
is a SCSI driver, while the cciss driver is a block driver. This means
that logical drives which would be presented with devices nodes like
/dev/cciss/c0d0, etc. will now be presented as /dev/sda, etc.
This means that if you are currently using cciss with the above controllers
and decide to switch to hpsa, you ve got to adjust your /etc/fstab, grub
configuration files, etc. to make this work. For a new install of a
distribution using the hpsa driver, the cciss.cciss_allow_any 1 boot
parameter should allow hpsa to be used easily. If you ve been using
cciss already on these controllers, it is not recommended that you
attempt to upgrade your running system to switch from cciss to hpsa unless
you have a very good reason to do so and know what you are doing. This is
simply because making the switch is somewhat complex and it is easy to
make a mistake or forget something and get your system into an unbootable
state. With all the various distributions, it is difficult to come up with
a set of bulletproof universal instructions for making such a switch, so
we recommend that you simply continue to use cciss in such instances.
Hpsa should be fine for new installs on these controllers, however.
The cciss driver previously contained a feature which would enable
it by default to run on Smart Array controllers which it did not explicitly recognize
except so far as to be able to determine that they were some sort of
Smart Array. This feature has been removed, as any Smart Arrays not known
to cciss are now presumed to be claimed by the hpsa driver. The hpsa driver has the
ability to claim unknown Smart Arrays, however this is turned off by default
so that it does not try to claim older controllers meant to be claimed by
the cciss driver. To enable this feature of hpsa, the module parameter
hpsa.hpsa_allow_any 1 can be used.
The usual HP utilities, ACU, the SNMP storage agents, and cciss_vol_status
should also work with hpsa. There may be other software designed to work with
cciss e.g. Arrayprobe which may need modifications to work with the hpsa
driver.
The hpsa driver is available in the kernel.org kernels, and in RHEL6
by default, and in SLES11 but not by default.
Source RPMs:
You may try to use these to build a binary RPM.
To install, download the RPM file, and use rpm -ihv rpmfile
This will deposit the cciss.spec
file in /usr/src/redhat/SPECS,
for instance on Redhat s distribution. Your distribution may differ.
Change to this directory, and execute:
cd /usr/src/redhat/SPECS
rpmbuild -bb cciss.spec
This will create the binary RPM in, for instance,
/usr/src/redhat/RPMS/ arch directory. Your distribution
may differ.
This binary RPM may then be installed in the usual way, for
instance:
rpm -ihv cpq_cciss-2.6.14-7.ia64.rpm
Note: The binary RPMs produced by the source RPMs here are
a greatly simplified version of the binary RPMs distributed by
HP. The binary RPMs distributed by HP do many things like
modifying grub configuration files or lilo.conf as needed,
modifying /etc/modules.conf, etc. The binary RPMs created by the
source RPMs here do not do these things, they only build the
driver module and initrd image. It is up to you to make any
changes to your grub or lilo configuration files and
/etc/modules.conf or modprobe.conf files as needed.
Oct 4, 2007: Note: There has been a report that sometimes the OS supplied
/sbin/mkinitrd script used by the RPM will get the wrong
cciss.. ko file out of
/lib/modules/ uname -r /kernel/drivers/block
and put it in the initrd image. So far, I haven t had any
luck duplicating this problem.
Source DEBs:
Debian source package copies cciss files to /var/hp/storage/cciss
directory and builds cciss module against installed kernel s source. It is
required to have kernel source code available at /usr/src/linux-x.x.xx.
If necessary, deb package will compile kernel as well.
To install, download Debian cciss source package . deb file and issue following command
prompt dpkg -i hpcciss-src-x_x_xx.deb
This will copy cciss source files to /var/hp/storage/cciss
directory and build cciss module binary against installed kernel. Newly built cciss driver
will be placed under /var/hp/storage/cciss, if build is successful.
Note: Debian package is greatly simplified. It neither modifies bootloader
grub or lilo.conf configuration files, nor modify /etc/modules.conf, nor build
initrd. Debian package only builds binary cciss module. It is up to the user
to make any changes to bootloader configuration files, /etc/modules.conf
or modprobe.conf files and initrd as needed.
Source tarballs:
NOTICE: the source tarballs do not create a single
parent directory, so it is up to you do so yourself.
To build the source tarballs:
Create a directory and unpack the tarball.
scameron quandary somedir mkdir cciss-3.6.14
scameron quandary somedir cd cciss-3.6.14
scameron quandary cciss-3.6.14 tar xzvf. ./cciss-3.6.14.tar.gz
configure
Documentation/
Documentation/mkdev.cciss
Documentation/cciss.txt
Documentation/rmdev_dyn.cciss
Documentation/mkdev_dyn.cciss
drivers/
drivers/block/
drivers/block/cciss_cmd.h
drivers/block/cciss.h
drivers/block/cciss_scsi.c
drivers/block/cciss.c
drivers/block/cciss_scsi.h
drivers/block/Makefile
include/
include/linux/
include/linux/cciss_ioctl.h
INSTALL
-- gt MAKEFILE
Makefile_redhat
Makefile_suse
-- gt README
RELEASE
UNINSTALL
The source tarballs are copies of what is used by the source RPMs.
In fact, you could extract the source tarballs from the source
RPMs by using rpm2cpio.
Read the README file for information
about how the tarball is used in the source RPM.
Read
MAKEFILE1 for further instructions on building the driver
from the tarball without any involvement of RPMs.
1Yes, I know MAKEFILE is traditionally one of the
names of files that the make command usually reads.
In this case, it is just a text file, documentation, meant for
human consumption.
Downloads
HPSA 3.0 tarballs
Last updated October 29, 2015, latest version is 3.4.12-110
CCISS 4.6 tarballs
CCISS 4.6 source rpms
CCISS 4.6 source deb
Last updated March 4, 2013 latest version is 4.6.28-22
These are meant for 2.6.26 or later kernels typically, SUSE SLES11, etc.
CCISS 3.6 source RPMs
CCISS 3.6 source tarballs
CCISS 3.6 kdump source RPMs
CCISS 3.6 kdump source tarballs
Use these for systems using 2.6 kernels later than about 2.6.15.
From 2.6.11 to 2.6.15 is kind of a gray area during which some kernel
interfaces the driver relies upon were in flux.
Last updated March 4, 2013 latest version is 3.6.28-22
Changes since 3.6.28-6:
Updates for kdump support
Changes since 3.6.20-20:
Changes since 3.6.20-16:
Changes since 3.6.18-17:
Fixed bug where deleting logical volumes could hang the system.
Fixed a memory leak in rebuild_lun_table code.
Fixed a panic that could arise during an insmod and rmmod of the cciss driver.
Fix procfs regression. This patch will get called only once for each
controller. The earlier fix would be called anytime something changed.
Fixed wrong usage of a pointer for sysfs symlink.
Fix firmware version not being printed in procfs.
Fixed sysfs link issue.
Added check_unit_attention to catch UA s on MSA2000. The function
prints a message then retries the command that returned with a unit
attention.
Fixed a bug found by the L1 test suite. The system would panic when deleting many logical volumes at one time.
Removed unneeded lock in sysfs code.
Updated rebuild_lun_table to avoid pulling a logical volume out from under
acuxe or hpacucli.
Cleaned up code for adding and removing logical
volumes.
Mkinitrd has changed on rhel5u1 and higher systems. It can no longer find
the rhel5 base media cciss driver following an uninstalled of an HP cciss rpm.
Without this fix the system will panic on reboot when the HP cciss rpm has been
uninstalled.
Fixed race condition that could show up during driver init.
Fixed out of memory error introduced in the 2.6.20-4 aand 3.6.20-4
drivers
Added 1024 lun support.
OS distros with warnings.
Added a procfs interface so users can tell the driver to rescan our
devices. Needed for MSA2012 support since MSA2012 does not report
configuration changes back to the driver.
Added dynamic outstanding command turning on a per controller basis.
CCISS 2.6 source RPMs
CCISS 2.6 source tarballs
Use these for 2.6 kernel up to about 2.6.11.
RHEL 4.x and SLES 9.x are
examples of systems based upon such kernels.
From kernels 2.6.11 to 2.6.15 is kind of a gray area during
which some kernel interfaces the driver relies upon were in flux.
Last updated Tue Oct 16, 2009
latest version is 2.6.20-23
Changes since 2.6.20-16
Changes since 2.6.18-16
Fixed issue where ACU would hang after several operations.
Fixed a panic that could arise during an insmod and rmmod of the cciss
Changed kzalloc back to kmalloc memset to continue support for older
OS version.
Fixed issue where controllers that had no configured volumes did not
show up in the OS.
Updated rebuild_lun_table to avoid pulling a logical volume out from
under acuxe or hpacucli.
Cleaned up code for adding and removing logical volumes.
CCISS 2.4 source RPMs
CCISS_2.4 source tarballs
Use these for 2.4 based kernels, such as RHEL 3.x, SLES 8
or SuSE United Linux 1.0. These won t work with very old kernels
such as the 2.4.7 series used by SLES 7.0, etc.
BTW, if you happen across a 2.6.12 version of the cciss driver,
or patches to bring the driver up to 2.6.12, don t use them as this
version will hang. You ll find out soon enough if you do try to
use it. There are newer versions. Use those instead.
Hardware/Firmware Documentation
CISS Interface specification
BMIC specification
CCISS Utilities
cciss_vol_status May 24, 2013: New release: v. 1.11.
-- a very lightweight program to report the status of logical drives on Smart
Array controllers and also fibre channel attached MSA1000.
Changes since 1.10: Support for new Smart Array controllers was added
and added the ability to report status of non-volatile cache. No longer spins
up idle spare drives.
Should work on most any linux and FreeBSD no MSA1000 support for
FreeBSD though. Martin Matuska added cciss_vol_status to the FreeBSD ports tree here.
Here s what it would take to get MSA1000 support on FreeBSD
Feel free to send in a patch.
Here s the man page.. This program is
licensed under the Gnu GPL v. 2.
Arrayprobe offsite
makes a report of events recorded by Smartarray contollers.
Here s a sample
report from arrayprobe 2.0.
Cpqarrayd:
offsite Cpqarrayd is a daemon to monitor HP compaq arraycontrollers. It reports any
status changes, like failing disks, to the syslog and optionally to a remote
host using SNMP traps. This program works by monitoring events from Smartarray
controllers, originally written for first generation Compaq array controllers,
those which use the cpqarray driver but extended to also work with
2nd generation controllers those which use the cciss driver. Logs to
syslog, and optionally, sends SNMP traps. You can think of this as a
daemonized version of arrayprobe, in that both of them detect failures
in the same way by looking at events reported by the controller, cpqarrayd
in real time, arrayprobe after the fact.
smartmontools -- described on the smartmontools
website as two utility programs smartctl
and smartd to control and monitor storage systems using the Self-Monitoring,
Analysis and Reporting Technology System SMART built into most modern ATA and
SCSI hard disks.
array-info
I just found this one, Fri Jun 1 :47 PDT 2007. I can t comment on
this much as I haven t tried it, but from my so far very brief perusing
of the code it appears to be alright at first glance, basically doing
the expected things. Interestingly, it predates cciss_vol_status,
so the authors are to be congratulated for figuring out how to do it
despite extremely sketchy to non-existent documentation.
Later, after checking this one out a bit more, I ll edit this to reflect
what I find.
Supported Hardware
Smart Array 5300
Smart Array 5312
Smart Array 532
Smart Array 5i
Smart Array 6400
Smart Array 6400 EM
Smart Array 641
Smart Array 642
Smart Array 6422
Smart Array 6i
Smart Array E200
Smart Array E200i
Smart Array E500
Smart Array P600
Smart Array P400
Smart Array P800
Smart Array P700m
Smart Array P400i
Smart Array P212
Smart Array P410
Smart Array P410i
Smart Array P411
Smart Array P812
Smart Array P712m
Smart Array P711m
MSA 500 G2
MSA 20
Smart Array P222
Smart Array P420
Smart Array P421
Smart Array P822
Smart Array P420i
Smart Array P220i
Smart Array P721
Smart Array P430i
Smart Array P830i
Smart Array P430
Smart Array P431
Smart Array P830
Smart Array P831
Smart Array P731m
Smart Array P230i
Smart Array P531
Smart Array P530
Smart Array P440
Smart Array P441
Smart Array P840
Smart Array P440ar
Smart Array P244br
Smart HBA H240
Smart HBA H241
Smart HBA H240ar
Smart HBA H244br
HP StorageWorks 1210m
HP Storage P1224 Array Controller
HP Storage P1228 Array Controller
HP Storage P1228m Array Controller
HP Storage P1224e Array Controller
HP Storage P1228e Array Controller
HP Storage P1228em Array Controller
Contact.
Installing Linux on Compaq Servers: Compaq Devices and Drivers Updated June 11, 2001 Created March 20, 2000 Here are the drivers for Compaq hardware.
Great check. Works like a champ out of the box. I patched it to auto-detect the hpsa driver. We have a mix of cciss and hpsa.--- check_cciss-1.11 2013-03-27 :13.
OrgSoftCom
Ic73760: sra probe fails to identify storage managed by compaq smartarray cciss controller.
Here you will find source RPMs and source tarballs for the cciss driver for HP s Smart Array line of originally written for first generation Compaq array.
Model: cciss: Version: 5.98.15: Vendor: COMPAQ: Operating system: Windows 98 SE, Windows Server 2008, Windows Me, Win Home Server, Windows 64-bit, Win 7, Win XP.
Model:cciss
Version:3.0.54
Vendor:COMPAQ
Operating system:Windows NT, Win NT, Windows 7, Win 7, Win XP
Filesize:84 MB
Download file
Version:1.36.84
Operating system:Windows Server 2008 R2, Win 2000, Windows Me, Win 7, Win XP
Filesize:6 MB
Version:4.21.74
Operating system:Win Server 2008 R2, Windows Vista, Win 98, Win 7, Win XP
Filesize:7 MB
Version:4.25.63
Operating system:Windows Server 2008 R2, Windows 2000, Windows Home Server, Win 7, Win XP
Version:7.18.16
Operating system:Win 98 SE, Win 98, Windows 64-bit, Windows 98, Windows 98 SE, Win 7, Win XP
Filesize:1 MB
Version:6.11
Operating system:Win 2000, Windows Vista, Windows NT, Win Vista, Win 7, Win XP
Filesize:9 MB
Version:8.36.23
Operating system:Win 98 SE, Win Vista, Win Server 2008 R2, Win Server 2008, Windows 2000, Win 7, Win XP
Filesize:29 MB
Version:5.98.15
Operating system:Windows 98 SE, Windows Server 2008, Windows Me, Win Home Server, Windows 64-bit, Win 7, Win XP
Version:3.79.81
Operating system:Windows 7, Windows 98 SE, Win 7, Win XP
Filesize:5 MB
Version:7.99.54
Operating system:Windows NT, Win XP, Win 7
Filesize:8 MB
Version:5.53
Operating system:Windows 2000, Windows Vista, Windows 7, Win 7, Win XP
Filesize:10 MB
Version:5.20.83
Operating system:Win 95, Win NT, Win 64-bit, Windows XP, Win 7, Win XP
Version:2.50
Operating system:Windows Vista, Win Server 2008, Win NT, Win Server 2008 R2, Win 7, Win XP
Supported OS:
Windows Me, Win Home Server, Win Server 2008, Win XP, Win 7, Win Server 2008 R2, Windows 64-bit, Windows 98
PNPID:
PCI VEN_17EC DEV_F73A SUBSYS_5B042C59 REV_06 9 CBAF9047 5 155C
PCI VEN_17EC DEV_420F SUBSYS_DBD6C03B REV_07 4 2536B033
PCI VEN_17EC DEV_E174 SUBSYS_6A424EF5 REV_02 3 4C4EA439 5 543A
PCI VEN_17EC DEV_4B75 SUBSYS_9D7EF877 REV_08 5 C42773CD 9 C984
PCI VEN_17EC DEV_FB94 SUBSYS_B7D4CC18 REV_07 2 E14E64C6
PCI VEN_17EC DEV_463A SUBSYS_69F4E34F REV_04 6 2F9E1261 1 73D8
Related:
i260 scanner
aspire one ao722-bz454
lga
i350 printer 1.90
pd1086
dimension e310 video
2700
vh232h
wireless 2009
rw8438e.
Adding a SCSI tape drive using the cciss driver in SLES. This document 3611352 cciss driver for HP/Compaq s SMART Array Controller.