Bug #2672
closedContinuous console [ACPI Debug] on Lenovo S10 Intel Atom n270
0%
Description
For current master through
commit c9ed7d9ef60d6ffb82c02ec4822a68a29703a389
Date: Sun May 11 21:16:54 2014 +0200
kernel/acpi: Improve the disabling of Debug object dumping.
on a Lenovo S10 Intel Atom n270, i386, there is continuous output to console
[ACPI Debug] String [0x11] "Current temp is: "
[ACPI Debug] Integer 0x00000036
Updated by swildner over 10 years ago
I assume this happened with a kernel config that does not have ACPI_DEBUG specified?
Regards,
Sascha
Updated by davshao over 10 years ago
I am using GENERIC with this machine so ACPI_DEBUG should not be specified.
Thanks for reverting, now using master through
commit b9a827c2b9a282d39b2a3d81e9d1a2dcb54ab162
Date: Mon May 12 07:01:42 2014 +0200
Revert "kernel/acpi: Improve the disabling of Debug object dumping."
I no longer have the [ACPI Debug] messages flooding the console on this machine.
Updated by swildner over 10 years ago
Here is a new version of the commit with an additional debug printf. Can you try it out and tell me what it prints before the "[ACPI Debug]" lines? It should be something like "AcpiGbl_EnableAmlDebugObject:... AcpiDbgLevel:...".
Updated by swildner over 10 years ago
Sorry, the patch is here: http://leaf.dragonflybsd.org/~swildner/acpi_enable_debug_objects.diff
Updated by swildner over 10 years ago
I've mailed devel@acpica.org for clarification about this issue, since it looks like a flaw in their code.
Output from debug objects should be disabled by default (via the AcpiGbl_EnableAmlDebugObject global which defaults to FALSE and which the commit made tweakable (without messing with the default)), but due to some issues in the way they check this global and how it interacts with the AcpiDbgLevel global, they get printed anyway.
I'll see what they have to say about it.
Updated by swildner over 10 years ago
- Status changed from New to Closed
Closing this. On latest master (including http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/586fced21e39bbdac0482f742fdb13fdf39506cc) your box should no longer print Debug object output. The sysctl debug.acpi.enable_debug_objects can be used to toggle it.