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





--- Comment #21 from Sanjoy Mahajan <san...@mit.edu>  2009-04-13 03:34:14 ---
> okay, but I think you'd better use a script to save the dmesg before suspend
> every time when you want to do a S3.

Good idea.  But if I use a script like

dmesg > /root/s3hang/before.dmesg
echo mem > /sys/power/state

how will it work?  The before.dmesg file will contain all dmesgs, but
only before the S3 suspend started.  The messages generated during the
suspend won't be saved anywhere.  Or is there a way to save those too?

The obvious solutions like

dmesg > /root/s3hang/before.dmesg
echo mem > /sys/power/state
dmesg > /root/s3hang/after.dmesg

won't work since the second dmesg won't run until resume, and even then,
it won't save the file until a sync.

Or am I missing a clever method?

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to