[Bug 1757481] Re: Only enable APM on disks that advertise it
Brian Murray
brian at ubuntu.com
Thu Mar 22 19:35:41 UTC 2018
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/PerformingSRUVerification . Thank you in
advance!
** Changed in: hdparm (Ubuntu Artful)
Status: In Progress => Fix Committed
** Tags added: verification-needed verification-needed-artful
** Changed in: hdparm (Ubuntu Xenial)
Status: In Progress => Fix Committed
** Tags added: verification-needed-xenial
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to hdparm in Ubuntu.
https://bugs.launchpad.net/bugs/1757481
Title:
Only enable APM on disks that advertise it
Status in hdparm package in Ubuntu:
Fix Released
Status in hdparm source package in Xenial:
Fix Committed
Status in hdparm source package in Artful:
Fix Committed
Status in hdparm source package in Bionic:
Fix Released
Status in hdparm package in Debian:
Fix Released
Bug description:
[Impact]
hdparm can cause certain systems to occasionally fail to boot. hdparm tries to enable APM on every (non-USB/non-firewire) disk in the system without first checking if APM is supported. This *should*
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/non-firewire disk that does not support APM and verify that there are no kernel messages like:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/1757481/+subscriptions
More information about the foundations-bugs
mailing list