Bug 542878
Summary: | system frequently hangs after resume from suspend | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | James Ralston <ralston> | ||||||
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 12 | CC: | dougsland, gansalmon, itamar, jesse.brandeburg, kernel-maint | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-05-25 23:43:07 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
James Ralston
2009-12-01 02:21:15 UTC
Created attachment 374948 [details]
output from /var/log/messages
Hmmm. Perhaps this isn't a video driver issue after all; per the syslog messages here, the system does seem to recover, but then seems to hang when the iwl3945 driver reinitializes.
I'm not sure if it still has any effect under F12, but I unload the iwl3945 driver when suspending:
$ cat /etc/pm/config.d/unload_modules
#
# $ date; ./quirk-checker.sh
#
# Wed May 21 10:55:50 EDT 2008
#
# Checking your system...
#
# WARNING: iwl3945 is usually okay for suspend - but it might be worth trying
# unloading it.
#
# WARNING: KVM will not suspend in kernels less than 2.6.23, but should work
# okay in later kernels.
#
# Suggestions:
#
# Add 'SUSPEND_MODULES="kvm_intel kvm iwl3945"' to
# /etc/pm/config.d/unload_modules!
#
SUSPEND_MODULES="iwl3945"
I will try manually removing the iwl3945 module before suspending for a while, and see if I still have hangs.
Created attachment 375875 [details]
/var/log/messages output from another hang-on-resume
Nope, it's not the iwl3945 driver; here's /var/log/messages from a hang that occurred when the driver wasn't loaded.
At this point, what other information can I provide (or what other actions can I take) to help debug this problem? I know that the nv X11 driver is known to be problematic when it comes to ACPI suspend/resume operations, but the nouveau driver is not an option at this time (see bug 543091). I knew how to perform ACPI suspend/resume debugging using pm-utils and this page: http://people.freedesktop.org/~hughsient/quirk/quirk-suspend-debug.html ...but the page is gone now (404 Not Found), and I haven't seen any information on how to debug suspend/resume problems with DeviceKit-power... Ah, I finally found where the quirk debugging pages went: http://hal.freedesktop.org/quirk/ I enabled PM_TRACE via /sys/power/pm_trace and reproduced a hang. The hash match says: $ grep "hash matches" /tmp/dmesg.txt hash matches drivers/base/power/main.c:416 I'm not sure if this is useful, because the quirk debugging pages claim CONFIG_PM_TRACE doesn't work on x86_64 (which is the architecture I'm running), but I suspect the patch to enable CONFIG_PM_TRACE on x86_64 is in the kernel now. Another piece of information I've noticed that might be helpful: if my laptop is docked when I suspend it, it almost always resumes successfully. If my laptop is not docked when I suspend it, it almost always hangs on suspend. Does any of this information help? Is there any more useful information I can gather? Is there any additional documentation you can point me to? (It is EXTREMELY annoying to have ACPI resume crash so frequently for Fedora 12 on my laptop, when Fedora 11 worked almost perfectly. I'm seriously debating just reinstalling Fedora 11 on my laptop, but I'd really prefer to find the regression between F11 and F12 and fix it...) Since switching to KMS+nouveau (see bug 543091), I cannot reproduce this bug. So, I'm quite confident that some combination of (UMS, nv driver) was the culprit here. Since KMS is preferred nowadays, there's no point in trying to debug this problem further. |