Bug 4752
Summary: | Battery status problem again - AE_ALREADY_EXISTS | ||
---|---|---|---|
Product: | ACPI | Reporter: | Sebastian K (admin) |
Component: | Power-Battery | Assignee: | Luming Yu (luming.yu) |
Status: | REJECTED INVALID | ||
Severity: | normal | CC: | acpi-bugzilla |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.5,2.6.9,2.6.10-rc1,2.6.10-rc2,....,2.6.13-rc4 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: | acpidmp output from acer travelmate 291lci |
Description
Sebastian K
2005-06-14 23:44:02 UTC
Created attachment 5177 [details]
acpidmp output from acer travelmate 291lci
Ok, problem is present from 2.6.5 up to 2.6.12-rc6. Did not check <=2.6.4 Does also happen in current 2.6.12{.1} Please try kernel option: acpi_serialize Now I see only the following messages: osl-0958 [2471] os_wait_semaphore : Failed to acquire semaphore[de8d6660|1|0], AE_TIME osl-0958 [2749] os_wait_semaphore : Failed to acquire semaphore[de8d6660|1|0], AE_TIME what about battery status with that option? output is the same present: yes capacity state: ok charging state: charging present rate: 0 mA remaining capacity: 3040 mAh present voltage: 16670 mV Tested 1.6.13-rc4 today.
It additionally displays the following:
...
acpi_battery-0208 [28] acpi_battery_get_statu: Error evaluating _BST
osl-0958 [25] os_wait_semaphore : Failed to acquire semaphore[de7a1c00|1|0], AE_TIME
osl-0958 [25] os_wait_semaphore : Failed to acquire semaphore[de7a1c00|1|0], AE_TIME
>> acpi-ec-0135 [26] acpi_wait_ec : result = -512
>> acpi_ec-0135 [26] acpi_wait_ec : result = -512
Booting with 'acpi_serialize' seems to fix something now. I only see the
following messages:
osl-0958 [25] os_wait_semaphore : Failed to acquire semaphore[de7a1c00|1|0], AE_TIME
osl-0958 [25] os_wait_semaphore : Failed to acquire semaphore[de7a1c00|1|0], AE_TIME
acpi-ec-0135 [26] acpi_wait_ec : result = -512
acpi_ec-0135 [26] acpi_wait_ec : result = -512
Please test ec_polling patch at http://bugzilla.kernel.org/show_bug.cgi?id=4665 Note: boot kernel with ec_polling option 2.6.13-rc3 + ec_polling_patch + "ec_polling acpi_serialize" osl-0958 [25] os_wait_semaphore : Failed to acquire semaphore[de7a1c00|1|0], AE_TIME osl-0958 [25] os_wait_semaphore : Failed to acquire semaphore[de7a1c00|1|0], AE_TIME 2.6.13-rc3 + ec_polling_patch + "ec_polling" dswload-0294: *** Error: Looking up [PBST] in namespace, AE_ALREADY_EXISTS psparse-0601 [1693] ps_parse_loop: During name lookup/catalog, AE_ALREADY_EXISTS Error: Method execution failed [\_SB_.PCI0.LPC0.BAT1._BST] (Node defc21e8), AE_ALREADY_EXISTS acpi_battery-0208 [1686] acpi_battery_get_statu: Error evaluating _BST osl-0958 [25] os_wait_semaphore : Failed to acquire semaphore[de7a1c00|1|0], AE_TIME osl-0958 [25] os_wait_semaphore : Failed to acquire semaphore[de7a1c00|1|0], AE_TIME The "acpi_wait_ec : result = -512" message is no longer shown. FYI, the latest patch in bug 4665 sets 2.6.13-rc5 to ec polling mode by default. This should give the same as the "ec_polling" results above. boot kernel with option acpi_serialize , and ec_burst=1 should fix this problem. If not, please reopen the bug booting with acpi_serialize and and ec_burst=1 gives me the following: osl-0958 [25] os_wait_semaphore : Failed to acquire semaphore[de7a1c00|1|0], AE_TIME osl-0958 [25] os_wait_semaphore : Failed to acquire semaphore[de7a1c00|1|0], AE_TIME what about battery? $ cat /proc/acpi/battery/BAT1/{info,state} present: yes design capacity: 4000 mAh last full capacity: 4000 mAh battery technology: rechargeable design voltage: 14800 mV design capacity warning: 420 mAh design capacity low: 156 mAh capacity granularity 1: 264 mAh capacity granularity 2: 3780 mAh model number: PA3206U serial number: 3658Q battery type: Li-Ion OEM info: COMPAL present: yes capacity state: ok charging state: discharging present rate: 0 mA remaining capacity: 3960 mAh present voltage: 16185 mV output is the same, whether or not i boot with or without "acpi_serialize ec_burst=1" the battery status looks good. Please also make sure you have latest ec code. Just grep dmesg to find if there have "burst-mode-ec-10-Aug" tested 2.6.13-rc6 + acpi-20050729-2.6.13-rc6.diff booting with "acpi_serialize ec_burst=1" still gives me osl-0958 [26] os_wait_semaphore : Failed to acquire semaphore[de7a1c00|1|0], AE_TIME Acctually "[de7a1c00|1|0], AE_TIME " is not an error. If you don't like it, I will make a patch to suppress it. If you still have other problem, please describe them. Thanks Luming I'm closing it, if you have other issue please reopen it. |