https://bugzilla.kernel.org/show_bug.cgi?id=15951





--- Comment #25 from Michal Hocko <mho...@suse.cz>  2010-06-17 11:38:23 ---
OK, so recap what should be tested:
1) "echo core > /sys/power/pm_test
   powersave -u (btw. my debian box doesn't have this - what is the equivalent?
- simple suspend to ram?)

2) check whether acpi_power_off_prepare is called during poweroff
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index 3fb4bde..0fab34e 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -685,6 +685,8 @@ static void acpi_power_off_prepare(void)
        /* Prepare to power off the system */
        acpi_sleep_prepare(ACPI_STATE_S5);
        acpi_disable_all_gpes();
+
+       while (1) cpu_relax();
 }

 static void acpi_power_off(void)

3) try patch from comment 22

4) try patch from comment 23 if 3) fails

Is that correct?

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to