hpacucli: Error: No controllers detected (with hpsa module in use)
If you’ve migrated to a newer kernel and a newer hpsa module is used instead of cciss, you may wonder why you’re no longer able to use hpacucli tool to see the status of your RAID device:
# hpacucli ctrl all show
Error: No controllers detected.
Here is how to solve it.
If your RAID controller is similar to the one below (I’ve had it in ProLiant DL180 G6):
06:00.0 RAID bus controller: Hewlett-Packard Company Smart Array G6 controllers (rev 01)
Subsystem: Hewlett-Packard Company Smart Array P410
Flags: bus master, fast devsel, latency 0, IRQ 24
Memory at fbc00000 (64-bit, non-prefetchable) [size=2M]
Memory at fbbff000 (64-bit, non-prefetchable) [size=4K]
I/O ports at d800 [size=256]
Expansion ROM at fbb00000 [disabled] [size=512K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [ac] MSI-X: Enable+ Count=16 Masked-
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: hpsa
Kernel modules: hpsa
you may want to use these instructions:
- download and compile uname26 tool: http://mirror.linux.org.au/linux/kernel/people/ak/uname26/
- load sg module and try to run hpacucli again as below:
# modprobe sg # ./uname26 hpacucli ctrl all show config [root@hpg6.starhub.sg ~]# ./uname26 hpacucli ctrl all show config Smart Array P410 in Slot 1 (sn: PACCRID11251VYT) array A (SAS, Unused Space: 0 MB) logicaldrive 1 (136.7 GB, RAID 1, OK) physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK) physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK) array B (SAS, Unused Space: 0 MB) logicaldrive 2 (1.6 TB, RAID 5, OK) physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 450 GB, OK) physicaldrive 1I:1:5 (port 1I:box 1:bay 5, SAS, 450 GB, OK) physicaldrive 1I:1:6 (port 1I:box 1:bay 6, SAS, 450 GB, OK) physicaldrive 1I:1:7 (port 1I:box 1:bay 7, SAS, 450 GB, OK) physicaldrive 1I:1:8 (port 1I:box 1:bay 8, SAS, 450 GB, OK) Expander 250 (WWID: 50014380079C1660, Port: 1I, Box: 1) Enclosure SEP (Vendor ID HP, Model DL18xG6BP) 248 (WWID: 50014380079C1673, Port: 1I, Box: 1) SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 249 (WWID: 5001438016827A8F)
Hi there,
I had the same problem some weeks ago with Debian 6.0.5 running hpsa driver on a G8 blade server. The method you describe was not working for me so I used a different approch.
The problem with not finding any controllers does not persist in Version >= 9.0 of hpacucli which unfortunatly does is not available for debian or ubuntu right now. You can “backport” it from SuSE with alien though.
http://downloads.linux.hp.com/SDR/downloads/proliantsupportpack/SuSE/11.2/x86_64/9.10/hpacucli-9.10-22.0.x86_64.rpm
BR,
Christian
Thanks for the hack >) really works!
[...] you tried google eg http://snarkybrill.blogspot.com.au/2…-detected.html http://blog.wpkg.org/2012/03/15/hpac…module-in-use/ and indeed you can ask [...]
Thanks a lot .. This worked for me on HP Proliant 180g6 server, with Smart Array p410. Current kernal version is 3.0.0
@Christian
How did you see the disks with the G8 blade server? Was it a 460c? How did you managed to get the installer find the disks because in my situation the cciss and hpsa driver does not find any disks….
Thanks in advance…
To Jurrien and others it may concern.
Check that you run a recent version of hpacucli. While installing or applicabile try this if the RAID-controller can’t be found by hpacucli:
unload the cciss module if it’s currently loaded ( #lsmod to find out )
#modprobe -r cciss
load the sg module unless already loaded
#modprobe sg
load the hpsa module with hpsa_allow_any option set:
#modprobe hpsa hpsa_allow_any=1
This option allows the driver to attempt to operate on any HP Smart Array hardware RAID controller, even if it is not explicitly
known to the driver.
This solved my problems I encountered while implementing FAI.
Cheers
Christian’s ‘alien’ hack with the .rpm (newer version of hpacucli) worked fine for me. No other method did unfortunately.
Specifically :
1. wget http://downloads.linux.hp.com/SDR/downloads/proliantsupportpack/SuSE/11.2/x86_64/9.10/hpacucli-9.10-22.0.x86_64.rpm
2. apt-get install alien
3. alien hpacucli-9.10-22.0.x86_64.rpm
4 dpkg -i hpacucli_9.10-23_amd64.deb
Now, I can see the status of the controller(s) -
# hpacucli
HP Array Configuration Utility CLI 9.10.22.0
Detecting Controllers…Done.
Type “help” for a list of supported commands.
Type “exit” to close the console.
=> ctrl all show status
Smart Array P410i in Slot 0 (Embedded)
Controller Status: OK
(Debian Squeeze, Backports kernel (3.2.x))
thanks.
(I also need the ‘sg’ module to be loaded before the controller is visible…)
Alien hack worked for me also on Ubuntu 12.04.
I did your step-by-step David and now my P222 controller is recognized.
Unfortunately I can’t install cpqacuxe in the same way. When I install 9.10 version from SuSe, using alien hack, and launch it, on HP System Management Homepage disspaears Array Configuration link.
Any ideas?
Thanks.
Just ran into this issue for RHEL6. I did a simple update to get access to my controller again.
DL380p gen8
RHEL6.2
Verified version of hpacucli: yum list hpacucli
installed version was 8.75 – current version is 9.20 (at the time of this writing)
updated hpacucli: yum update hpacucli -y
Now I’m able to view controller stats.