Date: Thu, 26 Jul 2001 08:07:19 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Matthew Jacob <mjacob@feral.com> Cc: smp@freebsd.org Subject: RE: kaboom... Message-ID: <XFMail.010726080719.jhb@FreeBSD.org> In-Reply-To: <Pine.BSF.4.21.0107251848210.37199-100000@beppo>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26-Jul-01 Matthew Jacob wrote: > > This is top of tree more or less. > > I can't get any more info- I had to shut down for a powerdown at NASA/AMes: > > login: lock order reversal > 1st 0xfffffe0008781b88 process lock @ ../../../vm/vm_glue.c:469 > 2nd 0xfffffe00000d7c00 lockmgr interlock @ ../../../kern/kern_lock.c:239 This is quite known. It's where we get a trylock on the vm_map lock. It will go away when we switch to sx locks for those locks. It's kind of due to the way lockmgr() does things. > recursed on non-recursive lock (sleep mutex) process lock @ > ../../../kern/kern_lock.c:262 > first acquired @ ../../../kern/kern_exit.c:327 This is new however. The real problem is something trap'd during exit1(). It would be helpful to see what source line is at exit1+0x15e4. The other issue is that I've no idea why the process lock is being used as the interlock for a vm_map lock. > panic: recurse > cpuid = 8; panic > Stopped at Debugger+0x34: zapnot v0,#0xf,a0 <v0=0x0,a0=0x6> > db> t > Debugger() at Debugger+0x34 > panic() at panic+0x178 > witness_lock() at witness_lock+0x498 > lockmgr() at lockmgr+0x2e8 > vm_map_lock_read() at vm_map_lock_read+0x28 > vm_map_lookup() at vm_map_lookup+0xa8 > vm_fault1() at vm_fault1+0xdc > vm_fault() at vm_fault+0xf4 > trap() at trap+0x1058 > XentMM() at XentMM+0x2c > --- memory management fault (from ipl 0) --- > exit1() at exit1+0x15e4 > sys_exit() at sys_exit+0x24 > syscall() at syscall+0x728 > XentSys() at XentSys+0x64 > --- syscall (1, FreeBSD ELF, sys_exit) --- > --- user mode --- > db> show locks > exclusive (sleep mutex) lockmgr (0xfffffc000077e688) locked @ > ../../../kern/kern_lock.c:239 > exclusive (sleep mutex) process lock (0xfffffe000877f9c8) locked @ > ../../../kern/kern_exit.c:327 > exclusive (sx) proctree (0xfffffc00007dcc08) locked @ > ../../../kern/kern_exit.c:282 > exclusive (sleep mutex) Giant (0xfffffc00007e4af8) locked @ > ../../../vm/vm_fault.c:195 -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010726080719.jhb>