lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <21796.6843.983774.271495@mariner.uk.xensource.com>
Date:	Tue, 7 Apr 2015 18:58:19 +0100
From:	Ian Jackson <Ian.Jackson@...citrix.com>
To:	Michael Chan <mchan@...adcom.com>
CC:	Ian Jackson <Ian.Jackson@...citrix.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
	Boris Ostrovsky <boris.ostrovsky@...cle.com>,
	"David Vrabel" <david.vrabel@...rix.com>,
	Prashant Sreedharan <prashant@...adcom.com>,
	Thadeu Lima de Souza Cascardo <cascardo@...ux.vnet.ibm.com>,
	Vlad Yasevich <vyasevich@...il.com>,
	"Nithin Nayak Sujir" <nsujir@...adcom.com>,
	<xen-devel@...ts.xensource.com>, <netdev@...r.kernel.org>
Subject: Re: tg3 NIC driver bug in 3.14.x under Xen

Michael Chan writes ("Re: tg3 NIC driver bug in 3.14.x under Xen"):
> On Tue, 2015-04-07 at 16:12 +0100, Ian Jackson wrote:
> > The symptom is a very high level of packet loss: around 25-30% (as
> > seen in `ping').  There don't seem to be any untoward-looking kernel
> > messages.  The lost packets get added to the `errors' counter shown in
> > ifconfig. 
> 
> Please provide the output of "ethtool -S" which has a better breakdown
> of the error counters.  Thanks.

root@...bug:~# ethtool -S eth0 | grep -v ': 0$'
NIC statistics:
     rx_octets: 793954
     rx_ucast_packets: 342
     rx_mcast_packets: 197
     rx_bcast_packets: 11049
     tx_octets: 59093
     tx_ucast_packets: 396
     tx_mcast_packets: 8
     tx_bcast_packets: 4
root@...bug:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:13:72:14:c0:51  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16012 errors:0 dropped:0 overruns:0 frame:0
          TX packets:459 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1090543 (1.0 MiB)  TX bytes:64575 (63.0 KiB)
          Interrupt:17 

root@...bug:~# 

And:

--- bedbug.cam.xci-test.com ping statistics ---
120 packets transmitted, 90 received, 25% packet loss, time 119354ms
rtt min/avg/max/mdev = 0.294/0.459/0.844/0.073 ms


Evidently on this particular kernel, the error counters are _not_
increasing, contrary to what I said before.  I confess that I didn't
keep a record of on which particular machine and kernel I observed the
error count increasing.

If it would help I could try to check various other machines and/or
other kernels to see if I can get one of them to display the error
counter behaviour.


I'm about to try the experiment suggested by Konrad.

Thanks,
Ian.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ