Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #880379

Bug#889831: linux-image-4.14.0-0.bpo.3-amd64: USB RNDIS ethernet gadget - slow download transfers, RX errors

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#889831: linux-image-4.14.0-0.bpo.3-amd64: USB RNDIS ethernet gadget - slow download transfers, RX errors
Date 2018-02-07 22:50 +0100
Message-ID <vgFLk-2sZ-9@gated-at.bofh.it> (permalink)
References <vgB4Z-7H9-3@gated-at.bofh.it> <vgB4Z-7H9-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, 2018-02-07 at 11:05 -0500, Tomasz Janowski wrote:
> Package: src:linux
> Version: 4.14.13-1~bpo9+1
> Severity: normal
> Tags: upstream
> 
> Dear Maintainer,
> 
> 
> The problems seems to appear with some newer smartphones, in my case I
> test Samsung Galaxy S8. I am trying to use USB tethering and everything
> seems to work as expected (modules are loaded, Ethernet devices are up
> and running, dhcp works fine). I can connect to the external world using
> both phone LTE and phone wireless network.
> 
> Now, the problem is that download speeds are terrible, arounf 64 KB/s
> while uploads are fast, the order of 15 MB/s. These speeds do not depend
> on the provider, as the results are similar when I tether wi-fi. The USB
> Ethernet interface on Linux host reports a lot of receive errors:
> 
> enp0s20u9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>         inet 192.168.42.166  netmask 255.255.255.0  broadcast 192.168.42.255
>         inet6 fe80::890:3fff:fe0e:d2c6  prefixlen 64  scopeid 0x20<link>
>         ether 0a:90:3f:0e:d2:c6  txqueuelen 1000  (Ethernet)
>         RX packets 716  bytes 859199 (839.0 KiB)
>         RX errors 459  dropped 0  overruns 0  frame 459
>         TX packets 731  bytes 86682 (84.6 KiB)
>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

So these are all frame errors.  There is a log message that would give
more information about them, but it's disabled by default.  You can
enable it by running:

    echo 'format "bad rndis message" +p' > /sys/kernel/debug/dynamic_debug/control

[...]
> I tried the newest kernel from kernel.org git repositories, but the
> problem is still there. Should I contact upstream directly?
[...]

Yes, please mail linux-usb@vger.kernel.org and netdev@vger.kernel.org. 
You should include a sample of the "bad rndis message" log messages
that should appear after running the above command.  Please also cc
this bug address.

Ben.

-- 
Ben Hutchings
Reality is just a crutch for people who can't handle science fiction.

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#889831: linux-image-4.14.0-0.bpo.3-amd64: USB RNDIS ethernet gadget - slow download transfers, RX errors Tomasz Janowski <t.j@duke.edu> - 2018-02-07 17:50 +0100
  Bug#889831: linux-image-4.14.0-0.bpo.3-amd64: USB RNDIS ethernet gadget - slow download transfers, RX errors Ben Hutchings <ben@decadent.org.uk> - 2018-02-07 22:50 +0100
  Bug#889831: USB rndis_host - slow download transfers, RX errors Greg KH <gregkh@linuxfoundation.org> - 2018-02-08 16:50 +0100
  Bug#889831: USB rndis_host - slow download transfers, RX errors Greg KH <gregkh@linuxfoundation.org> - 2018-02-08 17:40 +0100

csiph-web