Skip to contentSkip to conversation

ACPICA branch

PATCH In review Len Brown 8 participants 123 messages Apr 12, 2008 – May 28, 2008 Page 2 of 2

Subsystems (2)
lore
Share & tools
lore
author reviewer
#113 lore raw

PATCH 73/73 ACPICA: Fix for some local named nodes not marked temporary and to disallow duplicates

In reply to Len Brown

From: Bob Moore <[email protected]>

Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, Dword, Qword), Field, BankField, and IndexField operators when invoked from inside an executing control method. In this case, these operators created namespace nodes that were incorrectly left marked as permanent nodes instead of temporary nodes. This could cause a problem if there is race condition between an exiting control method and a running namespace walk. (Reported by Linn Crosetto). Fixed a problem where the CreateField and CreateXXXField operators would incorrectly allow duplicate names (the name of the field) with no exception generated.

---
 drivers/acpi/dispatcher/dsfield.c |  121 ++++++++++++++++++++++---------------
 drivers/acpi/dispatcher/dswload.c |    6 ++
 2 files changed, 79 insertions(+), 48 deletions(-)
drivers/acpi/dispatcher/dsfield.c +73 -48
index e87f6bf..0befcff 100644
@@ -89,12 +89,16 @@ acpi_ds_create_buffer_field(union acpi_parse_object *op,
 
 	ACPI_FUNCTION_TRACE(ds_create_buffer_field);
 
-	/* Get the name_string argument */
-
+	/*
+	 * Get the name_string argument (name of the new buffer_field)
+	 */
 	if (op->common.aml_opcode == AML_CREATE_FIELD_OP) {
+
+		/* For create_field, name is the 4th argument */
+
 		arg = acpi_ps_get_arg(op, 3);
 	} else {
-		/* Create Bit/Byte/Word/Dword field */
+		/* For all other create_xXXField operators, name is the 3rd argument */
 
 		arg = acpi_ps_get_arg(op, 2);
 	}
@@ -107,26 +111,30 @@ acpi_ds_create_buffer_field(union acpi_parse_object *op,
 		node = walk_state->deferred_node;
 		status = AE_OK;
 	} else {
-		/*
-		 * During the load phase, we want to enter the name of the field into
-		 * the namespace.  During the execute phase (when we evaluate the size
-		 * operand), we want to lookup the name
-		 */
-		if (walk_state->parse_flags & ACPI_PARSE_EXECUTE) {
-			flags = ACPI_NS_NO_UPSEARCH | ACPI_NS_DONT_OPEN_SCOPE;
-		} else {
-			flags = ACPI_NS_NO_UPSEARCH | ACPI_NS_DONT_OPEN_SCOPE |
-			    ACPI_NS_ERROR_IF_FOUND;
+		/* Execute flag should always be set when this function is entered */
+
+		if (!(walk_state->parse_flags & ACPI_PARSE_EXECUTE)) {
+			return_ACPI_STATUS(AE_AML_INTERNAL);
 		}
 
-		/*
-		 * Enter the name_string into the namespace
-		 */
+		/* Creating new namespace node, should not already exist */
+
+		flags = ACPI_NS_NO_UPSEARCH | ACPI_NS_DONT_OPEN_SCOPE |
+		    ACPI_NS_ERROR_IF_FOUND;
+
+		/* Mark node temporary if we are executing a method */
+
+		if (walk_state->method_node) {
+			flags |= ACPI_NS_TEMPORARY;
+		}
+
+		/* Enter the name_string into the namespace */
+
 		status =
 		    acpi_ns_lookup(walk_state->scope_info,
 				   arg->common.value.string, ACPI_TYPE_ANY,
 				   ACPI_IMODE_LOAD_PASS1, flags, walk_state,
-				   &(node));
+				   &node);
 		if (ACPI_FAILURE(status)) {
 			ACPI_ERROR_NAMESPACE(arg->common.value.string, status);
 			return_ACPI_STATUS(status);
@@ -136,13 +144,13 @@ acpi_ds_create_buffer_field(union acpi_parse_object *op,
 	/*
 	 * We could put the returned object (Node) on the object stack for later,
 	 * but for now, we will put it in the "op" object that the parser uses,
-	 * so we can get it again at the end of this scope
+	 * so we can get it again at the end of this scope.
 	 */
 	op->common.node = node;
 
 	/*
 	 * If there is no object attached to the node, this node was just created
-	 * and we need to create the field object.  Otherwise, this was a lookup
+	 * and we need to create the field object. Otherwise, this was a lookup
 	 * of an existing node and we don't want to create the field object again.
 	 */
 	obj_desc = acpi_ns_get_attached_object(node);
@@ -164,9 +172,8 @@ acpi_ds_create_buffer_field(union acpi_parse_object *op,
 	}
 
 	/*
-	 * Remember location in AML stream of the field unit
-	 * opcode and operands -- since the buffer and index
-	 * operands must be evaluated.
+	 * Remember location in AML stream of the field unit opcode and operands --
+	 * since the buffer and index operands must be evaluated.
 	 */
 	second_desc = obj_desc->common.next_object;
 	second_desc->extra.aml_start = op->named.data;
@@ -261,7 +268,7 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info,
 
 		case AML_INT_NAMEDFIELD_OP:
 
-			/* Lookup the name */
+			/* Lookup the name, it should already exist */
 
 			status = acpi_ns_lookup(walk_state->scope_info,
 						(char *)&arg->named.name,
@@ -272,19 +279,16 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info,
 			if (ACPI_FAILURE(status)) {
 				ACPI_ERROR_NAMESPACE((char *)&arg->named.name,
 						     status);
-				if (status != AE_ALREADY_EXISTS) {
-					return_ACPI_STATUS(status);
-				}
-
-				/* Already exists, ignore error */
+				return_ACPI_STATUS(status);
 			} else {
 				arg->common.node = info->field_node;
 				info->field_bit_length = arg->common.value.size;
 
 				/*
-				 * If there is no object attached to the node, this node was just created
-				 * and we need to create the field object.  Otherwise, this was a lookup
-				 * of an existing node and we don't want to create the field object again.
+				 * If there is no object attached to the node, this node was
+				 * just created and we need to create the field object.
+				 * Otherwise, this was a lookup of an existing node and we
+				 * don't want to create the field object again.
 				 */
 				if (!acpi_ns_get_attached_object
 				    (info->field_node)) {
@@ -409,18 +413,23 @@ acpi_ds_init_field_objects(union acpi_parse_object *op,
 
 	ACPI_FUNCTION_TRACE_PTR(ds_init_field_objects, op);
 
-	/*
-	 * During the load phase, we want to enter the name of the field into
-	 * the namespace. During the execute phase (when we evaluate the bank_value
-	 * operand), we want to lookup the name.
-	 */
-	if (walk_state->deferred_node) {
-		flags = ACPI_NS_NO_UPSEARCH | ACPI_NS_DONT_OPEN_SCOPE;
-	} else {
-		flags = ACPI_NS_NO_UPSEARCH | ACPI_NS_DONT_OPEN_SCOPE |
-		    ACPI_NS_ERROR_IF_FOUND;
+	/* Execute flag should always be set when this function is entered */
+
+	if (!(walk_state->parse_flags & ACPI_PARSE_EXECUTE)) {
+		if (walk_state->parse_flags & ACPI_PARSE_DEFERRED_OP) {
+
+			/* bank_field Op is deferred, just return OK */
+
+			return_ACPI_STATUS(AE_OK);
+		}
+
+		return_ACPI_STATUS(AE_AML_INTERNAL);
 	}
 
+	/*
+	 * Get the field_list argument for this opcode. This is the start of the
+	 * list of field elements.
+	 */
 	switch (walk_state->opcode) {
 	case AML_FIELD_OP:
 		arg = acpi_ps_get_arg(op, 2);
@@ -441,18 +450,34 @@ acpi_ds_init_field_objects(union acpi_parse_object *op,
 		return_ACPI_STATUS(AE_BAD_PARAMETER);
 	}
 
+	if (!arg) {
+		return_ACPI_STATUS(AE_AML_NO_OPERAND);
+	}
+
+	/* Creating new namespace node(s), should not already exist */
+
+	flags = ACPI_NS_NO_UPSEARCH | ACPI_NS_DONT_OPEN_SCOPE |
+	    ACPI_NS_ERROR_IF_FOUND;
+
+	/* Mark node(s) temporary if we are executing a method */
+
+	if (walk_state->method_node) {
+		flags |= ACPI_NS_TEMPORARY;
+	}
+
 	/*
 	 * Walk the list of entries in the field_list
 	 */
 	while (arg) {
-
-		/* Ignore OFFSET and ACCESSAS terms here */
-
+		/*
+		 * Ignore OFFSET and ACCESSAS terms here; we are only interested in the
+		 * field names in order to enter them into the namespace.
+		 */
 		if (arg->common.aml_opcode == AML_INT_NAMEDFIELD_OP) {
 			status = acpi_ns_lookup(walk_state->scope_info,
-						(char *)&arg->named.name,
-						type, ACPI_IMODE_LOAD_PASS1,
-						flags, walk_state, &node);
+						(char *)&arg->named.name, type,
+						ACPI_IMODE_LOAD_PASS1, flags,
+						walk_state, &node);
 			if (ACPI_FAILURE(status)) {
 				ACPI_ERROR_NAMESPACE((char *)&arg->named.name,
 						     status);
@@ -468,7 +493,7 @@ acpi_ds_init_field_objects(union acpi_parse_object *op,
 			arg->common.node = node;
 		}
 
-		/* Move to next field in the list */
+		/* Get the next field element in the list */
 
 		arg = arg->common.next;
 	}
drivers/acpi/dispatcher/dswload.c +6 -0
index ec68c1d..775b183 100644
@@ -776,6 +776,12 @@ acpi_ds_load2_begin_op(struct acpi_walk_state *walk_state,
 		    acpi_ns_lookup(walk_state->scope_info, buffer_ptr,
 				   object_type, ACPI_IMODE_LOAD_PASS2, flags,
 				   walk_state, &node);
+
+		if (ACPI_SUCCESS(status) && (flags & ACPI_NS_TEMPORARY)) {
+			ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH,
+					  "***New Node [%4.4s] %p is temporary\n",
+					  acpi_ut_get_node_name(node), node));
+		}
 		break;
 	}
 
Signature · 1 line
1.5.5.29.g7134
author reviewer
#114 lore raw

Re: ACPICA branch - first try Core revision 20080321

In reply to Len Brown

The acpica branch is based on 2.6.25-rc9.
Below is a dmesg diff of an HP nx6325 booting that baseline vs. booting the acpica branch.

Two things jump out:

1. ACPI: Expecting a [Reference] package element, found type 14

2. memory coorruption:

slab error in verify_redzone_free(): cache `size-1024': memory outside object was overwritten

-Len

1c1
< Linux version 2.6.25-rc9 (lenb@t61) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #50 SMP Fri Apr 11 22:46:39 EDT 2008
---

Quoted 1 line

Linux version 2.6.25-rc9-00073-g8b56e6a (lenb@t61) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #33 SMP Sat Apr 12 00:07:51 EDT 2008

40c40
< early res: 2 [200000-8d9707] TEXT DATA BSS
---

Quoted 1 line

early res: 2 [200000-8d9747] TEXT DATA BSS

95a96

Quoted 1 line

spurious 8259A interrupt: IRQ7.

102c103
< Memory: 442500k/458560k available (3629k kernel code, 15672k reserved, 2023k data, 364k init)
---

Quoted 1 line

Memory: 442500k/458560k available (3632k kernel code, 15672k reserved, 2020k data, 364k init)

104c105
< Calibrating delay using timer specific routine.. 3194.17 BogoMIPS (lpj=1597086)
---

Quoted 1 line

Calibrating delay using timer specific routine.. 3194.25 BogoMIPS (lpj=1597129)

113c114
< ACPI: Core revision 20070126
---

Quoted 1 line

ACPI: Core revision 20080321

126c127
< Calibrating delay using timer specific routine.. 3191.63 BogoMIPS (lpj=1595818)
---

Quoted 1 line

Calibrating delay using timer specific routine.. 3191.59 BogoMIPS (lpj=1595798)

154,155c155,156
< Completing Region/Field/Buffer/Package initialization:................................................................................................................................................................ < Initialized 29/33 Regions 0/0 Fields 63/64 Buffers 68/78 Packages (1172 nodes)
---

Quoted 2 lines

Completing Region/Field/Buffer/Package initialization:............................................................................................................................................................... Initialized 29/33 Regions 0/0 Fields 63/64 Buffers 67/78 Packages (1172 nodes)

160a162,168

Quoted 7 lines

ACPI: Expecting a [Reference] package element, found type 14
ACPI: Expecting a [Reference] package element, found type 14
ACPI: Expecting a [Reference] package element, found type 14
ACPI: Expecting a [Reference] package element, found type 14
ACPI: Expecting a [Reference] package element, found type 14
ACPI: Expecting a [Reference] package element, found type 14
ACPI: Expecting a [Reference] package element, found type 14

228d235
< PCI: Bridge: 0000:00:05.0
232a240

Quoted 1 line

PCI: Bridge: 0000:00:05.0

381c389
< usb usb1: Manufacturer: Linux 2.6.25-rc9 ehci_hcd
---

Quoted 1 line

usb usb1: Manufacturer: Linux 2.6.25-rc9-00073-g8b56e6a ehci_hcd

394c402
< usb usb2: Manufacturer: Linux 2.6.25-rc9 ohci_hcd
---

Quoted 1 line

usb usb2: Manufacturer: Linux 2.6.25-rc9-00073-g8b56e6a ohci_hcd

406c414
< usb usb3: Manufacturer: Linux 2.6.25-rc9 ohci_hcd
---

Quoted 1 line

usb usb3: Manufacturer: Linux 2.6.25-rc9-00073-g8b56e6a ohci_hcd

448a457,463

Quoted 7 lines

ACPI: Expecting a [Reference] package element, found type 14
ACPI: Expecting a [Reference] package element, found type 14
ACPI: LNXTHERM:01 is registered as thermal_zone0
ACPI: Thermal Zone [TZ1] (67 C)
ACPI: Expecting a [Reference] package element, found type 14
ACPI: LNXTHERM:02 is registered as thermal_zone1
ACPI: Thermal Zone [TZ2] (54 C)

452d466
< ACPI: AC Adapter [C1BD] (on-line)
459a474,477

Quoted 4 lines

ACPI: AC Adapter [C1BD] (on-line)
ACPI: Expecting a [Reference] package element, found type 14
ACPI: LNXTHERM:03 is registered as thermal_zone2
ACPI: Thermal Zone [TZ3] (29 C)

461a480,487

Quoted 8 lines

ACPI: PNP0C0B:00 is registered as cooling_device2
ACPI: Fan [C34F] (off)
ACPI: PNP0C0B:01 is registered as cooling_device3
ACPI: Fan [C350] (off)
ACPI: PNP0C0B:02 is registered as cooling_device4
ACPI: Fan [C351] (off)
ACPI: PNP0C0B:03 is registered as cooling_device5
ACPI: Fan [C352] (off)

471a498

Quoted 1 line

ACPI: WMI: Mapper loaded

481c508
< power_supply C1BF: prop VOLTAGE_NOW=12617000
---

Quoted 1 line

power_supply C1BF: prop VOLTAGE_NOW=12616000

490,507d516
< ACPI: WMI: Mapper loaded
< ACPI: LNXTHERM:01 is registered as thermal_zone0 < ACPI: Thermal Zone [TZ1] (54 C)
< ACPI: LNXTHERM:02 is registered as thermal_zone1 < ACPI: Thermal Zone [TZ2] (46 C)
< ACPI: LNXTHERM:03 is registered as thermal_zone2 < ACPI: Thermal Zone [TZ3] (28 C)
< ACPI: Transitioning device [C34F] to D3
< ACPI: PNP0C0B:00 is registered as cooling_device2 < ACPI: Fan [C34F] (off)
< ACPI: Transitioning device [C350] to D3
< ACPI: PNP0C0B:01 is registered as cooling_device3 < ACPI: Fan [C350] (off)
< ACPI: Transitioning device [C351] to D3
< ACPI: PNP0C0B:02 is registered as cooling_device4 < ACPI: Fan [C351] (off)
< ACPI: PNP0C0B:03 is registered as cooling_device5 < ACPI: Fan [C352] (on)
524c533
< Clocksource tsc unstable (delta = -245722066 ns)
---

Quoted 1 line

Clocksource tsc unstable (delta = -249928054 ns)

527a537,600

Quoted 56 lines

ACPI: PCI Interrupt 0000:01:05.0[A] -> GSI 17 (level, low) -> IRQ 17
slab error in verify_redzone_free(): cache `size-1024': memory outside object was overwritten
Pid: 96, comm: kacpi_notify Not tainted 2.6.25-rc9-00073-g8b56e6a #33

Call Trace:
 [<ffffffff8027f57b>] __slab_error+0x24/0x26
 [<ffffffff8027fb72>] cache_free_debugcheck+0x136/0x207
 [<ffffffff8037f2bc>] ? acpi_ev_asynch_enable_gpe+0x2b/0x2f
 [<ffffffff80281afb>] kfree+0x9c/0x216
 [<ffffffff80375e86>] ? acpi_os_execute_deferred+0x0/0x39
 [<ffffffff8037f2bc>] acpi_ev_asynch_enable_gpe+0x2b/0x2f
 [<ffffffff80375eb2>] acpi_os_execute_deferred+0x2c/0x39
 [<ffffffff8023f480>] run_workqueue+0x7d/0x106
 [<ffffffff8023fe41>] worker_thread+0xd8/0xe5
 [<ffffffff80242913>] ? autoremove_wake_function+0x0/0x38
 [<ffffffff8023fd69>] ? worker_thread+0x0/0xe5
 [<ffffffff802427d4>] kthread+0x49/0x79
 [<ffffffff8020bef8>] child_rip+0xa/0x12
 [<ffffffff8024278b>] ? kthread+0x0/0x79
 [<ffffffff8020beee>] ? child_rip+0x0/0x12

ffff81001b028e70: redzone 1:0x800, redzone 2:0x5a5a5a5a5a5a5a5a.

------------[ cut here ]------------
kernel BUG at mm/slab.c:2906!
invalid opcode: 0000 [1] SMP 
CPU 0 
Modules linked in: powernow_k8 pcmcia snd_hda_intel snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer yenta_socket rsrc_nonstatic snd_page_alloc wmi battery fan video backlight ac thermal
Pid: 96, comm: kacpi_notify Not tainted 2.6.25-rc9-00073-g8b56e6a #33
RIP: 0010:[<ffffffff8027fc0c>]  [<ffffffff8027fc0c>] cache_free_debugcheck+0x1d0/0x207
RSP: 0018:ffff81001b037df0  EFLAGS: 00010016
RAX: ffff81001b028d98 RBX: ffff81001b804ac0 RCX: ffff81001b028150
RDX: 0000000000000003 RSI: ffff81001b028e70 RDI: ffff81001b804ac0
RBP: ffff81001b037e20 R08: 09f911029d74e35b R09: 00000000ffffff20
R10: 0000000000000010 R11: 0000000000000000 R12: 0000000000000800
R13: ffff81001b028e70 R14: 5a5a5a5a5a5a5a5a R15: ffff81001b028100
FS:  00000000409b4950(0000) GS:ffffffff80786000(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 00000030ed8c6d80 CR3: 0000000019c38000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process kacpi_notify (pid: 96, threadinfo ffff81001b036000, task ffff81001bb06740)
Stack:  ffffffff8037f2bc ffff81001b80b5e8 ffff81001b804ac0 ffff81001b028e78
 ffffffff807f3bc0 0000000000000282 ffff81001b037e70 ffffffff80281afb
 ffffffff807f3bc0 0000000000008025 ffff81001b028e78 ffff81001b028e78
Call Trace:
 [<ffffffff8037f2bc>] ? acpi_ev_asynch_enable_gpe+0x2b/0x2f
 [<ffffffff80281afb>] kfree+0x9c/0x216
 [<ffffffff80375e86>] ? acpi_os_execute_deferred+0x0/0x39
 [<ffffffff8037f2bc>] acpi_ev_asynch_enable_gpe+0x2b/0x2f
 [<ffffffff80375eb2>] acpi_os_execute_deferred+0x2c/0x39
 [<ffffffff8023f480>] run_workqueue+0x7d/0x106
 [<ffffffff8023fe41>] worker_thread+0xd8/0xe5
 [<ffffffff80242913>] ? autoremove_wake_function+0x0/0x38
 [<ffffffff8023fd69>] ? worker_thread+0x0/0xe5
 [<ffffffff802427d4>] kthread+0x49/0x79
 [<ffffffff8020bef8>] child_rip+0xa/0x12
Quoted 8 lines
 [<ffffffff8024278b>] ? kthread+0x0/0x79
 [<ffffffff8020beee>] ? child_rip+0x0/0x12


Code: 29 c8 48 0f af c2 48 89 c2 48 c1 ea 20 3b 93 18 01 00 00 72 04 0f 0b eb fe 89 d0 0f af 83 0c 01 00 00 48 8d 04 01 49 39 c5 74 04 <0f> 0b eb fe 89 d0 41 c7 44 87 30 fe ff ff ff f6 83 15 01 00 00 
RIP  [<ffffffff8027fc0c>] cache_free_debugcheck+0x1d0/0x207
 RSP <ffff81001b037df0>
---[ end trace b34da6ee0b4cc39e ]---

Linux version 2.6.25-rc9-00073-g8b56e6a (lenb@t61) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #33 SMP Sat Apr 12 00:07:51 EDT 2008 Command line: root=/dev/sda3 debug
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001bfd0000 (usable)
BIOS-e820: 000000001bfd0000 - 000000001bfe5600 (reserved)
BIOS-e820: 000000001bfe5600 - 000000001bff8000 (ACPI NVS)
BIOS-e820: 000000001bff8000 - 0000000020000000 (reserved)
BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec02000 (reserved)
BIOS-e820: 00000000ffbc0000 - 00000000ffcc0000 (reserved)
BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
Entering add_active_range(0, 0, 159) 0 entries of 3200 used
Entering add_active_range(0, 256, 114640) 1 entries of 3200 used
end_pfn_map = 1048576
DMI 2.4 present.
ACPI: RSDP 000F7D30, 0024 (r2 HP )
ACPI: XSDT 1BFE57B4, 0054 (r1 HP 0944 6070620 HP 1)
ACPI: FACP 1BFE5684, 00F4 (r4 HP 0944 3 HP 1)
ACPI: DSDT 1BFE58DC, EE7A (r1 HP SB400 10000 MSFT 100000E)
ACPI: FACS 1BFF7E80, 0040
ACPI: APIC 1BFE5808, 0062 (r1 HP 0944 1 HP 1)
ACPI: MCFG 1BFE586C, 003C (r1 HP 0944 1 HP 1)
ACPI: TCPA 1BFE58A8, 0032 (r2 HP 0944 1 HP 1)
ACPI: SSDT 1BFF4756, 0059 (r1 HP HPQNLP 1 MSFT 100000E)
ACPI: SSDT 1BFF47AF, 0182 (r1 HP PSSTBLID 1 HP 1)
ACPI: DMI detected: Hewlett-Packard
Scanning NUMA topology in Northbridge 24
No NUMA configuration found
Faking a node at 0000000000000000-000000001bfd0000
Entering add_active_range(0, 0, 159) 0 entries of 3200 used
Entering add_active_range(0, 256, 114640) 1 entries of 3200 used
Bootmem setup node 0 0000000000000000-000000001bfd0000
NODE_DATA [000000000000b000 - 0000000000011fff]
bootmap [0000000000012000 - 00000000000157ff] pages 4
early res: 0 [0-fff] BIOS data page
early res: 1 [6000-7fff] SMP_TRAMPOLINE
early res: 2 [200000-8d9747] TEXT DATA BSS
early res: 3 [9fc00-a0bff] EBDA
early res: 4 [8000-afff] PGTABLE
No mptable found.
[ffffe20000000000-ffffe200001fffff] PMD ->ffff810001200000 on node 0
[ffffe20000200000-ffffe200003fffff] PMD ->ffff810001600000 on node 0
[ffffe20000400000-ffffe200005fffff] PMD ->ffff810001a00000 on node 0
[ffffe20000600000-ffffe200007fffff] PMD ->ffff810001e00000 on node 0
Zone PFN ranges:
DMA 0 -> 4096
DMA32 4096 -> 1048576
Normal 1048576 -> 1048576
Movable zone start PFN for each node
early_node_map[2] active PFN ranges

    0:        0 ->      159
    0:      256 ->   114640

On node 0 totalpages: 114543
DMA zone: 56 pages used for memmap
DMA zone: 1760 pages reserved
DMA zone: 2183 pages, LIFO batch:0
DMA32 zone: 1511 pages used for memmap
DMA32 zone: 109033 pages, LIFO batch:31
Normal zone: 0 pages used for memmap
Movable zone: 0 pages used for memmap
ATI board detected. Disabling timer routing over 8254.
Detected use of extended apic ids on hypertransport bus
ACPI: PM-Timer IO Port: 0x8008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 (Bootup-CPU)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 21 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
Setting APIC routing to flat
Using ACPI (MADT) for SMP configuration information
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
Allocating PCI resources starting at 30000000 (gap: 20000000:c0000000)
SMP: Allowing 2 CPUs, 0 hotplug CPUs
PERCPU: Allocating 35648 bytes of per cpu data
Built 1 zonelists in Node order, mobility grouping on. Total pages: 111216
Policy zone: DMA32
Kernel command line: root=/dev/sda3 debug
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 16384 bytes)
Extended CMOS year: 2000
TSC calibrated against PM_TIMER
Marking TSC unstable due to TSCs unsynchronized
time.c: Detected 1595.999 MHz processor.
spurious 8259A interrupt: IRQ7.
Console: colour VGA+ 80x25
console [tty0] enabled
Checking aperture...
Node 0: aperture @ 9494000000 size 32 MB
Aperture beyond 4GB. Ignoring.
No AGP bridge found
Memory: 442500k/458560k available (3632k kernel code, 15672k reserved, 2020k data, 364k init)
CPA: page pool initialized 1 of 1 pages preallocated
Calibrating delay using timer specific routine.. 3194.25 BogoMIPS (lpj=1597129)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU 0/0 -> Node 0
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
ACPI: Core revision 20080321
Parsing all Control Methods:
Table [DSDT](id 0001) - 1153 Objects with 113 Devices 337 Methods 33 Regions
Parsing all Control Methods:
Table [SSDT](id 0002) - 2 Objects with 0 Devices 2 Methods 0 Regions
Parsing all Control Methods:
Table [SSDT](id 0003) - 8 Objects with 0 Devices 0 Methods 0 Regions
tbxface-0598 [00] tb_load_namespace : ACPI Tables successfully acquired
evxfevnt-0091 [00] enable : Transition to ACPI mode successful
..MP-BIOS bug: 8254 timer not connected to IO-APIC
Disabling APIC timer
Booting processor 1/2 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 3191.59 BogoMIPS (lpj=1595798)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU 1/1 -> Node 0
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
AMD Turion(tm) 64 X2 Mobile Technology TL-50 stepping 02
Brought up 2 CPUs
CPU0 attaching sched-domain:
domain 0: span 00000003
groups: 00000001 00000002
domain 1: span 00000003
groups: 00000003
CPU1 attaching sched-domain:
domain 0: span 00000003
groups: 00000002 00000001
domain 1: span 00000003
groups: 00000003
net_namespace: 296 bytes
NET: Registered protocol family 16
No dock devices found.
ACPI: bus type pci registered
PCI: Using MMCONFIG at e0000000 - efffffff
PCI: Using configuration type 1
evgpeblk-0956 [00] ev_create_gpe_block : GPE 00 to 1F [_GPE] 4 regs on int 0x15
evgpeblk-1052 [00] ev_initialize_gpe_bloc: Found 3 Wake, Enabled 11 Runtime GPEs in this block
ACPI: EC: Look up EC in DSDT
ACPI: EC: non-query interrupt received, switching to interrupt mode
Completing Region/Field/Buffer/Package initialization:............................................................................................................................................................... Initialized 29/33 Regions 0/0 Fields 63/64 Buffers 67/78 Packages (1172 nodes)
Initializing Device/Processor/Thermal objects by executing _INI methods:.......
Executed 7 _INI methods requiring 2 _STA executions (examined 120 objects)
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: Expecting a [Reference] package element, found type 14
ACPI: Expecting a [Reference] package element, found type 14
ACPI: Expecting a [Reference] package element, found type 14
ACPI: Expecting a [Reference] package element, found type 14
ACPI: Expecting a [Reference] package element, found type 14
ACPI: Expecting a [Reference] package element, found type 14
ACPI: Expecting a [Reference] package element, found type 14
ACPI: EC: GPE = 0x11, I/O: command/status = 0x66, data = 0x62
ACPI: EC: driver started in interrupt mode
ACPI: PCI Root Bridge [C074] (0000:00)
PCI: Transparent bridge - 0000:00:14.4
ACPI: PCI Interrupt Routing Table [\_SB_.C074._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.C074.C075._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.C074.C0DF._PRT]
ACPI: PCI Interrupt Link [C125] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [C126] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [C127] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [C128] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [C129] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [C12A] (IRQs 9) *0, disabled.
ACPI: PCI Interrupt Link [C12B] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [C12C] (IRQs *10 11)
ACPI: Power Resource [C223] (off)
ACPI: Power Resource [C1FE] (off)
ACPI: Power Resource [C217] (on)
ACPI: Power Resource [C34B] (off)
ACPI: Power Resource [C34C] (off)
ACPI: Power Resource [C34D] (off)
ACPI: Power Resource [C34E] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 13 devices
ACPI: ACPI bus type pnp unregistered
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
PCI: Cannot allocate resource region 0 of device 0000:00:14.2
DMAR:parse DMAR table failure.
system 00:00: iomem range 0x0-0x9ffff could not be reserved
system 00:00: iomem range 0xe0000-0xfffff could not be reserved
system 00:00: iomem range 0x100000-0x1bffffff could not be reserved
system 00:0a: ioport range 0x40b-0x40b has been reserved
system 00:0a: ioport range 0x4d0-0x4d1 has been reserved
system 00:0a: ioport range 0x4d6-0x4d6 has been reserved
system 00:0a: ioport range 0x500-0x51f has been reserved
system 00:0a: ioport range 0xc00-0xc01 has been reserved
system 00:0a: ioport range 0xc14-0xc14 has been reserved
system 00:0a: ioport range 0xc50-0xc51 has been reserved
system 00:0a: ioport range 0xc52-0xc52 has been reserved
system 00:0a: ioport range 0xc6c-0xc6c has been reserved
system 00:0a: ioport range 0xc6f-0xc6f has been reserved
system 00:0a: ioport range 0xcd4-0xcdf has been reserved
system 00:0a: iomem range 0xffb00000-0xffbfffff could not be reserved
system 00:0a: iomem range 0xfff00000-0xffffffff could not be reserved
system 00:0b: ioport range 0x8000-0x802f has been reserved
system 00:0b: ioport range 0x8100-0x811f has been reserved
system 00:0b: iomem range 0xe0000000-0xefffffff could not be reserved
system 00:0b: iomem range 0xfec00000-0xfec00fff could not be reserved
system 00:0c: iomem range 0xcf000-0xcffff has been reserved
system 00:0c: iomem range 0x1c000000-0x1fffffff could not be reserved
system 00:0c: iomem range 0xfee00000-0xfee00fff could not be reserved
PCI: Bridge: 0000:00:01.0
IO window: 6000-6fff
MEM window: 0xd0300000-0xd03fffff
PREFETCH window: 0x00000000c0000000-0x00000000c3ffffff
PCI: Bridge: 0000:00:04.0
IO window: 4000-5fff
MEM window: 0xcc000000-0xcfffffff
PREFETCH window: disabled.
Clockevents: could not switch to one-shot mode: lapic is not functional.
Could not switch to high resolution mode on CPU 0
Clockevents: could not switch to one-shot mode: lapic is not functional.
Could not switch to high resolution mode on CPU 1
PCI: Bridge: 0000:00:05.0
IO window: 2000-3fff
MEM window: 0xc8000000-0xcbffffff
PREFETCH window: disabled.
PCI: Bridge: 0000:00:06.0
IO window: disabled.
MEM window: 0xc4000000-0xc40fffff
PREFETCH window: disabled.
PCI: Bus 3, cardbus bridge: 0000:02:04.0
IO window: 0x00001000-0x000010ff
IO window: 0x00001400-0x000014ff
PREFETCH window: 0x30000000-0x33ffffff
MEM window: 0x38000000-0x3bffffff
PCI: Bridge: 0000:00:14.4
IO window: 1000-1fff
MEM window: 0xd0000000-0xd02fffff
PREFETCH window: 0x0000000030000000-0x0000000033ffffff
PCI: Setting latency timer of device 0000:00:04.0 to 64
PCI: Setting latency timer of device 0000:00:05.0 to 64
PCI: Setting latency timer of device 0000:00:06.0 to 64
ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 20 (level, low) -> IRQ 20
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
Total HugeTLB memory allocated, 0
Installing knfsd (copyright (C) 1996 [email protected]).
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci 0000:00:00.0: MSI quirk detected; MSI disabled
pci 0000:01:05.0: Boot video device
PCI: Setting latency timer of device 0000:00:04.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:04.0:pcie00]
Allocate Port Service[0000:00:04.0:pcie01]
Allocate Port Service[0000:00:04.0:pcie03]
PCI: Setting latency timer of device 0000:00:05.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:05.0:pcie00]
Allocate Port Service[0000:00:05.0:pcie01]
Allocate Port Service[0000:00:05.0:pcie03]
PCI: Setting latency timer of device 0000:00:06.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:06.0:pcie00]
Allocate Port Service[0000:00:06.0:pcie01]
Allocate Port Service[0000:00:06.0:pcie03]
AER service couldn't init device 0000:00:04.0:pcie01 - no _OSC support
AER service couldn't init device 0000:00:05.0:pcie01 - no _OSC support
AER service couldn't init device 0000:00:06.0:pcie01 - no _OSC support
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
input: Sleep Button (CM) as /class/input/input1
ACPI: Sleep Button (CM) [C25A]
input: Lid Switch as /class/input/input2
ACPI: Lid Switch [C25B]
ACPI: ACPI0007:00 is registered as cooling_device0
ACPI: Processor [C000] (supports 8 throttling states)
ACPI: ACPI0007:01 is registered as cooling_device1
ACPI: Processor [C001] (supports 8 throttling states)
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.103
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
Floppy drive(s): fd0 is 1.44M
Clockevents: could not switch to one-shot mode:<6>Clockevents: could not switch to one-shot mode: lapic is not functional.
Could not switch to high resolution mode on CPU 1
lapic is not functional.
Could not switch to high resolution mode on CPU 0
floppy0: no floppy controllers found
brd: module loaded
loop: module loaded
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2
Copyright (c) 1999-2006 Intel Corporation.
e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
tg3.c:v3.89 (April 03, 2008)
ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 23 (level, low) -> IRQ 23
eth0: Tigon3 [partno(BCM95788A50) rev 3003 PHY(5705)] (PCI:33MHz:32-bit) 10/100/1000Base-T Ethernet 00:17:08:30:e4:ee
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[0] TSOcap[1]
eth0: dma_rwctrl[763f0000] dma_mask[32-bit]
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
console [netcon0] enabled
netconsole: network logging started
Uniform Multi-Platform E-IDE driver
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ATIIXP: IDE controller (0x1002:0x4376 rev 0x80) at PCI slot 0000:00:14.1
ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 16
ATIIXP: not 100% native mode: will probe irqs later

    ide0: BM-DMA at 0x7040-0x7047, BIOS settings: hda:DMA, hdb:PIO

ATIIXP: simplex device: DMA disabled
ide1: ATIIXP Bus-Master DMA disabled (BIOS)
Probing IDE interface ide0...
hda: TSSTcorpCDW/DVD TS-L462C, ATAPI CD/DVD-ROM drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hda: MWDMA2 mode selected
Probing IDE interface ide1...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: ATAPI 24X DVD-ROM CD-R/RW drive, 1536kB Cache
Uniform CD-ROM driver Revision: 3.20
megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 2006)
megasas: 00.00.03.16-rc1 Thu. Nov. 07 10:09:32 PDT 2007
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
sata_sil 0000:00:12.0: version 2.3
ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 16 (level, low) -> IRQ 16
scsi0 : sata_sil
scsi1 : sata_sil
ata1: SATA max UDMA/100 mmio m512@0xd0409000 tf 0xd0409080 irq 16
ata2: SATA max UDMA/100 mmio m512@0xd0409000 tf 0xd04090c0 irq 16
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-7: FUJITSU MHT2040BH, 0000104A, max UDMA/100
ata1.00: 78140160 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/100
ata2: SATA link down (SStatus 0 SControl 300)
scsi 0:0:0:0: Direct-Access ATA FUJITSU MHT2040B 0000 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors (40008 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors (40008 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
Fusion MPT base driver 3.04.06
Copyright (c) 1999-2007 LSI Corporation
Fusion MPT SPI Host driver 3.04.06
Fusion MPT SAS Host driver 3.04.06
ACPI: PCI Interrupt 0000:02:04.1[A] -> GSI 20 (level, low) -> IRQ 20
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[20] MMIO=[d0011000-d00117ff] Max Packet=[2048] IR/IT contexts=[4/8]
ieee1394: raw1394: /dev/raw1394 device initialized
ACPI: PCI Interrupt 0000:00:13.2[A] -> GSI 19 (level, low) -> IRQ 19
ehci_hcd 0000:00:13.2: EHCI Host Controller
ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:13.2: irq 19, io mem 0xd0403000
ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.25-rc9-00073-g8b56e6a ehci_hcd
usb usb1: SerialNumber: 0000:00:13.2
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
ACPI: PCI Interrupt 0000:00:13.0[A] -> GSI 19 (level, low) -> IRQ 19
ohci_hcd 0000:00:13.0: OHCI Host Controller
ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:13.0: irq 19, io mem 0xd0401000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 ports detected
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: OHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.25-rc9-00073-g8b56e6a ohci_hcd
usb usb2: SerialNumber: 0000:00:13.0
ACPI: PCI Interrupt 0000:00:13.1[A] -> GSI 19 (level, low) -> IRQ 19
ohci_hcd 0000:00:13.1: OHCI Host Controller
ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:13.1: irq 19, io mem 0xd0402000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 4 ports detected
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: OHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.25-rc9-00073-g8b56e6a ohci_hcd
usb usb3: SerialNumber: 0000:00:13.1
USB Universal Host Controller Interface driver v3.0
usb 3-1: new full speed USB device using ohci_hcd and address 2
usb 3-1: configuration #1 chosen from 1 choice
usb 3-1: New USB device found, idVendor=08ff, idProduct=2580
usb 3-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 3-1: Product: Fingerprint Sensor
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
PNP: PS/2 Controller [PNP0303:C214,PNP0f13:C215] at 0x60,0x64 irq 1,12
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input3
device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialised: [email protected]
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.16rc2 (Thu Jan 31 16:40:16 2008 UTC).
ALSA device list:
No soundcards found.
oprofile: using NMI interrupt.
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Synaptics Touchpad, model: 1, fw: 6.2, id: 0x25a0b1, caps: 0xa04793/0x300000
serio: Synaptics pass-through port at isa0060/serio4/input0
input: SynPS/2 Synaptics TouchPad as /class/input/input4
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 364k freed
ACPI: Expecting a [Reference] package element, found type 14
ACPI: Expecting a [Reference] package element, found type 14
ACPI: LNXTHERM:01 is registered as thermal_zone0
ACPI: Thermal Zone [TZ1] (67 C)
ACPI: Expecting a [Reference] package element, found type 14
ACPI: LNXTHERM:02 is registered as thermal_zone1
ACPI: Thermal Zone [TZ2] (54 C)
power_supply C1BD: uevent
power_supply C1BD: No power supply yet
power_supply C1BD: power_supply_changed
power_supply C1BD: power_supply_changed_work
power_supply C1BD: power_supply_update_gen_leds 1
power_supply C1BD: uevent
power_supply C1BD: POWER_SUPPLY_NAME=C1BD
power_supply C1BD: Static prop TYPE=Mains
power_supply C1BD: 1 dynamic props
power_supply C1BD: prop ONLINE=1
ACPI: AC Adapter [C1BD] (on-line)
ACPI: Expecting a [Reference] package element, found type 14
ACPI: LNXTHERM:03 is registered as thermal_zone2
ACPI: Thermal Zone [TZ3] (29 C)
input: Video Bus as /class/input/input5
ACPI: Video Device [C076] (multi-head: yes rom: no post: no)
ACPI: PNP0C0B:00 is registered as cooling_device2
ACPI: Fan [C34F] (off)
ACPI: PNP0C0B:01 is registered as cooling_device3
ACPI: Fan [C350] (off)
ACPI: PNP0C0B:02 is registered as cooling_device4
ACPI: Fan [C351] (off)
ACPI: PNP0C0B:03 is registered as cooling_device5
ACPI: Fan [C352] (off)
power_supply C1BF: uevent
power_supply C1BF: No power supply yet
power_supply C1BF: power_supply_changed
power_supply C1BF: power_supply_changed_work
Yenta: CardBus bridge found at 0000:02:04.0 [103c:30b0]
Yenta: Enabling burst memory read transactions
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:02:04.0, mfunc 0x01a11002, devctl 0x64
ACPI: Battery Slot [C1BF] (battery present)
ACPI: WMI: Mapper loaded
power_supply C1BF: power_supply_update_bat_leds 4
power_supply C1BF: uevent
power_supply C1BF: POWER_SUPPLY_NAME=C1BF
power_supply C1BF: Static prop TYPE=Battery
power_supply C1BF: 12 dynamic props
power_supply C1BF: prop STATUS=Full
power_supply C1BF: prop PRESENT=1
power_supply C1BF: prop TECHNOLOGY=Li-ion
power_supply C1BF: prop VOLTAGE_MIN_DESIGN=10800000
power_supply C1BF: prop VOLTAGE_NOW=12616000
power_supply C1BF: prop CURRENT_NOW=0
power_supply C1BF: prop CHARGE_FULL_DESIGN=4679000
power_supply C1BF: prop CHARGE_FULL=4679000
power_supply C1BF: prop CHARGE_NOW=4679000
power_supply C1BF: prop MODEL_NAME=Primary
power_supply C1BF: prop MANUFACTURER=Hewlett-Packard
power_supply C1BF: prop SERIAL_NUMBER=39279 2006/08/07
ACPI: Battery Slot [C1BE] (battery absent)
ACPI: PCI Interrupt 0000:00:14.2[A] -> GSI 16 (level, low) -> IRQ 16
Yenta: ISA IRQ mask 0x0ef8, PCI irq 20
Socket status: 30000006
Yenta: Raising subordinate bus# of parent bus (#02) from #03 to #06
pcmcia: parent PCI bridge I/O window: 0x1000 - 0x1fff
pcmcia: parent PCI bridge Memory window: 0xd0000000 - 0xd02fffff
pcmcia: parent PCI bridge Memory window: 0x30000000 - 0x33ffffff
EXT3 FS on sda3, internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 2096472k swap on /dev/sda2. Priority:-1 extents:1 across:2096472k

warning: process `kudzu' used the deprecated sysctl system call with 1.23.
powernow-k8: Found 1 AMD Turion(tm) 64 X2 Mobile Technology TL-50 processors (2 cpu cores) (version 2.20.00)
powernow-k8:    0 : fid 0x8 (1600 MHz), vid 0x13
powernow-k8:    1 : fid 0x0 (800 MHz), vid 0x1e

Clocksource tsc unstable (delta = -249928054 ns)
tg3: eth1: Link is up at 1000 Mbps, full duplex.
tg3: eth1: Flow control is on for TX and on for RX.
warning: `dbus-daemon' uses 32-bit capabilities (legacy support in use)
ACPI: PCI Interrupt 0000:01:05.0[A] -> GSI 17 (level, low) -> IRQ 17
slab error in verify_redzone_free(): cache `size-1024': memory outside object was overwritten
Pid: 96, comm: kacpi_notify Not tainted 2.6.25-rc9-00073-g8b56e6a #33

Call Trace:
 [<ffffffff8027f57b>] __slab_error+0x24/0x26
 [<ffffffff8027fb72>] cache_free_debugcheck+0x136/0x207
 [<ffffffff8037f2bc>] ? acpi_ev_asynch_enable_gpe+0x2b/0x2f
 [<ffffffff80281afb>] kfree+0x9c/0x216
 [<ffffffff80375e86>] ? acpi_os_execute_deferred+0x0/0x39
 [<ffffffff8037f2bc>] acpi_ev_asynch_enable_gpe+0x2b/0x2f
 [<ffffffff80375eb2>] acpi_os_execute_deferred+0x2c/0x39
 [<ffffffff8023f480>] run_workqueue+0x7d/0x106
 [<ffffffff8023fe41>] worker_thread+0xd8/0xe5
 [<ffffffff80242913>] ? autoremove_wake_function+0x0/0x38
 [<ffffffff8023fd69>] ? worker_thread+0x0/0xe5
 [<ffffffff802427d4>] kthread+0x49/0x79
 [<ffffffff8020bef8>] child_rip+0xa/0x12
 [<ffffffff8024278b>] ? kthread+0x0/0x79
 [<ffffffff8020beee>] ? child_rip+0x0/0x12

ffff81001b028e70: redzone 1:0x800, redzone 2:0x5a5a5a5a5a5a5a5a.

------------[ cut here ]------------
kernel BUG at mm/slab.c:2906!
invalid opcode: 0000 [1] SMP 
CPU 0 
Modules linked in: powernow_k8 pcmcia snd_hda_intel snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer yenta_socket rsrc_nonstatic snd_page_alloc wmi battery fan video backlight ac thermal
Pid: 96, comm: kacpi_notify Not tainted 2.6.25-rc9-00073-g8b56e6a #33
RIP: 0010:[<ffffffff8027fc0c>]  [<ffffffff8027fc0c>] cache_free_debugcheck+0x1d0/0x207
RSP: 0018:ffff81001b037df0  EFLAGS: 00010016
RAX: ffff81001b028d98 RBX: ffff81001b804ac0 RCX: ffff81001b028150
RDX: 0000000000000003 RSI: ffff81001b028e70 RDI: ffff81001b804ac0
RBP: ffff81001b037e20 R08: 09f911029d74e35b R09: 00000000ffffff20
R10: 0000000000000010 R11: 0000000000000000 R12: 0000000000000800
R13: ffff81001b028e70 R14: 5a5a5a5a5a5a5a5a R15: ffff81001b028100
FS:  00000000409b4950(0000) GS:ffffffff80786000(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 00000030ed8c6d80 CR3: 0000000019c38000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process kacpi_notify (pid: 96, threadinfo ffff81001b036000, task ffff81001bb06740)
Stack:  ffffffff8037f2bc ffff81001b80b5e8 ffff81001b804ac0 ffff81001b028e78
 ffffffff807f3bc0 0000000000000282 ffff81001b037e70 ffffffff80281afb
 ffffffff807f3bc0 0000000000008025 ffff81001b028e78 ffff81001b028e78
Call Trace:
 [<ffffffff8037f2bc>] ? acpi_ev_asynch_enable_gpe+0x2b/0x2f
 [<ffffffff80281afb>] kfree+0x9c/0x216
 [<ffffffff80375e86>] ? acpi_os_execute_deferred+0x0/0x39
 [<ffffffff8037f2bc>] acpi_ev_asynch_enable_gpe+0x2b/0x2f
 [<ffffffff80375eb2>] acpi_os_execute_deferred+0x2c/0x39
 [<ffffffff8023f480>] run_workqueue+0x7d/0x106
 [<ffffffff8023fe41>] worker_thread+0xd8/0xe5
 [<ffffffff80242913>] ? autoremove_wake_function+0x0/0x38
 [<ffffffff8023fd69>] ? worker_thread+0x0/0xe5
 [<ffffffff802427d4>] kthread+0x49/0x79
 [<ffffffff8020bef8>] child_rip+0xa/0x12
 [<ffffffff8024278b>] ? kthread+0x0/0x79
 [<ffffffff8020beee>] ? child_rip+0x0/0x12


Code: 29 c8 48 0f af c2 48 89 c2 48 c1 ea 20 3b 93 18 01 00 00 72 04 0f 0b eb fe 89 d0 0f af 83 0c 01 00 00 48 8d 04 01 49 39 c5 74 04 <0f> 0b eb fe 89 d0 41 c7 44 87 30 fe ff ff ff f6 83 15 01 00 00 
RIP  [<ffffffff8027fc0c>] cache_free_debugcheck+0x1d0/0x207
 RSP <ffff81001b037df0>
---[ end trace b34da6ee0b4cc39e ]---
#115 lore raw

Re: ACPICA branch - first try Core revision 20080321

Quoted 9 lines · Len Brown

The acpica branch is based on 2.6.25-rc9.
Below is a dmesg diff of an HP nx6325 booting that baseline vs. booting the acpica branch.

Two things jump out:

1. ACPI: Expecting a [Reference] package element, found type 14

Add this to #67

drivers/acpi/utils.c +1 -1
index 44ea60c..1009261 100644
@@ -398,7 +398,7 @@ acpi_evaluate_reference(acpi_handle handle,
 
        element = &(package->package.elements[i]);
 
-        if (element->type != ACPI_TYPE_ANY) {
+        if (element->type != ACPI_TYPE_LOCAL_REFERENCE) {
            status = AE_BAD_DATA;
            printk(KERN_ERR PREFIX
                    "Expecting a [Reference] package element, found 

type %X\n",

Quoted 5 lines

2. memory coorruption:

slab error in verify_redzone_free(): cache `size-1024': memory outside object was overwritten

drop #60

Quoted 3 lines

-Len

Regards,
Alex.

author reviewer
#116 lore raw

Re: ACPICA branch - first try Core revision 20080321

Quoted 26 lines · Alexey Starikovskiy
Quoted 9 lines · Len Brown

The acpica branch is based on 2.6.25-rc9.
Below is a dmesg diff of an HP nx6325 booting that baseline vs. booting the acpica branch.

Two things jump out:

1. ACPI: Expecting a [Reference] package element, found type 14

Add this to #67

drivers/acpi/utils.c +1 -1
index 44ea60c..1009261 100644
@@ -398,7 +398,7 @@ acpi_evaluate_reference(acpi_handle handle,
 
         element = &(package->package.elements[i]);
 
-        if (element->type != ACPI_TYPE_ANY) {
+        if (element->type != ACPI_TYPE_LOCAL_REFERENCE) {
             status = AE_BAD_DATA;
             printk(KERN_ERR PREFIX
                     "Expecting a [Reference] package element, found 

type %X\n",

Quoted 6 lines
Quoted 5 lines

2. memory coorruption:

slab error in verify_redzone_free(): cache `size-1024': memory outside object was overwritten

drop #60

done, and the nx6325 now looks happy, so I've updated the acpica branch and pulled it into the test branch.

but expanding testing to the t61, the latest ACPICA gives me these:

Quoted 5 lines

ACPI Exception (scan-0716): AE_BAD_DATA, Extracting _PRW package [20080321] ACPI Exception (scan-0716): AE_BAD_DATA, Extracting _PRW package [20080321] ACPI Exception (scan-0716): AE_BAD_DATA, Extracting _PRW package [20080321] ACPI Exception (scan-0716): AE_BAD_DATA, Extracting _PRW package [20080321] ACPI Exception (scan-0716): AE_BAD_DATA, Extracting _PRW package [20080321]

author reviewer
#117 lore raw

Re: ACPICA branch (0 Objects with 0 Devices 0 Methods 0 Regions)

In reply to Len Brown

Hmm, i just noticed something strange on the T61

Linus' tree prints these messages:

[lenb@t61 sut]$ grep -i ssdt 2.6.25-06058-ga01e035/dmesg
ACPI: SSDT 7D6BB9B4, 0269 (r1 LENOVO TP-7L 2100 MSFT 3000000)
ACPI: SSDT 7D6E26D9, 025F (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2938, 00A6 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E29DE, 04F7 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2ED5, 01D8 (r1 LENOVO TP-7L 2100 INTL 20050513)
Table [SSDT](id 0002) - 11 Objects with 0 Devices 7 Methods 0 Regions Table [SSDT](id 0003) - 7 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0004) - 4 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0005) - 14 Objects with 0 Devices 5 Methods 0 Regions Table [SSDT](id 0006) - 14 Objects with 1 Devices 2 Methods 0 Regions
ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL 20050513)
Table [SSDT](id 003A) - 6 Objects with 0 Devices 4 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL 20050513)
Table [SSDT](id 003B) - 16 Objects with 0 Devices 1 Methods 0 Regions
ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL 20050513)
Table [SSDT](id 0046) - 4 Objects with 0 Devices 4 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL 20050513)
Table [SSDT](id 0047) - 1 Objects with 0 Devices 1 Methods 0 Regions

The acpi test tree prints these messages:

[lenb@t61 sut]$ grep -i ssdt 2.6.25-06238-gf4e0ea3/dmesg
ACPI: SSDT 7D6BB9B4, 0269 (r1 LENOVO TP-7L 2100 MSFT 3000000)
ACPI: SSDT 7D6E26D9, 025F (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2938, 00A6 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E29DE, 04F7 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2ED5, 01D8 (r1 LENOVO TP-7L 2100 INTL 20050513)
Table [SSDT](id 0002) - 11 Objects with 0 Devices 7 Methods 0 Regions Table [SSDT](id 0003) - 7 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0004) - 4 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0005) - 14 Objects with 0 Devices 5 Methods 0 Regions Table [SSDT](id 0006) - 14 Objects with 1 Devices 2 Methods 0 Regions
ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL 20050513)
Table [SSDT](id 0044) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL 20050513)
Table [SSDT](id 0045) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL 20050513)
Table [SSDT](id 0050) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL 20050513)
Table [SSDT](id 0051) - 0 Objects with 0 Devices 0 Methods 0 Regions

ie. "0 Objects with 0 Devices 0 Methods 0 Regions"

dunno if this is just cosmetic -- the p-states that are advertised in the SSDT's seem to be working normally, and C-states do too.

-Len

#118 lore raw

RE: ACPICA branch (0 Objects with 0 Devices 0 Methods 0 Regions)

It looks like the tables in question are dynamically loaded:

Quoted 8 lines

ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL 20050513)
Table [SSDT](id 0044) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL 20050513)
Table [SSDT](id 0045) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL 20050513)
Table [SSDT](id 0050) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL 20050513)
Table [SSDT](id 0051) - 0 Objects with 0 Devices 0 Methods 0 Regions

What the zeroes mean is that a WalkNamespace after the table load did not find any such objects created by the table.

Something does look wrong, it may not affect your machine, but has the potential to cause problems on other machines.

The difference in owner IDs between the two traces might mean that there is some mismatch somewhere. I would debug and determine 1) The actual owner id created for the newly loaded table, and 2) what owner id is passed to AcpiDsInitializeObjects after the table is loaded.

Bob

Quoted 5 lines

-----Original Message-----
From: Len Brown [mailto:[email protected]]
Sent: Tuesday, April 29, 2008 2:05 AM
To: [email protected]; Moore, Robert; Lin, Ming M
Subject: Re: ACPICA branch (0 Objects with 0 Devices 0 Methods 0

Regions)

Quoted 54 lines

Hmm, i just noticed something strange on the T61

Linus' tree prints these messages:

[lenb@t61 sut]$ grep -i ssdt 2.6.25-06058-ga01e035/dmesg
ACPI: SSDT 7D6BB9B4, 0269 (r1 LENOVO TP-7L 2100 MSFT 3000000)
ACPI: SSDT 7D6E26D9, 025F (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2938, 00A6 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E29DE, 04F7 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2ED5, 01D8 (r1 LENOVO TP-7L 2100 INTL 20050513)
Table [SSDT](id 0002) - 11 Objects with 0 Devices 7 Methods 0 Regions Table [SSDT](id 0003) - 7 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0004) - 4 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0005) - 14 Objects with 0 Devices 5 Methods 0 Regions Table [SSDT](id 0006) - 14 Objects with 1 Devices 2 Methods 0 Regions
ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL 20050513)
Table [SSDT](id 003A) - 6 Objects with 0 Devices 4 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL 20050513)
Table [SSDT](id 003B) - 16 Objects with 0 Devices 1 Methods 0 Regions
ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL 20050513)
Table [SSDT](id 0046) - 4 Objects with 0 Devices 4 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL 20050513)
Table [SSDT](id 0047) - 1 Objects with 0 Devices 1 Methods 0 Regions

The acpi test tree prints these messages:

[lenb@t61 sut]$ grep -i ssdt 2.6.25-06238-gf4e0ea3/dmesg
ACPI: SSDT 7D6BB9B4, 0269 (r1 LENOVO TP-7L 2100 MSFT 3000000)
ACPI: SSDT 7D6E26D9, 025F (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2938, 00A6 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E29DE, 04F7 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2ED5, 01D8 (r1 LENOVO TP-7L 2100 INTL 20050513)
Table [SSDT](id 0002) - 11 Objects with 0 Devices 7 Methods 0 Regions Table [SSDT](id 0003) - 7 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0004) - 4 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0005) - 14 Objects with 0 Devices 5 Methods 0 Regions Table [SSDT](id 0006) - 14 Objects with 1 Devices 2 Methods 0 Regions
ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL 20050513)
Table [SSDT](id 0044) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL 20050513)
Table [SSDT](id 0045) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL 20050513)
Table [SSDT](id 0050) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL 20050513)
Table [SSDT](id 0051) - 0 Objects with 0 Devices 0 Methods 0 Regions

ie. "0 Objects with 0 Devices 0 Methods 0 Regions"

dunno if this is just cosmetic -- the p-states that are advertised in the SSDT's seem to be working normally, and C-states do too.

-Len

#119 lore raw

RE: ACPICA branch (0 Objects with 0 Devices 0 Methods 0 Regions)

nsalloc-0226 [00] ns_install_node : _PPC (Untyped) [Node f7836450
Owner A1] added to CPU0 (Processor) [Node f78164f8]
nsalloc-0226 [00] ns_install_node : _PCT (Method) [Node f7836360
Owner A1] added to CPU0 (Processor) [Node f78164f8]
nsalloc-0226 [00] ns_install_node : XPSS (Method) [Node f7836378
Owner A1] added to CPU0 (Processor) [Node f78164f8]
nsalloc-0226 [00] ns_install_node : SPSS (Untyped) [Node f7836390
Owner A1] added to CPU0 (Processor) [Node f78164f8]
nsalloc-0226 [00] ns_install_node : _PSS (Untyped) [Node f78363a8
Owner A1] added to CPU0 (Processor) [Node f78164f8]
nsalloc-0226 [00] ns_install_node : _PSD (Method) [Node f78363c0
Owner A1] added to CPU0 (Processor) [Node f78164f8]
Table [SSDT](id 00A1) - 0 Objects with 0 Devices 0 Methods 0 Regions

Above dmesg comes from a HP machine.

Table OwnerId is 0xA1, and there're nodes with this OwnerId. Strange that it prints "0 Objects".

Quoted 86 lines · Robert

It looks like the tables in question are dynamically loaded:

Quoted 8 lines

ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL 20050513)
Table [SSDT](id 0044) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL 20050513)
Table [SSDT](id 0045) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL 20050513)
Table [SSDT](id 0050) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL 20050513)
Table [SSDT](id 0051) - 0 Objects with 0 Devices 0 Methods 0 Regions

What the zeroes mean is that a WalkNamespace after the table load did not find any such objects created by the table.

Something does look wrong, it may not affect your machine, but has the potential to cause problems on other machines.

The difference in owner IDs between the two traces might mean that there is some mismatch somewhere. I would debug and determine 1) The actual owner id created for the newly loaded table, and 2) what owner id is passed to AcpiDsInitializeObjects after the table is loaded.

Bob

Quoted 5 lines

-----Original Message-----
From: Len Brown [mailto:[email protected]]
Sent: Tuesday, April 29, 2008 2:05 AM
To: [email protected]; Moore, Robert; Lin, Ming M
Subject: Re: ACPICA branch (0 Objects with 0 Devices 0 Methods 0

Regions)

Quoted 54 lines

Hmm, i just noticed something strange on the T61

Linus' tree prints these messages:

[lenb@t61 sut]$ grep -i ssdt 2.6.25-06058-ga01e035/dmesg
ACPI: SSDT 7D6BB9B4, 0269 (r1 LENOVO TP-7L 2100 MSFT 3000000)
ACPI: SSDT 7D6E26D9, 025F (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2938, 00A6 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E29DE, 04F7 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2ED5, 01D8 (r1 LENOVO TP-7L 2100 INTL 20050513)
Table [SSDT](id 0002) - 11 Objects with 0 Devices 7 Methods 0 Regions Table [SSDT](id 0003) - 7 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0004) - 4 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0005) - 14 Objects with 0 Devices 5 Methods 0 Regions Table [SSDT](id 0006) - 14 Objects with 1 Devices 2 Methods 0 Regions
ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL 20050513)
Table [SSDT](id 003A) - 6 Objects with 0 Devices 4 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL 20050513)
Table [SSDT](id 003B) - 16 Objects with 0 Devices 1 Methods 0 Regions
ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL 20050513)
Table [SSDT](id 0046) - 4 Objects with 0 Devices 4 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL 20050513)
Table [SSDT](id 0047) - 1 Objects with 0 Devices 1 Methods 0 Regions

The acpi test tree prints these messages:

[lenb@t61 sut]$ grep -i ssdt 2.6.25-06238-gf4e0ea3/dmesg
ACPI: SSDT 7D6BB9B4, 0269 (r1 LENOVO TP-7L 2100 MSFT 3000000)
ACPI: SSDT 7D6E26D9, 025F (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2938, 00A6 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E29DE, 04F7 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2ED5, 01D8 (r1 LENOVO TP-7L 2100 INTL 20050513)
Table [SSDT](id 0002) - 11 Objects with 0 Devices 7 Methods 0 Regions Table [SSDT](id 0003) - 7 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0004) - 4 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0005) - 14 Objects with 0 Devices 5 Methods 0 Regions Table [SSDT](id 0006) - 14 Objects with 1 Devices 2 Methods 0 Regions
ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL 20050513)
Table [SSDT](id 0044) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL 20050513)
Table [SSDT](id 0045) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL 20050513)
Table [SSDT](id 0050) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL 20050513)
Table [SSDT](id 0051) - 0 Objects with 0 Devices 0 Methods 0 Regions

ie. "0 Objects with 0 Devices 0 Methods 0 Regions"

dunno if this is just cosmetic -- the p-states that are advertised in the SSDT's seem to be working normally, and C-states do too.

-Len

#120 lore raw

RE: ACPICA branch (0 Objects with 0 Devices 0 Methods 0 Regions)

In reply to Moore, Robert

Hi, all

The root cause found, it's caused by a patch
which introduced in ACPICA version 20071019

commit 7f4ac9f91383a0707de559dc8fbca986fc2d302f

Author: Bob Moore <[email protected]>
Date:   Thu Apr 10 19:06:39 2008 +0400

ACPICA: Fix for Load/LoadTable to specify load location

Fixed a problem with the Load and LoadTable operators where the table location within the namespace was ignored. Instead, the table was always loaded into the root or current scope.

For example,
SSDT:
Name(\tmp0, 0)

DSDT:
Method(m000)
{
<Load the SSDT above>
}

Namespace walking will start at node m000, so \tmp0 will never appear at the namespace walking.

It seems that we should again force the table always loaded into the root.
Load statement is always inside a method.
It makes no sense to install some nodes inside a method since the nodes in method should all be temporary nodes that will be deleted when method exit.

Lin Ming
---

(quoted diff) +0 -0

b/drivers/acpi/executer/exconfig.c
index 24da921..508bb0e 100644

drivers/acpi/executer/exconfig.c +0 -1
@@ -376,7 +376,7 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc,
        }
 
        status =
-           acpi_ex_add_table(table_index,

walk_state->scope_info->scope.node,
+ acpi_ex_add_table(table_index, acpi_gbl_root_node,

                              &ddb_handle);
        if (ACPI_FAILURE(status)) {
Quoted 86 lines · Robert

It looks like the tables in question are dynamically loaded:

Quoted 8 lines

ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL 20050513)
Table [SSDT](id 0044) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL 20050513)
Table [SSDT](id 0045) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL 20050513)
Table [SSDT](id 0050) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL 20050513)
Table [SSDT](id 0051) - 0 Objects with 0 Devices 0 Methods 0 Regions

What the zeroes mean is that a WalkNamespace after the table load did not find any such objects created by the table.

Something does look wrong, it may not affect your machine, but has the potential to cause problems on other machines.

The difference in owner IDs between the two traces might mean that there is some mismatch somewhere. I would debug and determine 1) The actual owner id created for the newly loaded table, and 2) what owner id is passed to AcpiDsInitializeObjects after the table is loaded.

Bob

Quoted 5 lines

-----Original Message-----
From: Len Brown [mailto:[email protected]]
Sent: Tuesday, April 29, 2008 2:05 AM
To: [email protected]; Moore, Robert; Lin, Ming M
Subject: Re: ACPICA branch (0 Objects with 0 Devices 0 Methods 0

Regions)

Quoted 54 lines

Hmm, i just noticed something strange on the T61

Linus' tree prints these messages:

[lenb@t61 sut]$ grep -i ssdt 2.6.25-06058-ga01e035/dmesg
ACPI: SSDT 7D6BB9B4, 0269 (r1 LENOVO TP-7L 2100 MSFT 3000000)
ACPI: SSDT 7D6E26D9, 025F (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2938, 00A6 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E29DE, 04F7 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2ED5, 01D8 (r1 LENOVO TP-7L 2100 INTL 20050513)
Table [SSDT](id 0002) - 11 Objects with 0 Devices 7 Methods 0 Regions Table [SSDT](id 0003) - 7 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0004) - 4 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0005) - 14 Objects with 0 Devices 5 Methods 0 Regions Table [SSDT](id 0006) - 14 Objects with 1 Devices 2 Methods 0 Regions
ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL 20050513)
Table [SSDT](id 003A) - 6 Objects with 0 Devices 4 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL 20050513)
Table [SSDT](id 003B) - 16 Objects with 0 Devices 1 Methods 0 Regions
ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL 20050513)
Table [SSDT](id 0046) - 4 Objects with 0 Devices 4 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL 20050513)
Table [SSDT](id 0047) - 1 Objects with 0 Devices 1 Methods 0 Regions

The acpi test tree prints these messages:

[lenb@t61 sut]$ grep -i ssdt 2.6.25-06238-gf4e0ea3/dmesg
ACPI: SSDT 7D6BB9B4, 0269 (r1 LENOVO TP-7L 2100 MSFT 3000000)
ACPI: SSDT 7D6E26D9, 025F (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2938, 00A6 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E29DE, 04F7 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2ED5, 01D8 (r1 LENOVO TP-7L 2100 INTL 20050513)
Table [SSDT](id 0002) - 11 Objects with 0 Devices 7 Methods 0 Regions Table [SSDT](id 0003) - 7 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0004) - 4 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0005) - 14 Objects with 0 Devices 5 Methods 0 Regions Table [SSDT](id 0006) - 14 Objects with 1 Devices 2 Methods 0 Regions
ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL 20050513)
Table [SSDT](id 0044) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL 20050513)
Table [SSDT](id 0045) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL 20050513)
Table [SSDT](id 0050) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL 20050513)
Table [SSDT](id 0051) - 0 Objects with 0 Devices 0 Methods 0 Regions

ie. "0 Objects with 0 Devices 0 Methods 0 Regions"

dunno if this is just cosmetic -- the p-states that are advertised in the SSDT's seem to be working normally, and C-states do too.

-Len

#121 lore raw

RE: ACPICA branch (0 Objects with 0 Devices 0 Methods 0 Regions)

We should find out how windows handles table loading. Bob

Quoted 6 lines

-----Original Message-----
From: Lin, Ming M
Sent: Monday, May 05, 2008 11:21 PM
To: Moore, Robert
Cc: Len Brown; [email protected]
Subject: RE: ACPICA branch (0 Objects with 0 Devices 0 Methods 0

Regions)

Quoted 25 lines

Hi, all

The root cause found, it's caused by a patch
which introduced in ACPICA version 20071019

commit 7f4ac9f91383a0707de559dc8fbca986fc2d302f

Author: Bob Moore <[email protected]>
Date:   Thu Apr 10 19:06:39 2008 +0400

ACPICA: Fix for Load/LoadTable to specify load location

Fixed a problem with the Load and LoadTable operators where the table location within the namespace was ignored. Instead, the table was always loaded into the root or current scope.

For example,
SSDT:
Name(\tmp0, 0)

Quoted 7 lines

DSDT:
Method(m000)
{
<Load the SSDT above>
}

Namespace walking will start at node m000, so \tmp0 will never appear

at

Quoted 7 lines

the namespace walking.

It seems that we should again force the table always loaded into the root.
Load statement is always inside a method.
It makes no sense to install some nodes inside a method since the nodes in method should all be temporary nodes that will be deleted when

method

drivers/acpi/executer/exconfig.c acpi_ex_load_op(union acpi_operand_object

Quoted 10 lines

exit.

Lin Ming
---

drivers/acpi/executer/exconfig.c +0 -0
index 24da921..508bb0e 100644
@@ -376,7 +376,7 @@ acpi_ex_load_op(union acpi_operand_object

*obj_desc,

Quoted 9 lines
drivers/acpi/executer/exconfig.c +1 -1
       }
 
       status =
-           acpi_ex_add_table(table_index,
 walk_state->scope_info->scope.node,
+           acpi_ex_add_table(table_index, acpi_gbl_root_node,
                             &ddb_handle);
       if (ACPI_FAILURE(status)) {
Quoted 4 lines
Quoted 3 lines · Robert

It looks like the tables in question are dynamically loaded:

Quoted 1 line

ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL

20050513)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Table [SSDT](id 0044) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL

20050513)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Table [SSDT](id 0045) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL

20050513)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Table [SSDT](id 0050) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL

20050513)

Quoted 6 lines
Quoted 6 lines
Quoted 1 line

Table [SSDT](id 0051) - 0 Objects with 0 Devices 0 Methods 0 Regions

What the zeroes mean is that a WalkNamespace after the table load did not find any such objects created by the table.

Something does look wrong, it may not affect your machine, but has

the

Quoted 3 lines
Quoted 3 lines

potential to cause problems on other machines.

The difference in owner IDs between the two traces might mean that

there

Quoted 13 lines
Quoted 13 lines

is some mismatch somewhere. I would debug and determine 1) The actual owner id created for the newly loaded table, and 2) what owner id is passed to AcpiDsInitializeObjects after the table is loaded.

Bob

Quoted 5 lines

-----Original Message-----
From: Len Brown [mailto:[email protected]]
Sent: Tuesday, April 29, 2008 2:05 AM
To: [email protected]; Moore, Robert; Lin, Ming M
Subject: Re: ACPICA branch (0 Objects with 0 Devices 0 Methods 0

Quoted 8 lines
Quoted 8 lines

Regions)

Quoted 7 lines

Hmm, i just noticed something strange on the T61

Linus' tree prints these messages:

[lenb@t61 sut]$ grep -i ssdt 2.6.25-06058-ga01e035/dmesg
ACPI: SSDT 7D6BB9B4, 0269 (r1 LENOVO TP-7L 2100 MSFT

3000000)

Quoted 1 line
Quoted 1 line
Quoted 1 line

ACPI: SSDT 7D6E26D9, 025F (r1 LENOVO TP-7L 2100 INTL

20050513)

Quoted 1 line
Quoted 1 line
Quoted 1 line

ACPI: SSDT 7D6E2938, 00A6 (r1 LENOVO TP-7L 2100 INTL

20050513)

Quoted 1 line
Quoted 1 line
Quoted 1 line

ACPI: SSDT 7D6E29DE, 04F7 (r1 LENOVO TP-7L 2100 INTL

20050513)

Quoted 1 line
Quoted 1 line
Quoted 1 line

ACPI: SSDT 7D6E2ED5, 01D8 (r1 LENOVO TP-7L 2100 INTL

20050513)

Quoted 1 line
Quoted 1 line
Quoted 1 line

Table [SSDT](id 0002) - 11 Objects with 0 Devices 7 Methods 0

Regions

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Table [SSDT](id 0003) - 7 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0004) - 4 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0005) - 14 Objects with 0 Devices 5 Methods 0

Regions

Quoted 1 line
Quoted 1 line
Quoted 1 line

Table [SSDT](id 0006) - 14 Objects with 1 Devices 2 Methods 0

Regions

Quoted 1 line
Quoted 1 line
Quoted 1 line

ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL

20050513)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Table [SSDT](id 003A) - 6 Objects with 0 Devices 4 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL

20050513)

Quoted 1 line
Quoted 1 line
Quoted 1 line

Table [SSDT](id 003B) - 16 Objects with 0 Devices 1 Methods 0

Regions

Quoted 1 line
Quoted 1 line
Quoted 1 line

ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL

20050513)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Table [SSDT](id 0046) - 4 Objects with 0 Devices 4 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL

20050513)

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Table [SSDT](id 0047) - 1 Objects with 0 Devices 1 Methods 0 Regions

The acpi test tree prints these messages:

[lenb@t61 sut]$ grep -i ssdt 2.6.25-06238-gf4e0ea3/dmesg
ACPI: SSDT 7D6BB9B4, 0269 (r1 LENOVO TP-7L 2100 MSFT

3000000)

Quoted 1 line
Quoted 1 line
Quoted 1 line

ACPI: SSDT 7D6E26D9, 025F (r1 LENOVO TP-7L 2100 INTL

20050513)

Quoted 1 line
Quoted 1 line
Quoted 1 line

ACPI: SSDT 7D6E2938, 00A6 (r1 LENOVO TP-7L 2100 INTL

20050513)

Quoted 1 line
Quoted 1 line
Quoted 1 line

ACPI: SSDT 7D6E29DE, 04F7 (r1 LENOVO TP-7L 2100 INTL

20050513)

Quoted 1 line
Quoted 1 line
Quoted 1 line

ACPI: SSDT 7D6E2ED5, 01D8 (r1 LENOVO TP-7L 2100 INTL

20050513)

Quoted 1 line
Quoted 1 line
Quoted 1 line

Table [SSDT](id 0002) - 11 Objects with 0 Devices 7 Methods 0

Regions

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Table [SSDT](id 0003) - 7 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0004) - 4 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0005) - 14 Objects with 0 Devices 5 Methods 0

Regions

Quoted 1 line
Quoted 1 line
Quoted 1 line

Table [SSDT](id 0006) - 14 Objects with 1 Devices 2 Methods 0

Regions

Quoted 1 line
Quoted 1 line
Quoted 1 line

ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL

20050513)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Table [SSDT](id 0044) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL

20050513)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Table [SSDT](id 0045) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL

20050513)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Table [SSDT](id 0050) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL

20050513)

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Table [SSDT](id 0051) - 0 Objects with 0 Devices 0 Methods 0 Regions

ie. "0 Objects with 0 Devices 0 Methods 0 Regions"

dunno if this is just cosmetic -- the p-states that are advertised

in

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

the SSDT's seem to be working normally, and C-states do too.

-Len

#122 lore raw

RE: ACPICA branch (0 Objects with 0 Devices 0 Methods 0 Regions)

In reply to Lin Ming

Hi, Len

Please apply this patch.
Load the dynamic table under root node.

Lin Ming

---

(quoted diff) +0 -0

b/drivers/acpi/executer/exconfig.c
index 24da921..508bb0e 100644

drivers/acpi/executer/exconfig.c +0 -1
@@ -376,7 +376,7 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc,
        }
 
        status =
-           acpi_ex_add_table(table_index,

walk_state->scope_info->scope.node,
+ acpi_ex_add_table(table_index, acpi_gbl_root_node,

                              &ddb_handle);
        if (ACPI_FAILURE(status)) {
Quoted 144 lines · Lin Ming

Hi, all

The root cause found, it's caused by a patch
which introduced in ACPICA version 20071019

commit 7f4ac9f91383a0707de559dc8fbca986fc2d302f

Author: Bob Moore <[email protected]>
Date:   Thu Apr 10 19:06:39 2008 +0400

ACPICA: Fix for Load/LoadTable to specify load location

Fixed a problem with the Load and LoadTable operators where the table location within the namespace was ignored. Instead, the table was always loaded into the root or current scope.

For example,
SSDT:
Name(\tmp0, 0)

DSDT:
Method(m000)
{
<Load the SSDT above>
}

Namespace walking will start at node m000, so \tmp0 will never appear at the namespace walking.

It seems that we should again force the table always loaded into the root.
Load statement is always inside a method.
It makes no sense to install some nodes inside a method since the nodes in method should all be temporary nodes that will be deleted when method exit.

Lin Ming
---

drivers/acpi/executer/exconfig.c +1 -1
index 24da921..508bb0e 100644
@@ -376,7 +376,7 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc,
        }
 
        status =
-           acpi_ex_add_table(table_index,
 walk_state->scope_info->scope.node,
+           acpi_ex_add_table(table_index, acpi_gbl_root_node,
                              &ddb_handle);
        if (ACPI_FAILURE(status)) {
Quoted 86 lines · Robert

It looks like the tables in question are dynamically loaded:

Quoted 8 lines

ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL 20050513)
Table [SSDT](id 0044) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL 20050513)
Table [SSDT](id 0045) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL 20050513)
Table [SSDT](id 0050) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL 20050513)
Table [SSDT](id 0051) - 0 Objects with 0 Devices 0 Methods 0 Regions

What the zeroes mean is that a WalkNamespace after the table load did not find any such objects created by the table.

Something does look wrong, it may not affect your machine, but has the potential to cause problems on other machines.

The difference in owner IDs between the two traces might mean that there is some mismatch somewhere. I would debug and determine 1) The actual owner id created for the newly loaded table, and 2) what owner id is passed to AcpiDsInitializeObjects after the table is loaded.

Bob

Quoted 5 lines

-----Original Message-----
From: Len Brown [mailto:[email protected]]
Sent: Tuesday, April 29, 2008 2:05 AM
To: [email protected]; Moore, Robert; Lin, Ming M
Subject: Re: ACPICA branch (0 Objects with 0 Devices 0 Methods 0

Regions)

Quoted 54 lines

Hmm, i just noticed something strange on the T61

Linus' tree prints these messages:

[lenb@t61 sut]$ grep -i ssdt 2.6.25-06058-ga01e035/dmesg
ACPI: SSDT 7D6BB9B4, 0269 (r1 LENOVO TP-7L 2100 MSFT 3000000)
ACPI: SSDT 7D6E26D9, 025F (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2938, 00A6 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E29DE, 04F7 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2ED5, 01D8 (r1 LENOVO TP-7L 2100 INTL 20050513)
Table [SSDT](id 0002) - 11 Objects with 0 Devices 7 Methods 0 Regions Table [SSDT](id 0003) - 7 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0004) - 4 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0005) - 14 Objects with 0 Devices 5 Methods 0 Regions Table [SSDT](id 0006) - 14 Objects with 1 Devices 2 Methods 0 Regions
ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL 20050513)
Table [SSDT](id 003A) - 6 Objects with 0 Devices 4 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL 20050513)
Table [SSDT](id 003B) - 16 Objects with 0 Devices 1 Methods 0 Regions
ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL 20050513)
Table [SSDT](id 0046) - 4 Objects with 0 Devices 4 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL 20050513)
Table [SSDT](id 0047) - 1 Objects with 0 Devices 1 Methods 0 Regions

The acpi test tree prints these messages:

[lenb@t61 sut]$ grep -i ssdt 2.6.25-06238-gf4e0ea3/dmesg
ACPI: SSDT 7D6BB9B4, 0269 (r1 LENOVO TP-7L 2100 MSFT 3000000)
ACPI: SSDT 7D6E26D9, 025F (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2938, 00A6 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E29DE, 04F7 (r1 LENOVO TP-7L 2100 INTL 20050513)
ACPI: SSDT 7D6E2ED5, 01D8 (r1 LENOVO TP-7L 2100 INTL 20050513)
Table [SSDT](id 0002) - 11 Objects with 0 Devices 7 Methods 0 Regions Table [SSDT](id 0003) - 7 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0004) - 4 Objects with 0 Devices 3 Methods 0 Regions Table [SSDT](id 0005) - 14 Objects with 0 Devices 5 Methods 0 Regions Table [SSDT](id 0006) - 14 Objects with 1 Devices 2 Methods 0 Regions
ACPI: SSDT 7D6E1B32, 02C4 (r1 PmRef Cpu0Ist 100 INTL 20050513)
Table [SSDT](id 0044) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1E7B, 085E (r1 PmRef Cpu0Cst 100 INTL 20050513)
Table [SSDT](id 0045) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1A6A, 00C8 (r1 PmRef Cpu1Ist 100 INTL 20050513)
Table [SSDT](id 0050) - 0 Objects with 0 Devices 0 Methods 0 Regions
ACPI: SSDT 7D6E1DF6, 0085 (r1 PmRef Cpu1Cst 100 INTL 20050513)
Table [SSDT](id 0051) - 0 Objects with 0 Devices 0 Methods 0 Regions

ie. "0 Objects with 0 Devices 0 Methods 0 Regions"

dunno if this is just cosmetic -- the p-states that are advertised in the SSDT's seem to be working normally, and C-states do too.

-Len