group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #22416
[Bug 1757481] [NEW] Only enable APM on disks that advertise it
Public bug reported:
[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.
** Affects: hdparm (Ubuntu)
Importance: Undecided
Status: Fix Released
** Affects: hdparm (Ubuntu Xenial)
Importance: Undecided
Assignee: dann frazier (dannf)
Status: In Progress
** Affects: hdparm (Ubuntu Artful)
Importance: Undecided
Assignee: dann frazier (dannf)
Status: In Progress
** Affects: hdparm (Ubuntu Bionic)
Importance: Undecided
Status: Fix Released
** Also affects: hdparm (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: hdparm (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: hdparm (Ubuntu Artful)
Importance: Undecided
Status: New
** 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
** Changed in: hdparm (Ubuntu Xenial)
Assignee: (unassigned) => dann frazier (dannf)
** Changed in: hdparm (Ubuntu Artful)
Assignee: (unassigned) => dann frazier (dannf)
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
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:
In Progress
Status in hdparm source package in Artful:
In Progress
Status in hdparm source package in Bionic:
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
Follow ups