Bug 10432
Summary: | Freeze during docking | ||
---|---|---|---|
Product: | ACPI | Reporter: | Adrian Cox (adrian) |
Component: | Config-Hotplug | Assignee: | Shaohua (shaohua.li) |
Status: | CLOSED DUPLICATE | ||
Severity: | normal | CC: | acpi-bugzilla, bunk, elcapo, Jan.Becicka |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.25-rc8 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
Log of ACPI operations in loop
Log of ACPI operations during successful dock (CONFIG_SLAB) acpidump output Fix for the problem |
Description
Adrian Cox
2008-04-09 08:09:51 UTC
Created attachment 15705 [details]
Log of ACPI operations in loop
This is a section of log messages from the frozen state, taken with acpi_debug_level set to 0x8000ffff.
Created attachment 15707 [details]
Log of ACPI operations during successful dock (CONFIG_SLAB)
I have built the same kernel source with CONFIG_SLAB instead of CONFIG_SLUB, and tested that docking works. The attached log file shows the events in a successful docking. There are still multiple notifications, but eventually the dock driver detects the dock as present, which never occurs in the CONFIG_SLUB kernel.
can you please attach the acpidump output? Can you enable slub debug in your config (SLUB_DEBUG_ON) and retest, maybe we can get more info. Created attachment 16040 [details]
acpidump output
Created attachment 16044 [details] Fix for the problem This patch is a small change to <a href="http://bugzilla.kernel.org/show_bug.cgi?id=10431#c12">Shaohua's patch to bug 10431</a>. The Dell sends a bus check on undock as well as on dock, so the previous patch would exit from dock_notify() leaving dock_in_progress() set. The variation calls complete_dock() for the failure case. This works reliably on my Dell D600. I'm not sure why the original docking code worked with CONFIG_SLAB. |