Description of problem: After this changes: -------- * Mon Mar 10 2008 Chuck Ebbert <cebbert> 2.6.24.3-25 - Use better fix for clearing the direction flag for x86 signal handlers. * Mon Mar 10 2008 Chuck Ebbert <cebbert> 2.6.24.3-24 - ACPI: really disable stray GPEs (#251744) - x86: clear direction flag before calling signal handlers --------- The kernel no longer reports the battery status correctly and does not detect when I plug in the AC adapter. powertop also only reports 1.8 W power usage and never changes (same for gnome-power-manager). kernel-2.6.24.3-18.fc8 works fine. If more infos or tests are needed feel free to ask.
Created attachment 297627 [details] broken files under /proc/acpi
Created attachment 297628 [details] correct files under /proc/acpi
Patch that most probably caused the was removed in 2.6.24.3-32.
For the unpatched kernel, could you please do the following test? echo 0x04 > /sys/module/acpi/parameters/debug_layer echo 0x8800001f > /sys/module/acpi/parameters/debug_level plug the AC and attach the dmesg output. And please attach the acpidump as well. ;)
(In reply to comment #4) > For the unpatched kernel, could you please do the following test? > echo 0x04 > /sys/module/acpi/parameters/debug_layer > echo 0x8800001f > /sys/module/acpi/parameters/debug_level > plug the AC and attach the dmesg output. > And please attach the acpidump as well. ;) There is no such file on my here .. missing config option?
Created attachment 297809 [details] acpidump under the working kernel (-33)
Created attachment 297810 [details] acpidump under the broken kernel (-28)
(In reply to comment #5) > (In reply to comment #4) > > For the unpatched kernel, could you please do the following test? > > echo 0x04 > /sys/module/acpi/parameters/debug_layer > > echo 0x8800001f > /sys/module/acpi/parameters/debug_level > > plug the AC and attach the dmesg output. > > And please attach the acpidump as well. ;) > > There is no such file on my here .. missing config option? You need to install and boot the kernel from the kernel-debug package.
Well, I don't see why the patch breaks the battery on this laptop. Any update on this? :)
drago01, have you tested a kernel after 2.6.24.3-32?
(In reply to comment #10) > drago01, have you tested a kernel after 2.6.24.3-32? yes 2.6.24.3-33.fc8 is working fine.
(In reply to comment #9) > Well, I don't see why the patch breaks the battery on this laptop. > Any update on this? :) > will install the debug kernel tomorrow and provide the debug info.
Created attachment 298166 [details] requested debug output Sorry for the delay, here is the requested debug output. I first tried with the debug build of kernel-2.6.24.3-28.fc8 booted with AC plugged in, enabled the debug output, unplugged it and replugged it but nothing happened (it does print stuff though when I press the power button). Then I did the same with the debug build of kernel-2.6.24.3-34.fc8 (the one with the patch reverted) and attached the output here. I hope this helps.
I suspect the patch a7f9b1f24974da287771e2d70b30d9ca7bd66684 is not in kernel- 2.6.24.3-XX.fc8. Chuck, can you check this?
(In reply to comment #14) > I suspect the patch a7f9b1f24974da287771e2d70b30d9ca7bd66684 is not in kernel- > 2.6.24.3-XX.fc8. > Chuck, can you check this? No it's not. If that is added, then should the new patch work on top of that? https://bugzilla.redhat.com/attachment.cgi?id=297134
Closing this - 2.6.24.3-34 is out now.
Battery reporting seems to work fine with -47 (grabed from http://koji.fedoraproject.org/koji/taskinfo?taskID=522761), which has this patches applied. But it introduced a new problem :(. CPU frequency scaling no longer works. The cpu stays at 2.17 Ghz. Trying to load the acpi-cpufreq module results into: "FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.24.3-47.fc8/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device" CPU info output: cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz stepping : 6 cpu MHz : 2166.816 cache size : 4096 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm bogomips : 4337.31 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz stepping : 6 cpu MHz : 2166.816 cache size : 4096 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm bogomips : 4333.51 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: ---- Is this related to this patches or should I open a new bug?
(In reply to comment #17) > Battery reporting seems to work fine with -47 (grabed from > http://koji.fedoraproject.org/koji/taskinfo?taskID=522761), which has this > patches applied. > But it introduced a new problem :(. > CPU frequency scaling no longer works. The cpu stays at 2.17 Ghz. > Trying to load the acpi-cpufreq module results into: > "FATAL: Error inserting acpi_cpufreq > (/lib/modules/2.6.24.3-47.fc8/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): > No such device" [...] > Is this related to this patches or should I open a new bug? OK, its unrelated to this patches. "linux-2.6-acpi-fix-sizeof.patch" was causing it.
do you mean "linux-2.6-acpi-fix-sizeof.patch" caused a regression and the cpufreq driver work again after reverting it?
Will you please add the boot option of "cpufreq.debug=7" and attach the output of dmesg? Of course the output of acpidump is needed.
(In reply to comment #19) > do you mean "linux-2.6-acpi-fix-sizeof.patch" caused a regression and the > cpufreq driver work again after reverting it? yes
Created attachment 298676 [details] requested dmesg output with cpufreq.debug=7
Created attachment 298677 [details] acpidump output
this seems to be a kernel bug, please open a bug at http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI and attach the dmesg output and acpidump there. :) BTW: please get the acpidump with the latest pmtools at http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI (no parameter needed) Chuck, I think this bug can be closed now, :)
(In reply to comment #24) > this seems to be a kernel bug, please open a bug at > http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI > and attach the dmesg output and acpidump there. :) > BTW: please get the acpidump with the latest pmtools at > http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI > (no parameter needed) Done: http://bugzilla.kernel.org/show_bug.cgi?id=10299 > Chuck, I think this bug can be closed now, :) ok, closing as UPSTREAM