Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2007 19:27:42 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Denis <piloyder@gmail.com>
Cc:        freebsd-acpi@FreeBSD.org
Subject:   Re: ACPI error on Compaq nc6220, FreeBSD 7.0
Message-ID:  <200709121927.46465.jkim@FreeBSD.org>
In-Reply-To: <325305250709112228w64e2f927v2bc46aa73e49bb17@mail.gmail.com>
References:  <325305250709010712n4bd0d62l9a144572441cf3dc@mail.gmail.com> <46E6E4E9.4040900@root.org> <325305250709112228w64e2f927v2bc46aa73e49bb17@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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/<ARCH>/compile/GENERIC
cd /usr/src/sys/<ARCH>/conf
config GENERIC
cd ../compile/GENERIC
make depend
make
make install

Once that is done, you can just repeat:

cd /usr/src/sys/<ARCH>/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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709121927.46465.jkim>