From owner-freebsd-acpi@FreeBSD.ORG Sat Sep 15 15:13:22 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 D568116A420 for ; Sat, 15 Sep 2007 15:13:22 +0000 (UTC) (envelope-from piloyder@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id 7399D13C46E for ; Sat, 15 Sep 2007 15:13:22 +0000 (UTC) (envelope-from piloyder@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so866101nfb for ; Sat, 15 Sep 2007 08:13:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=xUk0UyfW/+74dnEB/hLvsogGGL4/UGR7gIzrMQC2Cmw=; b=BwzSIqREYx1v7iApoQu1utEqgeWr7aa4QOwY0eydD0qA/mxc0EHFSSys3USLAgIjntgFkvIvZBvlkI6h0Fv9FMEdY7zvNcx/ok2KzDZBUER+lU+4Ivz22UmXsyC9L977QTfLBKSnUGkGicxJ9MhPUHHbwonuLeb0Swe8LhzkssU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OYp3Sl/3af2yiV4TYkTHX7FnRJVTXQMdTLJLwtmD0nt/KSH/rKup1dUAcUqU32lAtP6q+ZOmh7nqTOEBs/viC5iRgEXGUo5L7ZB8ovfBT+8D0O5jBVsMVMB8EiFh59dDMpooRPRJR6aOOVoXLWwQEpnU845p9vNNShTUvZsClhQ= Received: by 10.86.93.17 with SMTP id q17mr2190535fgb.1189869185040; Sat, 15 Sep 2007 08:13:05 -0700 (PDT) Received: by 10.86.62.15 with HTTP; Sat, 15 Sep 2007 08:13:04 -0700 (PDT) Message-ID: <325305250709150813k64d6c59fp1ddba0b6459eb694@mail.gmail.com> Date: Sat, 15 Sep 2007 19:13:04 +0400 From: Denis To: "Jung-uk Kim" In-Reply-To: <200709150911.42648.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <325305250709010712n4bd0d62l9a144572441cf3dc@mail.gmail.com> <200709141628.24801.jkim@FreeBSD.org> <325305250709150204i311c658bwfa187cd0684771f@mail.gmail.com> <200709150911.42648.jkim@FreeBSD.org> 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: Sat, 15 Sep 2007 15:13:22 -0000 On 9/15/07, Jung-uk Kim wrote: > On Saturday 15 September 2007 05:04 am, Denis wrote: > > On 9/15/07, Jung-uk Kim wrote: > > > > > > panic: _sx_xlock_hard: recursed on non recursive sx ACPI > > > > > > embedded controller @ > > > > > > /usr/src/sys/modules/acpi/acpi/../../../acpica/acpi_ec.c:20 > > > > > >9 > > > > > > > > > > > > cpuid = 0 > > > > > > KDB: enter: panic > > > > > > [thread: pid 8 tid 100018 ] > > > > > > Stopped at kbd_enter+0x32: leave > > > > > > db> > > > > > > --- > > > > > > > > Actually I am seeing the same problem. > > > > > > Can you try this patch *after* applying Nate's patch? It should > > > fix this problem. > > > > I applied Nate's patch, your patch and this patch and got kernel > > panic: --- > > panic: blockable sleep lock (sleep mutex) 32 @ vm/uma_core:1830 > > cpuid = 0 > > KDB: enter: panic > > [thread pid 21 tid 100013 ] > > Stopped at kdb_enter+0x32: leave > > --- > > Did you remove spinlock_enter() and spinlock_exit()? Sorry, forgot about it. After removing spinlock_enter() and spinlock_exit() I was able to boot with ACPI, there were no kernel panic. However, system "hangs" after some period of time (up to several minutes) - I able to switch between consoles (alt+Fx) but cannot enter anything from the keyboard. Also able to start debugger with ctrl+alt+esc. And sometimes if I enter to debugger and continue to work (with "c") system starts to work (I mean, able to enter from the keyboard). Best regards, Denis