Bug #2672

Continuous console [ACPI Debug] on Lenovo S10 Intel Atom n270

Added by davshao 6 months ago. Updated 5 months ago.

Status:ClosedStart date:05/11/2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

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

History

#1 Updated by swildner 6 months ago

I assume this happened with a kernel config that does not have ACPI_DEBUG specified?

Regards,
Sascha

#2 Updated by davshao 6 months 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.

#3 Updated by swildner 6 months 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:...".

#5 Updated by swildner 6 months ago

I've mailed 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.

#6 Updated by swildner 5 months 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.

Also available in: Atom PDF