From owner-acpi-jp@jp.FreeBSD.org Thu Apr 17 03:27:41 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id h3GIRfN12648;
	Thu, 17 Apr 2003 03:27:41 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from scrooge.etek.chalmers.se (root@scrooge.etek.chalmers.se [129.16.32.112])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id h3GIRdY12643
	for <acpi-jp@jp.FreeBSD.org>; Thu, 17 Apr 2003 03:27:39 +0900 (JST)
	(envelope-from b@etek.chalmers.se)
Received: from scrooge.etek.chalmers.se (b@localhost [127.0.0.1])
	by scrooge.etek.chalmers.se (8.12.8p1/8.12.8) with ESMTP id h3GIQ0gh056931;
	Wed, 16 Apr 2003 20:26:00 +0200 (CEST)
	(envelope-from b@etek.chalmers.se)
Received: from localhost (b@localhost)
	by scrooge.etek.chalmers.se (8.12.8p1/8.12.8/Submit) with ESMTP id h3GIPrWX056928;
	Wed, 16 Apr 2003 20:25:54 +0200 (CEST)
X-Authentication-Warning: scrooge.etek.chalmers.se: b owned process doing -bs
From: Magnus B{ckstr|m <b@etek.chalmers.se>
To: "Moore, Robert" <robert.moore@intel.com>
cc: "'acpi-jp@jp.FreeBSD.org'" <acpi-jp@jp.FreeBSD.org>
In-Reply-To: <B9ECACBD6885D5119ADC00508B68C1EA0D19BC99@orsmsx107.jf.intel.com>
Message-ID: <Pine.BSF.4.44.0304162022360.56901-100000@scrooge.etek.chalmers.se>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 16 Apr 2003 20:25:53 +0200
X-Sequence: acpi-jp 2121
Subject: [acpi-jp 2121] RE: [fix] Stack smasher in ACPI.
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: b@etek.chalmers.se
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030405

Thanks, will do.

Btw, is <acpi-jp@jp.FreeBSD.org> an open list?

Magnus

On Wed, 16 Apr 2003, Moore, Robert wrote:

> Date: Wed, 16 Apr 2003 09:42:11 -0700
> From: "Moore, Robert" <robert.moore@intel.com>
> To: "'acpi-jp@jp.FreeBSD.org'" <acpi-jp@jp.FreeBSD.org>,
>      Magnus B{ckstr|m <b@etek.chalmers.se>
> Subject: RE: [acpi-jp 2119] RE: [fix] Stack smasher in ACPI.
>
>
> Please send all fixes/suggestions to us here in the ACPI CA team.  This is
> where the code comes from, and we integrate the fixes here before sending
> the code out to FreeBSD, Linux, etc.
>
> Thanks,
> Bob Moore
> Intel Corp.
>
> > -----Original Message-----
> > From: John Baldwin [mailto:jhb@freebsd.org]
> > Sent: Wednesday, April 16, 2003 9:24 AM
> > To: Magnus B{ckstr|m; acpi-jp@jp.FreeBSD.org
> > Subject: [acpi-jp 2119] RE: [fix] Stack smasher in ACPI.
> >
> >
> > On 16-Apr-2003 Magnus B{ckstr|m wrote:
> > > I'm attempting to make -CURRENT work on a compaq evo N800c, and am
> > hitting
> > > some issues.
> > >
> > > (1) The Intel ACPICA contains a potential memory-corruption bug.
> > >
> > > (2): The N800c AML uses idioms defined in ACPI 2.0 which the FreeBSD
> > > implementation isn't aware of, and which interacts with (1) so as
> > > to corrupt the stack and cause a panic.  Specifically, some objects
> > > report their _CID in the form of a Package with multiple Integers in
> > > it (ACPI 2.0 specification p.154 section 6.1.2).
> > >
> > > (3): Compaq has defined _HIDs *with* leading asterisks in direct
> > > violation of ACPI 2.0 p.156 section 6.1.4.  Growl.
> > >
> > > The attached patch is a suggestion for a fix of (1) and the part
> > > of (2) that interacts with (1).
> > >
> > > I'm working on the rest of (2) and a workaround for (3).
> > >
> > > -- B
> >
> > The best place to send ACPI patches is the acpi-jp@jp.freebsd.org
> > mailing list (cc'd).  Hopefully the folks on here can review your
> > attached patch.
> >
> > --
> >
> > John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
> > "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
>

