Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Oct 2020 15:55:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250561] net/dhcpcd: (9.2.0) endless CPU spinning and logspam 'ps_bpf_recvbpf: Device not configured' after Mellanox NIC reinitializes after suspend
Message-ID:  <bug-250561-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 250561
           Summary: net/dhcpcd: (9.2.0) endless CPU spinning and logspam
                    'ps_bpf_recvbpf: Device not configured' after Mellanox
                    NIC reinitializes after suspend
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: woodsb02@freebsd.org
          Reporter: greg@unrelenting.technology
             Flags: maintainer-feedback?(woodsb02@freebsd.org)
          Assignee: woodsb02@freebsd.org

mlx4 NIC resets when coming back from S3 sleep.
dhcpcd does not handle this well.
Apparently its reaction to getting a 'Device not configured' error from
ps_bpf_recvbpf is to just log and continue like nothing happened?
So the end result is, both dhcpcd and syslogd use a whole CPU core each, pu=
rely
on spamming 'Device not configured' log messages :(

Oct 23 13:54:31 ruunvald acpi[6066]: resumed at 20201023 13:54:31
[..snip: USB devices..]
Oct 23 13:54:52 ruunvald dhcpcd[5451]: mlxen0: no IPv6 Routers available
Oct 23 13:55:21 ruunvald kernel: [47193] mlx4_core0: command 0x49 timed out=
 (go
bit not cleared)
Oct 23 13:55:21 ruunvald kernel: [47193] mlx4_core0: device is going to be
reset
Oct 23 13:55:22 ruunvald kernel: [47194] mlx4_core0: device was reset
successfully
Oct 23 13:55:22 ruunvald kernel: [47194] mlx4_en mlx4_core0: Internal error
detected, restarting device
Oct 23 13:55:25 ruunvald kernel: [47196] mlx4_core0: Internal error mark was
detected on device
Oct 23 13:55:25 ruunvald dhcpcd[77694]: ps_bpf_recvbpf: Device not configur=
ed
Oct 23 13:55:25 ruunvald syslogd: last message repeated 1340 times
Oct 23 13:55:25 ruunvald avahi-daemon[47574]: IPV6_DROP_MEMBERSHIP failed:
Can't assign requested address
Oct 23 13:55:25 ruunvald dhcpcd[77694]: ps_bpf_recvbpf: Device not configur=
ed
Oct 23 13:55:25 ruunvald syslogd: last message repeated 2172 times
Oct 23 13:55:25 ruunvald dhcpcd[5451]: mlxen0: if_getmtu: Device not config=
ured
Oct 23 13:55:25 ruunvald dhcpcd[77694]: ps_bpf_recvbpf: Device not configur=
ed
Oct 23 13:55:25 ruunvald syslogd: last message repeated 396 times
Oct 23 13:55:25 ruunvald dhcpcd[5451]: ipv6nd_applyra: Device not configured
Oct 23 13:55:25 ruunvald dhcpcd[77694]: ps_bpf_recvbpf: Device not configur=
ed
Oct 23 13:55:28 ruunvald syslogd: last message repeated 486197 times
Oct 23 13:55:28 ruunvald kernel: [47200] mlx4_core0: Old device ETS support
detected
Oct 23 13:55:28 ruunvald dhcpcd[77694]: ps_bpf_recvbpf: Device not configur=
ed
Oct 23 13:55:28 ruunvald syslogd: last message repeated 63 times
Oct 23 13:55:28 ruunvald kernel: [47200] mlx4_core0: Consider upgrading dev=
ice
FW.
Oct 23 13:55:28 ruunvald dhcpcd[77694]: ps_bpf_recvbpf: Device not configur=
ed
Oct 23 13:55:29 ruunvald syslogd: last message repeated 208939 times
Oct 23 13:55:29 ruunvald kernel: [47201] mlx4_core0: Unable to determine PCI
device chain minimum BW
Oct 23 13:55:29 ruunvald dhcpcd[77694]: ps_bpf_recvbpf: Device not configur=
ed
Oct 23 13:55:29 ruunvald syslogd: last message repeated 11613 times
Oct 23 13:55:29 ruunvald kernel: [47202] mlx4_en mlx4_core0: Activating por=
t:1
Oct 23 13:55:29 ruunvald dhcpcd[77694]: ps_bpf_recvbpf: Device not configur=
ed
Oct 23 13:55:29 ruunvald syslogd: last message repeated 516 times
Oct 23 13:55:29 ruunvald kernel: [47202] mlxen0: Ethernet address:
00:02:c9:[REDACTED]
Oct 23 13:55:29 ruunvald kernel: [47202] <4>mlx4_en: mlx4_core0: Port 1: Us=
ing
16 TX rings
Oct 23 13:55:29 ruunvald kernel: [47202] mlxen0: link state changed to DOWN
Oct 23 13:55:29 ruunvald kernel: [47202] <4>mlx4_en: mlx4_core0: Port 1: Us=
ing
16 RX rings
Oct 23 13:55:29 ruunvald kernel: [47202] <4>mlx4_en: mlxen0: Using 16 TX ri=
ngs
Oct 23 13:55:29 ruunvald kernel: [47202] <4>mlx4_en: mlxen0: Using 16 RX ri=
ngs
Oct 23 13:55:29 ruunvald dhcpcd[77694]: ps_bpf_recvbpf: Device not configur=
ed
Oct 23 13:55:29 ruunvald syslogd: last message repeated 49 times
Oct 23 13:55:29 ruunvald kernel: [47202] <4>mlx4_en: mlxen0: Initializing p=
ort
Oct 23 13:55:29 ruunvald dhcpcd[77694]: ps_bpf_recvbpf: Device not configur=
ed
Oct 23 13:55:29 ruunvald syslogd: last message repeated 415 times
Oct 23 13:55:29 ruunvald kernel: [47202] mlx4_core0: mlx4_restart_one was
ended, ret=3D0
Oct 23 13:55:29 ruunvald dhcpcd[77694]: ps_bpf_recvbpf: Device not configur=
ed
Oct 23 13:55:32 ruunvald syslogd: last message repeated 422257 times
Oct 23 13:55:32 ruunvald kernel: [47204] <6>mlx4_en: mlxen0: Link Up
Oct 23 13:55:32 ruunvald kernel: [47204] mlxen0: link state changed to UP
Oct 23 13:55:32 ruunvald dhcpcd[77694]: ps_bpf_recvbpf: Device not configur=
ed
Oct 23 13:55:52 ruunvald syslogd: last message repeated 3708975 times
Oct 23 13:55:52 ruunvald kernel: nfs server fdc0:ffee::1:/solitude<118>[472=
25]
ps_bpf_recvbpf: Device not configured
Oct 23 13:55:52 ruunvald kernel: -bolt/greg: not responding
Oct 23 13:55:52 ruunvald dhcpcd[77694]: ps_bpf_recvbpf: Device not configur=
ed
Oct 23 13:55:52 ruunvald syslogd: last message repeated 69 times
[^^nice^^]
Oct 23 13:55:52 ruunvald kernel: nfs server fdc0:ffee::1:/solitude-bolt/gre=
g:
is a<118>[47225] ps_bpf_recvbpf: Device not configured
Oct 23 13:55:52 ruunvald kernel: live again
[^^nfs is up means network is okay now, but dhcpcd does not recover^^]
Oct 23 13:55:52 ruunvald dhcpcd[77694]: ps_bpf_recvbpf: Device not configur=
ed
Oct 23 13:56:22 ruunvald syslogd: last message repeated 5428175 times
Oct 23 13:58:23 ruunvald syslogd: last message repeated 21508608 times
Oct 23 14:08:24 ruunvald syslogd: last message repeated 107135631 times
Oct 23 14:18:25 ruunvald syslogd: last message repeated 108124940 times
Oct 23 14:23:38 ruunvald syslogd: last message repeated 56390531 times

--=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-250561-7788>