Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Sep 2018 07:00:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 231067] Random kernel panic after r338257
Message-ID:  <bug-231067-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 231067
           Summary: Random kernel panic after r338257
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: fuyuhiko.maruyama@gmail.com

After r338257, kernel panic happen in ramdom timing.
This may be triggered by named, in my case dns/bind911.

With kernel after r338257, make buildworld at /usr/src cannot be completed
because of kernel panics.  Typically kernel goes panics in a few minutes af=
ter
beginning of make buildworld.

I found the origin of this panics by binary searching of svn-head and
determined
that r338256(with r338260's small fixes for building) is the last stable ke=
rnel
that can complete buildworld/buildkernel, and r338257(with r338260's small
fixes) is the first revision that causes current problems.=20


One instance of panic message is like below(with r338257 kernel), typed by
hand:
Fatal trap 12: page fault while in kernel mode
cpuid =3D 1: apic id =3D 01
fault virtual address   =3D 0x98
fault code              =3D supervisor read data, page not present
instruction pointer     =3D 0x20:0xffffffff80988c6f
stack pointer           =3D 0x28:0xfffffe00a274d370
frame pointer           =3D 0x28:0xfffffe00a274d5d0
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflag         =3D interrupt enabled,  resume, IOPL =3D 0
current process         =3D 766 (isc-worker0000)
[ thread pic 766 tid 100985 ]
Stopped at     ip6_output+0xeaf:       movl    ll+0x77(%rdi),%eax
db> bt
Tracing pid 766 tid 100993 td 0xfffff80024446000
ip6_output() at ip6_output+0xeaf/frame 0xfffffe00a274d5d0
udp6_send() at udp6_send+0x86a/frame 0xfffffe00a274d790
sosend_dgram() at sosend_dgram+0x33b/frame 0xfffffe00a274d800
sosend() at sosend+0x50/frame 0xfffffe00a274d830
kern_sendit() at kern_sendit+0x237/frame 0xfffffe00a274d8d0
sendit() at sendit+0x19e/frame 0xfffffe00a274d920
sys_sendmsg() at sys_sendmsg+0x61/frame 0xfffffe00a274d980
amd64_syscall() at amd64_syscall+0x369/frame 0xfffffe00a274dab0
fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe00a274dab0
--- syscall (28, FreeBSD ELF64, sys_sendmsg), rip =3D 0x800fe0a9a, rsp =3D
0x7fffdfffb528, rbp =3D 0x7fffdfffb560 ---


Another example here(with r338406 kernel):
Fatal trap 12: page fault while in kernel mode
cpuid =3D 2: apic id =3D 02
fault virtual address   =3D 0x110
fault code              =3D supervisor read data, page not present
instruction pointer     =3D 0x20:0xffffffff80763428
stack pointer           =3D 0x28:0xfffffe00a21242c0
frame pointer           =3D 0x28:0xfffffe00a2124360
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflag         =3D interrupt enabled,  resume, IOPL =3D 0
current process         =3D 766 (isc-worker0000)
[ thread pic 766 tid 100985 ]
Stopped at     __rw_wlock_hard+0x1d8:  movq    (%rbx),%r14
db>

--=20
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-231067-227>