From owner-freebsd-current Wed Nov 27 8:36:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 483DB37B401 for ; Wed, 27 Nov 2002 08:36:08 -0800 (PST) Received: from caduceus.fm.intel.com (fmr02.intel.com [192.55.52.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFBA543EBE for ; Wed, 27 Nov 2002 08:36:07 -0800 (PST) (envelope-from robert.moore@intel.com) Received: from petasus.fm.intel.com (petasus.fm.intel.com [10.1.192.37]) by caduceus.fm.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gARGVOv11583 for ; Wed, 27 Nov 2002 16:31:25 GMT Received: from fmsmsxvs042.fm.intel.com (fmsmsxvs042.fm.intel.com [132.233.42.128]) by petasus.fm.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gARGO1N16093 for ; Wed, 27 Nov 2002 16:24:01 GMT Received: from fmsmsx29.FM.INTEL.COM ([132.233.42.29]) by fmsmsxvs042.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002112708285906542 ; Wed, 27 Nov 2002 08:28:59 -0800 Received: by fmsmsx29.fm.intel.com with Internet Mail Service (5.5.2653.19) id ; Wed, 27 Nov 2002 08:28:17 -0800 Message-ID: From: "Moore, Robert" To: "'Mitsuru IWASAKI'" , "Grover, Andrew" , "Moore, Robert" Cc: acpi-jp@jp.FreeBSD.org, nate@root.org, current@freebsd.org Subject: RE: [acpi-jp 1988] Re: ACPI errors and then panic - fixed! Date: Wed, 27 Nov 2002 08:28:11 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The deleted object problem has been fixed in the 20021122 release which should be available soon, if not already. (I was able to reproduce the problem with your dsdt on previous releases, and I verified it fixed with the 11/22 release.) I did not see any mutex issues -- as we found out on Linux, the OSL implementation of wait_semaphore is often the culprit. Bob -----Original Message----- From: Mitsuru IWASAKI [mailto:iwasaki@jp.FreeBSD.org] Sent: Wednesday, November 27, 2002 12:37 AM To: andrew.grover@intel.com; robert.moore@intel.com Cc: acpi-jp@jp.FreeBSD.org; nate@root.org; current@freebsd.org Subject: Re: [acpi-jp 1988] Re: ACPI errors and then panic - fixed! Hi, Intel folks. It seems that there is a bug in cached object utilization. This causes strange behavior; first evaluation of \_SB_.PCI0.LPC_.EC__.BAT0._BST is OK, but second (or later) evaluation returns AE_TYPE. > acpi_cmbat0: error fetching current battery status -- AE_TYPE The raw DSDT is at: http://www.root.org/~nate/acpi/ibm.dsdt I guess that InternalObject was returned to cache in AcpiUtReleaseToCache() but the same object is still in use somewhere (for ResultObj ?). I could reproduce this problem with acpica debugger. Trace output attached. I'll track this down later. Thanks ---- % acpicadb ibm.dsdt Loading Acpi table from file ibm.dsdt utmisc-0802 [11] UtAcquireMutex : Mutex [ACPI_MTX_Namespace] already acquired by this thread [C25] utmisc-0802 [11] UtAcquireMutex : Mutex [ACPI_MTX_Namespace] already acquired by this thread [C25] Parsing Methods:.................................................................... ............................................................................ ............................................................................ ............................................................................ .......................................................... Table [DSDT] - 1208 Objects with 61 Devices 354 Methods 18 Regions Acpi table [DSDT] successfully installed and loaded - f _BST \_SB_.PCI0.LPC_.EC__.BAT0._BST (0x80ba0a8) - Method \_SB_.PCI0.LPC_.EC__.BAT1._BST (0x80ba6a8) - Method - debug _SB_.PCI0.LPC_.EC__.BAT0._BST Executing \_SB_.PCI0.LPC_.EC__.BAT0._BST 00000 #007F XOr (DerefOf (Index (BT0I, 0x00))) % ArgObj: 0x80b9ea8 Name BT0I Package 0x80e1ba8 ArgObj: 0x80f9fa8 Integer 0000000000000000 ArgObj: 0x80fe028 Integer 0000000000000000 00000 #0037 [EvalSubTree] (Package (0x0D) { 0x00, 0xFFFFFFFF, 0xFFFFFFFF, 0x01, 0x2A30, 0x00, 0x00, 0x01, 0x01, "", "", "", "" }) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message