Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2022 06:10:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 166724] if_re(4): watchdog timeout
Message-ID:  <bug-166724-7501-C59T7Q4e1h@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-166724-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-166724-7501@https.bugs.freebsd.org/bugzilla/>

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

Kubilay Kocak <koobs@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|mfc-stable11?               |mfc-stable13?
           Keywords|                            |needs-qa

--- Comment #100 from Kubilay Kocak <koobs@FreeBSD.org> ---
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: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> 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: <MII bus> on re0
re0: Using defaults for TSO: 65518/35/2048
re0: bpf attached

hardware2:
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> 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: <MII bus> 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: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-166724-7501-C59T7Q4e1h>