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]
Date:	Tue, 7 Apr 2015 19:25:48 +0100
From:	Ian Jackson <Ian.Jackson@...citrix.com>
To:	Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
CC:	Linux Xen maintainers:
	Boris Ostrovsky <boris.ostrovsky@...cle.com>,
	"David Vrabel" <david.vrabel@...rix.com>, ; Recently touched tg3:
	Prashant Sreedharan <prashant@...adcom.com>,
	Thadeu Lima de Souza Cascardo <cascardo@...ux.vnet.ibm.com>,
	Vlad Yasevich <vyasevich@...il.com>, ;
	"Linux tg3 maintainers": Nithin Nayak Sujir <nsujir@...adcom.com>,
	Michael Chan <mchan@...adcom.com>, ;
	<xen-devel@...ts.xensource.com>, <netdev@...r.kernel.org>
Subject: Re: tg3 NIC driver bug in 3.14.x under Xen

Konrad Rzeszutek Wilk writes ("Re: tg3 NIC driver bug in 3.14.x under Xen"):
> On Tue, Apr 07, 2015 at 04:12:14PM +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.  I don't know whether the problem is with the transmit path,
> > or receive path, or both.
...
> Do you see this if you run on baremetal with 'iommu=soft swiotlb=force'?
> (same kernel). 

When I tried this the network became entirely nonfunctional, as far as
ping (or anything else) was concerned.  (The host has a statically
configured IPv4 address, so DHCP is not at issue.)

On the serial console I collected this information:

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:29142 errors:0 dropped:0 overruns:0 frame:0
          TX packets:247 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1983230 (1.8 MiB)  TX bytes:15976 (15.6 KiB)
          Interrupt:17 

root@...bug:~# ifconfig xenbr0
xenbr0    Link encap:Ethernet  HWaddr 00:13:72:14:c0:51  
          inet addr:10.80.249.102  Bcast:10.80.251.255
          Mask:255.255.252.0
          inet6 addr: fe80::213:72ff:fe14:c051/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:248 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:10728 (10.4 KiB)

root@...bug:~# ethtool -S eth0 | grep -v ': 0$'
NIC statistics:
     rx_octets: 2040884
     rx_ucast_packets: 470
     rx_mcast_packets: 611
     rx_bcast_packets: 28874
     tx_octets: 16232
     tx_mcast_packets: 8
     tx_bcast_packets: 243
root@...bug:~#

I did
  tcpdump -vvs500 -lnieth0
and got output looking like this:

19:20:51.344115 cc:cc:cc:cc:cc:cc > cc:cc:cc:cc:cc:cc, ethertype
Unknown (0xcccc), length 60: 
        0x0000:  cccc cccc cccc cccc cccc cccc cccc cccc
        ................
        0x0010:  cccc cccc cccc cccc cccc cccc cccc cccc
        ................
        0x0020:  cccc cccc cccc cccc cccc cccc cccc
        ..............
19:20:51.354142 cc:cc:cc:cc:cc:cc > cc:cc:cc:cc:cc:cc, ethertype
Unknown (0xcccc), length 60: 
        0x0000:  cccc cccc cccc cccc cccc cccc cccc cccc
        ................
        0x0010:  cccc cccc cccc cccc cccc cccc cccc cccc
        ................
        0x0020:  cccc cccc cccc cccc cccc cccc cccc
        ..............
19:20:51.364199 00:00:00:00:00:00 > 00:00:00:00:00:00 Null
Information, send seq 0, rcv seq 0, Flags [Command], length 46


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