Hi,

Sometimes I see "re0: watchdog timeout" message on my amd64 PC.

 bios0: ASRock A88M-G/3.1
 cpu0: AMD A10-7860K Radeon R7, 12 Compute Cores 4C+8G, 3593.88 MHz
 re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E
 (note: re0 is not A88M-G on-board controller, added PCIe board)

I suspect this caused by MSI interrupt so I tweaked if_re_pci.c like this:

--- if_re_pci.c~        Sat Mar 12 03:00:48 2022
+++ if_re_pci.c Sat Jun 11 19:35:17 2022
@@ -159,7 +159,7 @@
        }
 
        /* Allocate interrupt */
-       if (pci_intr_map_msi(pa, &ih) == 0)
+       if (/*pci_intr_map_msi(pa, &ih) ==*/ 0)
                sc->rl_flags |= RL_FLAG_MSI;
        else if (pci_intr_map(pa, &ih) != 0) {
                printf(": couldn't map interrupt\n");

After this modify, I do not see "watchdog timeout".

I want to know how many people see this timeout of re(4) and
that is solved by this MSI tweak.

Or, please tell me if there is any other workarounds.

Regards,
-- 
SASANO Takayoshi (JG1UAA) <u...@mx5.nisiq.net>

Reply via email to