Hi all, following from bugzilla.kernel.org I'm now writing to this group. The short summary is, that I'm trying to get the USB- gadget running with a ARM device. In my case it's the Arietta G25 (Atmel AT91SAM9G25 SoC) from ACME: http://www.acmesystems.it/arietta Everything seems to work at the first sight but the USB-Host is not getting an IP at all since frames get corrupted at the other end. The issue came with a kernel update from 3.x to 4.x . It happens with 4.1.x and also 4.2.6 which I'm using now. Messages on the host are: [44685.879438] usb 3-1.2: new high-speed USB device number 83 using xhci_hcd [44685.979721] usb 3-1.2: config 1 interface 0 altsetting 0 endpoint 0x83 has an invalid bInterval 32, changing to 9 [44685.979726] usb 3-1.2: config 1 interface 1 altsetting 1 bulk endpoint 0x81 has invalid maxpacket 64 [44685.979729] usb 3-1.2: config 1 interface 1 altsetting 1 bulk endpoint 0x2 has invalid maxpacket 64 [44685.979731] usb 3-1.2: config 1 interface 2 altsetting 0 endpoint 0x86 has an invalid bInterval 32, changing to 9 [44685.979734] usb 3-1.2: config 1 interface 3 altsetting 0 bulk endpoint 0x84 has invalid maxpacket 64 [44685.979736] usb 3-1.2: config 1 interface 3 altsetting 0 bulk endpoint 0x5 has invalid maxpacket 64 [44685.980032] usb 3-1.2: New USB device found, idVendor=0525, idProduct=a4aa [44685.980035] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [44685.980036] usb 3-1.2: Product: CDC Composite Gadget [44685.980038] usb 3-1.2: Manufacturer: Linux 4.2.6-arietta with atmel_usba_udc [44685.981609] cdc_ether 3-1.2:1.0 usb0: register 'cdc_ether' at usb -0000:00:14.0-1.2, CDC Ethernet Device, fa:b1:ab:00:00:01 [44685.982199] cdc_acm 3-1.2:1.2: ttyACM0: USB ACM device [44686.036753] cdc_ether 3-1.2:1.0 enp0s20u1u2: renamed from usb0 [44686.125452] IPv6: ADDRCONF(NETDEV_UP): enp0s20u1u2: link is not ready [44686.125652] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44686.125657] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44686.153902] cdc_ether 3-1.2:1.0 enp0s20u1u2: CDC: unexpected notification fd! [44686.171546] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44686.185886] cdc_ether 3-1.2:1.0 enp0s20u1u2: CDC: unexpected notification f4! [44690.504636] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44690.504656] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44736.252456] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44736.252480] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44736.252484] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44736.252508] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44736.252511] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44736.264605] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44736.266101] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44781.226228] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44781.226249] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44781.226252] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44781.226272] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44781.226275] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44781.228079] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44781.230551] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44781.230557] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44781.230611] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44781.230614] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44826.203526] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44826.203546] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44826.203549] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44826.203570] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44826.203573] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44826.205330] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44826.209775] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped [44826.209813] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have been dropped Stats of the interface: enp0s20u1u2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 fe80::f8b1:abff:fe00:1 prefixlen 64 scopeid 0x20<link> ether fa:b1:ab:00:00:01 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 95 bytes 14562 (14.2 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 Messages on the OTG are: [ 14.531250] using random self ethernet address [ 14.531250] using random host ethernet address [ 14.531250] using host ethernet address: fa:b1:ab:00:00:01 [ 14.531250] using self ethernet address: fa:b1:ab:00:00:02 [ 14.570312] usb0: HOST MAC fa:b1:ab:00:00:01 [ 14.570312] usb0: MAC fa:b1:ab:00:00:02 [ 14.570312] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008 [ 14.570312] g_cdc gadget: g_cdc ready [ 14.640625] random: nonblocking pool is initialized [ 15.039062] g_cdc gadget: full-speed config #1: CDC Composite (ECM + ACM) Ifconfig: usb0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1500 ether fa:b1:ab:00:00:02 txqueuelen 1000 (Ethernet) RX packets 24 bytes 15936 (15.5 KiB) RX errors 7 dropped 0 overruns 0 frame 7 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 I created a bug report here: https://bugzilla.kernel.org/show_bug.cgi?id=103411 And also asked for help here: https://groups.google.com/forum/#!searchin/acmesystems/network/acmesyst ems/TPzs6OgKRns/isx2OG0FBAAJ Can anyone give me some hints how to debug and fix this issue? Thanks a lot. Regards, Alex -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html