Summary: | vanilla kernel >=3.7 fails to resume image after s2disk | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Savchenko <bircoph> |
Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bircoph |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=ba4df2808a86f8b103c4db0b8807649383e9bd13 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
linuxrc-workaround.patch
config.xz |
Description
Andrew Savchenko
2013-08-16 17:26:32 UTC
Created attachment 356238 [details, diff]
linuxrc-workaround.patch
Created attachment 356240 [details]
config.xz
From analysis of commit ba4df2808a86f8b103c4db0b8807649383e9bd13 I can assume that real issue is somewhere in call_usermodehelper_fns() which handles threads improperly. All other changes are just wrappers and stdio setup. Thank you for filing this upstream. I see you mention "With this patch and 3.11.1 kernel resume works fine." in http://thread.gmane.org/gmane.linux.power-management.general/37043/focus=38863 so I am applying that patch to the 3.11 branch of genpatches as it appears to have not been applied yet (looking at 3.12-rc5). This patch will be present in 3.11.6. In fact patch proposed in LKML works fine on 3.10.x too with some trivial changes needed to apply it. |