Bug 25302
Summary: | Battery removal crashes Sony Vaio | ||
---|---|---|---|
Product: | ACPI | Reporter: | Michael Doube (michael) |
Component: | Power-Battery | Assignee: | acpi_power-battery |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | acpi-bugzilla, lenb, rjw, seblu |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 2.6.37-rc6 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: | Photograph of black screen of death |
3138b32d5e0998ba3cbd1c74bdc1887d74c5279b is the first bad commit commit 3138b32d5e0998ba3cbd1c74bdc1887d74c5279b Author: Zhang Rui <rui.zhang@intel.com> Date: Wed Dec 8 10:40:49 2010 +0800 ACPI battery: update status upon sysfs query Sometimes the Battery driver doesn't get notifications when it's plugged/unplugged. And this results in the incorrect Battery status reported by the power supply sysfs I/F. Update Battery status first when querying from sysfs. http://marc.info/?l=linux-acpi&m=128855015826728&w=2 Tested_by: Seblu <seblu@seblu.net> Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com> :040000 040000 2b1ce2e308091d46569b806457607f6a0f2de120 3f49caed5e8dbaec51cad9fb2bfb87b33d3e1333 M drivers I see this crash too, and can confirm reverting this commit makes it go away. revert added to acpi-test tree. Hello, why just revert the commit and not apply the patch proposed by Borislav Petkov on LKML? The original patch was to fix an issue with sysfs reporting of a value. You can see details on "Bad AC adaptateur value trought sysfs" in linux-acpi mailing list. re: comment #4 In the release cycle, -rc7 is not a time to try new fixes, it is a time to revert patches that caused regressions. The new attempt at a correct fix can be applied in the merge window of the subsequent release. |
Created attachment 41002 [details] Photograph of black screen of death Removal of battery while plugged into AC reliably crashes this laptop (Sony Vaio SZ650). This bug was not present in the last RC (-rc5).