Re: panic: ia64 r255811: deadlkres: possible deadlock detected for 0xe000000012d07b00, blocked for 902743 ticks

Davide Italiano <[email protected]>
Newsgroups gmane.os.freebsd.current,gmane.os.freebsd.devel.ia64
Message-ID <CACYV=-FRo-5kGVgLjyFPOc2Bfe3imUFL2_Zkx6SEPAw7qzfMiA@mail.gmail.com>
On Wed, Sep 25, 2013 at 11:11 AM, Anton Shterenlikht <[email protected]> wrote:
> FreeBSD mech-as221.men.bris.ac.uk 10.0-ALPHA2 FreeBSD 10.0-ALPHA2 #8 r255811: Tue Sep 24 09:04:17 BST 2013     [email protected]:/usr/obj/usr/src/sys/UZI  ia64
>
> panic: deadlkres: possible deadlock detected for 0xe000000012d07b00, blocked for 902743 ticks
>
> cpuid = 1
> KDB: stack backtrace:
> db_trace_self(0x9ffc0000000c9ec0) at db_trace_self+0x40
> db_trace_self_wrapper(0x9ffc0000004d40b0) at db_trace_self_wrapper+0x70
> kdb_backtrace(0x9ffc000000bfb030, 0x9ffc00000045b350, 0x40c, 0x9ffc000000dd20a0) at kdb_backtrace+0xc0
> vpanic(0x9ffc000000aec840, 0xa0000000005cb518) at vpanic+0x260
> panic(0x9ffc000000aec840, 0x9ffc000000aecaa0, 0xe000000012d07b00, 0xdc657) at panic+0x80
> deadlkres(0xdc657, 0xe000000012d07b00, 0x9ffc000000aef478, 0x9ffc000000aec7d0) at deadlkres+0x420
> fork_exit(0x9ffc000000b441e0, 0x0, 0xa0000000005cb550) at fork_exit+0x120
> enter_userland() at enter_userland
> KDB: enter: panic
> [ thread pid 0 tid 100047 ]
> Stopped at      kdb_enter+0x92: [I2]    addl r14=0xffffffffffe28fb0,gp ;;
> db>
> db> show msgbuf
>
> *skip*
>
> <118>Sep 24 09:36:02 mech-as221 su: mexas to root on /dev/pts/0
> lock order reversal:
>  1st 0xa00000005f0518b8 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3059
>  2nd 0xe000000012343000 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:284
> KDB: stack backtrace:
> db_trace_self(0x9ffc0000000c9ec0) at db_trace_self+0x40
> db_trace_self_wrapper(0x9ffc0000004d40b0) at db_trace_self_wrapper+0x70
> kdb_backtrace(0x9ffc000000bfb030, 0x9ffc000000509870) at kdb_backtrace+0xc0
> _witness_debugger(0x1, 0x9ffc000000b01d10, 0x9ffc00000050d240, 0xb9d, 0x9ffc000000b2e268) at _witness_debugger+0x60
> witness_checkorder(0xe000000012343000, 0x9ffc000000b01660, 0x9ffc000000b2e268, 0x11c, 0x0) at witness_checkorder+0x15b0
> _sx_xlock(0xe000000012343000, 0x0, 0x9ffc000000b2e268, 0x11c) at _sx_xlock+0x120
> ufsdirhash_acquire(0xe0000000123bd308, 0xe000000012343000, 0x9ffc0000008d1920, 0x38b) at ufsdirhash_acquire+0x50
> ufsdirhash_remove(0xe0000000123bd308, 0xa000000060ecbd08, 0x1d08, 0xa00000008fea51e8) at ufsdirhash_remove+0x20
> ufs_dirremove(0xe0000000123d8000, 0xe0000000129e29d8, 0x0, 0x0) at ufs_dirremove+0x380
> ufs_remove(0xa00000008fea5380, 0xe0000000129e29d8, 0xa1c) at ufs_remove+0xe0
> VOP_REMOVE_APV(0x9ffc000000bc3180, 0xa00000008fea5380, 0xe0000000122f8678, 0x0, 0x9ffc0000005c2920, 0xa1c, 0x9ffc000000dd20a0) at VOP_REMOVE_APV+0x220
> kern_unlinkat(0xe0000000123e1200, 0xffffffffffffff9c, 0x7fffffffffffee36, 0x0, 0x0) at kern_unlinkat+0x3f0
> kern_unlink(0xe0000000123e1200, 0x7fffffffffffee36, 0x0) at kern_unlink+0x40
> sys_unlink(0xe0000000123e1200, 0xa00000008fea54e8, 0x9ffc000000988c80, 0x48d) at sys_unlink+0x30
> syscall(0xe0000000123de940, 0x7fffffffffffee36, 0x7fffffffffffeb00, 0xe0000000123e1200, 0x0, 0x0, 0x9ffc000000983f20, 0x8) at syscall+0x5e0
> epc_syscall_return() at epc_syscall_return
> <6>pid 52065 (conftest), uid 0: exited on signal 11 (core dumped)
>
> db> show thread
> Thread 100047 at 0xe000000011973b00:
>  proc (pid 0): 0x9ffc000000c15828
>  name: deadlkres
>  stack: 0xa0000000005c4000-0xa0000000005cbfff
>  flags: 0x4  pflags: 0x200000
>  state: RUNNING (CPU 1)
>  priority: 108
>  container lock: sched lock 1 (0x9ffc000000c3de80)
> db>

Can you please paste the output of 'show locks', 'show alllocks',
'show lockedvnods' at least?
Ideally you should provide all the informations listed here.
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-deadlocks.html

Thanks,

-- 
Davide

"A mathematical theory is not to be considered complete until you have
made it so clear that you can explain it to the first man whom you
meet on the street." (D. Hilbert)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.