2017-06-28 15:44 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0013184CentOS-7kernelpublic2017-06-27 22:10
Reporterklpang 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformlinuxOSCentOS Linux OS Version7.3.1611 (Core)
Product Version7.3.1611 
Target VersionFixed in Version 
Summary0013184: CentOS 7 x64 and HP Proliant DL360 G6 P410i RAID Controller compatibility issue
DescriptionOnce update to kernel version 3.10.0-514.16.1.el7.x86_64, HP P410i RAID controller will appear error message as below : -

Apr 27 16:43:00 SpeedTestServer kernel: hpsa 0000:04:00.0: addition failed -19, device not added.
Apr 27 16:43:30 SpeedTestServer kernel: hpsa 0000:04:00.0: scsi 0:0:0:0: added RAID HP P410i controller SSDSmartPathCap- En- Exp=1
Apr 27 16:43:30 SpeedTestServer kernel: hpsa 0000:04:00.0: addition failed -19, device not added.
Apr 27 16:44:00 SpeedTestServer kernel: hpsa 0000:04:00.0: scsi 0:0:0:0: added RAID HP P410i controller SSDSmartPathCap- En- Exp=1
Apr 27 16:44:00 SpeedTestServer kernel: hpsa 0000:04:00.0: addition failed -19, device not added.
Apr 27 16:44:30 SpeedTestServer kernel: hpsa 0000:04:00.0: scsi 0:0:0:0: added RAID HP P410i controller SSDSmartPathCap- En- Exp=1
Apr 27 16:44:30 SpeedTestServer kernel: hpsa 0000:04:00.0: addition failed -19, device not added.

How to resolve this issue. Kindly advise.

TagsNo tags attached.
abrt_hash
URL
Attached Files

-Relationships
+Relationships

-Notes

~0029165

TrevorH (developer)

I have two machines with p410i controllers and both are running the kernel you talk about without issue. What firmware version is your p410? Mine is:

   Firmware Version: 6.64

~0029174

klpang (reporter)

under /sys/class/scsi_host/host0, the firmware revision is 2.50 only. How to update it to resolve this issue. Kindly advise.

~0029175

victorl (reporter)

I'm seeing the exact same errors with a similar machine since I update the kernel:

My specs:
CentOS 7 x64
HP Proliant DL320 G6 P410
controller firmware version 3.0

~0029176

toracat (manager)

Looks like a known issue:

https://access.redhat.com/solutions/2958801

The advise is to contact HP support for further investigation.

~0029398

mmraz (reporter)

I have the same issue with 1 of my 2 machines. The one with the issue has 2 differences with the machine that is not. First, the machine with the issue has the P410i raid controller set in HBA mode and has driver version 3.00. The HP firmware updater does not recognize the device when it is set in HBA, Direct-Access mode.

[ 1.519993] hpsa 0000:04:00.0: scsi 0:0:0:0: added RAID HP P410i controller SSDSmartPathCap- En- Exp=1
[ 1.520245] scsi 0:1:0:0: Direct-Access HP LOGICAL VOLUME 3.00 PQ: 0 ANSI: 5
[ 1.591730] hpsa 0000:04:00.0: addition failed -19, device not added.

The machine without the issue has the same card, but it is set in RAID mode.
This allowed me to run the HP driver updater and update the firmware to version 6.64.

[ 4.718298] hpsa 0000:04:00.0: scsi 0:1:0:0: added Direct-Access HP LOGICAL VOLUME RAID-5 SSDSmartPathCap- En- Exp=1
[ 4.720349] scsi 0:0:0:0: RAID HP P410i 6.64 PQ: 0 ANSI: 5

I found instructions on how to change the settings on the card, but cannot figure out how to access the EUFI shell to execute the commands. https://web.archive.org/web/20160915020629/http://viktorbalogh.net/blog/hardware/servers/changing-a-p410i-from-hba-mode-to-raid-mode

~0029399

mmraz (reporter)

Also, the known issue and solution you've posted a link to requires an active RH subscription to view. I don't have $299 to available to read an article to fix my Centos machine. Could you quote the appropriate part of the solution for those of us without RH subs?

~0029400

toracat (manager)

As noted earlier, the "resolution" given in that RH article is to "contact HP support for further investigation" because this is a hardware issue.

~0029499

rsc (reporter)

I had exactly the same issue like the reporter.

In difference to the "resolution" statement from Red Hat GSS in the Red Hat knowledgebase article, this is not purely a hardware issue but more a mixture between outdated RAID controller firmware and a slighly incompatible kernel module update performed by Red Hat with kernel-3.10.0-474.el7 (search for "hpsa" in RPM %changelog).

The following steps solved the issue for me (for HP Smart Array P410i):

1. rpm -ivh http://vault.centos.org/7.2.1511/updates/x86_64/Packages/kernel-3.10.0-327.10.1.el7.x86_64.rpm # Downgrade to a kernel before the hpsa update
2. Reboot to kernel-3.10.0-327.10.1.el7 # Select old kernel at GRUB menu
3. wget http://downloads.hpe.com/pub/softlib2/software1/sc-linux-fw-array/p1156993750/v109453/hp-firmware-smartarray-14ef73e580-6.64-2.x86_64.rpm # Download 6.64B firmware for HP Smart Array P410i
4. rpm -ivh hp-firmware-smartarray-14ef73e580-6.64-2.x86_64.rpm # Install firmware update
5. /usr/lib/x86_64-linux-gnu/hp-scexe-compat/CP027071.scexe # Run firmware update
6. Reboot to kernel-3.10.0-514.21.1.el7 # Boot currently latest kernel (again)

Running the firmware update on operating system level with a kernel >= 3.10.0-474.el7 will not detect any RAID controller. Alternatively this requires a firmware update using a live media.

The update process itself looks like this:

$ /usr/lib/x86_64-linux-gnu/hp-scexe-compat/CP027071.scexe

        This program consists of two phases: device discovery and device update.
        No device will be updated until you answer.

Do you want to run device discovery?
(yes/no) yes
Finding hardware. This may take a few minutes.
Found 1 devices.

Do you want to upgrade the device that has older ROM?
(yes/no) yes
1 devices will be updated.
Updating: P410i Slot: 0 from [2.00] to [6.64]
Updating: P410i Slot: 0 from [2.00] to [6.64]

A reboot is required to finish the installation completely.

$

For me, "cat /sys/class/scsi_host/host*/firmware_revision" returned "2.00" before the firmware update and "6.64" after the firmware update.

~0029500

rsc (reporter)

Btw, I run into this issue when trying to use "hpssacli" (successor of "hpacucli"), even the "sg" kernel module was already properly loaded:

$ hpssacli ctrl all show config

Error: No controllers detected. Possible causes:
        - The driver for the installed controller(s) is not loaded.
        - On LINUX, the scsi_generic (sg) driver module is not loaded.
        See the README file for more details.

$

~0029570

mmraz (reporter)

@rsc Thanks, that worked great. My p410i controller is now patched to the most current firmware.
+Notes

-Issue History
Date Modified Username Field Change
2017-04-27 08:45 klpang New Issue
2017-04-27 11:49 TrevorH Note Added: 0029165
2017-04-28 00:30 klpang Note Added: 0029174
2017-04-28 03:52 victorl Note Added: 0029175
2017-04-28 05:03 toracat Note Added: 0029176
2017-06-04 19:51 mmraz Note Added: 0029398
2017-06-04 19:57 mmraz Note Added: 0029399
2017-06-04 20:39 toracat Note Added: 0029400
2017-06-16 15:14 rsc Note Added: 0029499
2017-06-16 15:17 rsc Note Added: 0029500
2017-06-27 22:10 mmraz Note Added: 0029570
+Issue History