From owner-acpi-jp@jp.FreeBSD.org Thu Sep 18 14:11:28 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id h8I5BSE38238;
	Thu, 18 Sep 2003 14:11:28 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from rootlabs.com (root.org [67.118.192.226])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with SMTP/inet id h8I5BRJ38233
	for <acpi-jp@jp.FreeBSD.org>; Thu, 18 Sep 2003 14:11:27 +0900 (JST)
	(envelope-from nate@rootlabs.com)
Received: (qmail 13680 invoked by uid 1000); 18 Sep 2003 05:11:24 -0000
From: Nate Lawson <nate@root.org>
To: acpi-jp@jp.FreeBSD.org
cc: acpi-devel@lists.sourceforge.net,
   "Grover, Andrew" <andrew.grover@intel.com>,
   "Therien, Guy" <guy.therien@intel.com>
In-Reply-To: <D3A3AA459175A44CB5326F26DA7A189C1C3D6F@orsmsx405.jf.intel.com>
Message-ID: <20030917215306.B13632@root.org>
References: <D3A3AA459175A44CB5326F26DA7A189C1C3D6F@orsmsx405.jf.intel.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 17 Sep 2003 22:11:24 -0700
X-Sequence: acpi-jp 2676
Subject: [acpi-jp 2676] Re: acipca patches for Intel
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: nate@root.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030902

My acpidump output is here:
   http://www.root.org/~nate/acpi/ibm-acpidump.asl.gz

You can easily see the problem since method _BST returns the value of
a call to _GBST.  Here is a link to my original message with dmesg output:
   http://home.jp.freebsd.org/cgi-bin/showmail/acpi-jp/2408

BTW, I am close to isolating a panic caused by resource lists (in this
case _CRS) overflowing the allocated buffer.

-Nate

On Wed, 17 Sep 2003, Moore, Robert wrote:
> Please send a listing of the _BST errors that appear on the IBM machines
> and the related DSDT.  This issue isn't really an ACPI 2.0 issue, it
> extends back to ACPI 1.0.  I'd like to solve this once and for all if
> possible.
>
> Bob
>
>
> This patch reverts part of 0619 to fix _BST errors on IBM thinkpads (and
> others.  It appears many ASL versions do not implement the alluded to
> 2.0C copy semantics.
>
> --- dsmthdat.c	Thu Jun 19 17:30:43 2003
> +++ /sys/contrib/dev/a.old/dsmthdat.c	Tue Apr 29 11:36:50 2003
> @@ -392,6 +392,7 @@
>  {
>      ACPI_STATUS             Status;
>      ACPI_NAMESPACE_NODE     *Node;
> +    ACPI_OPERAND_OBJECT     *NewDesc = Object;
>
>
>      ACPI_FUNCTION_TRACE ("DsMethodDataSetValue");
> @@ -410,17 +411,32 @@
>          return_ACPI_STATUS (Status);
>      }
>
>
>
