Date: Sun, 10 Jun 2007 08:11:21 -0400 From: Randall Stewart <rrs@cisco.com> To: freebsd-current@freebsd.org Subject: Don't know what I was doing but... Message-ID: <466BEA69.1010708@cisco.com>
next in thread | raw e-mail | index | archive | help
Hi all: I have a fairly recent current.. like yesterday I think.. and I just saw this tumble out (I usually run with witness and invariants on in my laptop now :-D) lock order reversal: 1st 0xc0b79f70 sched lock (sched lock) @ kern/sched_4bsd.c:846 2nd 0xc0bec658 descriptor tables (descriptor tables) @ i386/i386/sys_machdep.c:363 KDB: stack backtrace: db_trace_self_wrapper(c0a707ac,e676f62c,c0773e2e,c0a72c17,c0bec658,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c0a72c17,c0bec658,c0a72d95,c0a72d95,c0a9b145,...) at kdb_backtrace+0x29 witness_checkorder(c0bec658,9,c0a9b13c,16b,200046,...) at witness_checkorder+0x6de _mtx_lock_spin_flags(c0bec658,0,c0a9b13c,16b,c0758304,...) at _mtx_lock_spin_flags+0xbf set_user_ldt(c59f06f0) at set_user_ldt+0x47 sw1(c50e6800,0,1,180,282b0d00,...) at sw1+0xea mi_switch(1,0,c0a71395,1bc,c50e6800,...) at mi_switch+0x217 sleepq_switch(c50e6800,0,c0a71395,21a,4c,...) at sleepq_switch+0xf0 sleepq_wait(d8110d20,0,c0a6e6fc,da,0,...) at sleepq_wait+0x60 _sleep(d8110d20,c0bc77b8,4c,c0a76bd4,0,...) at _sleep+0x369 bwait(d8110d20,4c,c0a76bd4,d8110d20,e676f7e8,...) at bwait+0x60 bufwait(d8110d20,0,0,0,0,...) at bufwait+0x28 breadn(c42d1220,2440820,0,4000,0,...) at breadn+0x132 bread(c42d1220,2440820,0,4000,0,...) at bread+0x4c ffs_vget(c429d538,245550,2,e676f8fc,e676f908,...) at ffs_vget+0x366 ufs_lookup(e676f94c,c439edd0,e676fba8,c439edd0,e676f96c,...) at ufs_lookup+0x9bd VOP_CACHEDLOOKUP_APV(c0b386e0,e676f94c,e676fba8,e676fb94,c5984800,...) at VOP_CACHEDLOOKUP_APV+0xa5 vfs_cache_lookup(e676f9d4,e676f9d4,e676fb80,c439edd0,2,...) at vfs_cache_lookup+0xd0 VOP_LOOKUP_APV(c0b386e0,e676f9d4,c50e6800,c0a784fe,2a9,...) at VOP_LOOKUP_APV+0xa5 lookup(e676fb80,c0a784fe,c6,bf,c598582c,...) at lookup+0x52e namei(e676fb80,c50e6800,e676fa78,200246,c0b80b58,...) at namei+0x2eb vn_open_cred(e676fb80,e676fc78,0,c5984800,c58d8c60,...) at vn_open_cred+0x2c9 vn_open(e676fb80,e676fc78,0,c58d8c60,c50e6800,...) at vn_open+0x33 kern_open(c50e6800,bfbfcdfa,0,1,0,...) at kern_open+0xc4 open(c50e6800,e676fcfc,c,c0a5d622,c0b18e38,...) at open+0x30 syscall(e676fd38) at syscall+0x293 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (5, FreeBSD ELF32, open), eip = 0x2944826b, esp = 0xbfbfcd9c, ebp = 0xbfbfcdc8 --- This may be fixed.. I can sup again today and try a rebuild.. R -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 <or> 803-317-4952 (cell)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?466BEA69.1010708>