From owner-acpi-jp@jp.FreeBSD.org Fri May  2 06:56:44 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id h41LuiZ18769;
	Fri, 2 May 2003 06:56:44 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from hermes.sc.intel.com (fmr03.intel.com [143.183.121.5])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id h41LuhY18763
	for <acpi-jp@jp.FreeBSD.org>; Fri, 2 May 2003 06:56:44 +0900 (JST)
	(envelope-from robert.moore@intel.com)
Received: from talaria.sc.intel.com (talaria.sc.intel.com [10.3.253.5])
	by hermes.sc.intel.com (8.11.6p2/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id h41LrMU18885
	for <acpi-jp@jp.FreeBSD.org>; Thu, 1 May 2003 21:53:22 GMT
Received: from fmsmsxvs042.fm.intel.com (fmsmsxvs042.fm.intel.com [132.233.42.128])
	by talaria.sc.intel.com (8.11.6p2/8.11.6/d: inner.mc,v 1.28 2003/01/13 19:44:39 dmccart Exp $) with SMTP id h41LpY108315
	for <acpi-jp@jp.FreeBSD.org>; Thu, 1 May 2003 21:51:34 GMT
Received: from fmsmsx019.fm.intel.com ([132.233.42.130])
 by fmsmsxvs042.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2003050115002422401
 for <acpi-jp@jp.FreeBSD.org>; Thu, 01 May 2003 15:00:24 -0700
Received: by fmsmsx019.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <J7P5B6HC>; Thu, 1 May 2003 14:56:37 -0700
Message-ID: <D3A3AA459175A44CB5326F26DA7A189C1C3C45@orsmsx405.jf.intel.com>
From: "Moore, Robert" <robert.moore@intel.com>
To: acpi-jp@jp.FreeBSD.org
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
content-class: urn:content-classes:message
Content-Type: text/plain;
	charset="ISO-8859-1"
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Thu, 1 May 2003 14:56:30 -0700
X-Sequence: acpi-jp 2155
Subject: [acpi-jp 2155] RE: [patch] panic uninstalling multiple tables
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: robert.moore@intel.com
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030405

Please send me the fix, I will integrate it into the ACPI CA code base.

Bob


> -----Original Message-----
> From: Marcel Moolenaar [mailto:marcel@xcllnt.net]
> Sent: Thursday, May 01, 2003 2:42 PM
> To: acpi-jp@jp.FreeBSD.org
> Subject: [acpi-jp 2154] [patch] panic uninstalling multiple tables
> 
> Gang,
> 
> The HP rx2600 machines (ia64) have multiple SSDT tables. These
> tables get nicely linked together. The first table descriptor
> is static, the following table descriptors are allocated. When
> shutting down the machine, these tables (and descriptors) will
> get uninstalled. This however contains a bug: the ListHead is
> removed first and since (head->next != head->prev) when more
> than one instance of a table exists, it is not identified as
> the list head and thus is being deallocated.
> 
> A tested patch is attached first. A minimal (untested) patch
> is attached second. I like the second for it's simplicity.
> Both patches try to fix the same problem: deallocation (freeing)
> memory that was not previously allocated.
> 
> Note that with 5.1 around the corner it would be nice to have this
> resolved soon, or otherwise determined what the best fix would be.
> We can hopefully import a snapshot (in May) that contains a fix
> for this or fix it locally in a way that doesn't conflict with
> future upgrades.
> 
> Thanks,
> 
> PS: I'm not subscribed to the list. Please keep me CC'd.
> 
> --
>  Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net
