Distribution: CentOS 5.2 Hardware Environment: MSI PR210-052 Problem Description: No battery status, hang on reboot Steps to reproduce: build kernel 2.6.27-rc7 and boot to it
Created attachment 18071 [details] kernel config
Created attachment 18072 [details] output of acpitool -e
Created attachment 18073 [details] dmesg
Created attachment 18074 [details] output of dmidecode
Did any earlier kernel work OK? If so, which version(s)? Thanks.
Will you please attach the output of acpidump? thanks.
Hi, Eugeny It seems that there exist two issues on your box: a. ACPI Error: This problem is related with the BIOS. Please try the patch in http://bugzilla.kernel.org/show_bug.cgi?id=11374#C6. b. hang on reboot: Can you confirm whether the box always hang while reboot on all the version kernel? Can you confirm whether the system can be rebooted normally on windows? thanks.
Created attachment 18094 [details] output of acpidump
Seems there is no reboot problem, at list in runlevel 3. I am try patch http://bugzilla.kernel.org/show_bug.cgi?id=11374#C6 and no error appear. dmesg in the attachment Thank you.
Created attachment 18095 [details] dmesg after patch from http://bugzilla.kernel.org/show_bug.cgi?id=11374#C6
Hi, Eugeny If there is no reboot problem in runlevel 3, it seems that "hang on reboot" is not related with ACPI. After the patch is applied, there is no warning message. In fact it is harmless but confusing. And the problem can be fixed by the patch in http://bugzilla.kernel.org/show_bug.cgi?id=11374#C6 According to the problem description it seems that there exists another issue(No battery status). Can you confirm whether the problem still exists? Thanks.
It seems the problem with battery status does not disappear. Output of acpidump, acpitool the same as in attachments above.
Please attach the output of "cat /proc/acpi/battery/*/* " after the system is booted. Thanks.
Sorry, there is no such dir: /proc/acpi/battery, only find /proc/acpi | sort /proc/acpi /proc/acpi/button /proc/acpi/button/lid /proc/acpi/button/lid/LID0 /proc/acpi/button/lid/LID0/info /proc/acpi/button/lid/LID0/state /proc/acpi/button/power /proc/acpi/button/power/PWRB /proc/acpi/button/power/PWRB/info /proc/acpi/button/power/PWRF /proc/acpi/button/power/PWRF/info /proc/acpi/embedded_controller /proc/acpi/embedded_controller/EC /proc/acpi/embedded_controller/EC/info /proc/acpi/power_resource /proc/acpi/processor /proc/acpi/processor/P001 /proc/acpi/processor/P001/info /proc/acpi/processor/P001/limit /proc/acpi/processor/P001/power /proc/acpi/processor/P001/throttling /proc/acpi/processor/P002 /proc/acpi/processor/P002/info /proc/acpi/processor/P002/limit /proc/acpi/processor/P002/power /proc/acpi/processor/P002/throttling /proc/acpi/thermal_zone /proc/acpi/thermal_zone/THRM /proc/acpi/thermal_zone/THRM/cooling_mode /proc/acpi/thermal_zone/THRM/polling_frequency /proc/acpi/thermal_zone/THRM/state /proc/acpi/thermal_zone/THRM/temperature /proc/acpi/thermal_zone/THRM/trip_points /proc/acpi/wakeup
From the dmesg it seems that there exists the following message: >ACPI: Battery Slot [BAT1] (battery present) It means that the battery is detected. The problem is that there is no battery status. Maybe it is related with the kernel configuration. Will you please enable the CONFIG_ACPI_PROCFS_POWER/CONFIG_ACPI_SYSFS_POWER in kernel configuration and see whether the issue about the battery status still exists? As OS reports that the battery is detected, IMO there exists the battery status if you enable the CONFIG_ACPI_PROCFS_POWER in kernel configuration. Thanks.
shipped in linux-2.6.28-rc1: commit 455c8793d2c49eaecad038c8de83dade9fc3759f Author: Zhao Yakui <yakui.zhao@intel.com> Date: Mon Oct 6 10:31:36 2008 +0800 ACPI: Enable EC device immediately after ACPI full initialization
(In reply to comment #15) > Will you please enable the > CONFIG_ACPI_PROCFS_POWER/CONFIG_ACPI_SYSFS_POWER After CONFIG_ACPI_PROCFS_POWER enable(sorry, was disabled because "Deprecated power /proc/acpi directories" in kernel make menuconfig) /proc/acpi/battery apper and output of cat /proc/acpi/battery/*/* alarm: unsupported present: yes design capacity: 5200 mAh last full capacity: 4958 mAh battery technology: rechargeable design voltage: 14800 mV design capacity warning: 0 mAh design capacity low: 0 mAh capacity granularity 1: 1 mAh capacity granularity 2: 1 mAh model number: MS-1222 serial number: battery type: LION OEM info: MSI Corp. present: yes capacity state: ok charging state: charged present rate: 0 mA remaining capacity: 4928 mAh present voltage: 16567 mV Looks like all fine. Thank you very much. Problem with reboot seems related to ATI proprietary GPU driver. And with patch http://bugzilla.kernel.org/show_bug.cgi?id=11374#C6 no more hang on booting with EC errors.
Thanks for the test. Now it seems that the battery is also OK after the CONFIG_ACPI_PROCFS_POWER is enabled in kernel configuration. And after applying the patch in comment #16, the warning message disappears. So the bug will be marked as resovled(CODE_FIX). Thanks.