Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: recent dhcpcd looping on ppp0



On 09/28/14 23:17, Roy Marples wrote:
On Sunday 28 Sep 2014 22:06:47 Roy Marples wrote:
Going to guess that ppp0 doesn't have a carrier status OR IFF_RUNNING set?
The attached patch should reduce the log spam, let me know how it works out.
Errm, this patch should do better!


Roy
Well, less spam, but still
    - busy wait (repeated count goes up to ~300k)
Sep 28 23:50:05 Andromeda dhcpcd[1101]: ppp0: unknown carrier
Sep 28 23:50:05 Andromeda dhcpcd[1101]: ppp0: carrier_status: Inappropriate ioctl for device
Sep 28 23:50:14 Andromeda syslogd[1251]: last message repeated 12776 times

- a flurry of routing messages (probably same number of as syslog entries)
got message of size 152 on Sun Sep 28 23:50:10 2014
RTM_IFINFO: iface status change: len 152, if# 6, carrier: unknown, flags: <UP,PTP,MULTICAST>
got message of size 152 on Sun Sep 28 23:50:10 2014
RTM_IFINFO: iface status change: len 152, if# 6, carrier: unknown, flags: <UP,PTP,MULTICAST>
got message of size 152 on Sun Sep 28 23:50:10 2014
RTM_IFINFO: iface status change: len 152, if# 6, carrier: unknown, flags: <UP,PTP,MULTICAST>
got message of size 152 on Sun Sep 28 23:50:10 2014
RTM_IFINFO: iface status change: len 152, if# 6, carrier: unknown, flags: <UP,PTP,MULTICAST>
got message of size 152 on Sun Sep 28 23:50:10 2014
RTM_IFINFO: iface status change: len 152, if# 6, carrier: unknown, flags: <UP,PTP,MULTICAST>
got message of size 152 on Sun Sep 28 23:50:10 2014
RTM_IFINFO: iface status change: len 152, if# 6, carrier: unknown, flags: <UP,PTP,MULTICAST>
got message of size 152 on Sun Sep 28 23:50:10 2014
RTM_IFINFO: iface status change: len 152, if# 6, carrier: unknown, flags: <UP,PTP,MULTICAST>
got message of size 152 on Sun Sep 28 23:50:10 2014
RTM_IFINFO: iface status change: len 152, if# 6, carrier: unknown, flags: <UP,PTP,MULTICAST>
    leading to busy routing message aware daemons (named, mdnsd)

As a bonus (not necessarily related) a panic:

Sep 28 23:36:30 Andromeda /netbsd: panic: kernel diagnostic assertion "c->c_cpu->cc_lwp == curlwp || c->c_cpu->cc_active != c" failed: file "/usr/srccur/src/sys/kern/kern_timeout.c", line 313
Sep 28 23:36:30 Andromeda /netbsd: cpu1: Begin traceback...
Sep 28 23:36:30 Andromeda /netbsd: vpanic() at netbsd:vpanic+0x13c
Sep 28 23:36:30 Andromeda /netbsd: kern_assert() at netbsd:kern_assert+0x4f
Sep 28 23:36:30 Andromeda /netbsd: callout_destroy() at netbsd:callout_destroy+0x74 Sep 28 23:36:30 Andromeda /netbsd: in6_delmulti() at netbsd:in6_delmulti+0x177 Sep 28 23:36:30 Andromeda /netbsd: in6_leavegroup() at netbsd:in6_leavegroup+0x15 Sep 28 23:36:30 Andromeda /netbsd: ip6_freemoptions() at netbsd:ip6_freemoptions+0x30 Sep 28 23:36:30 Andromeda /netbsd: in6_pcbdetach() at netbsd:in6_pcbdetach+0xd7 Sep 28 23:36:30 Andromeda /netbsd: udp6_detach_wrapper() at netbsd:udp6_detach_wrapper+0x3f
Sep 28 23:36:30 Andromeda /netbsd: soclose() at netbsd:soclose+0x63
Sep 28 23:36:30 Andromeda /netbsd: soo_close() at netbsd:soo_close+0x16
Sep 28 23:36:30 Andromeda /netbsd: closef() at netbsd:closef+0x54
Sep 28 23:36:30 Andromeda /netbsd: fd_close() at netbsd:fd_close+0x19f
Sep 28 23:36:30 Andromeda /netbsd: sys_close() at netbsd:sys_close+0x20
Sep 28 23:36:30 Andromeda /netbsd: syscall() at netbsd:syscall+0x9a
Sep 28 23:36:30 Andromeda /netbsd: --- syscall (number 6) ---
Sep 28 23:36:30 Andromeda /netbsd: 7f7ff743c46a:
Sep 28 23:36:30 Andromeda /netbsd: cpu1: End traceback...

Best regards,
  Frank



Home | Main Index | Thread Index | Old Index