Distribution: CentOS 5.2
Hardware Environment: MSI PR210-052
No battery status, hang on reboot
Steps to reproduce:
build kernel 2.6.27-rc7 and boot to it
Created attachment 18071 [details]
Created attachment 18072 [details]
output of acpitool -e
Created attachment 18073 [details]
Created attachment 18074 [details]
output of dmidecode
Did any earlier kernel work OK? If so, which version(s)?
Will you please attach the output of acpidump?
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?
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
Created attachment 18095 [details]
dmesg after patch from http://bugzilla.kernel.org/show_bug.cgi?id=11374#C6
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
According to the problem description it seems that there exists another issue(No battery status).
Can you confirm whether the problem still exists?
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.
Sorry, there is no such dir: /proc/acpi/battery, only
find /proc/acpi | sort
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.
shipped in linux-2.6.28-rc1:
Author: Zhao Yakui <firstname.lastname@example.org>
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
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/*/*
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
battery type: LION
OEM info: MSI Corp.
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).