Bug 9705
Summary: | Cannot resume from STR on Linux | ||
---|---|---|---|
Product: | Power Management | Reporter: | Alessandro Guido (ag) |
Component: | Hibernation/Suspend | Assignee: | power-management_other |
Status: | CLOSED DUPLICATE | ||
Severity: | normal | CC: | bunk, lenb |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.24-rc7 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 7216 | ||
Attachments: |
dmesg
New dmesg with pm_test = core |
Description
Alessandro Guido
2008-01-07 04:59:58 UTC
Created attachment 14326 [details]
dmesg
the problem also occurs without the nvidia proprietary module loaded.
Please apply the patches from: http://www.sisk.pl/kernel/hibernation_and_suspend/2.6.24-rc7/patches/ on top of 2.6.24-rc7, compile the kernel with CONFIG_PM_DEBUG set, install it, boot it (without the nvidia module) and do: # echo 8 > /proc/sys/kernel/printk # echo core > /sys/power/pm_test # echo mem > /sys/power/state (it should run the suspend sequence without actually suspending, busy loop for 5 seconds and run the resume sequence). Created attachment 14434 [details]
New dmesg with pm_test = core
This is the dmesg after:
# echo 8 > /proc/sys/kernel/printk
# echo core > /sys/power/pm_test
# echo mem > /sys/power/state
This means the problem occurs when the system sleep state is actually entered or that it's fixed by one of the patches in the series. Can you check if normal suspend works with these patches? Also, can you please verify that s2ram doesn't help (http://suspend.sourceforge.net/docs.shtml)? eh, actually it seems I found a way to make STR work on my laptop: suspending from X using the proprietary nvidia module! using the free "nv" module doesn't work as doesn't work trying to suspend from console with nvidia.ko loaded but without X running. So, is this the best I can get? I mean, should I try to debug it furtherly or will I never make any progress? Btw I'm going to try if a plain 2.6.24-rc7 without those patches will work. unpatched kernel works too Good. It might be possible to make the suspend work with nv and s2ram, but I'm not sure if that's worthy of investing time into. Anyway, this means the problem is we don't initialize the graphics appropriately during suspend, so that's a duplicate of Bug 7225. *** This bug has been marked as a duplicate of bug 7225 *** s/during suspend/during resume/ |