From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 12 23:27:50 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 4F51516A417 for ; Wed, 12 Sep 2007 23:27:50 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 1289B13C465 for ; Wed, 12 Sep 2007 23:27:49 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l8CNRnd1046744; Wed, 12 Sep 2007 19:27:49 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Denis Date: Wed, 12 Sep 2007 19:27:42 -0400 User-Agent: KMail/1.6.2 References: <325305250709010712n4bd0d62l9a144572441cf3dc@mail.gmail.com> <46E6E4E9.4040900@root.org> <325305250709112228w64e2f927v2bc46aa73e49bb17@mail.gmail.com> In-Reply-To: <325305250709112228w64e2f927v2bc46aa73e49bb17@mail.gmail.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200709121927.46465.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.90.2/4260/Wed Sep 12 18:12:31 2007 on anuket.mj.niksun.com X-Virus-Status: Clean 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: Wed, 12 Sep 2007 23:27:50 -0000 On Wednesday 12 September 2007 01:28 am, Denis wrote: > I applied your patch ecng-7c.diff and Jung-uk Kim, compiled kernel, > but got next kernel panic: > --- > panic: blockable sleep lock (sleep mutex) 32 @ > /usr/src/sys/vm/uma_core.c:1830 cpuid = 0 > KDB: enter: panic > [thread pid 21 tid 100013 ] > Stopped at kdb_enter+0x32: leave > --- Please remove spinlock_enter() and spinlock_exit() from OsdSynch.c and retry. > And sorry for delay in answers. This is because to be sure I > recompile kernel each time (with command /usr/src && make > buildkernel KERNCONF=GENERIC). If there is any way I can speed up > this process and be safe? 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. Jung-uk Kim