When SCSI bus hangs SES driver indefinitely block any process accessing LED status for devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
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/
root 588 0.0 0.0 7152 612 pts/6 D+ 08:40 0:00 cat /sys/class/
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:/
Changed in linux (Ubuntu): | |
status: | Incomplete → Opinion |
status: | Opinion → Confirmed |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1454158
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.