TS-75XX errata cavium link loss

From embeddedTS Manuals
Revision as of 15:34, 31 October 2012 by Mark (talk | contribs) (Created page with "{| class="wikitable" |- | Synopsis | Link drop with certain cable lengths/switches on 100Mb/s networks |- | Severity | Normal |- | Class | Kernel Bug |- | Affected | All TS-75...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Synopsis Link drop with certain cable lengths/switches on 100Mb/s networks
Severity Normal
Class Kernel Bug
Affected All TS-75XX/TS-4500 Boards
Status Workarounds available

Description:

The Cavium STR8100 integrated PHY in some circumstances can drop connection to the network. You can see this in dmesg as

 star_nic_shutdown: stoping patch check.

The issue appears to correspond to the length of cable used as well as the network device connected to the board.

Workaround:

You can force the cavium PHY to 10MB/s which drastically improves reliability, and in most cases eliminates the issue.

# From the initrd:
devmem 0x70000004 32 0x43075

# From Debian
busybox devmem 0x70000004 32 0x43075

This will disable the link speed auto-negotiation and force the PHY to communicate at 10Mb/s. This only works in cases where the link is up all the time. If link is being connected/disconnected you would need to reset the interface (ifdown && ifup) and run the devmem command again.