* 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[parent not found: <80712959.1075733001-GZumfx3jmlwhxhjGrziYQKfZQGhMgmcGN7jzCyCsa88@public.gmane.org>]
* Re: ACPI state 4 [not found] ` <80712959.1075733001-GZumfx3jmlwhxhjGrziYQKfZQGhMgmcGN7jzCyCsa88@public.gmane.org> @ 2004-02-02 21:02 ` Stefan Seyfried 2004-02-03 12:32 ` Pavel Machek 1 sibling, 0 replies; 4+ messages in thread From: Stefan Seyfried @ 2004-02-02 21:02 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Mon, Feb 02, 2004 at 02:43:21PM -0500, Henry Umansky wrote: > 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 suspending a minimal system (no sound driver, no USB driver, no X). If this works, add one service a time and try out, which one behaves badly. I have to stop hotplug and remove USB modules to suspend my machines, probably you need something similar. > 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 Don't know about your text files, but i always do a sync; blockdev --flushbufs /dev/hda prior to suspending. -- Stefan Seyfried ------------------------------------------------------- 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
* Re: ACPI state 4 [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> 1 sibling, 1 reply; 4+ messages in thread From: Pavel Machek @ 2004-02-03 12:32 UTC (permalink / raw) To: Henry Umansky; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Hi! > 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 I suggest doing sync; echo 4 > sleep ...just to be safe. > 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. AGP likes to do this. Try without that one. Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] ------------------------------------------------------- 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
[parent not found: <20040203123229.GB1405-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>]
* Re: ACPI state 4 [not found] ` <20040203123229.GB1405-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org> @ 2004-02-03 13:13 ` Bruno Ducrot 0 siblings, 0 replies; 4+ messages in thread From: Bruno Ducrot @ 2004-02-03 13:13 UTC (permalink / raw) To: Pavel Machek; +Cc: Henry Umansky, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Tue, Feb 03, 2004 at 01:32:29PM +0100, Pavel Machek wrote: > Hi! > > > 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 > > I suggest doing > > sync; echo 4 > sleep > > ...just to be safe. It's fine also to test in single mode. -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- 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