http://bugzilla.kernel.org/show_bug.cgi?id=12878





--- Comment #56 from Eddy Petrișor <eddy.petrisor+lin...@gmail.com>  2009-07-06 
09:55:04 ---
(In reply to comment #55)
> Hi, Eddy
>     Will you please do the following test on the 2.6.30 distribution?
>     a. kill the process which is using /proc/acpi/event
>     b. dmesg >dmesg_before; echo mem > /sys/power/state; dmesg >dmesg_after;
> sync;
>     c. press the power button and see whether the box can be resumed. 
>     If it can't be resumed, please reboot the box and check whether there
> exists the file of dmesg_after

Something like the script I used?

0 e...@heidi ~ $ cat /root/bin/sleepit 
#!/bin/sh

FAILEDRESUME=/failed-resume
RESUMED=/resumed

modprobe i915
invoke-rc.d acpid stop
echo "$(uname -r)" > $FAILEDRESUME
dmesg >dmesg_before_$(uname -r); echo mem > /sys/power/state; dmesg
>dmesg_after_$(uname -r); sync
echo 'resumed, oh my god' > resumed
echo "$(uname -r)" >> $RESUMED
rm -f $FAILEDRESUME
sync
sleep 10
reboot

> If there is no file of dmesg_after, maybe it can't be resumed from BIOS.

The machine is perfectly capable or resuming; as I said before, I did a bisect
and some kernels before the commit I indicated did resume properly.


0 e...@heidi /root/var/debug/sleep/regression $ ls -l */dmesg_after_*
-rw-r--r-- 1 root root 32896 2009-07-02 02:26
2.6.18-128.el5/dmesg_after_2.6.18-128.el5
-rw-r--r-- 1 root root 30945 2009-06-19 03:03
2.6.20-rc2-g0f5486ec-heidi/dmesg_after_2.6.20-rc2-g0f5486ec-heidi
-rw-r--r-- 1 root root 43534 2009-06-20 12:05
2.6.22-g0a85e9a2-heidi/dmesg_after_2.6.22-g0a85e9a2-heidi
-rw-r--r-- 1 root root 35077 2009-06-20 01:12
2.6.22-g0c73f18b-heidi/dmesg_after_2.6.22-g0c73f18b-heidi
-rw-r--r-- 1 root root 42770 2009-06-20 21:39
2.6.22-g4fd06960-heidi/dmesg_after_2.6.22-g4fd06960-heidi
-rw-r--r-- 1 root root 41439 2009-06-20 02:09
2.6.22-g4fda25a2-heidi/dmesg_after_2.6.22-g4fda25a2-heidi
-rw-r--r-- 1 root root 33534 2009-06-19 10:21
2.6.22-g7dcca30a-heidi/dmesg_after_2.6.22-g7dcca30a-heidi
-rw-r--r-- 1 root root 42821 2009-06-20 05:01
2.6.22-g7e69c3ac-heidi/dmesg_after_2.6.22-g7e69c3ac-heidi
-rw-r--r-- 1 root root 42962 2009-06-20 11:35
2.6.22-gc6e16295-heidi/dmesg_after_2.6.22-gc6e16295-heidi
-rw-r--r-- 1 root root 42871 2009-06-20 03:41
2.6.22-gf2d98ae6-heidi/dmesg_after_2.6.22-gf2d98ae6-heidi

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
------------------------------------------------------------------------------
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to