Skip to contentSkip to conversation

ACPI exception with 2.6.29-rc6

DISCUSSION Heinz Diehl 5 participants 7 messages Feb 23, 2009 – Feb 25, 2009 ACPI

lore
Share & tools
lore
#0 lore raw

Hi,

booting 2.6.29-rc6 shows the following in boot.log:

[....]
<7>bus: 00 index 4 mmio: [230000000, fcffffffff]
<6>ACPI: bus type pci registered
<5>PCI: MCFG configuration 0: base f0000000 segment 0 buses 0 - 127
<5>PCI: MCFG area at f0000000 reserved in E820
<6>PCI: Using MMCONFIG at f0000000 - f7ffffff
<6>PCI: Using configuration type 1 for base access
<4>bio: create slab <bio-0> at 0
<7>ACPI: EC: Look up EC in DSDT
--> <3>ACPI: Denied BIOS AML access to invalid port 0x4d0+0x2 (ELCR)
--> <4>ACPI Exception (dsopcode-0419): AE_AML_ILLEGAL_ADDRESS, During address validation of OpRegion [ELCR] [20081204] <6>ACPI: Interpreter enabled
<6>ACPI: (supports S0 S1 S5)
<6>ACPI: Using IOAPIC for interrupt routing
<6>ACPI: No dock devices found.
<6>ACPI: PCI Root Bridge [PCI0] (0000:00)
<7>pci 0000:00:01.1: reg 10 io port: [0xe800-0xe83f]
[....]

...while 2.6.28.7 boots without showing any ACPI exception:

[....]
<7>bus: 00 index 3 mmio: [d0000000, efffffff]
<7>bus: 00 index 4 mmio: [230000000, fcffffffff] <6>ACPI: bus type pci registered
<5>PCI: MCFG configuration 0: base f0000000 segment 0 buses 0 - 127 <5>PCI: MCFG area at f0000000 reserved in E820
<6>PCI: Using MMCONFIG at f0000000 - f7ffffff
<6>PCI: Using configuration type 1 for base access <7>ACPI: EC: Look up EC in DSDT
<6>ACPI: Interpreter enabled
<6>ACPI: (supports S0 S1 S5)
<6>ACPI: Using IOAPIC for interrupt routing
<6>ACPI: No dock devices found.
<6>ACPI: PCI Root Bridge [PCI0] (0000:00)
<7>pci 0000:00:01.1: reg 10 io port: [0xe800-0xe83f] [....]

#1 lore raw
Quoted 14 lines · Heinz Diehl

Hi,

booting 2.6.29-rc6 shows the following in boot.log:

[....]
<7>bus: 00 index 4 mmio: [230000000, fcffffffff]
<6>ACPI: bus type pci registered
<5>PCI: MCFG configuration 0: base f0000000 segment 0 buses 0 - 127 <5>PCI: MCFG area at f0000000 reserved in E820
<6>PCI: Using MMCONFIG at f0000000 - f7ffffff
<6>PCI: Using configuration type 1 for base access <4>bio: create slab <bio-0> at 0
<7>ACPI: EC: Look up EC in DSDT
--> <3>ACPI: Denied BIOS AML access to invalid port 0x4d0+0x2 (ELCR)

Quoted 8 lines

--> <4>ACPI Exception (dsopcode-0419): AE_AML_ILLEGAL_ADDRESS, During address validation of OpRegion [ELCR] [20081204] <6>ACPI: Interpreter enabled
<6>ACPI: (supports S0 S1 S5)
<6>ACPI: Using IOAPIC for interrupt routing
<6>ACPI: No dock devices found.
<6>ACPI: PCI Root Bridge [PCI0] (0000:00)
<7>pci 0000:00:01.1: reg 10 io port: [0xe800-0xe83f]
[....]

Well, this looks like a result of some recent ACPICA changes. ACPI people CCed.

Thanks,
Rafael

#2 lore raw
In reply to Heinz Diehl

(cc linux-acpi)

Quoted 25 lines · On Mon, 23 Feb 2009 17:46:51 +0100 Heinz Diehl <[email protected]> wrote:

Hi,

booting 2.6.29-rc6 shows the following in boot.log:

[....]
<7>bus: 00 index 4 mmio: [230000000, fcffffffff]
<6>ACPI: bus type pci registered
<5>PCI: MCFG configuration 0: base f0000000 segment 0 buses 0 - 127
<5>PCI: MCFG area at f0000000 reserved in E820
<6>PCI: Using MMCONFIG at f0000000 - f7ffffff
<6>PCI: Using configuration type 1 for base access
<4>bio: create slab <bio-0> at 0
<7>ACPI: EC: Look up EC in DSDT
--> <3>ACPI: Denied BIOS AML access to invalid port 0x4d0+0x2 (ELCR)
--> <4>ACPI Exception (dsopcode-0419): AE_AML_ILLEGAL_ADDRESS, During address validation of OpRegion [ELCR] [20081204] <6>ACPI: Interpreter enabled
<6>ACPI: (supports S0 S1 S5)
<6>ACPI: Using IOAPIC for interrupt routing
<6>ACPI: No dock devices found.
<6>ACPI: PCI Root Bridge [PCI0] (0000:00)
<7>pci 0000:00:01.1: reg 10 io port: [0xe800-0xe83f]
[....]

...while 2.6.28.7 boots without showing any ACPI exception:

Quoted 16 lines

[....]
<7>bus: 00 index 3 mmio: [d0000000, efffffff]
<7>bus: 00 index 4 mmio: [230000000, fcffffffff] <6>ACPI: bus type pci registered
<5>PCI: MCFG configuration 0: base f0000000 segment 0 buses 0 - 127 <5>PCI: MCFG area at f0000000 reserved in E820
<6>PCI: Using MMCONFIG at f0000000 - f7ffffff
<6>PCI: Using configuration type 1 for base access <7>ACPI: EC: Look up EC in DSDT
<6>ACPI: Interpreter enabled
<6>ACPI: (supports S0 S1 S5)
<6>ACPI: Using IOAPIC for interrupt routing
<6>ACPI: No dock devices found.
<6>ACPI: PCI Root Bridge [PCI0] (0000:00)
<7>pci 0000:00:01.1: reg 10 io port: [0xe800-0xe83f] [....]

Are there any observeable effects from this apart from the scary message?

Thanks.

reviewer
#3 lore raw
Quoted 4 lines
Quoted 4 lines

--> <3>ACPI: Denied BIOS AML access to invalid port 0x4d0+0x2 (ELCR)
--> <4>ACPI Exception (dsopcode-0419): AE_AML_ILLEGAL_ADDRESS, During address validation of OpRegion [ELCR] [20081204]

Heinz,
Thanks for the note.
Please attach the output of acpidump here:

http://bugzilla.kernel.org/show_bug.cgi?id=12758

Also, if this system has both pic and IOAPIC mode, it would be interesting to try booting it in both, eg with "noapic".

thanks,
-Len

#4 lore raw
Quoted 2 lines · Len Brown

Please attach the output of acpidump here:
http://bugzilla.kernel.org/show_bug.cgi?id=12758

Did just upload the attachment.

Quoted 3 lines

Also, if this system has both pic and IOAPIC mode, it would be interesting to try booting it in both, eg with "noapic".

Booting with the "noapic" option, the logfile shows:

[....]
<7>bus: 00 index 3 mmio: [d0000000, efffffff]
<7>bus: 00 index 4 mmio: [230000000, fcffffffff]
<6>ACPI: bus type pci registered
<5>PCI: MCFG configuration 0: base f0000000 segment 0 buses 0 - 127
<5>PCI: MCFG area at f0000000 reserved in E820
<6>PCI: Using MMCONFIG at f0000000 - f7ffffff
<6>PCI: Using configuration type 1 for base access
<4>bio: create slab <bio-0> at 0
<7>ACPI: EC: Look up EC in DSDT
<3>ACPI: Denied BIOS AML access to invalid port 0x4d0+0x2 (ELCR)
<4>ACPI Exception (dsopcode-0419): AE_AML_ILLEGAL_ADDRESS, During address validation of OpRegion [ELCR] [20081204] <6>ACPI: Interpreter enabled
<6>ACPI: (supports S0 S1 S5)
<6>ACPI: Using PIC for interrupt routing
<6>ACPI: No dock devices found.
<6>ACPI: PCI Root Bridge [PCI0] (0000:00)
<7>pci 0000:00:01.1: reg 10 io port: [0xe800-0xe83f]
[....]

Greetings,
Heinz.

#5 lore raw
In reply to Andrew Morton
Quoted 2 lines · Andrew Morton

Are there any observeable effects from this apart from the scary message?

The machine is up for 1.5 hours now, did not see any problems so far.

Greetings,
Heinz.

#6 lore raw
In reply to Heinz Diehl
Quoted 4 lines · Heinz Diehl

Hi,

booting 2.6.29-rc6 shows the following in boot.log:

Quoted 11 lines

[....]
<7>bus: 00 index 4 mmio: [230000000, fcffffffff]
<6>ACPI: bus type pci registered
<5>PCI: MCFG configuration 0: base f0000000 segment 0 buses 0 - 127
<5>PCI: MCFG area at f0000000 reserved in E820
<6>PCI: Using MMCONFIG at f0000000 - f7ffffff
<6>PCI: Using configuration type 1 for base access
<4>bio: create slab <bio-0> at 0
<7>ACPI: EC: Look up EC in DSDT
--> <3>ACPI: Denied BIOS AML access to invalid port 0x4d0+0x2 (ELCR)
--> <4>ACPI Exception (dsopcode-0419): AE_AML_ILLEGAL_ADDRESS, During address validation of OpRegion [ELCR] [20081204]

Your BIOS defines an operation region on some IO addresses that the kernel will not allow it to access since they are things that BIOS AML code is not supposed to be poking with. This check was recently added. Windows XP and later also disallow AML access to these registers.

Note that this doesn't necessarily mean that the BIOS is actually trying to access those registers. On my A8N-SLI Deluxe machine, the ACPI AML defines an operation region for the ELCR register, but it doesn't seem like it is ever used.

In any case.. nothing to really worry about.