usb3 ethernet problem
#1
hi all,
  I have a problem with my eth to USB adapter. It has been reported sometime. My device is a realtek 1853 gigabit adapter. I use 3 RockPro64. one server, one client and one for the router.

A --- <usb3> R <eth0> --- B

I use iperf to measure the transmission speed. 

R © <usb3> ---> A(s) : ~710 Mb/s
R © <eth0> ---> B (s) : ~950Mb /s
B © --> [eth0] R [usb3] --> A (s) : ~12 Mb/s !!
A © --> [usb3] R [eth0] --> B (s) : ~ 900 Mb/s !!

The arrow indicates the request direction (from the iperf client to the iperf server)

and in the last case I have in the router log :
Code:
Jun  5 21:54:32 azuria kernel: [ 5846.226479] r8152 6-1.3:1.0 enx4865ee168232: set_registers -71
Jun  5 21:54:32 azuria kernel: [ 5846.227055] r8152 6-1.3:1.0 enx4865ee168232: set_registers -71
Jun  5 21:54:32 azuria kernel: [ 5846.227638] r8152 6-1.3:1.0 enx4865ee168232: get_registers -71
Jun  5 21:54:32 azuria kernel: [ 5846.228213] r8152 6-1.3:1.0 enx4865ee168232: set_registers -71
Jun  5 21:54:33 azuria kernel: [ 5846.316310] usb 6-1.3: reset SuperSpeed Gen 1 USB device number 4 using xhci-hcd
Jun  5 21:54:33 azuria kernel: [ 5846.444290] usb 6-1.3: reset SuperSpeed Gen 1 USB device number 4 using xhci-hcd
Jun  5 21:54:40 azuria kernel: [ 5853.722283] r8152 6-1.3:1.0 enx4865ee168232: skb_to_sgvec fail -90
Jun  5 21:54:40 azuria kernel: [ 5853.723976] r8152 6-1.3:1.0 enx4865ee168232: skb_to_sgvec fail -90
Jun  5 21:54:45 azuria kernel: [ 5858.761066] r8152 6-1.3:1.0 enx4865ee168232: Tx timeout
Jun  5 21:54:46 azuria kernel: [ 5859.273117] r8152 6-1.3:1.0 enx4865ee168232: get_registers -110
Jun  5 21:54:46 azuria kernel: [ 5859.785113] r8152 6-1.3:1.0 enx4865ee168232: set_registers -110
Jun  5 21:54:47 azuria kernel: [ 5860.297114] r8152 6-1.3:1.0 enx4865ee168232: get_registers -110
Jun  5 21:54:47 azuria kernel: [ 5860.297713] r8152 6-1.3:1.0 enx4865ee168232: get_registers -71
Jun  5 21:54:47 azuria kernel: [ 5860.298291] r8152 6-1.3:1.0 enx4865ee168232: set_registers -71
Jun  5 21:54:47 azuria kernel: [ 5860.298981] r8152 6-1.3:1.0 enx4865ee168232: Tx status -2
Jun  5 21:54:47 azuria kernel: [ 5860.299030] r8152 6-1.3:1.0 enx4865ee168232: Tx status -2
Jun  5 21:54:47 azuria kernel: [ 5860.299073] r8152 6-1.3:1.0 enx4865ee168232: Tx status -2
Jun  5 21:54:47 azuria kernel: [ 5860.299118] r8152 6-1.3:1.0 enx4865ee168232: Tx status -2
Jun  5 21:54:47 azuria kernel: [ 5860.299205] r8152 6-1.3:1.0 enx4865ee168232: get_registers -71
Jun  5 21:54:47 azuria kernel: [ 5860.299782] r8152 6-1.3:1.0 enx4865ee168232: set_registers -71
....

Do you have an idea on what is going on ?

Correction : the error occur at the lowest speed (of course)
  Reply
#2
I have this problem with Armbian Focal (ubuntu) and Buster (debian). It seems that it depends on the window size : below 120K it is ok.

I tried with openWRT all is ok !! 820Mb/s on one side and 900/s the other. I'll use openWRT.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rockpro death: USB3 does not supply power for a 2.5 HDD zillevdr 0 777 12-06-2018, 10:45 AM
Last Post: zillevdr
  Intel I350 T4 problem tvoegeli 5 2,846 08-15-2018, 09:54 AM
Last Post: tvoegeli
  Hardware problem, Initialisation and Reset superpat 3 2,108 06-21-2018, 03:14 AM
Last Post: pfeerick

Forum Jump:


Users browsing this thread: 1 Guest(s)