From nobody Fri May 13 06:10:27 2022 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 229861ACADE4 for ; Fri, 13 May 2022 06:10: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KzytZ0fYXz4lYf for ; Fri, 13 May 2022 06:10:29 +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 9D3871D7B6 for ; Fri, 13 May 2022 06:10:29 +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 24D6ATSY040646 for ; Fri, 13 May 2022 06:10:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24D6AT4k040645 for net@FreeBSD.org; Fri, 13 May 2022 06:10:29 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: net@FreeBSD.org Subject: [Bug 166724] if_re(4): watchdog timeout Date: Fri, 13 May 2022 06:10:27 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: flagtypes.name keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652422230; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eTtfXukecr/eU1w1fHkT0I8V29CMJWUcYfl5lHBL3bg=; b=yVqS9LnLNQqbrO3kE0MWBiETtJAcSGrS+/f3znwo+ETlLyGk7y/91zXnxaRW+FVy/S7up4 1jPXmVHE1nR41xGCcvKzlz55CG52JshVuTNDanyTH4qytIPJwhfEKKuH6WyCosOOb1YwV7 UsP+dmxceAUiDPvjZMy3beP8Y2OmlttsJ1FR3/C3STjifCn/WE0Y27XM2wO6IJQc5YUeGp aCfe1Fte4q9OLyPt4mx5tbEF+CNVqkDhWSm2D9pUQuObS2slJEGT17ikvdV+G6CLKBJ9Qb tyZMbnFKHWO6ByON/fS14o9sZiJ9bfienlBSVXY4yck9iL5DXXe54w7IjCRhxg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652422230; a=rsa-sha256; cv=none; b=IVfYZjGaz5MPLhTq6eOhznG1eTSwI4kSYDtMBMWO7wOIU8eeON/0u2lMKh8nh73ihsQFv9 Zr+xCgxXSssukYFA7utloV4NzSP6YVrDwZuXXtsDYB6+0v7UROm9si/Fx6nPRpfWKUmLWd X+B6HRXgiUMtHkcC9G4XJIyllzgn8/eJuhla3YDM5yx3VvCc7QoUPGR5qR/KKXHy4dVpn3 C4yCty/pZmT8wLN1SxKcaLYKthyhbRBljY4iiof071BwPcV1h7iW8k0x7aWfBsGpE41WSw TXZQ7Xi4zr1E/2q4wf9SEF868Rl6LidYM5wzJKJsemQrh6dR78R+BI1dc86fcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D166724 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|mfc-stable11? |mfc-stable13? Keywords| |needs-qa --- Comment #100 from Kubilay Kocak --- Summarizing bug 208205 ... --------------------------------------- 10.3-RELEASE-p5 --------------------------------------- re0@pci0:2:0:0: class=3D0x020000 card=3D0x81681849 chip=3D0x816810ec rev=3D= 0x11 hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controll= er' class =3D network subclass =3D ethernet bar [10] =3D type I/O Port, range 32, base rxd000, size 256, enabled bar [18] =3D type Memory, range 64, base rx91204000, size 4096, enabl= ed bar [20] =3D type Prefetchable Memory, range 64, base rx91200000, size 16384, enabled cap 01[40] =3D powerspec 3 supports D0 D1 D2 D3 current D0 cap 05[50] =3D MSI supports 1 message, 64 bit cap 10[70] =3D PCI-Express 2 endpoint IRQ 1 max data 128(128) RO link x= 1(x1) speed 2.5(2.5) ASPM disabled(L0s/L1) cap 11[b0] =3D MSI-X supports 4 messages, enabled Table in map 0x20[0x0], PBA in map 0x20[0x800] cap 03[d0] =3D VPD ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 0 corrected ecap 0002[140] =3D VC 1 max VC0 ecap 0003[160] =3D Serial 1 01000000684ce000 ecap 0018[170] =3D LTR 1 ---------------------------------------=20=20=20 FreeBSD 11.0-ALPHA6 #0 r302331 --------------------------------------- re0@pci0:3:0:0: class=3D0x020000 card=3D0x85051043 chip=3D0x816810ec rev=3D= 0x09 hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controll= er' class =3D network subclass =3D ethernet bar [10] =3D type I/O Port, range 32, base rxe800, size 256, enabled bar [18] =3D type Prefetchable Memory, range 64, base rxfdfff000, size 4096, enabled bar [20] =3D type Prefetchable Memory, range 64, base rxfdff8000, size 16384, enabled cap 01[40] =3D powerspec 3 supports D0 D1 D2 D3 current D0 cap 05[50] =3D MSI supports 1 message, 64 bit=20 cap 10[70] =3D PCI-Express 2 endpoint MSI 1 max data 128(128) RO link x1(x1) speed 2.5(2.5) ASPM disabled(L0s/L1) cap 11[b0] =3D MSI-X supports 4 messages, enabled Table in map 0x20[0x0], PBA in map 0x20[0x800] cap 03[d0] =3D VPD ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 1 corrected ecap 0002[140] =3D VC 1 max VC0 ecap 0003[160] =3D Serial 1 0000000000000000 --------------------------------------- 10.3-p5 --------------------------------------- re0@pci0:2:0:0: class=3D0x020000 card=3D0x78171462 chip=3D0x816810ec rev=3D= 0x0c hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controll= er' class =3D network subclass =3D ethernet ---------------------------------------=20 11-STABLE --------------------------------------- re1@pci0:3:0:0: class=3D0x020000 card=3D0x230e1565 chip=3D0x816810ec rev=3D= 0x07 hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controll= er' class =3D network subclass =3D ethernet --------------------------------------- 11.1-RELEASE (no longer reproducible after 11.2-RELEASE) --------------------------------------- hardware1: re0: port 0xe000-0xe0ff mem 0xf0004000-0xf0004fff,0xf0000000-0xf0003fff irq 17 at dev= ice 0.0 on pci2 re0: MSI count : 1 re0: MSI-X count : 4 re0: attempting to allocate 1 MSI-X vectors (4 supported) re0: using IRQ 265 for MSI-X re0: Using 1 MSI-X message re0: turning off MSI enable bit. re0: Chip rev. 0x2c800000 re0: MAC rev. 0x00100000 miibus0: on re0 re0: Using defaults for TSO: 65518/35/2048 re0: bpf attached hardware2: re0: port 0xe000-0xe0ff mem 0xf7c00000-0xf7c00fff,0xf0000000-0xf0003fff irq 16 at dev= ice 0.0 on pci1 re0: MSI count : 1 re0: MSI-X count : 4 re0: attempting to allocate 1 MSI-X vectors (4 supported) re0: using IRQ 266 for MSI-X re0: Using 1 MSI-X message re0: Chip rev. 0x4c000000 re0: MAC rev. 0x00000000 miibus0: on re0 re0: Using defaults for TSO: 65518/35/2048 re0: bpf attached re0: Ethernet address: 44:8a:5b:d4:49:6d re0: netmap queues/slots: TX 1/256, RX 1/256 random: harvesting attach, 8 bytes (4 bits) from re0 hardware1: re0@pci0:2:0:0: class=3D0x020000 card=3D0x78161462 chip=3D0x816810ec rev=3D= 0x06 hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controll= er' class =3D network subclass =3D ethernet hardware2: re0@pci0:2:0:0: class=3D0x020000 card=3D0x78231462 chip=3D0x816810ec rev=3D= 0x0c hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controll= er' class =3D network subclass =3D ethernet ---------------------------------------=20=20 12.0=20 --------------------------------------- Hardware Info: re0@pci0:3:0:0: class=3D0x020000 card=3D0xe0001458 chip=3D0x816810ec rev=3D= 0x0c hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controll= er' class =3D network subclass =3D ethernet re1@pci0:4:0:0: class=3D0x020000 card=3D0xe0001458 chip=3D0x816810ec rev=3D= 0x0c hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controll= er' class =3D network subclass =3D ethernet Reported Workaround: bug 208205 comment 32 (commenting re_txeof in re_tick function in if_re.c.) --------------------------------------- 13.0-STABLE #0 stable/13-n248872-2c7441c86ef --------------------------------------- re1@pci0:5:0:0: class=3D0x020000 rev=3D0x15 hdr=3D0x00 vendor=3D0x10ec devi= ce=3D0x8168 subvendor=3D0x17aa subdevice=3D0x5094 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controll= er' class =3D network subclass =3D ethernet bar [10] =3D type I/O Port, range 32, base rx2000, size 256, enabled bar [18] =3D type Memory, range 64, base rxfd504000, size 4096, enabl= ed bar [20] =3D type Memory, range 64, base rxfd500000, size 16384, enab= led cap 01[40] =3D powerspec 3 supports D0 D1 D2 D3 current D0 cap 05[50] =3D MSI supports 1 message, 64 bit cap 10[70] =3D PCI-Express 2 endpoint MSI 1 max data 128(128) RO max read 4096 link x1(x1) speed 2.5(2.5) ASPM disabled(L0s/L1) ClockPM disabled cap 11[b0] =3D MSI-X supports 4 messages, enabled Table in map 0x20[0x0], PBA in map 0x20[0x800] ecap 0001[100] =3D AER 2 0 fatal 0 non-fatal 1 corrected ecap 0002[140] =3D VC 1 max VC0 ecap 0003[160] =3D Serial 1 01000000684ce000 ecap 0018[170] =3D LTR 1 ecap 001e[178] =3D L1 PM Substates 1 ---------------------------------------=20=20=20=20 FreeBSD 12.2 pfSense (after 350Mbps) - realtek-re-kmod (1.96.04) fixes --------------------------------------- re0: port 0xe000-0xe0ff mem 0xf0104000-0xf0104fff,0xf0100000-0xf0103fff irq 19 at dev= ice 0.0 on pci3 re0: Using 1 MSI-X message re0: turning off MSI enable bit. re0: ASPM disabled re0: Chip rev. 0x2c800000 re0: MAC rev. 0x00100000Realtek=20 --------------------------------------- Workarounds --------------------------------------- Reported workaround #1: bug 208205 comment 22 Reported Workaround #2: bug 208205 comment 33 (kern.ipc.nmbjumbop / kern.ipc.nmbclusters) - FreeBSD 11, not reproducible on 12 --------------------------------------- Additional References --------------------------------------- * https://forums.freebsd.org/threads/10-2-release-re0-watchdog-timeout.55306/= #post-337045 * if_re modification code: https://github.com/megabytefisher/if_re-mod --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=