public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* ACPI state 4
@ 2004-02-02 19:43 Henry Umansky
       [not found] ` <80712959.1075733001-GZumfx3jmlwhxhjGrziYQKfZQGhMgmcGN7jzCyCsa88@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Henry Umansky @ 2004-02-02 19:43 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello,
I just compiled Linux kernel 2.6.1 with ACPI support and I wanted to test 
out the different sleep states.  So I ran the command:

$echo 4 > /proc/acpi/sleep

And it started freeing up memory and everything looked like it worked. 
Then my computer shut off.  When I pressed the power button, it started up 
and I started my linux kernel with the following GRUB commands:

root (hd0,0)
kernel /vmlinuz resume=/dev/hda2

And it looks like ACPI attempts to read the state from the swap partition 
(/dev/hda2) but then it reboots all of a sudden.  This happens everytime I 
try to recover.  When I try to boot normally, most of my files are corrupt. 
I'm guessing that when I entered the S4 sleep state, everything in the swap 
partition didn't sync with my hard drive, because a lot of my text files 
are corrupt and can't be read anymore.  I apologize if I didn't include 
enough information, because I'm new to this mailing list and this is the 
first "real" time I've messed with ACPI.  Let me know if you need anymore 
information.

Thank you,
Henry

PS-this might help, but when I did a cat /proc/acpi/sleep is showed S0, S1, 
S2, S3, S4bios, and S5.  Maybe also S6 but I can't remember and since I 
don't have a stable running system, I can't really check.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-02-03 13:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-02 19:43 ACPI state 4 Henry Umansky
     [not found] ` <80712959.1075733001-GZumfx3jmlwhxhjGrziYQKfZQGhMgmcGN7jzCyCsa88@public.gmane.org>
2004-02-02 21:02   ` Stefan Seyfried
2004-02-03 12:32   ` Pavel Machek
     [not found]     ` <20040203123229.GB1405-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-02-03 13:13       ` Bruno Ducrot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox