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

From: Anton Shterenlikht <mexas_at_bris.ac.uk>
Date: Wed, 25 Sep 2013 10:11:51 +0100 (BST)
FreeBSD mech-as221.men.bris.ac.uk 10.0-ALPHA2 FreeBSD 10.0-ALPHA2 #8 r255811: Tue Sep 24 09:04:17 BST 2013     root_at_mech-as221.men.bris.ac.uk:/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) _at_ /usr/src/sys/kern/vfs_bio.c:3059
 2nd 0xe000000012343000 dirhash (dirhash) _at_ /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> 
db> show proc
Process 0 (kernel) at 0x9ffc000000c15828:
 state: NORMAL
 uid: 0  gids: 0
 ABI: null
 threads: 151
100354                   D       -        0xe000000012697000 [zil_clean]
100353                   D       -        0xe00000001230c100 [zil_clean]
100347                   D       -        0xe000000012311c00 [zfs_vn_rele_taskq]
100345                   D       -        0xe000000012313500 [zio_ioctl_intr]
100344                   D       -        0xe000000012313400 [zio_ioctl_issue]
100343                   D       -        0xe000000012313300 [zio_claim_intr]
100342                   D       -        0xe000000012313200 [zio_claim_issue]
100341                   D       -        0xe000000012313100 [zio_free_intr]
100340                   D       -        0xe000000012313000 [zio_free_issue_99]
100339                   D       -        0xe000000012313000 [zio_free_issue_98]
100338                   D       -        0xe000000012313000 [zio_free_issue_97]
100337                   D       -        0xe000000012313000 [zio_free_issue_96]
100336                   D       -        0xe000000012313000 [zio_free_issue_95]
100335                   D       -        0xe000000012313000 [zio_free_issue_94]
100334                   D       -        0xe000000012313000 [zio_free_issue_93]
100333                   D       -        0xe000000012313000 [zio_free_issue_92]
100332                   D       -        0xe000000012313000 [zio_free_issue_91]
100331                   D       -        0xe000000012313000 [zio_free_issue_90]
100330                   D       -        0xe000000012313000 [zio_free_issue_89]
100329                   D       -        0xe000000012313000 [zio_free_issue_88]
100328                   D       -        0xe000000012313000 [zio_free_issue_87]
100327                   D       -        0xe000000012313000 [zio_free_issue_86]
100326                   D       -        0xe000000012313000 [zio_free_issue_85]
100325                   D       -        0xe000000012313000 [zio_free_issue_84]
100324                   D       -        0xe000000012313000 [zio_free_issue_83]
100323                   D       -        0xe000000012313000 [zio_free_issue_82]
100322                   D       -        0xe000000012313000 [zio_free_issue_81]
100321                   D       -        0xe000000012313000 [zio_free_issue_80]
100320                   D       -        0xe000000012313000 [zio_free_issue_79]
100319                   D       -        0xe000000012313000 [zio_free_issue_78]
100318                   D       -        0xe000000012313000 [zio_free_issue_77]
100317                   D       -        0xe000000012313000 [zio_free_issue_76]
100316                   D       -        0xe000000012313000 [zio_free_issue_75]
100315                   D       -        0xe000000012313000 [zio_free_issue_74]
100314                   D       -        0xe000000012313000 [zio_free_issue_73]
100313                   D       -        0xe000000012313000 [zio_free_issue_72]
100312                   D       -        0xe000000012313000 [zio_free_issue_71]
100311                   D       -        0xe000000012313000 [zio_free_issue_70]
100310                   D       -        0xe000000012313000 [zio_free_issue_69]
100309                   D       -        0xe000000012313000 [zio_free_issue_68]
100308                   D       -        0xe000000012313000 [zio_free_issue_67]
100307                   D       -        0xe000000012313000 [zio_free_issue_66]
100306                   D       -        0xe000000012313000 [zio_free_issue_65]
100305                   D       -        0xe000000012313000 [zio_free_issue_64]
100304                   D       -        0xe000000012313000 [zio_free_issue_63]
100303                   D       -        0xe000000012313000 [zio_free_issue_62]
100302                   D       -        0xe000000012313000 [zio_free_issue_61]
100301                   D       -        0xe000000012313000 [zio_free_issue_60]
100300                   D       -        0xe000000012313000 [zio_free_issue_59]
100299                   D       -        0xe000000012313000 [zio_free_issue_58]
100298                   D       -        0xe000000012313000 [zio_free_issue_57]
100297                   D       -        0xe000000012313000 [zio_free_issue_56]
100296                   D       -        0xe000000012313000 [zio_free_issue_55]
100295                   D       -        0xe000000012313000 [zio_free_issue_54]
100294                   D       -        0xe000000012313000 [zio_free_issue_53]
100293                   D       -        0xe000000012313000 [zio_free_issue_52]
100292                   D       -        0xe000000012313000 [zio_free_issue_51]
100291                   D       -        0xe000000012313000 [zio_free_issue_50]
100290                   D       -        0xe000000012313000 [zio_free_issue_49]
100289                   D       -        0xe000000012313000 [zio_free_issue_48]
100288                   D       -        0xe000000012313000 [zio_free_issue_47]
100287                   D       -        0xe000000012313000 [zio_free_issue_46]
100286                   D       -        0xe000000012313000 [zio_free_issue_45]
100285                   D       -        0xe000000012313000 [zio_free_issue_44]
100284                   D       -        0xe000000012313000 [zio_free_issue_43]
100283                   D       -        0xe000000012313000 [zio_free_issue_42]
100282                   D       -        0xe000000012313000 [zio_free_issue_41]
100281                   D       -        0xe000000012313000 [zio_free_issue_40]
100280                   D       -        0xe000000012313000 [zio_free_issue_39]
100279                   D       -        0xe000000012313000 [zio_free_issue_38]
100278                   D       -        0xe000000012313000 [zio_free_issue_37]
100277                   D       -        0xe000000012313000 [zio_free_issue_36]
100276                   D       -        0xe000000012313000 [zio_free_issue_35]
100275                   D       -        0xe000000012313000 [zio_free_issue_34]
100274                   D       -        0xe000000012313000 [zio_free_issue_33]
100273                   D       -        0xe000000012313000 [zio_free_issue_32]
100272                   D       -        0xe000000012313000 [zio_free_issue_31]
100271                   D       -        0xe000000012313000 [zio_free_issue_30]
100270                   D       -        0xe000000012313000 [zio_free_issue_29]
100269                   D       -        0xe000000012313000 [zio_free_issue_28]
100268                   D       -        0xe000000012313000 [zio_free_issue_27]
100267                   D       -        0xe000000012313000 [zio_free_issue_26]
100266                   D       -        0xe000000012313000 [zio_free_issue_25]
100265                   D       -        0xe000000012313000 [zio_free_issue_24]
100264                   D       -        0xe000000012313000 [zio_free_issue_23]
100263                   D       -        0xe000000012313000 [zio_free_issue_22]
100262                   D       -        0xe000000012313000 [zio_free_issue_21]
100261                   D       -        0xe000000012313000 [zio_free_issue_20]
100260                   D       -        0xe000000012313000 [zio_free_issue_19]
100259                   D       -        0xe000000012313000 [zio_free_issue_18]
100258                   D       -        0xe000000012313000 [zio_free_issue_17]
100257                   D       -        0xe000000012313000 [zio_free_issue_16]
100256                   D       -        0xe000000012313000 [zio_free_issue_15]
100255                   D       -        0xe000000012313000 [zio_free_issue_14]
100254                   D       -        0xe000000012313000 [zio_free_issue_13]
100253                   D       -        0xe000000012313000 [zio_free_issue_12]
100252                   D       -        0xe000000012313000 [zio_free_issue_11]
100251                   D       -        0xe000000012313000 [zio_free_issue_10]
100250                   D       -        0xe000000012313000 [zio_free_issue_9]
100249                   D       -        0xe000000012313000 [zio_free_issue_8]
100248                   D       -        0xe000000012313000 [zio_free_issue_7]
100247                   D       -        0xe000000012313000 [zio_free_issue_6]
100246                   D       -        0xe000000012313000 [zio_free_issue_5]
100245                   D       -        0xe000000012313000 [zio_free_issue_4]
100244                   D       -        0xe000000012313000 [zio_free_issue_3]
100243                   D       -        0xe000000012313000 [zio_free_issue_2]
100242                   D       -        0xe000000012313000 [zio_free_issue_1]
100241                   D       -        0xe000000012313000 [zio_free_issue_0]
100240                   D       -        0xe000000012312f00 [zio_write_intr_high]
100239                   D       -        0xe000000012312f00 [zio_write_intr_high]
100238                   D       -        0xe000000012312f00 [zio_write_intr_high]
100237                   D       -        0xe000000012312f00 [zio_write_intr_high]
100236                   D       -        0xe000000012312f00 [zio_write_intr_high]
100235                   D       -        0xe000000012312e00 [zio_write_intr_7]
100234                   D       -        0xe000000012312e00 [zio_write_intr_6]
100233                   D       -        0xe000000012312e00 [zio_write_intr_5]
100232                   D       -        0xe000000012312e00 [zio_write_intr_4]
100231                   D       -        0xe000000012312e00 [zio_write_intr_3]
100230                   D       -        0xe000000012312e00 [zio_write_intr_2]
100229                   D       -        0xe000000012312e00 [zio_write_intr_1]
100228                   D       -        0xe000000012312e00 [zio_write_intr_0]
100227                   D       -        0xe000000012312d00 [zio_write_issue_hig]
100226                   D       -        0xe000000012312d00 [zio_write_issue_hig]
100225                   D       -        0xe000000012312d00 [zio_write_issue_hig]
100224                   D       -        0xe000000012312d00 [zio_write_issue_hig]
100223                   D       -        0xe000000012312d00 [zio_write_issue_hig]
100222                   D       -        0xe000000012312c00 [zio_write_issue_1]
100221                   D       -        0xe000000012312c00 [zio_write_issue_0]
100220                   D       -        0xe000000012312b00 [zio_read_intr_1]
100219                   D       -        0xe000000012312b00 [zio_read_intr_0]
100218                   D       -        0xe000000012312a00 [zio_read_issue_7]
100217                   D       -        0xe000000012312a00 [zio_read_issue_6]
100216                   D       -        0xe000000012312a00 [zio_read_issue_5]
100215                   D       -        0xe000000012312a00 [zio_read_issue_4]
100214                   D       -        0xe000000012312a00 [zio_read_issue_3]
100213                   D       -        0xe000000012312a00 [zio_read_issue_2]
100212                   D       -        0xe000000012312a00 [zio_read_issue_1]
100211                   D       -        0xe000000012312a00 [zio_read_issue_0]
100210                   D       -        0xe000000012312900 [zio_null_intr]
100209                   D       -        0xe000000012312800 [zio_null_issue]
100067                   D       -        0xe000000012313700 [system_taskq_1]
100066                   D       -        0xe000000012313700 [system_taskq_0]
100047                   Run     CPU 1                       [deadlkres]
100023                   D       -        0xe000000010bb5300 [kqueue taskq]
100022                   D       -        0xe000000010bb5400 [ffs_trim taskq]
100019                   D       -        0xe000000010bb5700 [thread taskq]
100016                   D       -        0xe000000010bb5a00 [acpi_task_2]
100015                   D       -        0xe000000010bb5a00 [acpi_task_1]
100014                   D       -        0xe000000010bb5a00 [acpi_task_0]
100009                   D       -        0xe000000010bb5d00 [firmware taskq]
100000                   D       swapin   0x9ffc000000c15828 [swapper]
db>     

db> 
db> thread 100047
[ thread pid 0 tid 100047 ]
kdb_enter+0x92: [I2]    addl r14=0xffffffffffe28fb0,gp ;;
db> bt
Tracing pid 0 tid 100047 td 0xe000000011973b00
kdb_enter(0x9ffc000000af6e20, 0x9ffc000000af6e20, 0x9ffc00000045b3a0, 0x40c) at kdb_enter+0x92
vpanic(0x9ffc000000aec840, 0xa0000000005cb518) at vpanic+0x2b0
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
db> 
Received on Wed Sep 25 2013 - 08:57:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:42 UTC