Hi, I just fixed one bug related to refcnt. The fix may shut up the panic. Could you try again with a latest kernel?
Thanks, ozaki-r On Fri, Jul 24, 2015 at 3:38 PM, Ryota Ozaki <ozak...@netbsd.org> wrote: > On Fri, Jul 24, 2015 at 3:12 PM, Ryota Ozaki <ozak...@netbsd.org> wrote: >> Hi, >> >> It's probably due to my recent change to refcnt. I'm investigating >> that defect. > > Hmm, I cannot reproduce it. Could you tell me the kernel config, > network setups and apps running on the box? > > Thanks, > ozaki-r > >> >> Thanks, >> ozaki-r >> >> On Fri, Jul 24, 2015 at 2:41 PM, Hisashi T Fujinaka <ht...@twofifty.com> >> wrote: >>> Being a moron, I plugged ports of my switch together. The big surprise >>> is two ports away is my -current box and it kept panicking. >>> >>> This is all I got so far. >>> >>> Jul 23 21:46:11 mara /netbsd: panic: kernel diagnostic assertion >>> "rt->rt_refcnt > 0" failed: file "/usr/src/sys/net/route.c", line 418 Jul 23 >>> 21:46:11 mara /netbsd: cpu3: Begin traceback... >>> Jul 23 21:46:11 mara /netbsd: vpanic() at netbsd:vpanic+0x13c >>> Jul 23 21:46:11 mara /netbsd: kern_assert() at netbsd:kern_assert+0x4f >>> Jul 23 21:46:11 mara /netbsd: rtfree() at netbsd:rtfree+0xf5 >>> Jul 23 21:46:11 mara /netbsd: rtcache_clear() at >>> netbsd:rtcache_clear+0x41 >>> Jul 23 21:46:11 mara /netbsd: rtcache_free() at netbsd:rtcache_free+0xd >>> Jul 23 21:46:11 mara /netbsd: in6_pcbdetach() at >>> netbsd:in6_pcbdetach+0xcb >>> Jul 23 21:46:11 mara /netbsd: udp6_detach_wrapper() at >>> netbsd:udp6_detach_wrapper+0x3f >>> Jul 23 21:46:11 mara /netbsd: soclose() at netbsd:soclose+0x63 >>> Jul 23 21:46:11 mara /netbsd: soo_close() at netbsd:soo_close+0x16 >>> Jul 23 21:46:11 mara /netbsd: closef() at netbsd:closef+0x54 >>> Jul 23 21:46:11 mara /netbsd: fd_close() at netbsd:fd_close+0x19f >>> Jul 23 21:46:11 mara /netbsd: sys_close() at netbsd:sys_close+0x20 >>> Jul 23 21:46:11 mara /netbsd: syscall() at netbsd:syscall+0x9c >>> Jul 23 21:46:11 mara /netbsd: --- syscall (number 6) --- >>> Jul 23 21:46:11 mara /netbsd: 7f7ff5e5494a: >>> Jul 23 21:46:11 mara /netbsd: cpu3: End traceback... >>> >>> -- >>> Hisashi T Fujinaka - ht...@twofifty.com >>> BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee