From owner-freebsd-ports-bugs@freebsd.org Fri Oct 23 15:55:31 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 517144497CF for ; Fri, 23 Oct 2020 15:55:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CHpjH1YtTz4HhB for ; Fri, 23 Oct 2020 15:55:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 339E544954B; Fri, 23 Oct 2020 15:55:31 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3241A44954A for ; Fri, 23 Oct 2020 15:55:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CHpjH0TC6z4HSP for ; Fri, 23 Oct 2020 15:55:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E4F9B9AC4 for ; Fri, 23 Oct 2020 15:55:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09NFtU59034380 for ; Fri, 23 Oct 2020 15:55:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09NFtUZL034379 for ports-bugs@FreeBSD.org; Fri, 23 Oct 2020 15:55:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Fri, 23 Oct 2020 15:55:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: greg@unrelenting.technology X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: woodsb02@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2020 15:55:31 -0000 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.=