All of lore.kernel.org
 help / color / mirror / Atom feed
* bug report: ACPI Error: [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110112/psargs-359)
@ 2011-09-18 17:18 Jim Green
  2011-09-19  0:23 ` Lin Ming
  0 siblings, 1 reply; 7+ messages in thread
From: Jim Green @ 2011-09-18 17:18 UTC (permalink / raw)
  To: linux-acpi

Hello:

I am running 2.6.38.8-4 kernel on p8p67 deluxe motherboard(bios
version 1702, latest stable)

2357 Sep 18 13:05:07 localhost kernel: [    1.045727] ACPI: EC: Look
up EC in DSDT
2358 Sep 18 13:05:07 localhost kernel: [    1.046535] ACPI: Executed 1
blocks of module-level executable AML code
2359 Sep 18 13:05:07 localhost kernel: [    1.049876] ACPI Error:
[RAMB] Namespace lookup failure, AE_NOT_FOUND (20110112/psargs-359)
2360 Sep 18 13:05:07 localhost kernel: [    1.049880] ACPI Exception:
AE_NOT_FOUND, Could not execute arguments for [RAMW] (Region)
(20110112/         nsinit-349)
2361 Sep 18 13:05:07 localhost kernel: [    1.050347] ACPI: SSDT
00000000df5d4818 0079C (v01    AMI      IST 00000001 MSFT 03000001)
2362 Sep 18 13:05:07 localhost kernel: [    1.050805] ACPI: Dynamic
OEM Table Load:
2363 Sep 18 13:05:07 localhost kernel: [    1.050807] ACPI: SSDT
    (null) 0079C (v01    AMI      IST 00000001 MSFT 03000001)
2364 Sep 18 13:05:07 localhost kernel: [    1.050883] ACPI: SSDT
00000000df5dba18 0021C (v01    AMI      CST 00000001 MSFT 03000001)
2365 Sep 18 13:05:07 localhost kernel: [    1.051168] ACPI: Dynamic
OEM Table Load:
2366 Sep 18 13:05:07 localhost kernel: [    1.051169] ACPI: SSDT
    (null) 0021C (v01    AMI      CST 00000001 MSFT 03000001)
2367 Sep 18 13:05:07 localhost kernel: [    1.052510] ACPI: Interpreter enabled
2368 Sep 18 13:05:07 localhost kernel: [    1.052512] ACPI: (supports
S0 S1 S3 S4 S5)
2369 Sep 18 13:05:07 localhost kernel: [    1.052530] ACPI: Using
IOAPIC for interrupt routing

Could anyone help how to fix this error?.. is this bug fixed in some
later kernel versions?

Thank you very much!

Jim.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bug report: ACPI Error: [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110112/psargs-359)
  2011-09-18 17:18 bug report: ACPI Error: [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110112/psargs-359) Jim Green
@ 2011-09-19  0:23 ` Lin Ming
       [not found]   ` <CACAe89zS5zckGc-2CMcO+QW5tZyXpDq4mvUHNUc8T4WZYMPF6A@mail.gmail.com>
  0 siblings, 1 reply; 7+ messages in thread
From: Lin Ming @ 2011-09-19  0:23 UTC (permalink / raw)
  To: Jim Green; +Cc: linux-acpi

On Mon, Sep 19, 2011 at 1:18 AM, Jim Green
<student.northwestern@gmail.com> wrote:
> Hello:
>
> I am running 2.6.38.8-4 kernel on p8p67 deluxe motherboard(bios
> version 1702, latest stable)
>
> 2357 Sep 18 13:05:07 localhost kernel: [    1.045727] ACPI: EC: Look
> up EC in DSDT
> 2358 Sep 18 13:05:07 localhost kernel: [    1.046535] ACPI: Executed 1
> blocks of module-level executable AML code
> 2359 Sep 18 13:05:07 localhost kernel: [    1.049876] ACPI Error:
> [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110112/psargs-359)
> 2360 Sep 18 13:05:07 localhost kernel: [    1.049880] ACPI Exception:
> AE_NOT_FOUND, Could not execute arguments for [RAMW] (Region)
> (20110112/         nsinit-349)
> 2361 Sep 18 13:05:07 localhost kernel: [    1.050347] ACPI: SSDT
> 00000000df5d4818 0079C (v01    AMI      IST 00000001 MSFT 03000001)
> 2362 Sep 18 13:05:07 localhost kernel: [    1.050805] ACPI: Dynamic
> OEM Table Load:
> 2363 Sep 18 13:05:07 localhost kernel: [    1.050807] ACPI: SSDT
>    (null) 0079C (v01    AMI      IST 00000001 MSFT 03000001)
> 2364 Sep 18 13:05:07 localhost kernel: [    1.050883] ACPI: SSDT
> 00000000df5dba18 0021C (v01    AMI      CST 00000001 MSFT 03000001)
> 2365 Sep 18 13:05:07 localhost kernel: [    1.051168] ACPI: Dynamic
> OEM Table Load:
> 2366 Sep 18 13:05:07 localhost kernel: [    1.051169] ACPI: SSDT
>    (null) 0021C (v01    AMI      CST 00000001 MSFT 03000001)
> 2367 Sep 18 13:05:07 localhost kernel: [    1.052510] ACPI: Interpreter enabled
> 2368 Sep 18 13:05:07 localhost kernel: [    1.052512] ACPI: (supports
> S0 S1 S3 S4 S5)
> 2369 Sep 18 13:05:07 localhost kernel: [    1.052530] ACPI: Using
> IOAPIC for interrupt routing
>
> Could anyone help how to fix this error?.. is this bug fixed in some
> later kernel versions?

Could you attach the acpidump output?

Regards,
Lin Ming
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bug report: ACPI Error: [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110112/psargs-359)
       [not found]   ` <CACAe89zS5zckGc-2CMcO+QW5tZyXpDq4mvUHNUc8T4WZYMPF6A@mail.gmail.com>
@ 2011-09-19  2:15     ` Jim Green
  2011-09-19  7:04     ` Lin Ming
  1 sibling, 0 replies; 7+ messages in thread
From: Jim Green @ 2011-09-19  2:15 UTC (permalink / raw)
  To: Lin Ming; +Cc: linux-acpi

[-- Attachment #1: Type: text/plain, Size: 63 bytes --]

Also attached the lspci -v output hope it helps.

THanks.
Jim.

[-- Attachment #2: lspci.txt --]
[-- Type: text/plain, Size: 10303 bytes --]

00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09)
	Subsystem: ASUSTeK Computer Inc. Device 844d
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>

00:01.0 PCI bridge: Intel Corporation Sandy Bridge PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: f8000000-fa0fffff
	Prefetchable memory behind bridge: 00000000e8000000-00000000f3ffffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04)
	Subsystem: ASUSTeK Computer Inc. Device 844d
	Flags: bus master, fast devsel, latency 0, IRQ 5
	Memory at fa729000 (64-bit, non-prefetchable) [size=16]
	Capabilities: <access denied>

00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 05)
	Subsystem: ASUSTeK Computer Inc. Device 849c
	Flags: bus master, fast devsel, latency 0, IRQ 54
	Memory at fa700000 (32-bit, non-prefetchable) [size=128K]
	Memory at fa728000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at f040 [size=32]
	Capabilities: <access denied>
	Kernel driver in use: e1000e

00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 05) (prog-if 20 [EHCI])
	Subsystem: ASUSTeK Computer Inc. Device 844d
	Flags: bus master, medium devsel, latency 0, IRQ 23
	Memory at fa727000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 05)
	Subsystem: ASUSTeK Computer Inc. Device 8418
	Flags: bus master, fast devsel, latency 0, IRQ 55
	Memory at fa720000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel

00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b5) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 5 (rev b5) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	Memory behind bridge: fa600000-fa6fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.6 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 7 (rev b5) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	Memory behind bridge: fa500000-fa5fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.7 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 8 (rev b5) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=05, subordinate=0d, sec-latency=0
	I/O behind bridge: 0000b000-0000dfff
	Memory behind bridge: fa100000-fa4fffff
	Prefetchable memory behind bridge: 00000000e4000000-00000000e40fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 05) (prog-if 20 [EHCI])
	Subsystem: ASUSTeK Computer Inc. Device 844d
	Flags: bus master, medium devsel, latency 0, IRQ 23
	Memory at fa726000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1f.0 ISA bridge: Intel Corporation Cougar Point LPC Controller (rev 05)
	Subsystem: ASUSTeK Computer Inc. Device 844d
	Flags: bus master, medium devsel, latency 0
	Capabilities: <access denied>

00:1f.2 SATA controller: Intel Corporation Cougar Point 6 port SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0])
	Subsystem: ASUSTeK Computer Inc. Device 844d
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 52
	I/O ports at f090 [size=8]
	I/O ports at f080 [size=4]
	I/O ports at f070 [size=8]
	I/O ports at f060 [size=4]
	I/O ports at f020 [size=32]
	Memory at fa725000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 05)
	Subsystem: ASUSTeK Computer Inc. Device 844d
	Flags: medium devsel, IRQ 18
	Memory at fa724000 (64-bit, non-prefetchable) [size=256]
	I/O ports at f000 [size=32]
	Kernel driver in use: i801_smbus

01:00.0 VGA compatible controller: nVidia Corporation GF104 [GeForce GTX 460] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: Micro-Star International Co., Ltd. Device 2322
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at f8000000 (32-bit, non-prefetchable) [size=32M]
	Memory at e8000000 (64-bit, prefetchable) [size=128M]
	Memory at f0000000 (64-bit, prefetchable) [size=64M]
	I/O ports at e000 [size=128]
	[virtual] Expansion ROM at fa000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia

01:00.1 Audio device: nVidia Corporation GF104 High Definition Audio Controller (rev a1)
	Subsystem: Micro-Star International Co., Ltd. Device 2322
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at fa080000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel

03:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03) (prog-if 30)
	Subsystem: ASUSTeK Computer Inc. Device 8413
	Flags: bus master, fast devsel, latency 0, IRQ 11
	Memory at fa600000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>

04:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03) (prog-if 30)
	Subsystem: ASUSTeK Computer Inc. Device 8413
	Flags: bus master, fast devsel, latency 0, IRQ 3
	Memory at fa500000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>

05:00.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Memory at fa400000 (32-bit, non-prefetchable) [size=128K]
	Bus: primary=05, secondary=06, subordinate=0d, sec-latency=0
	I/O behind bridge: 0000b000-0000dfff
	Memory behind bridge: fa100000-fa3fffff
	Prefetchable memory behind bridge: 00000000e4000000-00000000e40fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

06:01.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=06, secondary=07, subordinate=07, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: fa300000-fa3fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

06:04.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=06, secondary=08, subordinate=08, sec-latency=0
	Capabilities: <access denied>
	Kernel driver in use: pcieport

06:05.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=06, secondary=09, subordinate=09, sec-latency=0
	I/O behind bridge: 0000c000-0000cfff
	Memory behind bridge: fa200000-fa2fffff
	Prefetchable memory behind bridge: 00000000e4000000-00000000e40fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

06:06.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=06, secondary=0a, subordinate=0a, sec-latency=0
	I/O behind bridge: 0000b000-0000bfff
	Memory behind bridge: fa100000-fa1fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

06:07.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=06, secondary=0b, subordinate=0b, sec-latency=0
	Capabilities: <access denied>
	Kernel driver in use: pcieport

06:08.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=06, secondary=0c, subordinate=0d, sec-latency=0
	Capabilities: <access denied>
	Kernel driver in use: pcieport

07:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series Firewire Controller (rev 01) (prog-if 10 [OHCI])
	Subsystem: ASUSTeK Computer Inc. Device 8384
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at fa300000 (64-bit, non-prefetchable) [size=2K]
	I/O ports at d000 [size=256]
	Capabilities: <access denied>
	Kernel driver in use: firewire_ohci

09:00.0 SATA controller: JMicron Technology Corp. JMB362 AHCI Controller (rev 10) (prog-if 01 [AHCI 1.0])
	Subsystem: ASUSTeK Computer Inc. Device 8460
	Flags: bus master, fast devsel, latency 0, IRQ 16
	I/O ports at c040 [size=8]
	I/O ports at c030 [size=4]
	I/O ports at c020 [size=8]
	I/O ports at c010 [size=4]
	I/O ports at c000 [size=16]
	Memory at fa210000 (32-bit, non-prefetchable) [size=512]
	[virtual] Expansion ROM at e4000000 [disabled] [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

0a:00.0 SATA controller: Marvell Technology Group Ltd. Device 9130 (rev 11) (prog-if 01 [AHCI 1.0])
	Subsystem: ASUSTeK Computer Inc. Device 8438
	Flags: bus master, fast devsel, latency 0, IRQ 53
	I/O ports at b090 [size=8]
	I/O ports at b080 [size=4]
	I/O ports at b070 [size=8]
	I/O ports at b060 [size=4]
	I/O ports at b050 [size=16]
	Memory at fa121000 (32-bit, non-prefetchable) [size=2K]
	Expansion ROM at fa110000 [disabled] [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

0c:00.0 PCI bridge: Device 1b21:1080 (rev 01) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=0c, secondary=0d, subordinate=0d, sec-latency=32
	Capabilities: <access denied>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bug report: ACPI Error: [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110112/psargs-359)
       [not found]   ` <CACAe89zS5zckGc-2CMcO+QW5tZyXpDq4mvUHNUc8T4WZYMPF6A@mail.gmail.com>
  2011-09-19  2:15     ` Jim Green
@ 2011-09-19  7:04     ` Lin Ming
  2011-09-22  7:51       ` Lin Ming
  1 sibling, 1 reply; 7+ messages in thread
From: Lin Ming @ 2011-09-19  7:04 UTC (permalink / raw)
  To: Jim Green; +Cc: linux-acpi, Moore, Robert

On Mon, 2011-09-19 at 10:12 +0800, Jim Green wrote:
> On 19 September 2011 00:23, Lin Ming <ming.m.lin@intel.com> wrote:
> > On Mon, Sep 19, 2011 at 1:18 AM, Jim Green
> > <student.northwestern@gmail.com> wrote:
> >> Hello:
> >>
> >> I am running 2.6.38.8-4 kernel on p8p67 deluxe motherboard(bios
> >> version 1702, latest stable)
> >>
> >> 2357 Sep 18 13:05:07 localhost kernel: [    1.045727] ACPI: EC: Look
> >> up EC in DSDT
> >> 2358 Sep 18 13:05:07 localhost kernel: [    1.046535] ACPI: Executed 1
> >> blocks of module-level executable AML code
> >> 2359 Sep 18 13:05:07 localhost kernel: [    1.049876] ACPI Error:
> >> [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110112/psargs-359)
> >> 2360 Sep 18 13:05:07 localhost kernel: [    1.049880] ACPI Exception:
> >> AE_NOT_FOUND, Could not execute arguments for [RAMW] (Region)
> >> (20110112/         nsinit-349)
> >> 2361 Sep 18 13:05:07 localhost kernel: [    1.050347] ACPI: SSDT
> >> 00000000df5d4818 0079C (v01    AMI      IST 00000001 MSFT 03000001)
> >> 2362 Sep 18 13:05:07 localhost kernel: [    1.050805] ACPI: Dynamic
> >> OEM Table Load:
> >> 2363 Sep 18 13:05:07 localhost kernel: [    1.050807] ACPI: SSDT
> >>    (null) 0079C (v01    AMI      IST 00000001 MSFT 03000001)
> >> 2364 Sep 18 13:05:07 localhost kernel: [    1.050883] ACPI: SSDT
> >> 00000000df5dba18 0021C (v01    AMI      CST 00000001 MSFT 03000001)
> >> 2365 Sep 18 13:05:07 localhost kernel: [    1.051168] ACPI: Dynamic
> >> OEM Table Load:
> >> 2366 Sep 18 13:05:07 localhost kernel: [    1.051169] ACPI: SSDT
> >>    (null) 0021C (v01    AMI      CST 00000001 MSFT 03000001)
> >> 2367 Sep 18 13:05:07 localhost kernel: [    1.052510] ACPI: Interpreter enabled
> >> 2368 Sep 18 13:05:07 localhost kernel: [    1.052512] ACPI: (supports
> >> S0 S1 S3 S4 S5)
> >> 2369 Sep 18 13:05:07 localhost kernel: [    1.052530] ACPI: Using
> >> IOAPIC for interrupt routing
> >>
> >> Could anyone help how to fix this error?.. is this bug fixed in some
> >> later kernel versions?
> >
> > Could you attach the acpidump output?
> 
> Hi!
> 
> Pls see attached, THanks!

Hi, please try below patch on 2.6.38.* kernel.

(Note, this patch can't be applied on top of latest 3.1-rc kernel,
because dsopcode.c file was renamed).

>From 5eeaba8a77213dc9ce777a69fd178468253ef578 Mon Sep 17 00:00:00 2001
From: Lin Ming <ming.m.lin@intel.com>
Date: Mon, 19 Sep 2011 14:36:42 +0800
Subject: [PATCH] ACPICA: Save scope node to resolve region argument

    Scope (_SB)
    {
        Name (RAMB, 0xDF5A1018)
        OperationRegion (\RAMW, SystemMemory, RAMB, 0x00010000)
    }

For above ASL code, we need to save scope node(\_SB) to lookup
the argument node(\_SB.RAMB).

Reported-by: Jim Green <student.northwestern@gmail.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
---
 drivers/acpi/acpica/acobject.h |    1 +
 drivers/acpi/acpica/dsopcode.c |    2 +-
 drivers/acpi/acpica/excreate.c |    6 ++++++
 3 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/drivers/acpi/acpica/acobject.h b/drivers/acpi/acpica/acobject.h
index 1055769..6d276c2 100644
--- a/drivers/acpi/acpica/acobject.h
+++ b/drivers/acpi/acpica/acobject.h
@@ -358,6 +358,7 @@ typedef enum {
  */
 struct acpi_object_extra {
 	ACPI_OBJECT_COMMON_HEADER struct acpi_namespace_node *method_REG;	/* _REG method for this region (if any) */
+	struct acpi_namespace_node *scope_node;
 	void *region_context;	/* Region-specific data */
 	u8 *aml_start;
 	u32 aml_length;
diff --git a/drivers/acpi/acpica/dsopcode.c b/drivers/acpi/acpica/dsopcode.c
index bbecf29..7ba0335 100644
--- a/drivers/acpi/acpica/dsopcode.c
+++ b/drivers/acpi/acpica/dsopcode.c
@@ -394,7 +394,7 @@ acpi_status acpi_ds_get_region_arguments(union acpi_operand_object *obj_desc)
 
 	/* Execute the argument AML */
 
-	status = acpi_ds_execute_arguments(node, node->parent,
+	status = acpi_ds_execute_arguments(node, extra_desc->extra.scope_node,
 					   extra_desc->extra.aml_length,
 					   extra_desc->extra.aml_start);
 	if (ACPI_FAILURE(status)) {
diff --git a/drivers/acpi/acpica/excreate.c b/drivers/acpi/acpica/excreate.c
index e7b372d..df6ef00 100644
--- a/drivers/acpi/acpica/excreate.c
+++ b/drivers/acpi/acpica/excreate.c
@@ -329,6 +329,12 @@ acpi_ex_create_region(u8 * aml_start,
 	region_obj2 = obj_desc->common.next_object;
 	region_obj2->extra.aml_start = aml_start;
 	region_obj2->extra.aml_length = aml_length;
+	if (walk_state->scope_info) {
+		region_obj2->extra.scope_node =
+		    walk_state->scope_info->scope.node;
+	} else {
+		region_obj2->extra.scope_node = node;
+	}
 
 	/* Init the region from the operands */
 
-- 
1.7.2.5




^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: bug report: ACPI Error: [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110112/psargs-359)
  2011-09-19  7:04     ` Lin Ming
@ 2011-09-22  7:51       ` Lin Ming
  2011-09-22 20:45         ` Jim Green
  0 siblings, 1 reply; 7+ messages in thread
From: Lin Ming @ 2011-09-22  7:51 UTC (permalink / raw)
  To: Jim Green; +Cc: linux-acpi, Moore, Robert

On Mon, Sep 19, 2011 at 3:04 PM, Lin Ming <ming.m.lin@intel.com> wrote:
> On Mon, 2011-09-19 at 10:12 +0800, Jim Green wrote:
>> On 19 September 2011 00:23, Lin Ming <ming.m.lin@intel.com> wrote:
>> > On Mon, Sep 19, 2011 at 1:18 AM, Jim Green
>> > <student.northwestern@gmail.com> wrote:
>> >> Hello:
>> >>
>> >> I am running 2.6.38.8-4 kernel on p8p67 deluxe motherboard(bios
>> >> version 1702, latest stable)
>> >>
>> >> 2357 Sep 18 13:05:07 localhost kernel: [    1.045727] ACPI: EC: Look
>> >> up EC in DSDT
>> >> 2358 Sep 18 13:05:07 localhost kernel: [    1.046535] ACPI: Executed 1
>> >> blocks of module-level executable AML code
>> >> 2359 Sep 18 13:05:07 localhost kernel: [    1.049876] ACPI Error:
>> >> [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110112/psargs-359)
>> >> 2360 Sep 18 13:05:07 localhost kernel: [    1.049880] ACPI Exception:
>> >> AE_NOT_FOUND, Could not execute arguments for [RAMW] (Region)
>> >> (20110112/         nsinit-349)
>> >> 2361 Sep 18 13:05:07 localhost kernel: [    1.050347] ACPI: SSDT
>> >> 00000000df5d4818 0079C (v01    AMI      IST 00000001 MSFT 03000001)
>> >> 2362 Sep 18 13:05:07 localhost kernel: [    1.050805] ACPI: Dynamic
>> >> OEM Table Load:
>> >> 2363 Sep 18 13:05:07 localhost kernel: [    1.050807] ACPI: SSDT
>> >>    (null) 0079C (v01    AMI      IST 00000001 MSFT 03000001)
>> >> 2364 Sep 18 13:05:07 localhost kernel: [    1.050883] ACPI: SSDT
>> >> 00000000df5dba18 0021C (v01    AMI      CST 00000001 MSFT 03000001)
>> >> 2365 Sep 18 13:05:07 localhost kernel: [    1.051168] ACPI: Dynamic
>> >> OEM Table Load:
>> >> 2366 Sep 18 13:05:07 localhost kernel: [    1.051169] ACPI: SSDT
>> >>    (null) 0021C (v01    AMI      CST 00000001 MSFT 03000001)
>> >> 2367 Sep 18 13:05:07 localhost kernel: [    1.052510] ACPI: Interpreter enabled
>> >> 2368 Sep 18 13:05:07 localhost kernel: [    1.052512] ACPI: (supports
>> >> S0 S1 S3 S4 S5)
>> >> 2369 Sep 18 13:05:07 localhost kernel: [    1.052530] ACPI: Using
>> >> IOAPIC for interrupt routing
>> >>
>> >> Could anyone help how to fix this error?.. is this bug fixed in some
>> >> later kernel versions?
>> >
>> > Could you attach the acpidump output?
>>
>> Hi!
>>
>> Pls see attached, THanks!
>
> Hi, please try below patch on 2.6.38.* kernel.

Hi, Jim

Did you get a chance to test below patch?

Thanks,
Lin Ming

>
> (Note, this patch can't be applied on top of latest 3.1-rc kernel,
> because dsopcode.c file was renamed).
>
> From 5eeaba8a77213dc9ce777a69fd178468253ef578 Mon Sep 17 00:00:00 2001
> From: Lin Ming <ming.m.lin@intel.com>
> Date: Mon, 19 Sep 2011 14:36:42 +0800
> Subject: [PATCH] ACPICA: Save scope node to resolve region argument
>
>    Scope (_SB)
>    {
>        Name (RAMB, 0xDF5A1018)
>        OperationRegion (\RAMW, SystemMemory, RAMB, 0x00010000)
>    }
>
> For above ASL code, we need to save scope node(\_SB) to lookup
> the argument node(\_SB.RAMB).
>
> Reported-by: Jim Green <student.northwestern@gmail.com>
> Signed-off-by: Lin Ming <ming.m.lin@intel.com>
> ---
>  drivers/acpi/acpica/acobject.h |    1 +
>  drivers/acpi/acpica/dsopcode.c |    2 +-
>  drivers/acpi/acpica/excreate.c |    6 ++++++
>  3 files changed, 8 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/acpi/acpica/acobject.h b/drivers/acpi/acpica/acobject.h
> index 1055769..6d276c2 100644
> --- a/drivers/acpi/acpica/acobject.h
> +++ b/drivers/acpi/acpica/acobject.h
> @@ -358,6 +358,7 @@ typedef enum {
>  */
>  struct acpi_object_extra {
>        ACPI_OBJECT_COMMON_HEADER struct acpi_namespace_node *method_REG;       /* _REG method for this region (if any) */
> +       struct acpi_namespace_node *scope_node;
>        void *region_context;   /* Region-specific data */
>        u8 *aml_start;
>        u32 aml_length;
> diff --git a/drivers/acpi/acpica/dsopcode.c b/drivers/acpi/acpica/dsopcode.c
> index bbecf29..7ba0335 100644
> --- a/drivers/acpi/acpica/dsopcode.c
> +++ b/drivers/acpi/acpica/dsopcode.c
> @@ -394,7 +394,7 @@ acpi_status acpi_ds_get_region_arguments(union acpi_operand_object *obj_desc)
>
>        /* Execute the argument AML */
>
> -       status = acpi_ds_execute_arguments(node, node->parent,
> +       status = acpi_ds_execute_arguments(node, extra_desc->extra.scope_node,
>                                           extra_desc->extra.aml_length,
>                                           extra_desc->extra.aml_start);
>        if (ACPI_FAILURE(status)) {
> diff --git a/drivers/acpi/acpica/excreate.c b/drivers/acpi/acpica/excreate.c
> index e7b372d..df6ef00 100644
> --- a/drivers/acpi/acpica/excreate.c
> +++ b/drivers/acpi/acpica/excreate.c
> @@ -329,6 +329,12 @@ acpi_ex_create_region(u8 * aml_start,
>        region_obj2 = obj_desc->common.next_object;
>        region_obj2->extra.aml_start = aml_start;
>        region_obj2->extra.aml_length = aml_length;
> +       if (walk_state->scope_info) {
> +               region_obj2->extra.scope_node =
> +                   walk_state->scope_info->scope.node;
> +       } else {
> +               region_obj2->extra.scope_node = node;
> +       }
>
>        /* Init the region from the operands */
>
> --
> 1.7.2.5
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bug report: ACPI Error: [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110112/psargs-359)
  2011-09-22  7:51       ` Lin Ming
@ 2011-09-22 20:45         ` Jim Green
  2011-09-23  5:07           ` Lin Ming
  0 siblings, 1 reply; 7+ messages in thread
From: Jim Green @ 2011-09-22 20:45 UTC (permalink / raw)
  To: Lin Ming; +Cc: linux-acpi, Moore, Robert

On 22 September 2011 07:51, Lin Ming <ming.m.lin@intel.com> wrote:
> On Mon, Sep 19, 2011 at 3:04 PM, Lin Ming <ming.m.lin@intel.com> wrote:
>> On Mon, 2011-09-19 at 10:12 +0800, Jim Green wrote:
>>> On 19 September 2011 00:23, Lin Ming <ming.m.lin@intel.com> wrote:
>>> > On Mon, Sep 19, 2011 at 1:18 AM, Jim Green
>>> > <student.northwestern@gmail.com> wrote:
>>> >> Hello:
>>> >>
>>> >> I am running 2.6.38.8-4 kernel on p8p67 deluxe motherboard(bios
>>> >> version 1702, latest stable)
>>> >>
>>> >> 2357 Sep 18 13:05:07 localhost kernel: [    1.045727] ACPI: EC: Look
>>> >> up EC in DSDT
>>> >> 2358 Sep 18 13:05:07 localhost kernel: [    1.046535] ACPI: Executed 1
>>> >> blocks of module-level executable AML code
>>> >> 2359 Sep 18 13:05:07 localhost kernel: [    1.049876] ACPI Error:
>>> >> [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110112/psargs-359)
>>> >> 2360 Sep 18 13:05:07 localhost kernel: [    1.049880] ACPI Exception:
>>> >> AE_NOT_FOUND, Could not execute arguments for [RAMW] (Region)
>>> >> (20110112/         nsinit-349)
>>> >> 2361 Sep 18 13:05:07 localhost kernel: [    1.050347] ACPI: SSDT
>>> >> 00000000df5d4818 0079C (v01    AMI      IST 00000001 MSFT 03000001)
>>> >> 2362 Sep 18 13:05:07 localhost kernel: [    1.050805] ACPI: Dynamic
>>> >> OEM Table Load:
>>> >> 2363 Sep 18 13:05:07 localhost kernel: [    1.050807] ACPI: SSDT
>>> >>    (null) 0079C (v01    AMI      IST 00000001 MSFT 03000001)
>>> >> 2364 Sep 18 13:05:07 localhost kernel: [    1.050883] ACPI: SSDT
>>> >> 00000000df5dba18 0021C (v01    AMI      CST 00000001 MSFT 03000001)
>>> >> 2365 Sep 18 13:05:07 localhost kernel: [    1.051168] ACPI: Dynamic
>>> >> OEM Table Load:
>>> >> 2366 Sep 18 13:05:07 localhost kernel: [    1.051169] ACPI: SSDT
>>> >>    (null) 0021C (v01    AMI      CST 00000001 MSFT 03000001)
>>> >> 2367 Sep 18 13:05:07 localhost kernel: [    1.052510] ACPI: Interpreter enabled
>>> >> 2368 Sep 18 13:05:07 localhost kernel: [    1.052512] ACPI: (supports
>>> >> S0 S1 S3 S4 S5)
>>> >> 2369 Sep 18 13:05:07 localhost kernel: [    1.052530] ACPI: Using
>>> >> IOAPIC for interrupt routing
>>> >>
>>> >> Could anyone help how to fix this error?.. is this bug fixed in some
>>> >> later kernel versions?
>>> >
>>> > Could you attach the acpidump output?
>>>
>>> Hi!
>>>
>>> Pls see attached, THanks!
>>
>> Hi, please try below patch on 2.6.38.* kernel.
>
> Hi, Jim
>
> Did you get a chance to test below patch?

Hi, Lin
the bug was fixed. will this be in released to some new kernels or it is
just a patch for 2.8.38.8?

Thanks.

Jim
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bug report: ACPI Error: [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110112/psargs-359)
  2011-09-22 20:45         ` Jim Green
@ 2011-09-23  5:07           ` Lin Ming
  0 siblings, 0 replies; 7+ messages in thread
From: Lin Ming @ 2011-09-23  5:07 UTC (permalink / raw)
  To: Jim Green; +Cc: linux-acpi, Moore, Robert

On Fri, Sep 23, 2011 at 4:45 AM, Jim Green
<student.northwestern@gmail.com> wrote:
> On 22 September 2011 07:51, Lin Ming <ming.m.lin@intel.com> wrote:
>> On Mon, Sep 19, 2011 at 3:04 PM, Lin Ming <ming.m.lin@intel.com> wrote:
>>> On Mon, 2011-09-19 at 10:12 +0800, Jim Green wrote:
>>>> On 19 September 2011 00:23, Lin Ming <ming.m.lin@intel.com> wrote:
>>>> > On Mon, Sep 19, 2011 at 1:18 AM, Jim Green
>>>> > <student.northwestern@gmail.com> wrote:
>>>> >> Hello:
>>>> >>
>>>> >> I am running 2.6.38.8-4 kernel on p8p67 deluxe motherboard(bios
>>>> >> version 1702, latest stable)
>>>> >>
>>>> >> 2357 Sep 18 13:05:07 localhost kernel: [    1.045727] ACPI: EC: Look
>>>> >> up EC in DSDT
>>>> >> 2358 Sep 18 13:05:07 localhost kernel: [    1.046535] ACPI: Executed 1
>>>> >> blocks of module-level executable AML code
>>>> >> 2359 Sep 18 13:05:07 localhost kernel: [    1.049876] ACPI Error:
>>>> >> [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110112/psargs-359)
>>>> >> 2360 Sep 18 13:05:07 localhost kernel: [    1.049880] ACPI Exception:
>>>> >> AE_NOT_FOUND, Could not execute arguments for [RAMW] (Region)
>>>> >> (20110112/         nsinit-349)
>>>> >> 2361 Sep 18 13:05:07 localhost kernel: [    1.050347] ACPI: SSDT
>>>> >> 00000000df5d4818 0079C (v01    AMI      IST 00000001 MSFT 03000001)
>>>> >> 2362 Sep 18 13:05:07 localhost kernel: [    1.050805] ACPI: Dynamic
>>>> >> OEM Table Load:
>>>> >> 2363 Sep 18 13:05:07 localhost kernel: [    1.050807] ACPI: SSDT
>>>> >>    (null) 0079C (v01    AMI      IST 00000001 MSFT 03000001)
>>>> >> 2364 Sep 18 13:05:07 localhost kernel: [    1.050883] ACPI: SSDT
>>>> >> 00000000df5dba18 0021C (v01    AMI      CST 00000001 MSFT 03000001)
>>>> >> 2365 Sep 18 13:05:07 localhost kernel: [    1.051168] ACPI: Dynamic
>>>> >> OEM Table Load:
>>>> >> 2366 Sep 18 13:05:07 localhost kernel: [    1.051169] ACPI: SSDT
>>>> >>    (null) 0021C (v01    AMI      CST 00000001 MSFT 03000001)
>>>> >> 2367 Sep 18 13:05:07 localhost kernel: [    1.052510] ACPI: Interpreter enabled
>>>> >> 2368 Sep 18 13:05:07 localhost kernel: [    1.052512] ACPI: (supports
>>>> >> S0 S1 S3 S4 S5)
>>>> >> 2369 Sep 18 13:05:07 localhost kernel: [    1.052530] ACPI: Using
>>>> >> IOAPIC for interrupt routing
>>>> >>
>>>> >> Could anyone help how to fix this error?.. is this bug fixed in some
>>>> >> later kernel versions?
>>>> >
>>>> > Could you attach the acpidump output?
>>>>
>>>> Hi!
>>>>
>>>> Pls see attached, THanks!
>>>
>>> Hi, please try below patch on 2.6.38.* kernel.
>>
>> Hi, Jim
>>
>> Did you get a chance to test below patch?
>
> Hi, Lin
> the bug was fixed. will this be in released to some new kernels or it is
> just a patch for 2.8.38.8?

It will be in new kernel and also back-ported to old stable kernels.

Thanks for test.
Lin Ming
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-09-23  5:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-18 17:18 bug report: ACPI Error: [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110112/psargs-359) Jim Green
2011-09-19  0:23 ` Lin Ming
     [not found]   ` <CACAe89zS5zckGc-2CMcO+QW5tZyXpDq4mvUHNUc8T4WZYMPF6A@mail.gmail.com>
2011-09-19  2:15     ` Jim Green
2011-09-19  7:04     ` Lin Ming
2011-09-22  7:51       ` Lin Ming
2011-09-22 20:45         ` Jim Green
2011-09-23  5:07           ` Lin Ming

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.