[Bug 166724] if_re(4): watchdog timeout

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 01 Jan 2024 23:40:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166724

Riccardo Torrini <riccardo@torrini.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |riccardo@torrini.org

--- Comment #114 from Riccardo Torrini <riccardo@torrini.org> ---
Me too message, with a bit of info:

- before 13.2-p8 I have seen watchdog timeout probably not more than one per
month, never looked for a fix
- machine is my home desktop, all others have Intel card
- I use powerd
- it happens during "restic" backup (so with probaly high bi-directional
traffic)
- I have /home over NFSv3, nothing like this happens on last (10?) years
- I can confirm that only a reboot fix the missing ethernet driver
- I just added pkg (realtek-re-kmod-199.00_1 installed)

# MoBo info (AMI BIOS)
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: PRIME B250M-A
Processor: Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz
RAM: 2x 8GB DDR4 2133 (w/out overclock)

# yesterday boot / kernel module
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port
0xe000-0xe0ff mem 0xf7004000-0xf7004fff,0xf7000000-0xf7003fff irq 19 at device
0.0 on pci1
re0: Using 1 MSI-X message
re0: ASPM disabled
re0: Chip rev. 0x54000000
re0: MAC rev. 0x00100000
re0: Using defaults for TSO: 65518/35/2048
re0: Ethernet address: 2c:4d:54:68:ae:62
re0: netmap queues/slots: TX 1/256, RX 1/256
re0: link state changed to DOWN
re0: link state changed to UP

# last boot / pkg module
re0: <Realtek PCIe GbE Family Controller> port 0xe000-0xe0ff mem
0xf7004000-0xf7004fff,0xf7000000-0xf7003fff irq 19 at device 0.0 on pci1
re0: Using Memory Mapping!
re0: Using 1 MSI-X message
re0: ASPM disabled
re0: version:1.99.04
re0: Ethernet address: 2c:4d:54:68:ae:62
re0: Using defaults for TSO: 65518/35/2048
re0: Ethernet address: 2c:4d:54:68:ae:62
re0: link state changed to UP

# ifconfig using pkg (I forget to save output using kernel module)
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
       
options=60251b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,LRO,WOL_MAGIC,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 2c:4d:54:68:ae:62
        inet {home_lan} netmask 0xffffff00 broadcast {home_lan}
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>


re0@pci0:2:0:0: class=0x020000 rev=0x15 hdr=0x00 vendor=0x10ec device=0x8168
subvendor=0x1043 subdevice=0x8677
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet
    bar   [10] = type I/O Port, range 32, base 0xe000, size 256, enabled
    bar   [18] = type Memory, range 64, base 0xf7004000, size 4096, enabled
    bar   [20] = type Memory, range 64, base 0xf7000000, size 16384, enabled
    cap 01[40] = powerspec 3  supports D0 D1 D2 D3  current D0
    cap 05[50] = MSI supports 1 message, 64 bit 
    cap 10[70] = PCI-Express 2 endpoint MSI 1 max data 128(128) RO
                 max read 2048
                 link x1(x1) speed 2.5(2.5) ASPM disabled(L0s/L1) ClockPM
disabled
    cap 11[b0] = MSI-X supports 4 messages, enabled
                 Table in map 0x20[0x0], PBA in map 0x20[0x800]
    ecap 0001[100] = AER 2 0 fatal 0 non-fatal 0 corrected
    ecap 0002[140] = VC 1 max VC0
    ecap 0003[160] = Serial 1 01000000684ce000
    ecap 0018[170] = LTR 1
    ecap 001e[178] = L1 PM Substates 1

# current values from sysctl (all automatic)
kern.ipc.nmbjumbop: 504907
kern.ipc.nmbclusters: 1009815
kern.ipc.nmbjumbo9: 149602
kern.ipc.nmbjumbo16: 84151

# devinfo (partial)
        pcib2 pnpinfo vendor=0x8086 device=0xa297 subvendor=0x1043
subdevice=0x8694 class=0x060400 at slot=28 function=7 dbsf=pci0:0:28:7
handle=\_SB_.PCI0.RP08
            I/O ports:
                0xe000-0xefff
            I/O memory addresses:
                0xf7000000-0xf70fffff
            PCI domain 0 bus numbers:
                2
          pci1
              pcib2 bus numbers:
                  2
            re0 pnpinfo vendor=0x10ec device=0x8168 subvendor=0x1043
subdevice=0x8677 class=0x020000 at slot=0 function=0 dbsf=pci0:2:0:0
handle=\_SB_.PCI0.RP08.PXSX
                Interrupt request lines:
                    0x83
                pcib2 I/O port window:
                    0xe000-0xe0ff
                pcib2 memory window:
                    0xf7000000-0xf7003fff
                    0xf7004000-0xf7004fff

Thanks a lot to all people working on this.
And finally a big thanks to ale@ for the port ;)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.