Only enable APM on disks that advertise it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hdparm (Debian) |
Fix Released
|
Unknown
|
|||
hdparm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
dann frazier | ||
Artful |
Fix Released
|
Undecided
|
dann frazier | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
hdparm can cause certain systems to occasionally fail to boot. hdparm tries to enable APM on every (non-USB/
be OK, since hdparm fails gracefully in this case. However, sending APM commands to disks that don't support it can have side-effects. I received a report that this was causing bus resets on a Cavium Sabre system with the disk below that would sometimes escalate to a boot failure.
[Test Case]
Boot a system with a non-USB/
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 04 53 40 fe 21 04
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
APM_level = not supported
[Regression Risk]
This change entered Debian and Ubuntu 1 month ago, and no regressions have been reported. One source of regressions might be that configuring APM on a disk that claims not to support it did have some positive side-effect that would no longer occur.
Changed in hdparm (Ubuntu Bionic): | |
status: | New → Fix Released |
Changed in hdparm (Ubuntu Artful): | |
status: | New → In Progress |
Changed in hdparm (Ubuntu Xenial): | |
status: | New → In Progress |
assignee: | nobody → dann frazier (dannf) |
Changed in hdparm (Ubuntu Artful): | |
assignee: | nobody → dann frazier (dannf) |
Changed in hdparm (Debian): | |
status: | Unknown → Fix Released |
Hello dann, or anyone else affected,
Accepted hdparm into artful-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ hdparm/ 9.51+ds- 1ubuntu0. 1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification- needed- artful to verification- done-artful. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- artful. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!