From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 18 18:13:07 2007 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C579016A46E for ; Tue, 18 Sep 2007 18:13:07 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id 93E3D13C4B3 for ; Tue, 18 Sep 2007 18:13:07 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 47252 invoked from network); 18 Sep 2007 18:13:07 -0000 Received: from ppp-71-139-1-224.dsl.snfc21.pacbell.net (HELO ?10.0.5.18?) (nate-mail@71.139.1.224) by root.org with ESMTPA; 18 Sep 2007 18:13:07 -0000 Message-ID: <46F01531.2000207@root.org> Date: Tue, 18 Sep 2007 11:13:05 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.6 (X11/20070810) MIME-Version: 1.0 To: Jung-uk Kim References: <325305250709010712n4bd0d62l9a144572441cf3dc@mail.gmail.com> <325305250709131059g6b73cf51o9dc9e09d7e0c2800@mail.gmail.com> <200709131416.21302.jkim@FreeBSD.org> <200709131424.05193.jkim@FreeBSD.org> In-Reply-To: <200709131424.05193.jkim@FreeBSD.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org Subject: Re: ACPI error on Compaq nc6220, FreeBSD 7.0 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 18:13:07 -0000 Jung-uk Kim wrote: > [Sorry for the previous empty reply.] > > On Thursday 13 September 2007 02:16 pm, Jung-uk Kim wrote: >> On Thursday 13 September 2007 01:59 pm, Denis wrote: >>> On 9/13/07, Jung-uk Kim wrote: >>>> Please remove spinlock_enter() and spinlock_exit() from >>>> OsdSynch.c and retry. >>> So I applied your patch, Nate's patch, removed spinlock_enter() >>> and spinlock_exit() from OsdSynch.c and tried to to play a little >>> with booting with ACPI: >>> For the first time I could boot with ACPI and login to the >>> system. But after several minutes I was unable to enter any >>> symbol from the keyboard, however was able to switch between >>> consoles (alt+Fx). >>> >>> Couple times got kernel panic: >>> --- >>> panic: _sx_xlock_hard: recursed on non recursive sx ACPI embedded >>> controller @ >>> /usr/src/sys/modules/acpi/acpi/../../../acpica/acpi_ec.c:209 >>> >>> cpuid = 0 >>> KDB: enter: panic >>> [thread: pid 8 tid 100018 ] >>> Stopped at kbd_enter+0x32: leave >>> db> >>> --- > > Actually I am seeing the same problem. > > Nate, > > sx lock is recursing during AcpiInstallAddressSpaceHandler() -> > EcSpaceHandler(). Can you take a look at it? I updated the EC patches to version D and reposted, please use those instead. Thanks to Jung-uk for pointing out the problem. -Nate