NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/51877: carp related panic during shutdown
The following reply was made to PR kern/51877; it has been noted by GNATS.
From: Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
To: Ryota Ozaki <ozaki-r%netbsd.org@localhost>
Cc: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>,
kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost
Subject: Re: kern/51877: carp related panic during shutdown
Date: Tue, 17 Jan 2017 10:59:46 +0100
This is a multi-part message in MIME format.
--Multipart_20170117105946307115
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
On Tue, 17 Jan 2017 13:41:01 +0900, Ryota Ozaki wrote:
> The mutex error happened because uvm_fault_internal tries to hold
> a rwlock with holding a spin mutex. Can you identify the spin mutex
> by dissembling the kernel?
Attached.
--Multipart_20170117105946307115
Content-Type: application/octet-stream; name=pr51877_objdump.lst
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=pr51877_objdump.lst
ffffffff8044b8b1:=09be 07 00 00 00 =09mov $0x7,%esi
ffffffff8044b8b6:=09bf 02 00 00 00 =09mov $0x2,%edi
ffffffff8044b8bb:=09e8 63 b3 fd ff =09callq ffffffff80426c23 <mutex_=
obj_alloc>
ffffffff8044b8c0:=0948 89 43 f8 =09mov %rax,-0x8(%rbx)
ffffffff8044b8c4:=0948 83 c3 10 =09add $0x10,%rbx
ffffffff8044b8c8:=0948 81 fb 88 a3 7c 80 =09cmp $0xffffffff807ca388,%rbx
ffffffff8044b8cf:=0975 d9 =09jne ffffffff8044b8aa <turnst=
ile_init+0x10>
ffffffff8044b8d1:=0948 c7 44 24 18 00 00 =09movq $0x0,0x18(%rsp)
ffffffff8044b8d8:=0900 00=20
ffffffff8044b8da:=0948 c7 44 24 10 00 00 =09movq $0x0,0x10(%rsp)
ffffffff8044b8e1:=0900 00=20
ffffffff8044b8e3:=0948 c7 44 24 08 20 b8 =09movq $0xffffffff8044b820,0x8(=
%rsp)
ffffffff8044b8ea:=0944 80=20
ffffffff8044b8ec:=09c7 04 24 00 00 00 00 =09movl $0x0,(%rsp)
ffffffff8044b8f3:=0945 31 c9 =09xor %r9d,%r9d
ffffffff8044b8f6:=0949 c7 c0 13 13 6e 80 =09mov $0xffffffff806e1313,%r8
ffffffff8044b8fd:=0931 c9 =09xor %ecx,%ecx
ffffffff8044b8ff:=0931 d2 =09xor %edx,%edx
ffffffff8044b901:=0931 f6 =09xor %esi,%esi
ffffffff8044b903:=09bf 60 00 00 00 =09mov $0x60,%edi
ffffffff8044b908:=09e8 72 88 01 00 =09callq ffffffff8046417f <pool_c=
ache_init>
ffffffff8044b90d:=0948 89 05 24 01 38 00 =09mov %rax,0x380124(%rip) =
# ffffffff807cba38 <turnstile_cache>
ffffffff8044b914:=0948 85 c0 =09test %rax,%rax
ffffffff8044b917:=0974 16 =09je ffffffff8044b92f <turnst=
ile_init+0x95>
ffffffff8044b919:=0931 d2 =09xor %edx,%edx
ffffffff8044b91b:=0948 c7 c6 80 b1 89 80 =09mov $0xffffffff8089b180,%rsi
ffffffff8044b922:=0931 ff =09xor %edi,%edi
ffffffff8044b924:=0948 83 c4 28 =09add $0x28,%rsp
ffffffff8044b928:=095b =09pop %rbx
ffffffff8044b929:=095d =09pop %rbp
ffffffff8044b92a:=09e9 f1 fe ff ff =09jmpq ffffffff8044b820 <turnst=
ile_ctor>
ffffffff8044b92f:=0941 b8 66 00 00 00 =09mov $0x66,%r8d
ffffffff8044b935:=0948 c7 c1 b0 14 6e 80 =09mov $0xffffffff806e14b0,%rcx
ffffffff8044b93c:=0948 c7 c2 1c 13 6e 80 =09mov $0xffffffff806e131c,%rdx
ffffffff8044b943:=0948 c7 c6 f7 92 68 80 =09mov $0xffffffff806892f7,%rsi
ffffffff8044b94a:=0948 c7 c7 b0 92 68 80 =09mov $0xffffffff806892b0,%rdi
ffffffff8044b951:=09e8 07 68 11 00 =09callq ffffffff8056215d <kern_a=
ssert>
ffffffff8044b956:=09eb c1 =09jmp ffffffff8044b919 <turnst=
ile_init+0x7f>
ffffffff8044b958 <turnstile_lookup>:
ffffffff8044b958:=0955 =09push %rbp
ffffffff8044b959:=0948 89 e5 =09mov %rsp,%rbp
ffffffff8044b95c:=0941 54 =09push %r12
ffffffff8044b95e:=0953 =09push %rbx
ffffffff8044b95f:=0948 89 fb =09mov %rdi,%rbx
ffffffff8044b962:=094c 8d 24 3f =09lea (%rdi,%rdi,1),%r12
ffffffff8044b966:=0941 81 e4 f0 03 00 00 =09and $0x3f0,%r12d
ffffffff8044b96d:=0949 8b bc 24 80 9f 7c =09mov -0x7f836080(%r12),%rdi
ffffffff8044b974:=0980=20
ffffffff8044b975:=09e8 79 a6 fd ff =09callq ffffffff80425ff3 <mutex_=
enter>
ffffffff8044b97a:=0949 8b 84 24 88 9f 7c =09mov -0x7f836078(%r12),%rax
ffffffff8044b981:=0980=20
ffffffff8044b982:=0948 85 c0 =09test %rax,%rax
ffffffff8044b985:=0975 0a =09jne ffffffff8044b991 <turnst=
ile_lookup+0x39>
ffffffff8044b987:=09eb 13 =09jmp ffffffff8044b99c <turnst=
ile_lookup+0x44>
ffffffff8044b989:=0948 8b 00 =09mov (%rax),%rax
ffffffff8044b98c:=0948 85 c0 =09test %rax,%rax
ffffffff8044b98f:=0974 06 =09je ffffffff8044b997 <turnst=
ile_lookup+0x3f>
ffffffff8044b991:=0948 3b 58 18 =09cmp 0x18(%rax),%rbx
ffffffff8044b995:=0975 f2 =09jne ffffffff8044b989 <turnst=
ile_lookup+0x31>
ffffffff8044b997:=095b =09pop %rbx
ffffffff8044b998:=0941 5c =09pop %r12
ffffffff8044b99a:=095d =09pop %rbp
ffffffff8044b99b:=09c3 =09retq =20
ffffffff8044b99c:=0931 c0 =09xor %eax,%eax
ffffffff8044b99e:=0966 90 =09xchg %ax,%ax
ffffffff8044b9a0:=09eb f5 =09jmp ffffffff8044b997 <turnst=
ile_lookup+0x3f>
ffffffff8044b9a2 <turnstile_exit>:
ffffffff8044b9a2:=0955 =09push %rbp
ffffffff8044b9a3:=0948 89 e5 =09mov %rsp,%rbp
ffffffff8044b9a6:=0948 01 ff =09add %rdi,%rdi
ffffffff8044b9a9:=0981 e7 f0 03 00 00 =09and $0x3f0,%edi
ffffffff8044b9af:=0948 8b bf 80 9f 7c 80 =09mov -0x7f836080(%rdi),%rdi
ffffffff8044b9b6:=095d =09pop %rbp
ffffffff8044b9b7:=09e9 6b ad fd ff =09jmpq ffffffff80426727 <mutex_=
exit>
ffffffff8044b9bc <turnstile_block>:
ffffffff8044b9bc:=0955 =09push %rbp
ffffffff8044b9bd:=0948 89 e5 =09mov %rsp,%rbp
ffffffff8044b9c0:=0941 57 =09push %r15
ffffffff8044b9c2:=0941 56 =09push %r14
ffffffff8044b9c4:=0941 55 =09push %r13
ffffffff8044b9c6:=0941 54 =09push %r12
ffffffff8044b9c8:=0953 =09push %rbx
ffffffff8044b9c9:=0948 83 ec 28 =09sub $0x28,%rsp
ffffffff8044b9cd:=0949 89 ff =09mov %rdi,%r15
ffffffff8044b9d0:=094c 63 f6 =09movslq %esi,%r14
ffffffff8044b9d3:=0949 89 d5 =09mov %rdx,%r13
ffffffff8044b9d6:=0948 89 4d c0 =09mov %rcx,-0x40(%rbp)
ffffffff8044b9da:=0965 48 8b 1c 25 e8 01 =09mov %gs:0x1e8,%rbx
ffffffff8044b9e1:=0900 00=20
ffffffff8044b9e3:=0949 89 d4 =09mov %rdx,%r12
ffffffff8044b9e6:=0949 c1 ec 03 =09shr $0x3,%r12
ffffffff8044b9ea:=0941 83 e4 3f =09and $0x3f,%r12d
ffffffff8044b9ee:=0941 83 fe 01 =09cmp $0x1,%r14d
ffffffff8044b9f2:=090f 87 81 06 00 00 =09ja ffffffff8044c079 <turnst=
ile_block+0x6bd>
ffffffff8044b9f8:=094c 89 e0 =09mov %r12,%rax
ffffffff8044b9fb:=0948 c1 e0 04 =09shl $0x4,%rax
ffffffff8044b9ff:=0948 8b b8 80 9f 7c 80 =09mov -0x7f836080(%rax),%rdi
ffffffff8044ba06:=09e8 b9 ae fd ff =09callq ffffffff804268c4 <mutex_=
owned>
--Multipart_20170117105946307115--
Home |
Main Index |
Thread Index |
Old Index