public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>,
	"Brown, Len" <len.brown@intel.com>
Subject: Re: Linux 2.6.9-rc4 - pls test (and no more patches)
Date: Mon, 11 Oct 2004 19:54:31 +1000	[thread overview]
Message-ID: <416A5857.1090307@yahoo.com.au> (raw)
In-Reply-To: <Pine.LNX.4.58.0410102016180.3897@ppc970.osdl.org>

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

Linus Torvalds wrote:
> Ok, 
>  trying to make ready for the real 2.6.9 in a week or so, so please give
> this a beating, and if you have pending patches, please hold on to them
> for a bit longer, until after the 2.6.9 release. It would be good to have
> a 2.6.9 that doesn't need a dot-release immediately ;)
> 
> The appended shortlog gives a pretty good idea of what has been going on. 
> Mostly small stuff, with some architecture updates and an ACPI update 
> thrown in for good measure.
> 
> (The ACPI update fixes broken AML with implied returns, and in particular
> the Compaq Evo notebook fan control. Yay! Guess who has one..)
> 
> 		Linus
> 

ACPI still explodes on my old PII and stops it booting. (I've reported it
to Len a few times but he seems to be ignoring me).

Anyway, it is oopsing in drivers/acpi/scan.c line 207 where element
(which is NULL) gets dereferenced.

Adding a WARN_ON and return AE_BAD_PARAMETER for the element==NULL case
gives the following:

Badness in acpi_bus_extract_wakeup_device_power_package at drivers/acpi/scan.c:208
  [<c021f8bf>] acpi_bus_extract_wakeup_device_power_package+0xfe/0x14b
  [<c021f941>] acpi_bus_get_wakeup_device_flags+0x35/0x89
  [<c021ff83>] acpi_bus_add+0xd4/0x152
  [<c0220105>] acpi_bus_scan+0x104/0x156
  [<c03d7742>] acpi_scan_init+0x48/0x5e
  [<c03c57f4>] do_initcalls+0x54/0xc0
  [<c0100410>] init+0x0/0x100
  [<c0100410>] init+0x0/0x100
  [<c010043a>] init+0x2a/0x100
  [<c0102078>] kernel_thread_helper+0x0/0x18
  [<c010207d>] kernel_thread_helper+0x5/0x18
  [<c0100410>] init+0x0/0x100
  [<c010043a>] init+0x2a/0x100
  [<c0102078>] kernel_thread_helper+0x0/0x18
  [<c010207d>] kernel_thread_helper+0x5/0x18

The ACPI bios on this thing has always seemed to be pretty broken, but
this at least allows the 'power' button to continue to work (the only
reason why I want ACPI).


Hmm... I don't want to hold up the release for this isolated problem.
Maybe if you're forced to do another -rc I could send in a trivial two
liner? (what's the policy with such a situation?)

[-- Attachment #2: acpi-fix.patch --]
[-- Type: text/x-patch, Size: 646 bytes --]




---

 linux-2.6-npiggin/drivers/acpi/scan.c |    2 ++
 1 files changed, 2 insertions(+)

diff -puN drivers/acpi/scan.c~acpi-fix drivers/acpi/scan.c
--- linux-2.6/drivers/acpi/scan.c~acpi-fix	2004-10-11 19:44:36.000000000 +1000
+++ linux-2.6-npiggin/drivers/acpi/scan.c	2004-10-11 19:44:51.000000000 +1000
@@ -204,6 +204,8 @@ acpi_bus_extract_wakeup_device_power_pac
 		return AE_BAD_PARAMETER;
 
 	element = &(package->package.elements[0]);
+	if (!element)
+		return AE_BAD_PARAMETER;
 	if (element->type == ACPI_TYPE_PACKAGE) {
 		if ((element->package.count < 2) ||
 			(element->package.elements[0].type != ACPI_TYPE_LOCAL_REFERENCE) ||

_

  parent reply	other threads:[~2004-10-11 10:01 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-11  3:22 Linux 2.6.9-rc4 - pls test (and no more patches) Linus Torvalds
2004-10-11  7:07 ` Gene Heskett
2004-10-11  7:23 ` via-velocity heads up (was (Re: Linux 2.6.9-rc4 - pls test (and no more patches)) Francois Romieu
2004-10-11 13:32   ` Daniel Andersen
2004-10-11 16:53   ` Jerone Young
2004-10-11  9:07 ` Linux 2.6.9-rc4 - pls test (and no more patches) Brice Goglin
2004-10-11 14:57   ` Linus Torvalds
2004-10-11 20:22     ` Kjartan Maraas
2004-10-11  9:35 ` Andre Tomt
2004-10-11 15:02   ` Linus Torvalds
2004-10-11 15:09     ` James Bottomley
2004-10-11 18:22       ` Andre Tomt
2004-10-11 19:29         ` James Bottomley
2004-10-11 23:35           ` Linus Torvalds
2004-10-12  1:01             ` Lee Revell
2004-10-12  4:02             ` William Lee Irwin III
2004-10-12  6:57             ` Jesper Juhl
2004-10-11 21:37       ` Chris Ricker
2004-10-11  9:54 ` Nick Piggin [this message]
2004-10-11 15:17   ` Linus Torvalds
2004-10-11 15:25     ` Linus Torvalds
2004-10-12  0:11       ` Nick Piggin
2004-10-11 23:48     ` Nick Piggin
2004-10-12  6:00       ` Barry K. Nathan
2004-10-11 15:48 ` Linux 2.6.9-rc4 (compile stats) John Cherry
2004-10-11 15:51   ` John Cherry
2004-10-11 16:24 ` [patch] 2.6.9-rc4: SCSI qla2xxx gcc 3.4 compile errors Adrian Bunk
2004-10-11 16:28   ` James Bottomley
2004-10-11 16:35     ` Adrian Bunk
2004-10-11 17:05       ` James Bottomley
2004-10-11 22:04 ` Linux 2.6.9-rc4 - pls test (and no more patches) Tom Rini
2004-10-11 23:23   ` Tom Rini
2004-10-12  8:05 ` Matthias Andree
2004-10-12  9:09   ` [PATCH] tcp_output.c: tcp_set_skb_tso_factor ---> tcp_set_skb_tso_segs [Was: Re: Linux 2.6.9-rc4 - pls test (and no more patches)] Sami Farin
  -- strict thread matches above, loose matches on Subject: below --
2004-10-11 16:07 Linux 2.6.9-rc4 - pls test (and no more patches) Yu, Luming

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=416A5857.1090307@yahoo.com.au \
    --to=nickpiggin@yahoo.com.au \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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