From: Henry U. <hm...@pi...> - 2004-02-02 19:45:30
|
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. |