From owner-freebsd-acpi@FreeBSD.ORG Thu Sep 13 17:59:29 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 EE59916A41B for ; Thu, 13 Sep 2007 17:59:29 +0000 (UTC) (envelope-from piloyder@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id 7457C13C46A for ; Thu, 13 Sep 2007 17:59:29 +0000 (UTC) (envelope-from piloyder@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so553215nfb for ; Thu, 13 Sep 2007 10:59:28 -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=K9qS+Nv9qosczSINM+HNLTD66CNyrszY3rdLpeaXDi8=; b=eiQXmdl5sy/9iKZ/syJGFapTH7TFy0ImBf1fbnbrfBbrX3VqTWOGtEXAp80lKgeXf/Ixm9ET1ZyW4mq9bDhC0yaTS92EeBb9OTgY5z1i+iV+ZbCCoPbSoJtuaoaLK5jhZFpmZoN7wLBnAg3jl5KPC7sfWxfSKXEOYv8r/SyinJc= 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=cTLsyHiUVj8tQ6eatf0fHOOePd2ZUBN1nxVkuBRDygkwFK8rI/crh7/irYaV1dx5ksVVdX2pqg7F4Jh0S1uKJTC1yprFPrUxHtoSGDtX7Xj/wEFZCNT2a1+SQYb1YnNL3wdz+nxs02QfEQFKxye7QGoqLd6nNfCp7iyEvf3Nm2g= Received: by 10.86.70.8 with SMTP id s8mr706527fga.1189706368022; Thu, 13 Sep 2007 10:59:28 -0700 (PDT) Received: by 10.86.62.15 with HTTP; Thu, 13 Sep 2007 10:59:27 -0700 (PDT) Message-ID: <325305250709131059g6b73cf51o9dc9e09d7e0c2800@mail.gmail.com> Date: Thu, 13 Sep 2007 21:59:27 +0400 From: Denis To: "Jung-uk Kim" In-Reply-To: <200709121927.46465.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> <46E6E4E9.4040900@root.org> <325305250709112228w64e2f927v2bc46aa73e49bb17@mail.gmail.com> <200709121927.46465.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: Thu, 13 Sep 2007 17:59:30 -0000 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> --- and couple time booting process stops at the different stages (but before the login prompt), I was able to print from keyboard, symbols appeared at the screen, however system did not do anything except this. There were no errors in the logs (console.log, messages) > rm -rf /usr/src/sys//compile/GENERIC > cd /usr/src/sys//conf > config GENERIC > cd ../compile/GENERIC > make depend > make > make install > > Once that is done, you can just repeat: > > cd /usr/src/sys//compile/GENERIC > make > make install > > if only one or two files are changed. It is not always safe but it > usually works. Many-many thanks :-)! Best regards, Denis.