lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1250498613.28336.68.camel@minggr.sh.intel.com>
Date:	Mon, 17 Aug 2009 16:43:32 +0800
From:	Lin Ming <ming.m.lin@...el.com>
To:	Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Cc:	"Brown, Len" <len.brown@...el.com>,
	"Moore, Robert" <robert.moore@...el.com>,
	"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: acpi_ex_system_memory_space_handler oops

On Thu, 2009-08-13 at 04:10 +0800, Sergey Senozhatsky wrote:
> [    0.205668] ACPI Error (dswload-0790): [PCFG] Namespace lookup failure, AE_ALREADY_EXISTS
> [    0.205899] ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog 20090521 psloop-227
> [    0.206124] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.RBPE] (Node f7017678), AE_ALREADY_EXISTS
> [    0.206417] ACPI: Marking method RBPE as Serialized because of AE_ALREADY_EXISTS error
> [    0.206773] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.P0P4.XCRD._STA] (Node f7015648), AE_ALREADY_EXISTS
> [    0.207070] ACPI: Marking method _STA as Serialized because of AE_ALREADY_EXISTS error
> [    0.207326] ACPI Error (uteval-0256): Method execution failed [\_SB_.PCI0.P0P4.XCRD._STA] (Node f7015648), AE_ALREADY_EXISTS
> [    0.213503] ACPI Error: Could not map memory at 0000000000000000, size 0 20090521 exregion-173
> [    0.213734] ACPI Exception: AE_NO_MEMORY, Returned by Handler for [SystemMemory] 20090521 evregion-424
> [    0.213963] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.RBPE] (Node f7017678), AE_NO_MEMORY
> [    0.214286] ACPI Error (psparse-0537): Method parse/execution failed [\_GPE._L01] (Node f701d198), AE_NO_MEMORY
> [    0.214616] ACPI Exception: AE_NO_MEMORY, while evaluating GPE method [_L01] 20090521 evgpe-568
> [    0.216428] PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
> [    0.216523] PCI: updated MCFG configuration 0: base e0000000 segment 0 buses 0 - 63
> [    0.216627] PCI: Using MMCONFIG for extended config space

Hi, Sergey

I have 2 debug patches here, one is a DSDT patch and the other is a
debug kernel patch.

1. DSDT patch

There are many AE_ALREADY_EXISTS error, as above.
It is caused by same region/field name defined in different methods.
PCFG/XCFG are defined in method RBPE/RWPE/RDPE/WBPE/WWPE/WDPE/RWDP.
Actually, these definition are valid, but we don't handle this case well
now, so it may cause problem.

The attched DSDT.dsl is the custom DSDT, and you can find how to use it
at linux-2.6/Documentation/acpi/dsdt-override.txt.
See the DSDT.patch to find what I changed for the custom DSDT.

2. Debug kernel patch

Currently, we exit the interpreter when setup region, because it may
execute control methods, such as _REG.

The attached debug kernel patch (region-debug.patch) don't exit the
interpreter if the region is temporary, namely, it is defined inside a
method.


Would you please try the DSDT patch and the debug kernel patch to see if
any of them fixes the oops?

(Test one patch each time, not both)

Thanks,
Lin Ming









 


View attachment "DSDT.dsl" of type "text/x-dsl" (272550 bytes)

View attachment "DSDT.patch" of type "text/x-patch" (4420 bytes)

View attachment "region-debug.patch" of type "text/x-patch" (1683 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ