← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1757481] Re: Only enable APM on disks that advertise it

 

** Bug watch added: Debian Bug tracker #891051
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891051

** Also affects: hdparm (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891051
   Importance: Unknown
       Status: Unknown

-- 
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
Status in hdparm package in Debian:
  Unknown

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


References