Dear Oliver, I applied your patch and recompiled my kernel (4.2.3) on the host. However I'm not getting more debug info. How can I enable the output of netdev_dbg ? I've enabled debug-support in my kernel and changed the loglevel: # cat /proc/sys/kernel/printk 8 4 1 7 Also these notification-level messages seem pretty random to me: [ 290.405152] cdc_ether 3-1.2:1.0 enp0s20u1u2: CDC: unexpected notification fd! [ 290.437140] cdc_ether 3-1.2:1.0 enp0s20u1u2: CDC: unexpected notification 54! [ 382.709302] usb 3-1.2: USB disconnect, device number 5 [ 382.709372] cdc_ether 3-1.2:1.0 enp0s20u1u2: unregister 'cdc_ether' usb-0000:00:14.0-1.2, CDC Ethernet Device [ 526.435845] usb 3-1.2: new high-speed USB device number 6 using xhci_hcd [ 526.536259] usb 3-1.2: config 1 interface 0 altsetting 0 endpoint 0x83 has an invalid bInterval 32, changing to 9 [ 526.536276] usb 3-1.2: config 1 interface 1 altsetting 1 bulk endpoint 0x81 has invalid maxpacket 64 [ 526.536285] usb 3-1.2: config 1 interface 1 altsetting 1 bulk endpoint 0x2 has invalid maxpacket 64 [ 526.536306] usb 3-1.2: config 1 interface 2 altsetting 0 endpoint 0x86 has an invalid bInterval 32, changing to 9 [ 526.536309] usb 3-1.2: config 1 interface 3 altsetting 0 bulk endpoint 0x84 has invalid maxpacket 64 [ 526.536311] usb 3-1.2: config 1 interface 3 altsetting 0 bulk endpoint 0x5 has invalid maxpacket 64 [ 526.536690] usb 3-1.2: New USB device found, idVendor=0525, idProduct=a4aa [ 526.536697] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 526.536702] usb 3-1.2: Product: CDC Composite Gadget [ 526.536707] usb 3-1.2: Manufacturer: Linux 4.2.6-arietta with atmel_usba_udc [ 526.538124] 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 [ 526.539456] cdc_acm 3-1.2:1.2: ttyACM0: USB ACM device [ 526.552022] cdc_ether 3-1.2:1.0 enp0s20u1u2: renamed from usb0 [ 526.591621] IPv6: ADDRCONF(NETDEV_UP): enp0s20u1u2: link is not ready [ 526.602351] cdc_ether 3-1.2:1.0 enp0s20u1u2: CDC: unexpected notification fd! [ 526.634336] cdc_ether 3-1.2:1.0 enp0s20u1u2: CDC: unexpected notification f4! [ 540.835102] usb 3-1.2: USB disconnect, device number 6 [ 540.835182] cdc_ether 3-1.2:1.0 enp0s20u1u2: unregister 'cdc_ether' usb-0000:00:14.0-1.2, CDC Ethernet Device [ 788.372470] usbcore: deregistering interface driver cdc_ether [ 841.595247] usb 3-1.2: new high-speed USB device number 7 using xhci_hcd [ 841.695679] usb 3-1.2: config 1 interface 0 altsetting 0 endpoint 0x83 has an invalid bInterval 32, changing to 9 [ 841.695692] usb 3-1.2: config 1 interface 1 altsetting 1 bulk endpoint 0x81 has invalid maxpacket 64 [ 841.695712] usb 3-1.2: config 1 interface 1 altsetting 1 bulk endpoint 0x2 has invalid maxpacket 64 [ 841.695714] usb 3-1.2: config 1 interface 2 altsetting 0 endpoint 0x86 has an invalid bInterval 32, changing to 9 [ 841.695716] usb 3-1.2: config 1 interface 3 altsetting 0 bulk endpoint 0x84 has invalid maxpacket 64 [ 841.695718] usb 3-1.2: config 1 interface 3 altsetting 0 bulk endpoint 0x5 has invalid maxpacket 64 [ 841.696030] usb 3-1.2: New USB device found, idVendor=0525, idProduct=a4aa [ 841.696037] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 841.696041] usb 3-1.2: Product: CDC Composite Gadget [ 841.696046] usb 3-1.2: Manufacturer: Linux 4.2.6-arietta with atmel_usba_udc [ 841.697340] cdc_acm 3-1.2:1.2: ttyACM0: USB ACM device [ 841.703837] 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 [ 841.703939] usbcore: registered new interface driver cdc_ether [ 841.706251] cdc_ether 3-1.2:1.0 enp0s20u1u2: renamed from usb0 [ 841.749781] IPv6: ADDRCONF(NETDEV_UP): enp0s20u1u2: link is not ready [ 841.766493] cdc_ether 3-1.2:1.0 enp0s20u1u2: CDC: unexpected notification fd! [ 841.798478] cdc_ether 3-1.2:1.0 enp0s20u1u2: CDC: unexpected notification 74! Thanks for your time on this. On Di, 2015-12-01 at 11:15 +0100, Oliver Neukum wrote: > On Tue, 2015-12-01 at 10:41 +0100, Alexander Krause wrote: > > > 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 > > So far so good. > > > [44686.125652] cdc_ether 3-1.2:1.0 enp0s20u1u2: kevent 12 may have > > been > > dropped > > EVENT_SET_RX_MODE > > > [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! > > What is this? > > I am attaching a patch that improves debugging. Could you test with > that? > > Regards > Oliver > -- 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