Raspberry Pi/USB-Ethernet DM9601

From Wiki

problems

  • not working after boot / reboot
  • only working after unplug / plug
  • crashes after transferring data (test with iperf3)

dmesg on plug-in

[   61.502917] Indeed it is in host mode hprt0 = 00021d01
[   61.712828] usb 1-1: new full-speed USB device number 2 using dwc_otg
[   61.715117] Indeed it is in host mode hprt0 = 00021d01
[   61.967306] usb 1-1: New USB device found, idVendor=0fe6, idProduct=9700
[   61.967324] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[   61.967332] usb 1-1: Product: USB 2.0 10/100M Ethernet Adaptor
[   62.171082] dm9601 1-1:1.0 eth0: register 'dm9601' at usb-20980000.usb-1, Davicom DM96xx USB 10/100 Ethernet
[   62.171801] usbcore: registered new interface driver dm9601
[   62.446328] dm9601 1-1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xFFFF
[   62.533322] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   63.568313] dm9601 1-1:1.0 eth0: kevent 4 may have been dropped
[   63.576365] dm9601 1-1:1.0 eth0: kevent 4 may have been dropped
[   63.584338] dm9601 1-1:1.0 eth0: kevent 4 may have been dropped
[   63.594377] dm9601 1-1:1.0 eth0: kevent 4 may have been dropped
[   63.594638] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   63.640037] dm9601 1-1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xFFFF
[   63.750834] dm9601 1-1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xFFFF

dmesg on crash

[  117.776525] ERROR::handle_hc_chhltd_intr_dma:2214: handle_hc_chhltd_intr_dma: Channel 2, DMA Mode
 -- ChHltd set, but reason for halting is unknown, hcint 0x00000002, intsts 0x06000001
[  117.776584] ERROR::handle_hc_chhltd_intr_dma:2214: handle_hc_chhltd_intr_dma: Channel 6, DMA Mode
 -- ChHltd set, but reason for halting is unknown, hcint 0x00000002, intsts 0x06000001
[  117.776635] ERROR::handle_hc_chhltd_intr_dma:2214: handle_hc_chhltd_intr_dma: Channel 4, DMA Mode
 -- ChHltd set, but reason for halting is unknown, hcint 0x00000002, intsts 0x06000001
[  117.801634] usb usb1-port1: disabled by hub (EMI?), re-enabling...
[  117.801671] usb 1-1: USB disconnect, device number 2
[  117.802211] dm9601 1-1:1.0 eth0: unregister 'dm9601' usb-20980000.usb-1, Davicom DM96xx USB 10/100 Ethernet
[  118.021584] Indeed it is in host mode hprt0 = 00021501
[  118.301459] usb 1-1: new full-speed USB device number 3 using dwc_otg
[  118.301793] Indeed it is in host mode hprt0 = 00021d01
[  118.607227] usb 1-1: New USB device found, idVendor=0fe6, idProduct=9700
[  118.607246] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[  118.607254] usb 1-1: Product: USB 2.0 10/100M Ethernet Adaptor
[  118.655562] dm9601 1-1:1.0 eth0: register 'dm9601' at usb-20980000.usb-1, Davicom DM96xx USB 10/100 Ethernet
[  119.451726] dm9601 1-1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xFFFF
[  119.512555] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  119.671385] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready