netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Niccolò Belli" <darkbasic@linuxsystems.it>
To: Stephen Hemminger <shemminger@vyatta.com>
Cc: netdev@vger.kernel.org
Subject: Re: sky2 still badly broken
Date: Thu, 03 May 2012 21:26:52 +0200	[thread overview]
Message-ID: <4FA2DBFC.5010505@linuxsystems.it> (raw)
In-Reply-To: <20120503111536.269490e3@nehalam.linuxnetplumber.net>

Il 03/05/2012 20:15, Stephen Hemminger ha scritto:
> Maybe ethtool registers have some info?
>
> # ethtool -S eth0

After:
64 bytes from 8.8.8.8: icmp_req=592 ttl=47 time=61.0 ms
64 bytes from 8.8.8.8: icmp_req=593 ttl=47 time=64.9 ms
64 bytes from 8.8.8.8: icmp_req=594 ttl=47 time=61.8 ms
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
[...]

I get:

laptop ~ # ethtool eth0
Settings for eth0:
         Supported ports: [ TP ]
         Supported link modes:   10baseT/Half 10baseT/Full
                                 100baseT/Half 100baseT/Full
                                 1000baseT/Half 1000baseT/Full
         Supported pause frame use: No
         Supports auto-negotiation: Yes
         Advertised link modes:  100baseT/Full
         Advertised pause frame use: No
         Advertised auto-negotiation: Yes
         Speed: 100Mb/s
         Duplex: Full
         Port: Twisted Pair
         PHYAD: 0
         Transceiver: internal
         Auto-negotiation: on
         MDI-X: Unknown
         Supports Wake-on: pg
         Wake-on: g
         Current message level: 0x000000ff (255)
                                drv probe link timer ifdown ifup rx_err 
tx_err
         Link detected: yes
laptop ~ # ethtool -S eth0
NIC statistics:
      tx_bytes: 118170
      rx_bytes: 891033
      tx_broadcast: 36
      rx_broadcast: 346
      tx_multicast: 4
      rx_multicast: 332
      tx_unicast: 1131
      rx_unicast: 1235
      tx_mac_pause: 0
      rx_mac_pause: 0
      collisions: 0
      late_collision: 0
      aborted: 0
      single_collisions: 0
      multi_collisions: 0
      rx_short: 0
      rx_runt: 0
      rx_64_byte_packets: 344
      rx_65_to_127_byte_packets: 654
      rx_128_to_255_byte_packets: 362
      rx_256_to_511_byte_packets: 50
      rx_512_to_1023_byte_packets: 11
      rx_1024_to_1518_byte_packets: 492
      rx_1518_to_max_byte_packets: 0
      rx_too_long: 0
      rx_fifo_overflow: 0
      rx_jabber: 0
      rx_fcs_error: 0
      tx_64_byte_packets: 45
      tx_65_to_127_byte_packets: 1074
      tx_128_to_255_byte_packets: 0
      tx_256_to_511_byte_packets: 52
      tx_512_to_1023_byte_packets: 0
      tx_1024_to_1518_byte_packets: 0
      tx_1519_to_max_byte_packets: 0
      tx_fifo_underrun: 0

> And if you enable the debugfs option there is more info
> hidden there.
>
> # mount -t debugfs debugfs /sys/kernel/debug
> # cat /sys/kernel/debug/sky2/eth0

There is no sky2 directory, maybe I don't have enough debug options in 
my kernel config.

Niccolò

  reply	other threads:[~2012-05-03 19:25 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-27 20:15 sky2 still badly broken Niccolò Belli
2012-04-27 20:41 ` [RFT] sky2: fix status length check on older chips Stephen Hemminger
2012-04-27 20:48   ` David Miller
2012-04-27 20:55   ` Stephen Hemminger
2012-04-27 23:05     ` Niccolò Belli
2012-04-28  2:46       ` Stephen Hemminger
2012-04-28 10:25         ` Niccolò Belli
2012-04-30 16:19           ` Stephen Hemminger
2012-04-30 18:23             ` Niccolò Belli
2012-04-28  3:03       ` [PATCH] sky2: fix receive length error in mixed non-VLAN/VLAN traffic Stephen Hemminger
2012-04-28  3:05         ` Stephen Hemminger
2012-09-17 14:20     ` [RFT] sky2: fix status length check on older chips Ivan Minev
2012-04-30 19:25 ` sky2 still badly broken Stephen Hemminger
2012-04-30 23:50   ` Niccolò Belli
2012-05-02 15:12   ` Niccolò Belli
2012-05-02 18:56     ` Stephen Hemminger
2012-05-03  9:40       ` Niccolò Belli
2012-05-03 15:23         ` Stephen Hemminger
2012-05-03 18:06           ` Niccolò Belli
2012-05-03 18:15             ` Stephen Hemminger
2012-05-03 19:26               ` Niccolò Belli [this message]
2012-05-03 19:36           ` Niccolò Belli
2012-05-03 21:25             ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FA2DBFC.5010505@linuxsystems.it \
    --to=darkbasic@linuxsystems.it \
    --cc=netdev@vger.kernel.org \
    --cc=shemminger@vyatta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).