ACPI error on Compaq nc6220, FreeBSD 7.0
Jung-uk Kim
jkim at FreeBSD.org
Thu Sep 13 11:24:09 PDT 2007
[Sorry for the previous empty reply.]
On Thursday 13 September 2007 02:16 pm, Jung-uk Kim wrote:
> On Thursday 13 September 2007 01:59 pm, Denis wrote:
> > On 9/13/07, Jung-uk Kim <jkim at freebsd.org> 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>
> > ---
Actually I am seeing the same problem.
Nate,
sx lock is recursing during AcpiInstallAddressSpaceHandler() ->
EcSpaceHandler(). Can you take a look at it?
> > 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)
Thanks for the feedback,
Jung-uk Kim
> > > 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.
> >
> > Many-many thanks :-)!
> >
> > Best regards, Denis.
More information about the freebsd-acpi
mailing list