ACPI error on Compaq nc6220, FreeBSD 7.0
Jung-uk Kim
jkim at FreeBSD.org
Wed Sep 12 16:27:50 PDT 2007
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
More information about the freebsd-acpi
mailing list