Subject: Re: sky2 rx errors printing to the console

From: Stephen Hemminger <[email-masked]>
Date: Wed, 15 Oct 2008 15:53:42 -0700

On Wed, 15 Oct 2008 14:40:58 +0100
"Andrew Paprocki" <[email-masked]> wrote:

> sky2 eth0: rx error, status 0xba0202 length 186
> sky2 eth0: rx error, status 0xba0220 length 186
> sky2 eth0: rx error, status 0xba0202 length 186
> sky2 eth0: rx error, status 0xba0202 length 186
> sky2 eth0: rx error, status 0x1390202 length 313
> sky2 eth0: rx error, status 0x1680202 length 360
> sky2 eth0: rx error, status 0xba0202 length 186
> sky2 eth0: rx error, status 0xf40202 length 244
> sky2 eth0: rx error, status 0xba0202 length 186

The status field is:
   
    +------------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |0 length    | | | | | | | | | | | | | | |
    +------------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                  ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
                  | | | | | | | | | | | | | +- Rx FIFO Overflow
                  | | | | | | | | | | | | +--- CRC Error
                  | | | | | | | | | | | +----- 
                  | | | | | | | | | | +------- Fragment
                  | | | | | | | | | +--------- Too Long
                  | | | | | | | | +----------- MII Error
                  | | | | | | | +------------- Bad flow control
                  | | | | | | +--------------- Good flow control
                  | | | | | +----------------- Rx Ok
                  | | | | +------------------- Broadcast
                  | | | +--------------------- Multicast
                  | | +----------------------- Runt
                  | +------------------------ Jabber
                  +------------------------- VLAN

Your packets have ehtther CRC error or MII Error set