From owner-freebsd-current@FreeBSD.ORG Mon Jun 13 12:56:45 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 363D916A41C for ; Mon, 13 Jun 2005 12:56:45 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C19AB43D1F for ; Mon, 13 Jun 2005 12:56:44 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j5DCuh2N077924 for ; Mon, 13 Jun 2005 07:56:43 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <42AD8270.8060906@centtech.com> Date: Mon, 13 Jun 2005 07:56:16 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050603 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Current Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/934/Sun Jun 12 17:44:50 2005 on mh1.centtech.com X-Virus-Status: Clean Subject: _mtx_lock_sleep kernel crash.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 12:56:45 -0000 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. db> trace Tracing pid 0 tid 0 td 0xc094b300 kdb_enter(c0882b13) at kdb_enter+0x2b panic(c0881fc3,c089d374,c089d714,127,c1059144) at panic+0x127 _mtx_lock_sleep(c1059144,c094b300,0,c089d714,127) at _mtx_lock_sleep+0x36 _mtx_lock_flags(c1059144,0,c089d714,127) at _mtx_lock_flags+0x85 _vm_map_lock(c10590c0,c089d714,127) at _vm_map_lock+0x26 kmem_malloc(c10590c0,1000,101,c0c20abc,c078d2cd) at kmem_malloc+0x32 page_alloc(c1063c60,1000,c0c20aaf,101,c0c20abc) at page_alloc+0x1a slab_zalloc(c1063c60,101,c1063c60,c1063c60,c1064640) at slab_zalloc+0xa1 uma_zone_slab(c1063c60,1,c1064648,0,c089c9cd,894) at uma_zone_slab+0xe8 uma_zalloc_internal(c1063c60,0,1,c1064648,0) at uma_zalloc_internal+0x29 uma_zalloc_arg(c1063c60,0,1) at uma_zalloc_arg+0x2fb vm_map_entry_create(c10590c0,0,c1056d8c,7070001,c1056d8c) at vm_map_entry_create+0x1e vm_map_insert(c10590c0,c09a8a20,23b2000,0,c22b1000) at vm_map_insert+0x1fc kmem_malloc(c10590c0,1000,101,c0c20bf4,c078d6c6) at kmem_malloc+0xc8 page_alloc(c1063c60,1000,c0c20c17,101,c1064640) at page_alloc+0x1a startup_alloc(c1063c60,1000,c0c20c17,101,c089c9cd) at startup_alloc+0xb2 slab_zalloc(c1063c60,101,6e,c1058f04,c103d624) at slab_zalloc+0xa1 uma_zone_slab(c1063c60,1,1,74,f643) at uma_zone_slab+0xe8 uma_zalloc_bucket(c1063c60,1) at uma_zalloc_bucket+0x130 uma_zalloc_arg(c1063c60,0,1) at uma_zalloc_arg+0x2b8 vm_map_entry_create(c1059000,10,c1056e9c,707f000,c1056e9c) at vm_map_entry_create+0x1e vm_map_insert(c1059000,0,0,0,e0990000) at vm_map_insert+0x1fc vm_map_find(c1059000,0,0,0,c0c20d2c,1000,1,7,7,4) at vm_map_find+0x86 kmem_alloc_nofault(c1059000,1000,400,c1022462,0) at kmem_alloc_nofault+0x37 pmap_mapdev(3ffd3400,68,c0c20d74,c080268a,c22a8584) at pmap_mapdev+0x58 madt_setup_local(c22a8584,c0921e10,c0c20d88,c0617932,0) at madt_setup_local+0x14 apic_init(0,c1ec00,c1e000,0,c0447db5) at apic_init+0x116 mi_startup() at mi_startup+0x96 begin() at begin+0x2c Any more debugging I can do? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------