1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

msk0: watchdog timeout

Discussion in 'System Hardware' started by Artefact2, Jan 10, 2010.

  1. Artefact2

    Artefact2 New Member

    Messages:
    23
    Thanks Received:
    0
    Hello there,

    Sometimes (probably once a week or so), my ethernet device (msk) will stop working and flood the first tty with "msk0: watchdog timeout"...

    The only fix is to restart the machine, but that's kind of annoying because I can only access it via SSH... And, obviously, when the network is down, is too late...

    I tried disabling MSI (by putting hw.pci.enable_msix=0 and hw.pci.enable_msi=0 in /boot/loader.conf), but that didn't solve the problem. It happens under moderate/heavy network load.

    Anyone here having similar issues ? How to fix them ? Thanks.

    FYI: my network chip is a Marvell 88E8053, I use FreeBSD 8.0-RELEASE-p1.
     
  2. multibyte

    multibyte New Member

    Messages:
    9
    Thanks Received:
    0
  3. multibyte

    multibyte New Member

    Messages:
    9
    Thanks Received:
    0
    If the problem is related to the network cable (as mentioned in the
    handbook - network - troubleshooting), you should also check your
    BIOS settings if a "LAN CABLE STATUS" check, when existend, is
    executed. If it is, try the "DISABLE" setting.
     
  4. mky

    mky New Member

    Messages:
    33
    Thanks Received:
    4
    I have similar problem, but i was solved it disabling msi and msix in /boot/loader.conf and disabling TSO (net.inet.tcp.tso is set to "zero" in /etc/sysctl.conf). Active TSO causes many connection terminates, when network interfese was some load (~2 Mbit/s). The same issues i had on FreeBSD/i386 7.2-RELEASE (+ patches up to -p4) and currently on FreeBSD/amd64 8.0-RELEASE (+ patches up to latest -p2).

    I'm using ASUS P5GDC PRO motherboard with Marvell Yukon 88E8053 Gigabit Ethernet on board. I have some error about msk in dmesg:

    Code:
    mskc0: Uncorrectable PCI Express error


    but my network inteface works very stable and without errors.
     
  5. Artefact2

    Artefact2 New Member

    Messages:
    23
    Thanks Received:
    0
    I will try that. Thanks.
     
  6. epopen

    epopen New Member

    Messages:
    81
    Thanks Received:
    4
    Hi all.

    I encounter the same issue (msk0: Watchdog timeout, and NIC corrupt) in FreeBSD 10.0-RELEASE #0 amd64 @ Marvell Yukon 88E8040T PCI-E adapter. The issue first appeared in 8-RELEASE, it is caused by a PCIB ACPI issue, and patched kernel source code fixed it. And it disappeared in 9-RELEASE. But it appeared 10.0-RELEASE again! Disabling MSI and disabling TSO won't have an effect, and plugging/unplugging the cable has the same issue. Solution searching...

    Thanks a lot.
     
  7. naegelejd

    naegelejd New Member

    Messages:
    1
    Thanks Received:
    0
    I have the same issue with my Marvell Yukon 88E8057. I tried 9.2, 10.0-RELEASE, 10.0-STABLE, and 11.0-CURRENT. My NIC only works on 9.2. What is really confusing is that the few lines of code in /usr/src/sys/dev/msk/if_msk.c that changed between 9.2 and 10.0 are reverted in 11.0, but the problem still exists.
     
  8. epopen

    epopen New Member

    Messages:
    81
    Thanks Received:
    4
    Hi everyone. I have been testing the new 10.1-RELEASE. Still same the problem. Thanks a lot.
     
  9. waywardnl

    waywardnl New Member

    Messages:
    28
    Thanks Received:
    0
    In FreeBSD 9.3 did this:
    Code:
    root@BSD05:/home/roland # sysctl net.inet.tcp.tso=0
    net.inet.tcp.tso: 1 -> 0
    
    And I have the same error, but my RDP session of Windows 7 keeps alive.

    It happens when doing a copy with cp over the network and RDP together in Virtualbox.