Skip to contentSkip to conversation

hpsa: Controller lockup detected: 0x00150028

BUG Peter Zijlstra 6 participants 11 messages May 18, 2015 – Aug 24, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

On my HP-DL180-G6 with a HP Smart Array P212.

I can reliably trigger a controller lockup by running smartctl.

I'm trying to monitor my HDD temps using:

for ((i=0; i<8; i++)) ; do

	smartctl -d cciss,$i -a /dev/sg0 | grep ^194 ;

done | awk '{t=$10; if (t > T) T = t;} END {print T}'

After a few of those runs, I get:

[ 1540.277776] hpsa 0000:06:00.0: Controller lockup detected: 0x00150028

And my disks are gone.

With linux 3.16 the whole kernel came down with NMI watchdog timeouts / RCU stalls in the detect_lockup() worklet.

On linux 4.0 those appear to be gone, but the controller isn't coming back either.

It this a known 'feature'; is there anything I can do to help diagnose/fix this issue?

~ Peter

#1 lore raw

The P212/P410/P411 firmware was recently spun to address an issue that sounds exactly like this problem. Which version of controller firmware are you using?

-----Original Message-----
From: Peter Zijlstra [mailto:[email protected]]
Sent: Monday, May 18, 2015 7:41 AM
To: [email protected]
Cc: ISS StorageDev; [email protected]; [email protected]
Subject: [BUG] hpsa: Controller lockup detected: 0x00150028

Hi,

On my HP-DL180-G6 with a HP Smart Array P212.

I can reliably trigger a controller lockup by running smartctl.

I'm trying to monitor my HDD temps using:

for ((i=0; i<8; i++)) ; do

	smartctl -d cciss,$i -a /dev/sg0 | grep ^194 ;

done | awk '{t=$10; if (t > T) T = t;} END {print T}'

After a few of those runs, I get:

[ 1540.277776] hpsa 0000:06:00.0: Controller lockup detected: 0x00150028

And my disks are gone.

With linux 3.16 the whole kernel came down with NMI watchdog timeouts / RCU stalls in the detect_lockup() worklet.

On linux 4.0 those appear to be gone, but the controller isn't coming back either.

It this a known 'feature'; is there anything I can do to help diagnose/fix this issue?

~ Peter

#2 lore raw
Quoted 2 lines · Mark

The P212/P410/P411 firmware was recently spun to address an issue that sounds exactly like this problem. Which version of controller firmware are you using?

Smart Array P212 in Slot 1

Hardware Revision: C
Firmware Version: 6.60

#3 lore raw
Quoted 8 lines · Peter Zijlstra
Quoted 2 lines · Mark

The P212/P410/P411 firmware was recently spun to address an issue that sounds exactly like this problem. Which version of controller firmware are you using?

Smart Array P212 in Slot 1

Hardware Revision: C
Firmware Version: 6.60

I've updated to 6.62 and it appears to be working now; or rather, it has not locked up yet where I think it would've locked up by now earlier.

I'll let it run for a few more hours before calling it fixed, I'll let you know.

Thanks!

#4 lore raw
Quoted 7 lines · Peter Zijlstra
Quoted 6 lines · Peter Zijlstra
Quoted 2 lines · Mark

The P212/P410/P411 firmware was recently spun to address an issue that sounds exactly like this problem. Which version of controller firmware are you using?

Smart Array P212 in Slot 1

Quoted 8 lines
Quoted 2 lines

Hardware Revision: C
Firmware Version: 6.60

I've updated to 6.62 and it appears to be working now; or rather, it has not locked up yet where I think it would've locked up by now earlier.

I'll let it run for a few more hours before calling it fixed, I'll let you know.

And right after sending this email it went...

[ 1119.052144] hpsa 0000:06:00.0: Controller lockup detected: 0x00150029

So sadly no dice.

Anything else I can do?

#5 lore raw
Quoted 17 lines · Peter Zijlstra
Quoted 7 lines · Peter Zijlstra
Quoted 6 lines · Peter Zijlstra
Quoted 2 lines · Mark

The P212/P410/P411 firmware was recently spun to address an issue that sounds exactly like this problem. Which version of controller firmware are you using?

Smart Array P212 in Slot 1

Quoted 8 lines
Quoted 2 lines

Hardware Revision: C
Firmware Version: 6.60

I've updated to 6.62 and it appears to be working now; or rather, it has not locked up yet where I think it would've locked up by now earlier.

I'll let it run for a few more hours before calling it fixed, I'll let you know.

Quoted 7 lines

And right after sending this email it went...

[ 1119.052144] hpsa 0000:06:00.0: Controller lockup detected: 0x00150029

So sadly no dice.

Anything else I can do?

An older issue for mptsas seems to handle a similar case 2a1b7e575b [SCSI] mptsas: fix hangs caused by ATA pass-through that might be for hpsa -

drivers/scsi/hpsa.c +2 -1
@@ -1067,6 +1067,8 @@ static int hpsa_slave_alloc(struct scsi_device *sdev)
        if (sd != NULL)
                sdev->hostdata = sd;
        spin_unlock_irqrestore(&h->devlock, flags);
+
+       blk_queue_dma_alignment (sdev->request_queue, 512 - 1);
        return 0;
 }
-tm
#6 lore raw
Quoted 1 line · Tomas Henzl
Quoted 1 line
Quoted 1 line

I've updated to 6.62 and it appears to be working now; or rather, it has

I've since gotten 6.64 from HP to test; which does not seem public yet.

6.64 actually fixes the issue for me.

Quoted 7 lines

An older issue for mptsas seems to handle a similar case 2a1b7e575b [SCSI] mptsas: fix hangs caused by ATA pass-through that might be for hpsa -

drivers/scsi/hpsa.c static int hpsa_slave_alloc(struct scsi_device *sdev) · line 1073

Quoted 7 lines
drivers/scsi/hpsa.c +2 -0
@@ -1067,6 +1067,8 @@ static int hpsa_slave_alloc(struct scsi_device *sdev)
        if (sd != NULL)
                sdev->hostdata = sd;
        spin_unlock_irqrestore(&h->devlock, flags);
+
+       blk_queue_dma_alignment (sdev->request_queue, 512 - 1);
        return 0;
 }

That does indeed seem _very_ similar; I'll have to defer to Mark Oelke and or Don Brace to say if the above is a useful alternative. Since they seem to now know what was the root cause.

#7 lore raw

No, the problem here (iirc) actually dealt with buffers in the firmware.

Don or Mark, agree?

Joe

-----Original Message-----
From: Peter Zijlstra [mailto:[email protected]]
Sent: Friday, May 22, 2015 11:40 AM
To: Tomas Henzl
Cc: Oelke, Mark; [email protected]; ISS StorageDev; [email protected]; [email protected]
Subject: Re: [BUG] hpsa: Controller lockup detected: 0x00150028

Quoted 1 line · Tomas Henzl
Quoted 1 line
Quoted 1 line

I've updated to 6.62 and it appears to be working now; or rather, it has

I've since gotten 6.64 from HP to test; which does not seem public yet.

6.64 actually fixes the issue for me.

Quoted 7 lines

An older issue for mptsas seems to handle a similar case 2a1b7e575b [SCSI] mptsas: fix hangs caused by ATA pass-through that might be for hpsa -

drivers/scsi/hpsa.c static int hpsa_slave_alloc(struct scsi_device *sdev) · line 1073

Quoted 7 lines
drivers/scsi/hpsa.c +2 -0
@@ -1067,6 +1067,8 @@ static int hpsa_slave_alloc(struct scsi_device *sdev)
        if (sd != NULL)
                sdev->hostdata = sd;
        spin_unlock_irqrestore(&h->devlock, flags);
+
+       blk_queue_dma_alignment (sdev->request_queue, 512 - 1);
        return 0;
 }

That does indeed seem _very_ similar; I'll have to defer to Mark Oelke and or Don Brace to say if the above is a useful alternative. Since they seem to now know what was the root cause.

#8 lore raw
Quoted 5 lines

-----Original Message-----
From: Peter Zijlstra [mailto:peterz <at> infradead.org]
Sent: Friday, May 22, 2015 11:40 AM
To: Tomas Henzl
Cc: Oelke, Mark; don.brace <at> pmcs.com; ISS StorageDev; storagedev <at>

pmcs.com; linux-scsi <at> vger.kernel.org

Quoted 9 lines

Subject: Re: [BUG] hpsa: Controller lockup detected: 0x00150028

Quoted 1 line · Tomas Henzl
Quoted 1 line
Quoted 1 line

I've updated to 6.62 and it appears to be working now; or rather, it has

I've since gotten 6.64 from HP to test; which does not seem public yet.

6.64 actually fixes the issue for me.

Hi everone,

I've experienced a similar problem with a P411 controller in HBA mode.
Serial Number PDNMH0ARH8P04A
Model HP Smart Array P441 Controller
Firmware Version 2.52

This seems to be the latest firmware:
http://h20564.www2.hpe.com/hpsc/swd/public/detail?sp4ts.oid=7274903&swItemId=MTX_a476e21cd5e142608ff8d6aed5&swEnvOid=4176

I'm running smartd for monitoring, dayly short tests and weekly long tests.

Aug 23 13:57:11 smartd[3344]: Device: /dev/sdv [SAT], SMART Usage Attribute:
194 Temperature_Celsius changed from 41 to 42
Aug 23 13:57:42 kernel: [349157.766608] hpsa 0000:05:00.0: Abort request on
C6:B2:T18:L0
Aug 23 13:57:42 kernel: [349157.830545] hpsa 0000:05:00.0: Abort request on
C6:B2:T19:L0
Aug 23 14:00:10 kernel: [349305.554986]  [<ffffffffc02a3d20>]
hpsa_send_abort+0xa0/0x250 [hpsa]
Aug 23 14:00:10 kernel: [349305.555000]  [<ffffffffc02a7ff3>]
hpsa_eh_abort_handler+0x683/0x1290 [hpsa]
Aug 23 14:00:10 kernel: [349305.575005]  [<ffffffffc02a3d20>]
hpsa_send_abort+0xa0/0x250 [hpsa]
Aug 23 14:00:10 kernel: [349305.575019]  [<ffffffffc02a7ff3>]
hpsa_eh_abort_handler+0x683/0x1290 [hpsa]
Aug 23 14:02:10 kernel: [349425.572350]  [<ffffffffc02a3d20>]
hpsa_send_abort+0xa0/0x250 [hpsa]
Aug 23 14:02:10 kernel: [349425.572364]  [<ffffffffc02a7ff3>]
hpsa_eh_abort_handler+0x683/0x1290 [hpsa]
Aug 23 14:02:10 kernel: [349425.682988]  [<ffffffffc02a3d20>]
hpsa_send_abort+0xa0/0x250 [hpsa]
Aug 23 14:02:10 kernel: [349425.683001]  [<ffffffffc02a7ff3>]
hpsa_eh_abort_handler+0x683/0x1290 [hpsa]
Aug 23 14:03:10 kernel: [349457.674593] hpsa 0000:05:00.0: Controller lockup
detected: 0x00130001
Aug 23 14:03:38 kernel: [349485.657605] Workqueue: events
hpsa_monitor_ctlr_worker [hpsa]
Aug 23 14:03:38 kernel: [349485.657736]  <<EOE>>  [<ffffffffc02a5384>]
fail_all_cmds_on_list+0x74/0x6c0 [hpsa]
Aug 23 14:03:38 kernel: [349485.657765]  [<ffffffffc02aa9bb>]
hpsa_monitor_ctlr_worker+0x40b/0x4e0 [hpsa]
Aug 23 14:03:43 kernel: [349518.024245] Workqueue: events
hpsa_monitor_ctlr_worker [hpsa]
Aug 23 14:04:10 kernel: [349545.689592]  [<ffffffffc02a3d20>]
hpsa_send_abort+0xa0/0x250 [hpsa]
Aug 23 14:04:10 kernel: [349545.689605]  [<ffffffffc02a7ff3>]
hpsa_eh_abort_handler+0x683/0x1290 [hpsa]
Aug 23 14:04:10 kernel: [349545.805674]  [<ffffffffc02a3d20>]
hpsa_send_abort+0xa0/0x250 [hpsa]
Aug 23 14:04:10 kernel: [349545.805693]  [<ffffffffc02a7ff3>]
hpsa_eh_abort_handler+0x683/0x1290 [hpsa]
Aug 23 14:06:11 kernel: [349665.810469]  [<ffffffffc02a3d20>]
hpsa_send_abort+0xa0/0x250 [hpsa]
Aug 23 14:06:11 kernel: [349665.810483]  [<ffffffffc02a7ff3>]

hpsa_eh_abort_handler+0x683/0x1290 [hpsa]

W.

#9 lore raw
Quoted 11 lines · Wouter Depuydt <wouter.depuydt <at> gmail.com> writes:
Quoted 6 lines

-----Original Message-----
From: Peter Zijlstra [mailto:peterz <at> infradead.org]
Sent: Friday, May 22, 2015 11:40 AM
To: Tomas Henzl
Cc: Oelke, Mark; don.brace <at> pmcs.com; ISS StorageDev; storagedev <at>

pmcs.com; linux-scsi <at> vger.kernel.org

Quoted 4 lines

Subject: Re: [BUG] hpsa: Controller lockup detected: 0x00150028

Quoted 1 line · Tomas Henzl
Quoted 1 line
Quoted 1 line

I've updated to 6.62 and it appears to be working now; or rather,

it has

Quoted 6 lines
Quoted 5 lines

I've since gotten 6.64 from HP to test; which does not seem public yet.

6.64 actually fixes the issue for me.

Quoted 7 lines

Hi everone,

I've experienced a similar problem with a P411 controller in HBA mode.
Serial Number PDNMH0ARH8P04A
Model HP Smart Array P441 Controller
Firmware Version 2.52

Other System info:

HP Proliant D380p Gen9
Ubuntu LTS 14.04

ii  linux-image-3.19.0-26-generic
ii  linux-image-extra-3.19.0-26-generic
ii  linux-image-generic-lts-vivid       
#10 lore raw
Quoted 28 lines · Wouter Depuydt
Quoted 10 lines · Wouter Depuydt <wouter.depuydt <at> gmail.com> writes:
Quoted 5 lines

-----Original Message-----
From: Peter Zijlstra [mailto:peterz <at> infradead.org]
Sent: Friday, May 22, 2015 11:40 AM
To: Tomas Henzl
Cc: Oelke, Mark; don.brace <at> pmcs.com; ISS StorageDev; storagedev <at>

pmcs.com; linux-scsi <at> vger.kernel.org

Quoted 4 lines

Subject: Re: [BUG] hpsa: Controller lockup detected: 0x00150028

Quoted 1 line · Tomas Henzl
Quoted 1 line
Quoted 1 line

I've updated to 6.62 and it appears to be working now; or rather,

it has

Quoted 11 lines
Quoted 4 lines

I've since gotten 6.64 from HP to test; which does not seem public yet.

6.64 actually fixes the issue for me.

Hi everone,

I've experienced a similar problem with a P411 controller in HBA mode.
Serial Number PDNMH0ARH8P04A
Model HP Smart Array P441 Controller
Firmware Version 2.52

Other System info:

HP Proliant D380p Gen9
Ubuntu LTS 14.04

Quoted 8 lines
ii  linux-image-3.19.0-26-generic
ii  linux-image-extra-3.19.0-26-generic
ii  linux-image-generic-lts-vivid

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

I see this issue addressed in the Firmware update page under the "Fixes" tab.
http://h20564.www2.hpe.com/hpsc/swd/public/detail?sp4ts.oid=3984645&swItemId=MTX_55b304486f544f148de6c5cc6e&swEnvOid=4103#tab4

Problems Fixed:

Running SMARTCTL (smartmontools) on HP Proliant G6/G7 (Px1x) Smart
Array controllers that have firmware version 5.70 to 6.62 installed with SATA drives attached may result in system not responding or reboot. Wehn reboot occurred, a reboot 1719 POST error message with lockup 0x15 displayed.

Hope this helps you.