On Thu, Jan 18, 2007 at 06:57:42PM +0000, Johannes Hofmann wrote: > > Just an update. It seems that after a while it does not return from > > > > Status = WalkState->DescendingCallback (WalkState, Op); > > > > in interpreter/parser/psloop.c:AcpiPsBuildNamedOp. > > > > BTW, is there a way to enable more verbose logging, so that all > > ACPI_FUNCTION_TRACE_PTR() calls would give some output. That way > > I could avoid adding all those kprintfs.
Sorry, you could have added ACPI_ALL_COMPONENTS to debug.acpi.layer to print function traces in ACPI-CA code. > Uff, now I've got it. > It hangs in OsdCache.c:AcpiOsAcquireObject > > Object = objcache_get(Cache->cache, M_WAITOK); Do you get the same hang if you change the malloc flag from M_WAITOK to M_NOWAIT or M_INTWAIT? I observed a lock up on an SMP kernel, but I think it's been fixed in kern_objcache.c rev1.16, so maybe it's unreleated. Can also you try rebuilding acpi.ko with `ACPI_USE_LOCAL_CACHE=yes' defined? If that works, maybe we need to turn on ACPI_USE_LOCAL_CACHE for the release unless we find what's going wrong. Cheers.
