Using the ARM Board AriaG25 (http://acmesystems.it) with kernel >= 4.x.x the g_ether (USB Ethernet Gadget) seems broken. While trying to ping the other peer, tcpdump reports broken frames: s9 erazor # tcpdump -i usb0 icmp dropped privs to tcpdump tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on usb0, link-type EN10MB (Ethernet), capture size 262144 bytes 11:17:41.303061 IP truncated-ip - 34 bytes missing! 10.1.1.254 > 10.1.1.1: ICMP echo request, id 1813, seq 108, length 64
This problem can be recreated on Arietta G25 (http://acmesystems.it) too. On Arietta G25 with 4.1.6, arping gets through between linux host and Arietta. Since arp packets are 28 bytes long, it makes sense to assume packets longer than 30 bytes are either truncated or messed up. root@ubuntu:~# arping 192.168.10.10 -I usb0 ARPING 192.168.10.10 from 192.168.10.20 usb0 Unicast reply from 192.168.10.10 [16:D7:48:35:53:62] 130.278ms Unicast reply from 192.168.10.10 [16:D7:48:35:53:62] 1.760ms Unicast reply from 192.168.10.10 [16:D7:48:35:53:62] 1.831ms Unicast reply from 192.168.10.10 [16:D7:48:35:53:62] 1.463ms Unicast reply from 192.168.10.10 [16:D7:48:35:53:62] 2.442ms Unicast reply from 192.168.10.10 [16:D7:48:35:53:62] 2.303ms Icmp echo packets do not get through (not truncated) in both ways unlike the previous post. One thing to note is that if I fire ping from arietta, linux host's ifconfig reports increasing RX errors (errors are as many as icmp echoes sent).
On Mon, Aug 24, 2015 at 09:22:22AM +0000, bugzilla-daemon@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=103411 > > Bug ID: 103411 > Summary: Ethernet frames get broken for g_ether / g_cdc Please send this to the linux-usb@vger.kernel.org mailing list.
Should we close this issue