mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: dichro@orthos.rcpt.to (Mikolaj J. Habryn)
To: linux-kernel@vger.kernel.org
Subject: [PATCH] ACPI oops with 2.5.8-pre3 on asus dual athlon (A7M266-D)
Date: Thu, 11 Apr 2002 00:47:09 +1000	[thread overview]
Message-ID: <20020410144709.GA852@orthos.rcpt.to> (raw)

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

  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.

[-- Attachment #2: acpi-diff --]
[-- Type: text/plain, Size: 528 bytes --]

--- 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.

                 reply	other threads:[~2002-04-10 14:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020410144709.GA852@orthos.rcpt.to \
    --to=dichro@orthos.rcpt.to \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®