Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1682711 > unrolled thread

Re: [x86/time] 03fa63cc96: ACPI_Error:Table[DMAR]is_not_invalidated_during_early_boot_stage(#/tbxface -#)

Started byThomas Gleixner <tglx@linutronix.de>
First post2017-07-06 23:10 +0200
Last post2017-07-07 06:50 +0200
Articles 5 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [x86/time] 03fa63cc96:  ACPI_Error:Table[DMAR]is_not_invalidated_during_early_boot_stage(#/tbxface  -#) Thomas Gleixner <tglx@linutronix.de> - 2017-07-06 23:10 +0200
    Re: [x86/time] 03fa63cc96:  ACPI_Error:Table[DMAR]is_not_invalidated_during_early_boot_stage(#/tbxface  -#) Ye Xiaolong <xiaolong.ye@intel.com> - 2017-07-07 04:00 +0200
      Re: [x86/time] 03fa63cc96:  ACPI_Error:Table[DMAR]is_not_invalidated_during_early_boot_stage(#/tbxface  -#) Dou Liyang <douly.fnst@cn.fujitsu.com> - 2017-07-07 04:40 +0200
        Re: [x86/time] 03fa63cc96:  ACPI_Error:Table[DMAR]is_not_invalidated_during_early_boot_stage(#/tbxface  -#) Ye Xiaolong <xiaolong.ye@intel.com> - 2017-07-07 05:10 +0200
          Re: [x86/time] 03fa63cc96:  ACPI_Error:Table[DMAR]is_not_invalidated_during_early_boot_stage(#/tbxface  -#) Dou Liyang <douly.fnst@cn.fujitsu.com> - 2017-07-07 06:50 +0200

#1682711 — Re: [x86/time] 03fa63cc96: ACPI_Error:Table[DMAR]is_not_invalidated_during_early_boot_stage(#/tbxface -#)

FromThomas Gleixner <tglx@linutronix.de>
Date2017-07-06 23:10 +0200
SubjectRe: [x86/time] 03fa63cc96: ACPI_Error:Table[DMAR]is_not_invalidated_during_early_boot_stage(#/tbxface -#)
Message-ID<u0mca-2zL-17@gated-at.bofh.it>
On Thu, 6 Jul 2017, kernel test robot wrote:

> commit: 03fa63cc96ab35592e0a7d522b8edbc1e6b02d22 ("x86/time: Initialize interrupt mode behind timer init")

> +----------------+------------+------------+
> |                | 43436935b7 | 03fa63cc96 |
> +----------------+------------+------------+
> | boot_successes | 0          | 4          |
> +----------------+------------+------------+

So 03fa63cc96 makes the box boot again. I'm confused as usual by the
output of this tool.
 
> kern  :info  : [    0.005000] tsc: Fast TSC calibration using PIT
> kern  :info  : [    0.006000] tsc: Detected 2195.020 MHz processor
> kern  :info  : [    0.007000] Calibrating delay loop (skipped), value calculated using timer frequency.. 4390.04 BogoMIPS (lpj=2195020)
> kern  :info  : [    0.008001] pid_max: default: 90112 minimum: 704
> kern  :info  : [    0.009037] ACPI: Core revision 20170303
> kern  :err   : [    0.010002] ACPI Error: Table [DMAR] is not invalidated during early boot stage (20170303/tbxface-193)

Sure we have a error message here, but compared to what? Compared to
something which does not boot at all?

Thanks,

	tglx

[toc] | [next] | [standalone]


#1682871

FromYe Xiaolong <xiaolong.ye@intel.com>
Date2017-07-07 04:00 +0200
Message-ID<u0qIO-5el-31@gated-at.bofh.it>
In reply to#1682711
On 07/06, Thomas Gleixner wrote:
>On Thu, 6 Jul 2017, kernel test robot wrote:
>
>> commit: 03fa63cc96ab35592e0a7d522b8edbc1e6b02d22 ("x86/time: Initialize interrupt mode behind timer init")
>
>> +----------------+------------+------------+
>> |                | 43436935b7 | 03fa63cc96 |
>> +----------------+------------+------------+
>> | boot_successes | 0          | 4          |
>> +----------------+------------+------------+
>
>So 03fa63cc96 makes the box boot again. I'm confused as usual by the
>output of this tool.,
> 
>> kern  :info  : [    0.005000] tsc: Fast TSC calibration using PIT
>> kern  :info  : [    0.006000] tsc: Detected 2195.020 MHz processor
>> kern  :info  : [    0.007000] Calibrating delay loop (skipped), value calculated using timer frequency.. 4390.04 BogoMIPS (lpj=2195020)
>> kern  :info  : [    0.008001] pid_max: default: 90112 minimum: 704
>> kern  :info  : [    0.009037] ACPI: Core revision 20170303
>> kern  :err   : [    0.010002] ACPI Error: Table [DMAR] is not invalidated during early boot stage (20170303/tbxface-193)
>
>Sure we have a error message here, but compared to what? Compared to
>something which does not boot at all?

Sorry for the confusion, here commit 43436935b7 boot failed due to OOM which
happened at the late stage of kernel boot while the ACPI error showed at the
early boot stage for commit 03fa63cc96 and it didn't appear in 43436935b7's
dmesg.

Thanks,
Xiaolong

>
>Thanks,
>
>	tglx
>

[toc] | [prev] | [next] | [standalone]


#1682881

FromDou Liyang <douly.fnst@cn.fujitsu.com>
Date2017-07-07 04:40 +0200
Message-ID<u0rlv-5Ou-1@gated-at.bofh.it>
In reply to#1682871
Hi xiaolong,

Really thanks for your testing.

At 07/07/2017 09:54 AM, Ye Xiaolong wrote:
> On 07/06, Thomas Gleixner wrote:
>> On Thu, 6 Jul 2017, kernel test robot wrote:
>>
>>> commit: 03fa63cc96ab35592e0a7d522b8edbc1e6b02d22 ("x86/time: Initialize interrupt mode behind timer init")
>>
>>> +----------------+------------+------------+
>>> |                | 43436935b7 | 03fa63cc96 |
>>> +----------------+------------+------------+
>>> | boot_successes | 0          | 4          |
>>> +----------------+------------+------------+
>>
>> So 03fa63cc96 makes the box boot again. I'm confused as usual by the
>> output of this tool.,
>>
>>> kern  :info  : [    0.005000] tsc: Fast TSC calibration using PIT
>>> kern  :info  : [    0.006000] tsc: Detected 2195.020 MHz processor
>>> kern  :info  : [    0.007000] Calibrating delay loop (skipped), value calculated using timer frequency.. 4390.04 BogoMIPS (lpj=2195020)
>>> kern  :info  : [    0.008001] pid_max: default: 90112 minimum: 704
>>> kern  :info  : [    0.009037] ACPI: Core revision 20170303
>>> kern  :err   : [    0.010002] ACPI Error: Table [DMAR] is not invalidated during early boot stage (20170303/tbxface-193)
>>
>> Sure we have a error message here, but compared to what? Compared to
>> something which does not boot at all?
>
> Sorry for the confusion, here commit 43436935b7 boot failed due to OOM which
> happened at the late stage of kernel boot while the ACPI error showed at the
> early boot stage for commit 03fa63cc96 and it didn't appear in 43436935b7's
> dmesg.
>

let's make the problem clearly firstly:

1) Commit 43436935b7 ("x86/xen: Bypass intr mode setup in enlighten_pv
system") made kernel boot failed, which caused by OOM.

2) Commit 03fa63cc96 ("x86/time: Initialize interrupt mode behind timer 
init") can make the kernel boot success again, but with an ACPI error 
happened.

And both *1* and *2* used the same configuration showed in the
attachment.

Does anything I missed?

Thanks,

	dou.

> Thanks,
> Xiaolong
>
>>
>> Thanks,
>>
>> 	tglx
>>
>
>
>

[toc] | [prev] | [next] | [standalone]


#1682888

FromYe Xiaolong <xiaolong.ye@intel.com>
Date2017-07-07 05:10 +0200
Message-ID<u0rOy-6mN-9@gated-at.bofh.it>
In reply to#1682881
On 07/07, Dou Liyang wrote:
>Hi xiaolong,
>
>Really thanks for your testing.
>
>At 07/07/2017 09:54 AM, Ye Xiaolong wrote:
>>On 07/06, Thomas Gleixner wrote:
>>>On Thu, 6 Jul 2017, kernel test robot wrote:
>>>
>>>>commit: 03fa63cc96ab35592e0a7d522b8edbc1e6b02d22 ("x86/time: Initialize interrupt mode behind timer init")
>>>
>>>>+----------------+------------+------------+
>>>>|                | 43436935b7 | 03fa63cc96 |
>>>>+----------------+------------+------------+
>>>>| boot_successes | 0          | 4          |
>>>>+----------------+------------+------------+
>>>
>>>So 03fa63cc96 makes the box boot again. I'm confused as usual by the
>>>output of this tool.,
>>>
>>>>kern  :info  : [    0.005000] tsc: Fast TSC calibration using PIT
>>>>kern  :info  : [    0.006000] tsc: Detected 2195.020 MHz processor
>>>>kern  :info  : [    0.007000] Calibrating delay loop (skipped), value calculated using timer frequency.. 4390.04 BogoMIPS (lpj=2195020)
>>>>kern  :info  : [    0.008001] pid_max: default: 90112 minimum: 704
>>>>kern  :info  : [    0.009037] ACPI: Core revision 20170303
>>>>kern  :err   : [    0.010002] ACPI Error: Table [DMAR] is not invalidated during early boot stage (20170303/tbxface-193)
>>>
>>>Sure we have a error message here, but compared to what? Compared to
>>>something which does not boot at all?
>>
>>Sorry for the confusion, here commit 43436935b7 boot failed due to OOM which
>>happened at the late stage of kernel boot while the ACPI error showed at the
>>early boot stage for commit 03fa63cc96 and it didn't appear in 43436935b7's
>>dmesg.
>>
>
>let's make the problem clearly firstly:
>
>1) Commit 43436935b7 ("x86/xen: Bypass intr mode setup in enlighten_pv
>system") made kernel boot failed, which caused by OOM.
>
>2) Commit 03fa63cc96 ("x86/time: Initialize interrupt mode behind
>timer init") can make the kernel boot success again, but with an ACPI
>error happened.
>
>And both *1* and *2* used the same configuration showed in the
>attachment.
>
>Does anything I missed?

Yes, this is exactly what I meant.

Thanks,
Xiaolong
>
>Thanks,
>
>	dou.
>
>>Thanks,
>>Xiaolong
>>
>>>
>>>Thanks,
>>>
>>>	tglx
>>>
>>
>>
>>
>
>

[toc] | [prev] | [next] | [standalone]


#1682904

FromDou Liyang <douly.fnst@cn.fujitsu.com>
Date2017-07-07 06:50 +0200
Message-ID<u0tnj-7hv-7@gated-at.bofh.it>
In reply to#1682888
Hi Thomas,

At 07/07/2017 11:04 AM, Ye Xiaolong wrote:
> On 07/07, Dou Liyang wrote:
>> Hi xiaolong,
>>
>> Really thanks for your testing.
>>
>> At 07/07/2017 09:54 AM, Ye Xiaolong wrote:
>>> On 07/06, Thomas Gleixner wrote:
>>>> On Thu, 6 Jul 2017, kernel test robot wrote:
>>>>
>>>>> commit: 03fa63cc96ab35592e0a7d522b8edbc1e6b02d22 ("x86/time: Initialize interrupt mode behind timer init")
>>>>
>>>>> +----------------+------------+------------+
>>>>> |                | 43436935b7 | 03fa63cc96 |
>>>>> +----------------+------------+------------+
>>>>> | boot_successes | 0          | 4          |
>>>>> +----------------+------------+------------+
>>>>
>>>> So 03fa63cc96 makes the box boot again. I'm confused as usual by the
>>>> output of this tool.,
>>>>
>>>>> kern  :info  : [    0.005000] tsc: Fast TSC calibration using PIT
>>>>> kern  :info  : [    0.006000] tsc: Detected 2195.020 MHz processor
>>>>> kern  :info  : [    0.007000] Calibrating delay loop (skipped), value calculated using timer frequency.. 4390.04 BogoMIPS (lpj=2195020)
>>>>> kern  :info  : [    0.008001] pid_max: default: 90112 minimum: 704
>>>>> kern  :info  : [    0.009037] ACPI: Core revision 20170303
>>>>> kern  :err   : [    0.010002] ACPI Error: Table [DMAR] is not invalidated during early boot stage (20170303/tbxface-193)
>>>>
>>>> Sure we have a error message here, but compared to what? Compared to
>>>> something which does not boot at all?
>>>
>>> Sorry for the confusion, here commit 43436935b7 boot failed due to OOM which
>>> happened at the late stage of kernel boot while the ACPI error showed at the
>>> early boot stage for commit 03fa63cc96 and it didn't appear in 43436935b7's
>>> dmesg.
>>>
>>
>> let's make the problem clearly firstly:
>>
>> 1) Commit 43436935b7 ("x86/xen: Bypass intr mode setup in enlighten_pv
>> system") made kernel boot failed, which caused by OOM.
>>

It is so interesting!

This patch only work for XEN in pv mode, if we boot a kernel w/o XEN,
it will not work in fact.


>> 2) Commit 03fa63cc96 ("x86/time: Initialize interrupt mode behind
>> timer init") can make the kernel boot success again, but with an ACPI
>> error happened.

Indeed, the ACPI Error appeared with this patch.

If x2apic is enabled in x86-64, initializing interrupt mode contains
irq remapping setup and the ACPI DMAR table initialization.

default_setup_apic_routing()
   enable_IR_x2apic()
     irq_remapping_prepare()
       intel_prepare_irq_remapping()
         dmar_table_init()

this patch make interrupt mode setup before acpi_early_init() which has
the check of ACPI table state in acpi_reallocate_root_table() where the
ACPI Error generated.

I have got a machine which supports x2apic. I am tracking the code,
try to find out more.

Thanks,

	dou.
>>
>> And both *1* and *2* used the same configuration showed in the
>> attachment.
>>
>> Does anything I missed?
>
> Yes, this is exactly what I meant.
>
> Thanks,
> Xiaolong
>>
>> Thanks,
>>
>> 	dou.
>>
>>> Thanks,
>>> Xiaolong
>>>
>>>>
>>>> Thanks,
>>>>
>>>> 	tglx
>>>>
>>>
>>>
>>>
>>
>>
>
>
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web