Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2015 20:05:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 205163] Periodic jobs triggering panics on ZFS host with jails
Message-ID:  <bug-205163-8-yG9wakucus@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205163-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205163-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205163

--- Comment #10 from dustinwenz@ebureau.com ---
(kgdb) frame 7
#7  0xffffffff819f54d4 in dmu_tx_wait (tx=0xfffff805786ae400) at
/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_tx.c:1078
1078        min_tx_time = zfs_delay_scale *
(kgdb) disassemble
Dump of assembler code for function dmu_tx_wait:
0xffffffff819f53e0 <dmu_tx_wait+0>:    push   %rbp
0xffffffff819f53e1 <dmu_tx_wait+1>:    mov    %rsp,%rbp
0xffffffff819f53e4 <dmu_tx_wait+4>:    push   %r15
0xffffffff819f53e6 <dmu_tx_wait+6>:    push   %r14
0xffffffff819f53e8 <dmu_tx_wait+8>:    push   %r13
0xffffffff819f53ea <dmu_tx_wait+10>:    push   %r12
0xffffffff819f53ec <dmu_tx_wait+12>:    push   %rbx
0xffffffff819f53ed <dmu_tx_wait+13>:    sub    $0x18,%rsp
0xffffffff819f53f1 <dmu_tx_wait+17>:    mov    %rdi,%r14
0xffffffff819f53f4 <dmu_tx_wait+20>:    mov    0x30(%r14),%r15
0xffffffff819f53f8 <dmu_tx_wait+24>:    cmpl   $0x0,0xa0(%r14)
0xffffffff819f5400 <dmu_tx_wait+32>:    je     0xffffffff819f55ae
<dmu_tx_wait+462>
0xffffffff819f5406 <dmu_tx_wait+38>:    lea    0x138(%r15),%r12
0xffffffff819f540d <dmu_tx_wait+45>:    xor    %esi,%esi
0xffffffff819f540f <dmu_tx_wait+47>:    mov    $0xffffffff81adcb5d,%rdx
0xffffffff819f5416 <dmu_tx_wait+54>:    mov    $0x552,%ecx
0xffffffff819f541b <dmu_tx_wait+59>:    mov    %r12,%rdi
0xffffffff819f541e <dmu_tx_wait+62>:    callq  0xffffffff80951c30 <_sx_xlock>
0xffffffff819f5423 <dmu_tx_wait+67>:    mov    0x188(%r15),%rbx
0xffffffff819f542a <dmu_tx_wait+74>:    cmp    0xffffffff81b11ad0,%rbx
0xffffffff819f5432 <dmu_tx_wait+82>:    jb     0xffffffff819f545c
<dmu_tx_wait+124>
0xffffffff819f5434 <dmu_tx_wait+84>:    lea    0x158(%r15),%r13
0xffffffff819f543b <dmu_tx_wait+91>:    nopl   0x0(%rax,%rax,1)
0xffffffff819f5440 <dmu_tx_wait+96>:    mov    %r13,%rdi
0xffffffff819f5443 <dmu_tx_wait+99>:    mov    %r12,%rsi
0xffffffff819f5446 <dmu_tx_wait+102>:    callq  0xffffffff808f4890 <_cv_wait>
0xffffffff819f544b <dmu_tx_wait+107>:    mov    0x188(%r15),%rbx
0xffffffff819f5452 <dmu_tx_wait+114>:    cmp    0xffffffff81b11ad0,%rbx
0xffffffff819f545a <dmu_tx_wait+122>:    jae    0xffffffff819f5440
<dmu_tx_wait+96>
0xffffffff819f545c <dmu_tx_wait+124>:    mov    $0xffffffff81adcb5d,%rsi
0xffffffff819f5463 <dmu_tx_wait+131>:    mov    $0x556,%edx
0xffffffff819f5468 <dmu_tx_wait+136>:    mov    %r12,%rdi
0xffffffff819f546b <dmu_tx_wait+139>:    callq  0xffffffff80951dc0
<_sx_xunlock>
0xffffffff819f5470 <dmu_tx_wait+144>:    movslq 0xffffffff81af6de8,%rax
0xffffffff819f5478 <dmu_tx_wait+152>:    imul   0xffffffff81b11ad0,%rax
0xffffffff819f5481 <dmu_tx_wait+161>:    shr    $0x2,%rax
0xffffffff819f5485 <dmu_tx_wait+165>:    mov    $0x28f5c28f5c28f5c3,%rcx
0xffffffff819f548f <dmu_tx_wait+175>:    mul    %rcx
0xffffffff819f5492 <dmu_tx_wait+178>:    shr    $0x2,%rdx
0xffffffff819f5496 <dmu_tx_wait+182>:    mov    %rbx,%r15
0xffffffff819f5499 <dmu_tx_wait+185>:    sub    %rdx,%r15
0xffffffff819f549c <dmu_tx_wait+188>:    jbe    0xffffffff819f5593
<dmu_tx_wait+435>
0xffffffff819f54a2 <dmu_tx_wait+194>:    mov    0x30(%r14),%r12
0xffffffff819f54a6 <dmu_tx_wait+198>:    lea    -0x38(%rbp),%rdi
0xffffffff819f54aa <dmu_tx_wait+202>:    callq  0xffffffff80956dc0
<getnanouptime>
0xffffffff819f54af <dmu_tx_wait+207>:    imul   $0x3b9aca00,-0x38(%rbp),%rcx
0xffffffff819f54b7 <dmu_tx_wait+215>:    add    -0x30(%rbp),%rcx
0xffffffff819f54bb <dmu_tx_wait+219>:    imul   0xffffffff81af6df0,%r15
0xffffffff819f54c4 <dmu_tx_wait+228>:    mov    0xffffffff81b11ad0,%rsi
0xffffffff819f54cc <dmu_tx_wait+236>:    sub    %rbx,%rsi
0xffffffff819f54cf <dmu_tx_wait+239>:    xor    %edx,%edx
0xffffffff819f54d1 <dmu_tx_wait+241>:    mov    %r15,%rax
0xffffffff819f54d4 <dmu_tx_wait+244>:    div    %rsi
0xffffffff819f54d7 <dmu_tx_wait+247>:    mov    0x98(%r14),%rdx
0xffffffff819f54de <dmu_tx_wait+254>:    add    %rax,%rdx
0xffffffff819f54e1 <dmu_tx_wait+257>:    cmp    %rdx,%rcx
0xffffffff819f54e4 <dmu_tx_wait+260>:    jg     0xffffffff819f5593
<dmu_tx_wait+435>
0xffffffff819f54ea <dmu_tx_wait+266>:    mov    0xffffffff81af6bd8,%r15
0xffffffff819f54f2 <dmu_tx_wait+274>:    cmp    %r15,%rax
0xffffffff819f54f5 <dmu_tx_wait+277>:    cmovle %rax,%r15
0xffffffff819f54f9 <dmu_tx_wait+281>:    mov    0xffffffff81af6cc8,%rdi
0xffffffff819f5501 <dmu_tx_wait+289>:    test   %rdi,%rdi
0xffffffff819f5504 <dmu_tx_wait+292>:    je     0xffffffff819f551c
<dmu_tx_wait+316>
0xffffffff819f5506 <dmu_tx_wait+294>:    xor    %r8d,%r8d
0xffffffff819f5509 <dmu_tx_wait+297>:    xor    %r9d,%r9d
0xffffffff819f550c <dmu_tx_wait+300>:    mov    %r14,%rsi
0xffffffff819f550f <dmu_tx_wait+303>:    mov    %rbx,%rdx
0xffffffff819f5512 <dmu_tx_wait+306>:    mov    %r15,%rcx
0xffffffff819f5515 <dmu_tx_wait+309>:    callq  *0xffffffff814a3d48
0xffffffff819f551c <dmu_tx_wait+316>:    lea    0x138(%r12),%rbx
0xffffffff819f5524 <dmu_tx_wait+324>:    xor    %esi,%esi
0xffffffff819f5526 <dmu_tx_wait+326>:    mov    $0xffffffff81adcb5d,%rdx
0xffffffff819f552d <dmu_tx_wait+333>:    mov    $0x440,%ecx
0xffffffff819f5532 <dmu_tx_wait+338>:    mov    %rbx,%rdi
0xffffffff819f5535 <dmu_tx_wait+341>:    callq  0xffffffff80951c30 <_sx_xlock>
0xffffffff819f553a <dmu_tx_wait+346>:    mov    0x98(%r14),%rax
0xffffffff819f5541 <dmu_tx_wait+353>:    add    %r15,%rax
0xffffffff819f5544 <dmu_tx_wait+356>:    add    0x1a8(%r12),%r15
0xffffffff819f554c <dmu_tx_wait+364>:    cmp    %r15,%rax
0xffffffff819f554f <dmu_tx_wait+367>:    cmovge %rax,%r15
0xffffffff819f5553 <dmu_tx_wait+371>:    mov    %r15,0x1a8(%r12)
0xffffffff819f555b <dmu_tx_wait+379>:    mov    $0xffffffff81adcb5d,%rsi
0xffffffff819f5562 <dmu_tx_wait+386>:    mov    $0x444,%edx
0xffffffff819f5567 <dmu_tx_wait+391>:    mov    %rbx,%rdi
0xffffffff819f556a <dmu_tx_wait+394>:    callq  0xffffffff80951dc0
<_sx_xunlock>
0xffffffff819f556f <dmu_tx_wait+399>:    shl    $0x2,%r15
0xffffffff819f5573 <dmu_tx_wait+403>:    movslq 0xffffffff81af6be0,%rdx
0xffffffff819f557b <dmu_tx_wait+411>:    shl    $0x2,%rdx
0xffffffff819f557f <dmu_tx_wait+415>:    mov    $0xffffffff81adcbdb,%rdi
0xffffffff819f5586 <dmu_tx_wait+422>:    mov    $0x200,%ecx
0xffffffff819f558b <dmu_tx_wait+427>:    mov    %r15,%rsi
0xffffffff819f558e <dmu_tx_wait+430>:    callq  0xffffffff809532a0 <pause_sbt>
0xffffffff819f5593 <dmu_tx_wait+435>:    movl   $0x0,0xa0(%r14)
0xffffffff819f559e <dmu_tx_wait+446>:    movl   $0x1,0x94(%r14)
0xffffffff819f55a9 <dmu_tx_wait+457>:    jmpq   0xffffffff819f5671
<dmu_tx_wait+657>
0xffffffff819f55ae <dmu_tx_wait+462>:    mov    (%r15),%rbx
0xffffffff819f55b1 <dmu_tx_wait+465>:    mov    %rbx,%rdi
0xffffffff819f55b4 <dmu_tx_wait+468>:    callq  0xffffffff81a2cb50
<spa_suspended>
0xffffffff819f55b9 <dmu_tx_wait+473>:    test   %eax,%eax
0xffffffff819f55bb <dmu_tx_wait+475>:    jne    0xffffffff819f565d
<dmu_tx_wait+637>
0xffffffff819f55c1 <dmu_tx_wait+481>:    mov    0x48(%r14),%rsi
0xffffffff819f55c5 <dmu_tx_wait+485>:    test   %rsi,%rsi
0xffffffff819f55c8 <dmu_tx_wait+488>:    je     0xffffffff819f565d
<dmu_tx_wait+637>
0xffffffff819f55ce <dmu_tx_wait+494>:    mov    0x68(%r14),%rax
0xffffffff819f55d2 <dmu_tx_wait+498>:    test   %rax,%rax
0xffffffff819f55d5 <dmu_tx_wait+501>:    je     0xffffffff819f5680
<dmu_tx_wait+672>
0xffffffff819f55db <dmu_tx_wait+507>:    mov    0x18(%rax),%r12
0xffffffff819f55df <dmu_tx_wait+511>:    lea    0xf8(%r12),%r15
0xffffffff819f55e7 <dmu_tx_wait+519>:    xor    %esi,%esi
0xffffffff819f55e9 <dmu_tx_wait+521>:    mov    $0xffffffff81adcb5d,%rdx
0xffffffff819f55f0 <dmu_tx_wait+528>:    mov    $0x573,%ecx
0xffffffff819f55f5 <dmu_tx_wait+533>:    mov    %r15,%rdi
0xffffffff819f55f8 <dmu_tx_wait+536>:    callq  0xffffffff80951c30 <_sx_xlock>
0xffffffff819f55fd <dmu_tx_wait+541>:    mov    0x1c8(%r12),%rax
0xffffffff819f5605 <dmu_tx_wait+549>:    mov    0x48(%r14),%rcx
0xffffffff819f5609 <dmu_tx_wait+553>:    dec    %rcx
0xffffffff819f560c <dmu_tx_wait+556>:    cmp    %rcx,%rax
0xffffffff819f560f <dmu_tx_wait+559>:    jne    0xffffffff819f563f
<dmu_tx_wait+607>
0xffffffff819f5611 <dmu_tx_wait+561>:    lea    0x1d0(%r12),%rbx
0xffffffff819f5619 <dmu_tx_wait+569>:    nopl   0x0(%rax)
0xffffffff819f5620 <dmu_tx_wait+576>:    mov    %rbx,%rdi
0xffffffff819f5623 <dmu_tx_wait+579>:    mov    %r15,%rsi
0xffffffff819f5626 <dmu_tx_wait+582>:    callq  0xffffffff808f4890 <_cv_wait>
0xffffffff819f562b <dmu_tx_wait+587>:    mov    0x1c8(%r12),%rax
0xffffffff819f5633 <dmu_tx_wait+595>:    mov    0x48(%r14),%rcx
0xffffffff819f5637 <dmu_tx_wait+599>:    dec    %rcx
0xffffffff819f563a <dmu_tx_wait+602>:    cmp    %rcx,%rax
0xffffffff819f563d <dmu_tx_wait+605>:    je     0xffffffff819f5620
<dmu_tx_wait+576>
0xffffffff819f563f <dmu_tx_wait+607>:    mov    $0xffffffff81adcb5d,%rsi
0xffffffff819f5646 <dmu_tx_wait+614>:    mov    $0x576,%edx
0xffffffff819f564b <dmu_tx_wait+619>:    mov    %r15,%rdi
0xffffffff819f564e <dmu_tx_wait+622>:    callq  0xffffffff80951dc0
<_sx_xunlock>
0xffffffff819f5653 <dmu_tx_wait+627>:    movq   $0x0,0x68(%r14)
0xffffffff819f565b <dmu_tx_wait+635>:    jmp    0xffffffff819f5671
<dmu_tx_wait+657>
0xffffffff819f565d <dmu_tx_wait+637>:    mov    %rbx,%rdi
0xffffffff819f5660 <dmu_tx_wait+640>:    callq  0xffffffff81a2dec0
<spa_last_synced_txg>
0xffffffff819f5665 <dmu_tx_wait+645>:    lea    0x1(%rax),%rsi
0xffffffff819f5669 <dmu_tx_wait+649>:    mov    %r15,%rdi
0xffffffff819f566c <dmu_tx_wait+652>:    callq  0xffffffff81a31470
<txg_wait_synced>
0xffffffff819f5671 <dmu_tx_wait+657>:    add    $0x18,%rsp
0xffffffff819f5675 <dmu_tx_wait+661>:    pop    %rbx
0xffffffff819f5676 <dmu_tx_wait+662>:    pop    %r12
0xffffffff819f5678 <dmu_tx_wait+664>:    pop    %r13
0xffffffff819f567a <dmu_tx_wait+666>:    pop    %r14
0xffffffff819f567c <dmu_tx_wait+668>:    pop    %r15
0xffffffff819f567e <dmu_tx_wait+670>:    pop    %rbp
0xffffffff819f567f <dmu_tx_wait+671>:    retq   
0xffffffff819f5680 <dmu_tx_wait+672>:    mov    0x30(%r14),%rdi
0xffffffff819f5684 <dmu_tx_wait+676>:    inc    %rsi
0xffffffff819f5687 <dmu_tx_wait+679>:    callq  0xffffffff81a31880
<txg_wait_open>
0xffffffff819f568c <dmu_tx_wait+684>:    jmp    0xffffffff819f5671
<dmu_tx_wait+657>
End of assembler dump.

(kgdb) x 0xffffffff81b11ad0
0xffffffff81b11ad0 <zfs_dirty_data_max_internal>:    0x13bab000

(kgdb) info registers 
rax            0x3d25fde186a0    67233382500000
rbx            0x14098000    336166912
rcx            0x51df7df23d8aa    1440325321349290
rdx            0x0    0
rsi            0x0    0
rdi            0xfffffe085fec7708    -2163054184696
rbp            0xfffffe085fec7740    0xfffffe085fec7740
rsp            0xfffffe085fec7700    0xfffffe085fec7700
r8             0xfffffe085fec7b80    -2163054183552
r9             0x55d972ee    1440314094
r10            0xfffff80053160938    -8794699069128
r11            0xffffffff806c2460    -2140396448
r12            0xfffff80053160800    -8794699069440
r13            0xfffff80053160958    -8794699069096
r14            0xfffff805786ae400    -8772597914624
r15            0x3d25fde186a0    67233382500000
rip            0xffffffff819f54d4    0xffffffff819f54d4 <dmu_tx_wait+244>
eflags         0x10246    66118
cs             0x20    32
ss             0x28    40
ds             0x0    0
es             0x0    0
fs             0x0    0
gs             0x0    0

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205163-8-yG9wakucus>