<AOL>Re: panic: _mtx_lock_sleep: recursed on non-recursive mutex pmap

From: Julian Elischer <julian_at_elischer.org>
Date: Fri, 28 Apr 2006 10:06:13 -0700
me too

Ganbold wrote:

> Hi,
>
[...]

>
> ad0: DMA limited to UDMA33, controller found non-ATA66 cable
> ad0: 28629MB <Seagate ST330630A 3.17> at ata0-master UDMA33
> ad1: DMA limited to UDMA33, controller found non-ATA66 cable
> ad1: 28629MB <Seagate ST330630A 3.17> at ata0-slave UDMA33
> acd0: CDROM <SAMSUNG CD-ROM SC-152A/C201> at ata1-master PIO4
> ad3: 28629MB <Seagate ST330620A 3.28> at ata1-slave UDMA100
> Trying to mount root from ufs:/dev/ad0s1a
> lock order reversal:
> 1st 0xc150e0a8 pmap (pmap) _at_ /usr/src/sys/i386/i386/pmap.c:2111
> 2nd 0xc104c078 system map (system map) _at_ /usr/src/sys/vm/vm_map.c:1096
> KDB: stack backtrace:
> kdb_backtrace(0,ffffffff,c07c9398,c07c9460,c078e284) at 
> kdb_backtrace+0x29
> witness_checkorder(c104c078,9,c0730429,448) at witness_checkorder+0x586
> _mtx_lock_flags(c104c078,0,c0730429,448) at _mtx_lock_flags+0x6b
> _vm_map_lock(c104c000,c0730429,448) at _vm_map_lock+0x23
> vm_map_find(c104c000,0,0,0,cb29ba68,1000,1,7,7,4) at vm_map_find+0x2d
> kmem_alloc_nofault(c104c000,1000,c06d02a3,c0814138,c122f8b8) at 
> kmem_alloc_nofault+0x37
> get_pv_entry(c150e0a8,0,0,bfefeffc,cb29badc) at get_pv_entry+0x110
> pmap_insert_entry(c150e0a8,bfbff000,c122f8b8,0,c122d428) at 
> pmap_insert_entry+0x3e
> pmap_enter(c150e0a8,bfbff000,c122f8b8,7,0,c103f168,0,c072fe72,380) at 
> pmap_enter+0x1de
> vm_fault(c150e000,bfbff000,2,8,c1501360) at vm_fault+0x10a4
> trap_pfault(cb29bc90,0,bfbfffff) at trap_pfault+0xce
> trap(c1500008,c0730028,28,c078936a,bfbfffff) at trap+0x401
> calltrap() at calltrap+0x5
> --- trap 0xc, eip = 0xc06d29a1, esp = 0xcb29bcd0, ebp = 0xcb29bd0c ---
> subyte(0,cb29bd38) at subyte+0x25
> fork_exit(c054487c,0,cb29bd38) at fork_exit+0xa4
> fork_trampoline() at fork_trampoline+0x8
> --- trap 0x1, eip = 0, esp = 0xcb29bd6c, ebp = 0 ---
> panic: _mtx_lock_sleep: recursed on non-recursive mutex pmap _at_ 
> /usr/src/sys/i386/i386/pmap.c:1843
>
> KDB: enter: panic
> [thread pid 1 tid 100007 ]
> Stopped at      kdb_enter+0x2b: nop
> db> trace
> Tracing pid 1 tid 100007 td 0xc1501360
> kdb_enter(c07178b8) at kdb_enter+0x2b
> panic(c07167cf,c07356bc,c073895e,733,c1501404) at panic+0xbb
> _mtx_lock_sleep(c08338e0,c1501360,0,c073895e,733) at _mtx_lock_sleep+0x39
> _mtx_lock_flags(c08338e0,0,c073895e,733,0) at _mtx_lock_flags+0x94
> pmap_remove(c08338e0,cc612000,cc613000) at pmap_remove+0x59
> vm_map_delete(c104c000,cc612000,cc613000,c1230200,cc612000) at 
> vm_map_delete+0x159
> vm_map_remove(c104c000,cc612000,cc613000,cb29ba3c,c06cfee7) at 
> vm_map_remove+0x42
> kmem_free(c104c000,cc612000,1000,c0814138,0) at kmem_free+0x25
> free_pv_entry(c08338e0,cc612040,c122fd80,6a31563,c08338e0) at 
> free_pv_entry+0x1cf
> pmap_remove_entry(c08338e0,c122fd80,ca988000) at pmap_remove_entry+0xa8
> pmap_remove_pte(c08338e0,bff2a620,ca988000) at pmap_remove_pte+0xc6
> pmap_remove(c08338e0,ca948000,ca98a000) at pmap_remove+0x114
> vm_map_delete(c10430a8,ca948000,ca98a000,c10430a8,c0730281,1d2) at 
> vm_map_delete+0x159
> kmem_free_wakeup(c10430a8,ca948000,41400,c14fed80,cb29bc5c) at 
> kmem_free_wakeup+0x38
> exec_free_args(cb29bc90) at exec_free_args+0x1e
> do_execve(c1501360,cb29bc90,0,cb29bc90,bfbffff2) at do_execve+0xb43
> kern_execve(c1501360,cb29bc90,0) at kern_execve+0x7c
> execve(c1501360,cb29bcf0,bfbfffe4,bfbffff2,bfbfffe8,bfbffffd,bfbfffec,0) 
> at execve+0x2f
> start_init(0,cb29bd38) at start_init+0x20b
> fork_exit(c054487c,0,cb29bd38) at fork_exit+0xa4
> fork_trampoline() at fork_trampoline+0x8
> --- trap 0, eip = 0, esp = 0xcb29bd6c, ebp = 0x3b ---
> db> wh
> Tracing pid 1 tid 100007 td 0xc1501360
> kdb_enter(c07178b8) at kdb_enter+0x2b
> panic(c07167cf,c07356bc,c073895e,733,c1501404) at panic+0xbb
> _mtx_lock_sleep(c08338e0,c1501360,0,c073895e,733) at _mtx_lock_sleep+0x39
> _mtx_lock_flags(c08338e0,0,c073895e,733,0) at _mtx_lock_flags+0x94
> pmap_remove(c08338e0,cc612000,cc613000) at pmap_remove+0x59
> vm_map_delete(c104c000,cc612000,cc613000,c1230200,cc612000) at 
> vm_map_delete+0x159
> vm_map_remove(c104c000,cc612000,cc613000,cb29ba3c,c06cfee7) at 
> vm_map_remove+0x42
> kmem_free(c104c000,cc612000,1000,c0814138,0) at kmem_free+0x25
> free_pv_entry(c08338e0,cc612040,c122fd80,6a31563,c08338e0) at 
> free_pv_entry+0x1cf
> pmap_remove_entry(c08338e0,c122fd80,ca988000) at pmap_remove_entry+0xa8
> pmap_remove_pte(c08338e0,bff2a620,ca988000) at pmap_remove_pte+0xc6
> pmap_remove(c08338e0,ca948000,ca98a000) at pmap_remove+0x114
> vm_map_delete(c10430a8,ca948000,ca98a000,c10430a8,c0730281,1d2) at 
> vm_map_delete+0x159
> kmem_free_wakeup(c10430a8,ca948000,41400,c14fed80,cb29bc5c) at 
> kmem_free_wakeup+0x38
> exec_free_args(cb29bc90) at exec_free_args+0x1e
> do_execve(c1501360,cb29bc90,0,cb29bc90,bfbffff2) at do_execve+0xb43
> kern_execve(c1501360,cb29bc90,0) at kern_execve+0x7c
> execve(c1501360,cb29bcf0,bfbfffe4,bfbffff2,bfbfffe8,bfbffffd,bfbfffec,0) 
> at execve+0x2f
> start_init(0,cb29bd38) at start_init+0x20b
> fork_exit(c054487c,0,cb29bd38) at fork_exit+0xa4
> fork_trampoline() at fork_trampoline+0x8
> --- trap 0, eip = 0, esp = 0xcb29bd6c, ebp = 0x3b ---
> db>
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe_at_freebsd.org"

<<AOL
Received on Fri Apr 28 2006 - 15:06:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:55 UTC