Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2018 07:00:09 +0200
From:      Peter Holm <peter@holm.cc>
To:        Matt Macy <mmacy@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r334305 - head/sys/net
Message-ID:  <20180529050009.GA11230@x2.osted.lan>
In-Reply-To: <201805290053.w4T0rspX052002@repo.freebsd.org>
References:  <201805290053.w4T0rspX052002@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 29, 2018 at 12:53:54AM +0000, Matt Macy wrote:
> Author: mmacy
> Date: Tue May 29 00:53:53 2018
> New Revision: 334305
> URL: https://svnweb.freebsd.org/changeset/base/334305
> 
> Log:
>   route: fix missed ref adds
>    - ensure that we bump the ifa ref whenever we add a reference
>    - defer freeing epoch protected references until after the if_purgaddrs
>      loop
> 
> Modified:
>   head/sys/net/if.c
>   head/sys/net/route.c
> 
> Modified: head/sys/net/if.c
> ==============================================================================
> --- head/sys/net/if.c	Tue May 29 00:19:23 2018	(r334304)

Writing entropy file:.
Setting hostname: flix1a.netperf.freebsd.org.
lo0: link state changed to UP
Kernel page fault with the following non-sleepable locks held:
exclusive sleep mutex nd6 onlink (nd6 onlink) r = 0 (0xfffffe00e4fa7a98) locked @ netinet6/nd6_rtr.c:1145
stack backtrace:
#0 0xffffffff80be2923 at witness_debugger+0x73
#1 0xffffffff80be3d01 at witness_warn+0x461
#2 0xffffffff8104c753 at trap_pfault+0x53
#3 0xffffffff8104bdd7 at trap+0x2c7
#4 0xffffffff810277cc at calltrap+0x8
#5 0xffffffff80ca7276 at rtrequest1_fib+0x496
#6 0xffffffff80ca7de0 at rtrequest_fib+0x70
#7 0xffffffff80de628b at nd6_prefix_onlink+0x40b
#8 0xffffffff80de5daf at nd6_prelist_add+0x22f
#9 0xffffffff80dc17a4 at in6_ifattach+0x6e4
#10 0xffffffff80c7cd7a at if_up+0x6a
#11 0xffffffff80c7ebec at ifioctl+0x1a9c
#12 0xffffffff80be8009 at kern_ioctl+0x2b9
#13 0xffffffff80be7cdc at sys_ioctl+0x15c
#14 0xffffffff8104d067 at amd64_syscall+0x2a7
#15 0xffffffff810280ad at fast_syscall_common+0x101


Fatal trap 12: page fault while in kernel mode
cpuid = 31; apic id = 25
fault virtual address   = 0x18
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff80ca873b
stack pointer           = 0x28:0xfffffe00edce4ad0
frame pointer           = 0x28:0xfffffe00edce4b00
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 321 (ifconfig)
[ thread pid 321 tid 100799 ]
Stopped at      rt_getifa_fib+0x12b:    movq    0x18(%r13),%rax
db> bt
Tracing pid 321 tid 100799 td 0xfffff8017a2af000
rt_getifa_fib() at rt_getifa_fib+0x12b/frame 0xfffffe00edce4b00
rtrequest1_fib() at rtrequest1_fib+0x496/frame 0xfffffe00edce4c00
rtrequest_fib() at rtrequest_fib+0x70/frame 0xfffffe00edce4cc0
nd6_prefix_onlink() at nd6_prefix_onlink+0x40b/frame 0xfffffe00edce4e10
nd6_prelist_add() at nd6_prelist_add+0x22f/frame 0xfffffe00edce4e90
in6_ifattach() at in6_ifattach+0x6e4/frame 0xfffffe00edce4fd0
if_up() at if_up+0x6a/frame 0xfffffe00edce5000
ifioctl() at ifioctl+0x1a9c/frame 0xfffffe00edce50d0
kern_ioctl() at kern_ioctl+0x2b9/frame 0xfffffe00edce5130
sys_ioctl() at sys_ioctl+0x15c/frame 0xfffffe00edce5200
amd64_syscall() at amd64_syscall+0x2a7/frame 0xfffffe00edce5330
fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe00edce5330
--- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x80047e83a, rsp = 0x7fffffffe428, rbp = 0x7fffffffe480 ---
db> x/s version
version:        FreeBSD 12.0-CURRENT #0 r334313: Tue May 29 06:47:31 CEST 2018\012    pho@flix1a.netperf.freebsd.org:/usr/src/sys/amd64/compile/PHO\012
db> 

- Peter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180529050009.GA11230>