Summary: | sys-kernel/genkernel-3.4.10-r1 with TuxOnIce not resuming from hibernating to swap | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Krzysztof Kozlowski <krzysztof.kozlowski> |
Component: | genkernel | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | A patch describing where genkernel fails |
Description
Krzysztof Kozlowski
2008-08-31 08:39:12 UTC
Created attachment 164159 [details, diff]
A patch describing where genkernel fails
Bug is maybe similar to #220913 .
sys-kernel/tuxonice-sources-2.6.26, Tuxonice and LZF compiled in kernel.
Attached patch (genkernel/generic/linuxrc) adds debug messages. When resuming from kernel built with modified linuxrc we can see messages:
DEBUG - going to tuxonice_resume
DEBUG - not done tuxonice_resume
DEBUG - trying tuxonice_resume - manual
and the resuming finally starts.
Ehh... resume shouldn't be run on a LiveCD. Also, is the debug information really necessary? Anyway, you need to set real_resume on your command line. The linuxrc is skipping the resume because it thinks that you want to skip it due to not having real_resume set. Yes, this sucks. I know. I'm planning on updating the resuming functions to be much cleaner in the future. TuxOnIce documentation says it should resume on "resume=" in bootloader. Gentoo Docs are similar: http://www.gentoo.org/doc/en/power-management-guide.xml ... |