Bug 9910
Summary: | OOPS early during boot on mutex_lock in acpi_smbus_transaction (NULL "hc" pointer?) - Acer TravelMate 4501WLMi | ||
---|---|---|---|
Product: | ACPI | Reporter: | Oldřich Jedlička (oldium.pro) |
Component: | Power-Battery | Assignee: | Alexey Starikovskiy (astarikovskiy) |
Status: | CLOSED CODE_FIX | ||
Severity: | blocking | CC: | acpi-bugzilla |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.24 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
OOPS text (hand-written from camera snapshot)
Configuration used for 2.6.24 lspci -v /proc/cpuinfo Init HC before SBS in static case Output of `dmesg` for verification Init HC before SBS in static case #2 Init HC before SBS in static case #2 try 2 |
Description
Oldřich Jedlička
2008-02-07 12:40:08 UTC
Created attachment 14740 [details]
OOPS text (hand-written from camera snapshot)
Created attachment 14741 [details]
Configuration used for 2.6.24
Created attachment 14742 [details]
lspci -v
Created attachment 14743 [details]
/proc/cpuinfo
Thanks. Next time, it's fine to just appatch the jpeg file to the bug report - no need to do all that typing! I'll tag this as a regression. Created attachment 14756 [details]
Init HC before SBS in static case
Please try this patch.
Works great. As a verification I looked at the battery status and it works (/proc/acpi/battery/BAT0/*). I will also attach `dmesg` output to you if you want to check anything. Created attachment 14757 [details]
Output of `dmesg` for verification
Hm, do you really have two batteries installed? (In reply to comment #9) > Hm, do you really have two batteries installed? Not really; it is possible to install the second battery, but it is not my case. The file /proc/acpi/battery/BAT1/{alarm,info,state} correctly contains text "present: no". Actually 2.6.23 also shows BAT1 as present event it is not present: ACPI: Smart Battery System [SMBC]: AC Adapter [AC0] (on-line) ACPI: Smart Battery System [SMBC]: Battery Slot [BAT0] (battery present) ACPI: Smart Battery System [SMBC]: Battery Slot [BAT1] (battery present) But the files in /proc/acpi are correctly showing the status in both kernels. Created attachment 14759 [details]
Init HC before SBS in static case #2
Please try this patch. Typo in printk fixed.
(In reply to comment #12) > Please try this patch. Typo in printk fixed. This patch is identical to former one... Created attachment 14760 [details]
Init HC before SBS in static case #2 try 2
Right, forgot to export new version...
(In reply to comment #14) > Created an attachment (id=14760) [details] > Init HC before SBS in static case #2 try 2 > > Right, forgot to export new version... Perfect, works. Also the battery status is correct in `dmesg`: ACPI: Smart Battery System [SBS0]: AC Adapter [AC0] (on-line) ACPI: Smart Battery System [SBS0]: Battery Slot [BAT0] (battery present) ACPI: Smart Battery System [SBS0]: Battery Slot [BAT1] (battery absent) Thanks for report. Thanks for fast response and for the fix. thanks for the quick response, Alexey -- and thanks for the quick testing, Oldřich. patch in comment #14 applied to acpi tree patch in comment #14 shipped in linux-2.6.24-rc22. closed. linux-2.6.24-git22, that is |