_mtx_lock_sleep kernel crash..

David O'Brien obrien at FreeBSD.ORG
Fri Jun 17 06:34:07 GMT 2005


On Mon, Jun 13, 2005 at 07:56:16AM -0500, Eric Anderson wrote:
> I'm getting this:
> panic: _mtx_lock_sleep: recursed on non-recursive mutex system map @ 
> /usr/src/sys/vm/vm_kern.c:295
> 
> cpuid = 0
> KDB: enter: panic
> [thread pid 0 tid 0 ]
> Stopped at      kdb_enter+0x2b: nop
> 
> On bootup with my -current from a few days ago.  Here's how I reproduce it:
> With a GENERIC kernel, add any of these to your /boot/loader.conf:
> vkbd_load="YES"
> snd_pcm_load="YES"
> snd_ich_load="YES"
> 
> Removing 'smp' option from the kernel seems to fix it.

I finally was able to get a traceback of my insta-reboots after marius'
atkbd commit (2005-06-10 20:56:38 UTC) and it was exactly this same
traceback.  So it wasn't really 'smp' related, but a resource issue.  alc
increase of UMA_BOOT_PAGES fixes this panic.

-- 
-- David    (obrien at FreeBSD.org)


More information about the freebsd-current mailing list