Realtek 8152 USB3 ethernet causing all usb3 to disconnect

Asked by Chris Merkley on 2018-10-04

I have a usb3 kingwin KWZ-EC7 with realtek 8152 usb3 ethernet that was working for a long time, but after disabling ethernet on it from network manager when I plug it in it causes hangs from the systemd udev process and eventually causes all usb3 devices to fail to connect.

I've been searching for a way to enable the device again, but so far I've had no luck.

I can replicate the issue every time, by rebooting the computer with another usb3 device plugged in, and plugging in the usb3 ethernet. After causing system load to spike from what I am assuming is trying to connect the device repeatedly, I unplug the device and at that point all usb3 ports are not usable.

Running ubuntu 18.04, laptop is a system76 gazelle professional (i7-3820qm if that helps). If there is any way I can reset the device to get this back to working as a hub and ethernet (without reloading my os) that would be awesome.

Question information

Language:
English Edit question
Status:
Needs information
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2018-10-04
Last reply:
2018-10-05
Manfred Hampl (m-hampl) said : #1

For diagnostic purposes, what is the output of the commands (after plugging that device in and waiting a minute):

uname -a
lsb_release -crid
sudo lshw -C network
dmesg | tail -n 30

Chris Merkley (thisismetroid) said : #2

I will provide that information right after I type this so that I can not have to use my laptop keyboard. I've found out how to replicate it from scratch (with the device working).

1. Disable ethernet from network manager.
2. Reboot with device plugged in
3. After logging in, unplug device.
4. Plug device back in.

After these steps, I'm not able to plug in the device without seeing the issues I was noticing earlier.

Chris Merkley (thisismetroid) said : #3

Here are the results of those commands.

chris@zebes:~$ uname -a
Linux zebes 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
chris@zebes:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
chris@zebes:~$ sudo lshw -C network
[sudo] password for chris:
  *-network
       description: Wireless interface
       product: Centrino Advanced-N 6235
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0
       version: 24
       serial: c4:85:08:90:45:7a
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-36-generic firmware=18.168.6.1 latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:32 memory:f7d00000-f7d01fff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0.2
       bus info: pci@0000:03:00.2
       logical name: enp3s0f2
       version: 0a
       serial: 00:90:f5:d7:28:f4
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8411-1_0.0.3 06/18/12 ip=172.19.16.181 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:19 ioport:e000(size=256) memory:f0004000-f0004fff memory:f0000000-f0003fff
  *-network:0
       description: Ethernet interface
       physical id: 1
       logical name: veth70c00cb
       serial: 7e:6f:6c:a6:9c:cf
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
  *-network:1
       description: Ethernet interface
       physical id: 2
       logical name: br-228150702ec4
       serial: 02:42:20:cf:19:22
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.16.238.1 link=yes multicast=yes
  *-network:2
       description: Ethernet interface
       physical id: 3
       logical name: enx00e03e710200
       serial: 00:e0:3e:71:02:00
       size: 10Mbit/s
       capacity: 1Gbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.09.9 duplex=half link=no multicast=yes port=MII speed=10Mbit/s
  *-network:3
       description: Ethernet interface
       physical id: 4
       logical name: docker0
       serial: 02:42:af:ec:5c:1d
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.17.0.1 link=no multicast=yes
chris@zebes:~$ dmesg | tail -n 30
[ 240.668745] usb 4-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 240.668748] usb 4-1.4: Product: USB3.0 Hub
[ 240.668751] usb 4-1.4: Manufacturer: Realtek
[ 240.679768] hub 4-1.4:1.0: USB hub found
[ 240.682127] hub 4-1.4:1.0: 4 ports detected
[ 240.840167] usb 3-1.4: new high-speed USB device number 4 using xhci_hcd
[ 240.958421] usb 3-1.4: New USB device found, idVendor=0bda, idProduct=5401
[ 240.958426] usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 240.958430] usb 3-1.4: Product: USB3.0 Hub
[ 240.958433] usb 3-1.4: Manufacturer: Realtek
[ 240.959013] hub 3-1.4:1.0: USB hub found
[ 240.960507] hub 3-1.4:1.0: 4 ports detected
[ 240.960514] usb 3-1.4: selecting invalid altsetting 1
[ 240.960517] hub 3-1.4:1.0: Using single TT (err -22)
[ 241.932263] usb 4-1.4.4: new SuperSpeed USB device number 4 using xhci_hcd
[ 241.952896] usb 4-1.4.4: New USB device found, idVendor=0bda, idProduct=8153
[ 241.952902] usb 4-1.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 241.952905] usb 4-1.4.4: Product: USB 10/100/1000 LAN
[ 241.952908] usb 4-1.4.4: Manufacturer: Realtek
[ 241.952911] usb 4-1.4.4: SerialNumber: 00E03E710200
[ 247.080175] usb 4-1.4.4: Disable of device-initiated U1 failed.
[ 247.082507] usbcore: registered new interface driver r8152
[ 252.200235] usb 4-1.4.4: Disable of device-initiated U1 failed.
[ 252.201777] usbcore: registered new interface driver cdc_ether
[ 257.320303] usb 4-1.4.4: Disable of device-initiated U1 failed.
[ 257.404332] usb 4-1.4.4: reset SuperSpeed USB device number 4 using xhci_hcd
[ 292.401905] r8152 4-1.4.4:1.0 eth0: v1.09.9
[ 292.407088] r8152 4-1.4.4:1.0 enx00e03e710200: renamed from eth0
[ 292.442955] IPv6: ADDRCONF(NETDEV_UP): enx00e03e710200: link is not ready
[ 332.721644] IPv6: ADDRCONF(NETDEV_UP): enx00e03e710200: link is not ready

Instead of disabling the ethernetfix in Ubuntu you can do it in the BIOS. Does that create the same result?

Can you help with this problem?

Provide an answer of your own, or ask Chris Merkley for more information if necessary.

To post a message you must log in.