[Bug 340014] Re: Samsung NC10 fails suspend/Resume tests

Thilo-Alexander Ginkel thilo at ginkel.com
Sat Sep 5 06:25:32 UTC 2009


After a lengthy analysis via the referenced Linux Kernel bug report
(thanks, Tejun!) it turned out that the HDD most commonly built into the
NC10, a SAMSUNG HM160HI, responds kind of picky when handling the APM
feature of the ATAPI SET FEATURE command (typically invoked by hdparm
-B) and most likely gets stuck if it receives the command while some
load is placed on the system or it receives the same comand multiple
times in a row.

There are two candidates, which do this after resuming and/or changing
the battery state: laptop-mode and acpi-support.

While laptop-mode offers a switch (CONTROL_HD_POWERMGMT) in /etc/laptop-
mode/laptop-mode.conf to turn off this behavior, acpi-support offers no
way of turning off this behavior (apart from turning on
CONTROL_HD_POWERMGMT for laptop-mode). If you'd like to debug which
commands are sent to the HDD, there is a debugging patch available,
which allows printing out all non-data related commands sent to the HDD:
http://bugzilla.kernel.org/show_bug.cgi?id=13416#c51

Consequently, I am switching over this report to the acpi-support
package.

As a quick workaround, get rid of all 90-hdparm.sh files below
/etc/acpi/ and make sure that CONTROL_HD_POWERMGMT is set to 0 in /etc
/laptop-mode/laptop-mode.conf.

** Also affects: acpi-support (Ubuntu)
   Importance: Undecided
       Status: New

-- 
Samsung NC10 fails suspend/Resume tests
https://bugs.launchpad.net/bugs/340014
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.




More information about the kernel-bugs mailing list