Hi, On Mon, Sep 14, 2015 at 4:49 PM, Benjamin Lorenz <[email protected]> wrote: > > Talking about > http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/sys/netinet/if_arp.c: I > have a hoster (www.vultr.com) with some strange(?) network setup. All > kernels (6.1 and 7.0 RC) complain with plenty of log messages highlighted > below. They screw up dmesg output so I had to comment out the log statement > and compile my own kernel. > > Question: Is this setup something vultr should change, or is our debug > logging a little bit too pedantic/paranoid so we should consider removing > it?
We discussed a similar issue ever and introduced a sysctl to suppress the messages in -current: http://mail-index.netbsd.org/tech-kern/2014/11/13/msg017981.html So I think we can pull up the sysctl to netbsd-6 and netbsd-7 if you want. (It may take a while though.) ozaki-r > > Thanks for insight, > Benjamin > > > > > if (create) { > if (rt->rt_flags & RTF_GATEWAY) { > if (log_unknown_network) > why = "host is not on local network"; > } else if ((rt->rt_flags & RTF_LLINFO) == 0) { > ARP_STATINC(ARP_STAT_ALLOCFAIL); > why = "could not allocate llinfo"; > } else > why = "gateway route is not ours"; > if (why) { > log(LOG_DEBUG, "arplookup: unable to enter address" > " for %s@%s on %s (%s)\n", in_fmtaddr(*addr), > lla_snprintf(ar_sha(ah), ah->ar_hln), > (ifp) ? ifp->if_xname : "null", why); > } > if ((rt->rt_flags & RTF_CLONED) != 0) { > rtrequest(RTM_DELETE, rt_getkey(rt), > rt->rt_gateway, rt_mask(rt), rt->rt_flags, NULL); > } > } > >
