Re: Silencing "ACPI Debug" messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/4/19 5:16 PM, Schmauss, Erik wrote:
> 
> [EXTERNAL EMAIL]
> 
> <-- trim
> 
> + Mike
> 
> Hi,
> 
>> We've received reports about this and this seems to be some
>> dependency between linux ACPI debugging and ACPICA code. We'll
>> have a better solution but please try the following for now:
> 
> There seems to have been an unexpected divergence between Linux and
> ACPICA that caused these debug messages to be dumped to the logs.
> Linux should set this variable independent of ACPICA defaults...
> Please give this a try:
> 
> diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
> index 5c093ce01bcd..147f6c7ea59c 100644
> --- a/drivers/acpi/bus.c
> +++ b/drivers/acpi/bus.c
> @@ -1029,6 +1029,9 @@ void __init acpi_early_init(void)
> 
>          acpi_permanent_mmap = true;
> 
> +       /* Initialize debug output. Linux does not use ACPICA defaults */
> +       acpi_dbg_level = ACPI_LV_INFO | ACPI_LV_REPAIR;
> +
>   #ifdef CONFIG_X86
>          /*
>           * If the machine falls into the DMI check table,

Thanks. This also works!

Alex

>>
>> diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h index
>> 6db9a6d40c85..b1196a260620 100644
>> --- a/include/acpi/acoutput.h
>> +++ b/include/acpi/acoutput.h
>> @@ -150,7 +150,7 @@
>>
>>   /* Defaults for debug_level, debug and normal */
>>
>> -#define ACPI_DEBUG_DEFAULT          (ACPI_LV_INIT |
>> ACPI_LV_DEBUG_OBJECT | ACPI_LV_EVALUATION |
>> ACPI_LV_REPAIR)
>> +#define ACPI_DEBUG_DEFAULT          (ACPI_LV_INFO |
>> ACPI_LV_REPAIR)
>>   #define ACPI_NORMAL_DEFAULT         (ACPI_LV_INIT |
>> ACPI_LV_DEBUG_OBJECT | ACPI_LV_REPAIR)
>>   #define ACPI_DEBUG_ALL              (ACPI_LV_AML_DISASSEMBLE |
>> ACPI_LV_ALL_EXCEPTIONS | ACPI_LV_ALL)
>>
>> Thanks,
>> Erik
>>>
>>> Alex
>>>
>>> Appendix A: Debug entry from dmesg:
>>>
>>> [    1.608169] pci 0000:d9:07.0: [10b5:9733] type 01 class 0x060400
>>> [    1.608212] ACPI Debug:  "_HPX"
>>> [    1.608243] ACPI Debug:  Package (Contains 0x04 Elements):
>>> [    1.608244] ACPI Debug:     (00) Package (Contains 0x12 Elements):
>>> [    1.608246] ACPI Debug:         (00) 0x0000000000000002
>>> [    1.608247] ACPI Debug:         (01) 0x0000000000000001
>>> [    1.608248] ACPI Debug:         (02) 0x00000000FC000FCF
>>> [    1.608249] ACPI Debug:         (03) 0x0000000003A10000
>>> [    1.608250] ACPI Debug:         (04) 0x00000000FC000FCF
>>> [    1.608251] ACPI Debug:         (05) 0x00000000004EF030
>>> [    1.608253] ACPI Debug:         (06) 0x00000000FFFF0E3E
>>> [    1.608254] ACPI Debug:         (07) 0x000000000000F1C1
>>> [    1.608255] ACPI Debug:         (08) 0x00000000FFFFFFFF
>>> [    1.608256] ACPI Debug:         (09) 0x0000000000000000
>>> [    1.608257] ACPI Debug:         (10) 0x000000000000FFF1
>>> [    1.608258] ACPI Debug:         (11) 0x000000000000000E
>>> [    1.608260] ACPI Debug:         (12) 0x000000000000FFFF
>>> [    1.608261] ACPI Debug:         (13) 0x0000000000000000
>>> [    1.608262] ACPI Debug:         (14) 0x00000000FFFFC010
>>> [    1.608263] ACPI Debug:         (15) 0x0000000000001BC0
>>> [    1.608264] ACPI Debug:         (16) 0x00000000FFFFC010
>>> [    1.608265] ACPI Debug:         (17) 0x000000000000242F
>>> [    1.608267] ACPI Debug:     (01) Package (Contains 0x11 Elements):
>>> [    1.608268] ACPI Debug:         (00) 0x0000000000000003
>>> [    1.608269] ACPI Debug:         (01) 0x0000000000000001
>>> [    1.608270] ACPI Debug:         (02) 0x0000000000000001
>>> [    1.608271] ACPI Debug:         (03) 0x00000000000001FF
>>> [    1.608273] ACPI Debug:         (04) 0x0000000000000003
>>> [    1.608274] ACPI Debug:         (05) 0x0000000000000001
>>> [    1.608275] ACPI Debug:         (06) 0x0000000000000010
>>> [    1.608276] ACPI Debug:         (07) 0x0000000000000012
>>> [    1.608277] ACPI Debug:         (08) 0x0000000000000000
>>> [    1.608278] ACPI Debug:         (09) 0x0000000000000000
>>> [    1.608280] ACPI Debug:         (10) 0x0000000000000000
>>> [    1.608281] ACPI Debug:         (11) 0x0000000000000024
>>> [    1.608282] ACPI Debug:         (12) 0x0000000000000002
>>> [    1.608283] ACPI Debug:         (13) 0x0000000000000002
>>> [    1.608284] ACPI Debug:         (14) 0x0000000000000028
>>> [    1.608285] ACPI Debug:         (15) 0x00000000FFFFFFF0
>>> [    1.608287] ACPI Debug:         (16) 0x0000000000000006
>>> [    1.608288] ACPI Debug:     (02) Package (Contains 0x11 Elements):
>>> [    1.608289] ACPI Debug:         (00) 0x0000000000000003
>>> [    1.608290] ACPI Debug:         (01) 0x0000000000000001
>>> [    1.608291] ACPI Debug:         (02) 0x0000000000000001
>>> [    1.608293] ACPI Debug:         (03) 0x00000000000001FF
>>> [    1.608294] ACPI Debug:         (04) 0x0000000000000003
>>> [    1.608295] ACPI Debug:         (05) 0x0000000000000001
>>> [    1.608296] ACPI Debug:         (06) 0x0000000000000010
>>> [    1.608297] ACPI Debug:         (07) 0x0000000000000012
>>> [    1.608298] ACPI Debug:         (08) 0x0000000000000000
>>> [    1.608300] ACPI Debug:         (09) 0x0000000000000000
>>> [    1.608301] ACPI Debug:         (10) 0x0000000000000000
>>> [    1.608302] ACPI Debug:         (11) 0x0000000000000024
>>> [    1.608303] ACPI Debug:         (12) 0x0000000000000006
>>> [    1.608304] ACPI Debug:         (13) 0x0000000000000004
>>> [    1.608305] ACPI Debug:         (14) 0x0000000000000028
>>> [    1.608307] ACPI Debug:         (15) 0x00000000FFFFFFF0
>>> [    1.608308] ACPI Debug:         (16) 0x0000000000000009
>>> [    1.608309] ACPI Debug:     (03) Package (Contains 0x11 Elements):
>>> [    1.608310] ACPI Debug:         (00) 0x0000000000000003
>>> [    1.608311] ACPI Debug:         (01) 0x0000000000000001
>>> [    1.608313] ACPI Debug:         (02) 0x0000000000000001
>>> [    1.608314] ACPI Debug:         (03) 0x00000000000001FF
>>> [    1.608315] ACPI Debug:         (04) 0x0000000000000003
>>> [    1.608316] ACPI Debug:         (05) 0x0000000000000001
>>> [    1.608317] ACPI Debug:         (06) 0x0000000000000010
>>> [    1.608318] ACPI Debug:         (07) 0x0000000000000012
>>> [    1.608320] ACPI Debug:         (08) 0x0000000000000000
>>> [    1.608321] ACPI Debug:         (09) 0x0000000000000000
>>> [    1.608322] ACPI Debug:         (10) 0x0000000000000000
>>> [    1.608323] ACPI Debug:         (11) 0x0000000000000024
>>> [    1.608324] ACPI Debug:         (12) 0x000000000000000E
>>> [    1.608325] ACPI Debug:         (13) 0x0000000000000008
>>> [    1.608326] ACPI Debug:         (14) 0x0000000000000028
>>> [    1.608328] ACPI Debug:         (15) 0x00000000FFFFFFF0
>>> [    1.608329] ACPI Debug:         (16) 0x000000000000000D
>>> [    1.608352] acpi_run_hpx: Type 3 record not supported
>>> [    1.608391] pci 0000:d9:07.0: PME# supported from D0 D3hot D3cold
> 





[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux