[PATCH] ACPI oops with 2.5.8-pre3 on asus dual athlon (A7M266-D)

Mikolaj J. Habryn (dichro@orthos.rcpt.to)
Thu, 11 Apr 2002 00:47:09 +1000


--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Null pointer dereference in some deep internal ACPI state thing.
Attached patch gets it past that point, but kernel then hangs after
probing disks (as did -pre2, and possibly earlier ones). Almost
certainly not the right fix :)

m.

--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=acpi-diff

--- linux-2.5.8-pre3/drivers/acpi/executer/exfield.c.orig Thu Apr 11 00:40:19 2002
+++ linux-2.5.8-pre3/drivers/acpi/executer/exfield.c Thu Apr 11 00:36:52 2002
@@ -103,6 +103,10 @@
/* Handle both ACPI 1.0 and ACPI 2.0 Integer widths */

integer_size = sizeof (acpi_integer);
+ if (!walk_state || !walk_state->method_node) {
+ printk("ACPI argh!\n");
+ return_ACPI_STATUS(AE_ERROR);
+ }
if (walk_state->method_node->flags & ANOBJ_DATA_WIDTH_32) {
/*
* We are running a method that exists in a 32-bit ACPI table.

--qMm9M+Fa2AknHoGS--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/