Summary: | sys-kernel/gentoo-sources-2.6.38: r8169 delays resume from suspend-to-RAM due to missing firmware | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chí-Thanh Christopher Nguyễn <chithanh> |
Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | patrickallaert |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=953a12cc2889d1be92e80a2d0bab5ffef4942300 | ||
Whiteboard: | [linux 2.6.39] | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
r8169_fix_firmware_suspend.patch
Patch for linux-2.6.38-gentoo-r6 |
Description
Chí-Thanh Christopher Nguyễn
2011-04-04 13:26:01 UTC
I'm not sure that's a good workaround. Maybe a message, or notice, or something like that, which would warn r8169 users about the delay issue when no firmware is used, would be better, until/if the issue is fixed. r8169 devs are aware of this problem. From the commit of message of [1]: "It will not avoid the 60 seconds delay when: - there is no firmware - the driver is loaded and the device is not up before a suspend/resume" I think, a bug report should be filed upstream, to check if the devs are going to fix this soon. [1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux2.6.git;a=commit;h=f1e02ed109df5f99abf942b8ccc99960cb09dd38 Created attachment 270777 [details, diff]
r8169_fix_firmware_suspend.patch
Just saw a discussion in LKML about this. There's a patch proposed which probably fixes the issue, although not fully tested yet.
Attached the patch if anyone wants to try it out.
Commit 953a12cc2889d1be92e80a2d0bab5ffef4942300 upstream should fix this. Can anyone test it and confirm that the delay problem is gone? The patch doesn't apply cleanly to 2.6.38 sources, but if it actually fixes the problem, mabye I can backport it. Although 2.6.39 will be released soon, I think. Created attachment 275007 [details, diff]
Patch for linux-2.6.38-gentoo-r6
I confirm upstream commit 953a12cc2889d1be92e80a2d0bab5ffef4942300 solves that issue, I've attached the patch I created for my sys-kernel/gentoo-sources-2.6.38-r6
Cheers,
Patrick
2.6.39 released, and added to portage. Closing. |