After a LOT of fighting, I finally managed to make my laptop come back from RAM without the screen staying black by switching the backend to uswsusp. The problem, however, is that whenever I come back from RAM, I am left with no rootfs which I consider unfortunate since it makes logging and easy debugging impossible. I have no idea if the problem is the HDD not spinning up again or if the rootfs simply isn't remounting because obviously no commands are available to me after resuming. I've played around with this quite a lot and thus I'm now querying the collective intelligence of these powerful forums. Interestingly, hibernate is working just fine.
I'm calling pm-suspend --auto-quirks.
I do not expect it to be an ext4 issue because it gave the same trouble with ext3.
Some specs first:
Acer Travelmate 803LCi
512MB slow-ass RAM
80GB ext4 rootfs
200MB ext2 boot
Some configs now (only relevant lines of them):
MODULES="pata_acpi ata_generic scsi_mod ata_piix ext2 ext3 ext4" HOOKS="base udev autodetect pata scsi sata keymap uresume filesystems"
MOD_AUTOLOAD="yes" MODULES=(fuse b44 acerhk mii acpi-cpufreq cpufreq_conservative cpufreq_ondemand cpufreq_powersave ipw2100 ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 snd-intel8x0m soundcore !pcspkr)
Last edited by Svenstaro (2009-01-18 03:54:58)
Do you use laptop-mode-tools?
-- it remounts partitions so just maybe there is a problem, solution: a pm-utils hook that stops it prior to suspending and restarts it after resuming
Could you also suspend psmouse module?
-- psmouse is known to cause all kinds of problems on Acer machines
Can acerhk be replaced with acer-wmi considering your hardware?
-- it was called acer-acpi, a successor of acerhk, now it's called acer-wmi and it's in the kernel
Why do you remove acerhk module?
-- just wondering, why do you need to remove it
You need to install an RTFM interface.
I'm not using laptop-mode-tools but apart from that I just tried all you said, in various combinations and quite a bit more than that.
The only thing available to me after I get back from resume are the bash built-ins. Any way I can do anything useful with echo and read in this situation?
I'm one SAD panda.
Last edited by Svenstaro (2009-01-21 04:17:55)