← Back to team overview

kernel-packages team mailing list archive

[Bug 1467923] [NEW] HP Smart Array Controller kernel driver crash when running smartctl

 

Public bug reported:

Description:    Ubuntu 14.04.2 LTS
Release:        14.04

System Information
        Manufacturer: HP
        Product Name: ProLiant DL180 G6 
        Version: EW94MP0001

Smart Array P410 in Slot 1
   Hardware Revision: C
   Firmware Version: 6.62
   Driver Name: hpsa
   Driver Version: 3.4.0

   Enclosure SEP (Vendor ID HP, Model DL18xG6BP) 248
      Device Number: 248
      Firmware Version: 2.20
      Port: 1I
      Box: 1
      Vendor ID: HP     
      Model: DL18xG6BP      

   Expander 250
      Device Number: 250
      Firmware Version: 2.20
      Port: 1I
      Box: 1
      Vendor ID: HP     

   SEP (Vendor ID PMCSIERA, Model  SRC 8x6G) 249
      Device Number: 249
      Firmware Version: RevC
      Vendor ID: PMCSIERA
      Model:  SRC 8x6G

Tested on 4 servers.
They all have the latest firmware.
OS is Ubuntu 14.04.

Tested with kernel 3.13.0, 3.16.0, 3.19.0.

To reproduce the crash faster:

I have created a script and run:

smartctl -a -d cciss,x /dev/sg0, where x=0..11

in a while (true).

It crashed in less than a minute.

=======================================
[Jun 10 10:16:17] kernel: [   13.422630] Fusion MPT base driver 3.04.20
[Jun 10 10:16:17] kernel: [   13.422631] Copyright (c) 1999-2008 LSI Corporation
[Jun 10 10:16:17] kernel: [   13.427318] Fusion MPT misc device (ioctl) driver 3.04.20
[Jun 10 10:16:17] kernel: [   13.427497] mptctl: Registered with Fusion MPT base driver
[Jun 10 10:16:17] kernel: [   13.427499] mptctl: /dev/mptctl @ (major,minor=10,220)

[Jun 10 12:24:05] kernel: [ 7681.185037] INFO: task smartctl:22654 blocked for more than 120 seconds.
[Jun 10 12:24:05] kernel: [ 7681.185510]       Tainted: G          I   3.13.0-53-generic #89-Ubuntu
[Jun 10 12:24:05] kernel: [ 7681.185911] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[Jun 10 12:24:05] kernel: [ 7681.186439] smartctl        D ffff88013bc33180     0 22654  22653 0x00000000
[Jun 10 12:24:05] kernel: [ 7681.186445]  ffff8800baeedbd0 0000000000000086 ffff8801382fc800 ffff8800baeedfd8
[Jun 10 12:24:05] kernel: [ 7681.186450]  0000000000013180 0000000000013180 ffff8801382fc800 ffff8800baeedcf8
[Jun 10 12:24:05] kernel: [ 7681.186454]  ffff8800baeedd00 7fffffffffffffff ffff8801382fc800 0000000000000000
[Jun 10 12:24:05] kernel: [ 7681.186458] Call Trace:
[Jun 10 12:24:05] kernel: [ 7681.186474]  [<ffffffff81727229>] schedule+0x29/0x70
[Jun 10 12:24:05] kernel: [ 7681.186478]  [<ffffffff81726479>] schedule_timeout+0x239/0x2d0
[Jun 10 12:24:05] kernel: [ 7681.186483]  [<ffffffff81727d46>] wait_for_completion+0xa6/0x160
[Jun 10 12:24:05] kernel: [ 7681.186492]  [<ffffffff8109ab20>] ? wake_up_state+0x20/0x20
[Jun 10 12:24:05] kernel: [ 7681.186503]  [<ffffffffa0015d15>] hpsa_scsi_do_simple_cmd_core_if_no_lockup+0x75/0xa0 [hpsa]
[Jun 10 12:24:05] kernel: [ 7681.186508]  [<ffffffffa0018455>] hpsa_passthru_ioctl+0x265/0x3c0 [hpsa]
[Jun 10 12:24:05] kernel: [ 7681.186514]  [<ffffffffa001e90b>] hpsa_ioctl+0x15b/0x1c0 [hpsa]
[Jun 10 12:24:05] kernel: [ 7681.186521]  [<ffffffff814df00a>] scsi_ioctl+0x31a/0x420
[Jun 10 12:24:05] kernel: [ 7681.186528]  [<ffffffff814fdbcb>] sg_ioctl+0xdb/0xda0
[Jun 10 12:24:05] kernel: [ 7681.186533]  [<ffffffff811d1350>] do_vfs_ioctl+0x2e0/0x4c0
[Jun 10 12:24:05] kernel: [ 7681.186539]  [<ffffffff811cdf62>] ? final_putname+0x22/0x50
[Jun 10 12:24:05] kernel: [ 7681.186542]  [<ffffffff811d15b1>] SyS_ioctl+0x81/0xa0
[Jun 10 12:24:05] kernel: [ 7681.186547]  [<ffffffff8173391d>] system_call_fastpath+0x1a/0x1f

=======================================================
[Jun 10 15:35:15] kernel: [ 9960.756196] INFO: task smartctl:30773 blocked for more than 120 seconds.
[Jun 10 15:35:15] kernel: [ 9960.756641]       Tainted: G          I   3.16.0-38-generic #52~14.04.1-Ubuntu
[Jun 10 15:35:15] kernel: [ 9960.757192] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[Jun 10 15:35:15] kernel: [ 9960.757671] smartctl        D ffff88023fc330c0     0 30773  30772 0x00000000
[Jun 10 15:35:15] kernel: [ 9960.757675]  ffff880238dfbbe0 0000000000000082 ffff880237fed180 ffff880238dfbfd8
[Jun 10 15:35:15] kernel: [ 9960.757678]  00000000000130c0 00000000000130c0 ffff880139c80a30 ffff880238dfbd08
[Jun 10 15:35:15] kernel: [ 9960.757681]  ffff880238dfbd10 7fffffffffffffff ffff880237fed180 ffff8800b9c32000
[Jun 10 15:35:15] kernel: [ 9960.757684] Call Trace:
[Jun 10 15:35:15] kernel: [ 9960.757688]  [<ffffffff817699f9>] schedule+0x29/0x70
[Jun 10 15:35:15] kernel: [ 9960.757691]  [<ffffffff81768dd9>] schedule_timeout+0x229/0x2a0
[Jun 10 15:35:15] kernel: [ 9960.757694]  [<ffffffff8176a4f6>] wait_for_completion+0xa6/0x160
[Jun 10 15:35:15] kernel: [ 9960.757697]  [<ffffffff810a1550>] ? wake_up_state+0x20/0x20
[Jun 10 15:35:15] kernel: [ 9960.757703]  [<ffffffffc03ef241>] hpsa_scsi_do_simple_cmd_core_if_no_lockup+0x61/0x80 [hpsa]
[Jun 10 15:35:15] kernel: [ 9960.757708]  [<ffffffffc03f19cf>] hpsa_passthru_ioctl+0x28f/0x400 [hpsa]
[Jun 10 15:35:15] kernel: [ 9960.757714]  [<ffffffffc03f6bab>] hpsa_ioctl+0x16b/0x210 [hpsa]
[Jun 10 15:35:15] kernel: [ 9960.757717]  [<ffffffff81504d2a>] scsi_ioctl+0x30a/0x410
[Jun 10 15:35:15] kernel: [ 9960.757720]  [<ffffffff8152025b>] sg_ioctl+0xdb/0xd80
[Jun 10 15:35:15] kernel: [ 9960.757724]  [<ffffffff811e7360>] do_vfs_ioctl+0x2e0/0x4c0
[Jun 10 15:35:15] kernel: [ 9960.757726]  [<ffffffff811e3d12>] ? final_putname+0x22/0x50
[Jun 10 15:35:15] kernel: [ 9960.757729]  [<ffffffff811e3fb9>] ? putname+0x29/0x40
[Jun 10 15:35:15] kernel: [ 9960.757732]  [<ffffffff811f1c6d>] ? set_close_on_exec+0x4d/0x70
[Jun 10 15:35:15] kernel: [ 9960.757735]  [<ffffffff811e75c1>] SyS_ioctl+0x81/0xa0
[Jun 10 15:35:15] kernel: [ 9960.757739]  [<ffffffff8176da4d>] system_call_fastpath+0x1a/0x1f

Thank you.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: kernel-bug

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1467923

Title:
  HP Smart Array Controller kernel driver crash when running smartctl

Status in linux package in Ubuntu:
  New

Bug description:
  Description:    Ubuntu 14.04.2 LTS
  Release:        14.04

  System Information
          Manufacturer: HP
          Product Name: ProLiant DL180 G6 
          Version: EW94MP0001

  Smart Array P410 in Slot 1
     Hardware Revision: C
     Firmware Version: 6.62
     Driver Name: hpsa
     Driver Version: 3.4.0

     Enclosure SEP (Vendor ID HP, Model DL18xG6BP) 248
        Device Number: 248
        Firmware Version: 2.20
        Port: 1I
        Box: 1
        Vendor ID: HP     
        Model: DL18xG6BP      

     Expander 250
        Device Number: 250
        Firmware Version: 2.20
        Port: 1I
        Box: 1
        Vendor ID: HP     

     SEP (Vendor ID PMCSIERA, Model  SRC 8x6G) 249
        Device Number: 249
        Firmware Version: RevC
        Vendor ID: PMCSIERA
        Model:  SRC 8x6G

  Tested on 4 servers.
  They all have the latest firmware.
  OS is Ubuntu 14.04.

  Tested with kernel 3.13.0, 3.16.0, 3.19.0.

  To reproduce the crash faster:

  I have created a script and run:

  smartctl -a -d cciss,x /dev/sg0, where x=0..11

  in a while (true).

  It crashed in less than a minute.

  =======================================
  [Jun 10 10:16:17] kernel: [   13.422630] Fusion MPT base driver 3.04.20
  [Jun 10 10:16:17] kernel: [   13.422631] Copyright (c) 1999-2008 LSI Corporation
  [Jun 10 10:16:17] kernel: [   13.427318] Fusion MPT misc device (ioctl) driver 3.04.20
  [Jun 10 10:16:17] kernel: [   13.427497] mptctl: Registered with Fusion MPT base driver
  [Jun 10 10:16:17] kernel: [   13.427499] mptctl: /dev/mptctl @ (major,minor=10,220)

  [Jun 10 12:24:05] kernel: [ 7681.185037] INFO: task smartctl:22654 blocked for more than 120 seconds.
  [Jun 10 12:24:05] kernel: [ 7681.185510]       Tainted: G          I   3.13.0-53-generic #89-Ubuntu
  [Jun 10 12:24:05] kernel: [ 7681.185911] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
  [Jun 10 12:24:05] kernel: [ 7681.186439] smartctl        D ffff88013bc33180     0 22654  22653 0x00000000
  [Jun 10 12:24:05] kernel: [ 7681.186445]  ffff8800baeedbd0 0000000000000086 ffff8801382fc800 ffff8800baeedfd8
  [Jun 10 12:24:05] kernel: [ 7681.186450]  0000000000013180 0000000000013180 ffff8801382fc800 ffff8800baeedcf8
  [Jun 10 12:24:05] kernel: [ 7681.186454]  ffff8800baeedd00 7fffffffffffffff ffff8801382fc800 0000000000000000
  [Jun 10 12:24:05] kernel: [ 7681.186458] Call Trace:
  [Jun 10 12:24:05] kernel: [ 7681.186474]  [<ffffffff81727229>] schedule+0x29/0x70
  [Jun 10 12:24:05] kernel: [ 7681.186478]  [<ffffffff81726479>] schedule_timeout+0x239/0x2d0
  [Jun 10 12:24:05] kernel: [ 7681.186483]  [<ffffffff81727d46>] wait_for_completion+0xa6/0x160
  [Jun 10 12:24:05] kernel: [ 7681.186492]  [<ffffffff8109ab20>] ? wake_up_state+0x20/0x20
  [Jun 10 12:24:05] kernel: [ 7681.186503]  [<ffffffffa0015d15>] hpsa_scsi_do_simple_cmd_core_if_no_lockup+0x75/0xa0 [hpsa]
  [Jun 10 12:24:05] kernel: [ 7681.186508]  [<ffffffffa0018455>] hpsa_passthru_ioctl+0x265/0x3c0 [hpsa]
  [Jun 10 12:24:05] kernel: [ 7681.186514]  [<ffffffffa001e90b>] hpsa_ioctl+0x15b/0x1c0 [hpsa]
  [Jun 10 12:24:05] kernel: [ 7681.186521]  [<ffffffff814df00a>] scsi_ioctl+0x31a/0x420
  [Jun 10 12:24:05] kernel: [ 7681.186528]  [<ffffffff814fdbcb>] sg_ioctl+0xdb/0xda0
  [Jun 10 12:24:05] kernel: [ 7681.186533]  [<ffffffff811d1350>] do_vfs_ioctl+0x2e0/0x4c0
  [Jun 10 12:24:05] kernel: [ 7681.186539]  [<ffffffff811cdf62>] ? final_putname+0x22/0x50
  [Jun 10 12:24:05] kernel: [ 7681.186542]  [<ffffffff811d15b1>] SyS_ioctl+0x81/0xa0
  [Jun 10 12:24:05] kernel: [ 7681.186547]  [<ffffffff8173391d>] system_call_fastpath+0x1a/0x1f

  =======================================================
  [Jun 10 15:35:15] kernel: [ 9960.756196] INFO: task smartctl:30773 blocked for more than 120 seconds.
  [Jun 10 15:35:15] kernel: [ 9960.756641]       Tainted: G          I   3.16.0-38-generic #52~14.04.1-Ubuntu
  [Jun 10 15:35:15] kernel: [ 9960.757192] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
  [Jun 10 15:35:15] kernel: [ 9960.757671] smartctl        D ffff88023fc330c0     0 30773  30772 0x00000000
  [Jun 10 15:35:15] kernel: [ 9960.757675]  ffff880238dfbbe0 0000000000000082 ffff880237fed180 ffff880238dfbfd8
  [Jun 10 15:35:15] kernel: [ 9960.757678]  00000000000130c0 00000000000130c0 ffff880139c80a30 ffff880238dfbd08
  [Jun 10 15:35:15] kernel: [ 9960.757681]  ffff880238dfbd10 7fffffffffffffff ffff880237fed180 ffff8800b9c32000
  [Jun 10 15:35:15] kernel: [ 9960.757684] Call Trace:
  [Jun 10 15:35:15] kernel: [ 9960.757688]  [<ffffffff817699f9>] schedule+0x29/0x70
  [Jun 10 15:35:15] kernel: [ 9960.757691]  [<ffffffff81768dd9>] schedule_timeout+0x229/0x2a0
  [Jun 10 15:35:15] kernel: [ 9960.757694]  [<ffffffff8176a4f6>] wait_for_completion+0xa6/0x160
  [Jun 10 15:35:15] kernel: [ 9960.757697]  [<ffffffff810a1550>] ? wake_up_state+0x20/0x20
  [Jun 10 15:35:15] kernel: [ 9960.757703]  [<ffffffffc03ef241>] hpsa_scsi_do_simple_cmd_core_if_no_lockup+0x61/0x80 [hpsa]
  [Jun 10 15:35:15] kernel: [ 9960.757708]  [<ffffffffc03f19cf>] hpsa_passthru_ioctl+0x28f/0x400 [hpsa]
  [Jun 10 15:35:15] kernel: [ 9960.757714]  [<ffffffffc03f6bab>] hpsa_ioctl+0x16b/0x210 [hpsa]
  [Jun 10 15:35:15] kernel: [ 9960.757717]  [<ffffffff81504d2a>] scsi_ioctl+0x30a/0x410
  [Jun 10 15:35:15] kernel: [ 9960.757720]  [<ffffffff8152025b>] sg_ioctl+0xdb/0xd80
  [Jun 10 15:35:15] kernel: [ 9960.757724]  [<ffffffff811e7360>] do_vfs_ioctl+0x2e0/0x4c0
  [Jun 10 15:35:15] kernel: [ 9960.757726]  [<ffffffff811e3d12>] ? final_putname+0x22/0x50
  [Jun 10 15:35:15] kernel: [ 9960.757729]  [<ffffffff811e3fb9>] ? putname+0x29/0x40
  [Jun 10 15:35:15] kernel: [ 9960.757732]  [<ffffffff811f1c6d>] ? set_close_on_exec+0x4d/0x70
  [Jun 10 15:35:15] kernel: [ 9960.757735]  [<ffffffff811e75c1>] SyS_ioctl+0x81/0xa0
  [Jun 10 15:35:15] kernel: [ 9960.757739]  [<ffffffff8176da4d>] system_call_fastpath+0x1a/0x1f

  Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1467923/+subscriptions


Follow ups

References