← Back to team overview

kernel-packages team mailing list archive

[Bug 1454158] [NEW] When SCSI bus hangs SES driver indefinitely block any process accessing LED status for devices

 

Public bug reported:

Ubuntu 14.04, 3.13.0-40-generic

Configuration:

SCSI (mpt2sas, 16.100.00.00) with few enclosures with SATA disks.

Situation:
One of enclosures is hung and do not reply to any requests (including reset). All sg_* command to any device behind hanged enclosure, including enclosure itself, are stuck in the 'D' state.

Problem:
Access to sysfs place processes in 'D' state:

cat /sys/class/enclosure/5\:0\:46\:0/Slot\ 01/locate

root       588  0.0  0.0   7152   612 pts/6    D+   08:40   0:00 cat
/sys/class/enclosure/5:0:46:0/Slot 01/locate

Proposed solution: Add timeout to ses devices independent of HBA driver.

Rationale: Accessing to sysfs do not expect to be 'real IO' with chances
to hung in 'D' forever.

Kernel bugzilla bug: https://bugzilla.kernel.org/show_bug.cgi?id=98121

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

-- 
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/1454158

Title:
   When SCSI bus hangs SES driver indefinitely block any process
  accessing LED status for devices

Status in linux package in Ubuntu:
  New

Bug description:
  Ubuntu 14.04, 3.13.0-40-generic

  Configuration:

  SCSI (mpt2sas, 16.100.00.00) with few enclosures with SATA disks.

  Situation:
  One of enclosures is hung and do not reply to any requests (including reset). All sg_* command to any device behind hanged enclosure, including enclosure itself, are stuck in the 'D' state.

  Problem:
  Access to sysfs place processes in 'D' state:

  cat /sys/class/enclosure/5\:0\:46\:0/Slot\ 01/locate

  root       588  0.0  0.0   7152   612 pts/6    D+   08:40   0:00 cat
  /sys/class/enclosure/5:0:46:0/Slot 01/locate

  Proposed solution: Add timeout to ses devices independent of HBA
  driver.

  Rationale: Accessing to sysfs do not expect to be 'real IO' with
  chances to hung in 'D' forever.

  Kernel bugzilla bug: https://bugzilla.kernel.org/show_bug.cgi?id=98121

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


Follow ups

References