Re: "APIC error on CPU1: 00(40)" during resume

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Sunday, December 21, 2008 - 1:29 am

* Frans Pop <elendil@planet.nl> wrote:


hm, that warning seems to show an ACPI bug (Len Cc:-ed): we preempt in an 
atomic section - right during executing an AML scriptlet. Executing ACPI 
AMLs is a rather fragile moment of the kernel: they are used by the BIOS 
to indirectly instruct the kernel to tweak lowlevel chipset registers and 
other platform details.

The kernel executes AMLs 'blindly' - they tweak details that Linux 
typically has no knowledge about via any driver - so these things must 
absolutely run atomic, and scheduling away in the wrong moment (which 
means implicitly re-enabling interrupts) can leave the system in an 
inconsistent state.

This 'blindness' and opaqueness of AML execution is perhaps the nastiest 
aspect of the whole ACPI engine (because their opacity makes them 
undebuggable and unfixable in essence). Nevertheless, it still might be 
some unrelated phenomenon to your APIC illegal vector errors.

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Regression from 2.6.26: Hibernation (possibly suspend) ..., Rafael J. Wysocki, (Wed Dec 3, 12:40 am)
Re: Regression from 2.6.26: Hibernation (possibly suspend) ..., Rafael J. Wysocki, (Wed Dec 3, 12:52 am)
MSI changes in .28, Frans Pop, (Fri Dec 5, 1:53 am)
Re: MSI changes in .28, Yinghai Lu, (Fri Dec 5, 2:09 am)
Re: MSI changes in .28, Ingo Molnar, (Fri Dec 5, 5:20 am)
Re: MSI changes in .28, Eric Dumazet, (Fri Dec 5, 6:04 am)
Re: MSI changes in .28, H. Peter Anvin, (Fri Dec 5, 10:49 am)
Re: [PATCH 1/3] PCI: Rework default handling of suspend an ..., Rafael J. Wysocki, (Sat Dec 6, 10:22 am)
Re: [PATCH 2/3] PCI: Suspend and resume PCI Express ports ..., Rafael J. Wysocki, (Sat Dec 6, 10:25 am)
Re: [PATCH 1/3] PCI: Rework default handling of suspend an ..., Rafael J. Wysocki, (Sat Dec 6, 10:43 am)
Re: [PATCH 2/3] PCI: Suspend and resume PCI Express ports ..., Rafael J. Wysocki, (Sat Dec 6, 10:46 am)
Re: [PATCH 2/3] PCI: Suspend and resume PCI Express ports ..., Rafael J. Wysocki, (Sun Dec 7, 5:53 am)
Re: [PATCH 3/3] Sound (HDA Intel): Restore PCI configurati ..., Rafael J. Wysocki, (Thu Dec 11, 1:03 pm)
Re: [PATCH 3/3] Sound (HDA Intel): Restore PCI configurati ..., Rafael J. Wysocki, (Thu Dec 11, 1:38 pm)
Re: "APIC error on CPU1: 00(40)" during resume, Ingo Molnar, (Sun Dec 21, 1:29 am)
Re: Regression from 2.6.26: Hibernation (possibly suspend) ..., Rafael J. Wysocki, (Thu Jan 29, 7:48 am)
Re: Regression from 2.6.26: Hibernation (possibly suspend) ..., Alexey Starikovskiy, (Thu Jan 29, 9:44 am)