You are not logged in.

#1 2021-04-14 16:13:41

jjeziorny
Member
Registered: 2017-02-03
Posts: 5

Realtek R8153 unstable

I have a dell laptop connected to a dell TB16 docking station, the dock has a Realktek R8153 USB Ethernet.
Kernel: 5.11.13-arch1-1

Whilst doing some seedtests I was getting very poor download speeds, upload was quite OK and plugging the cable directly on the laptop internal NIC would work fine DOWN and UP.

Some researching brought me to install r8152-dkms from AUR. After doing so speed improved for the R8153 but then after a little while the card stopped working completely

[Wed Apr 14 17:53:46 2021] ------------[ cut here ]------------
[Wed Apr 14 17:53:46 2021] NETDEV WATCHDOG: eth1 (r8152): transmit queue 0 timed out
[Wed Apr 14 17:53:46 2021] WARNING: CPU: 3 PID: 3900 at net/sched/sch_generic.c:442 dev_watchdog+0x25e/0x270
[Wed Apr 14 17:53:46 2021] Modules linked in: rfcomm uhid ccm snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device r8152(OE) cdc_ether usbnet mii cmac algif_hash algif_skcipher af_alg bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common btusb videodev btrtl btbcm btintel bluetooth mc ecdh_generic ecc snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp joydev snd_soc_acpi_intel_match mousedev snd_soc_acpi snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence iTCO_wdt intel_pmc_bxt hid_multitouch iwlmvm ee1004 iTCO_vendor_support intel_rapl_msr mei_hdcp mei_wdt ip6table_filter x86_pkg_temp_thermal snd_hda_codec dell_rbtn intel_powerclamp ip6_tables dell_wmi_sysman dell_wmi mac80211 i915 dell_laptop snd_hda_core coretemp wmi_bmof ledtrig_audio dell_smbios intel_wmi_thunderbolt iptable_filter snd_hwdep kvm_intel soundwire_bus dell_wmi_descriptor
[Wed Apr 14 17:53:46 2021]  libarc4 dcdbas kvm dell_smm_hwmon snd_soc_core iwlwifi irqbypass tun snd_compress ac97_bus rapl snd_pcm_dmaengine snd_pcm i2c_algo_bit intel_cstate intel_uncore snd_timer cfg80211 drm_kms_helper e1000e pcspkr snd nls_iso8859_1 soundcore i2c_i801 i2c_smbus vfat processor_thermal_device thunderbolt fat rfkill cec processor_thermal_rfim processor_thermal_mbox intel_gtt mei_me syscopyarea processor_thermal_rapl intel_rapl_common sysfillrect intel_xhci_usb_role_switch sysimgblt mei ucsi_acpi roles fb_sys_fops intel_lpss_pci intel_soc_dts_iosf intel_pch_thermal typec_ucsi typec tpm_crb wmi i2c_hid intel_lpss_acpi intel_lpss video tpm_tis idma64 intel_hid mac_hid int3400_thermal acpi_pad int3403_thermal tpm_tis_core acpi_thermal_rel int340x_thermal_zone sparse_keymap squashfs loop vboxnetflt(OE) vboxnetadp(OE) drm vboxdrv(OE) fuse crypto_user agpgart bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 usbhid dm_crypt cbc encrypted_keys dm_mod trusted tpm rng_core
[Wed Apr 14 17:53:46 2021]  rtsx_pci_sdmmc mmc_core serio_raw atkbd libps2 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd i8042 cryptd xhci_pci glue_helper rtsx_pci xhci_pci_renesas serio
[Wed Apr 14 17:53:46 2021] CPU: 3 PID: 3900 Comm: chrome Tainted: G           OE     5.11.13-arch1-1 #1
[Wed Apr 14 17:53:46 2021] Hardware name: Dell Inc. Latitude 7390/09386V, BIOS 1.18.0 01/07/2021
[Wed Apr 14 17:53:46 2021] RIP: 0010:dev_watchdog+0x25e/0x270
[Wed Apr 14 17:53:46 2021] Code: 17 29 75 ff eb 94 4c 89 f7 c6 05 ed 65 30 01 01 e8 d7 43 fa ff 44 89 e9 4c 89 f6 48 c7 c7 a8 1c 82 8f 48 89 c2 e8 52 c9 16 00 <0f> 0b e9 72 ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00
[Wed Apr 14 17:53:46 2021] RSP: 0000:ffffa92d001e0eb0 EFLAGS: 00010282
[Wed Apr 14 17:53:46 2021] RAX: 0000000000000000 RBX: ffff92db449c4800 RCX: ffff92deae4d8be8
[Wed Apr 14 17:53:46 2021] RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffff92deae4d8be0
[Wed Apr 14 17:53:46 2021] RBP: ffff92db43e853dc R08: 0000000000000000 R09: ffffa92d001e0ce8
[Wed Apr 14 17:53:46 2021] R10: ffffa92d001e0ce0 R11: ffffffff8fecba08 R12: ffff92db43e85480
[Wed Apr 14 17:53:46 2021] R13: 0000000000000000 R14: ffff92db43e85000 R15: ffff92db449c4880
[Wed Apr 14 17:53:46 2021] FS:  00007fa1aae11c40(0000) GS:ffff92deae4c0000(0000) knlGS:0000000000000000
[Wed Apr 14 17:53:46 2021] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Wed Apr 14 17:53:46 2021] CR2: 00007fa194dbc000 CR3: 00000002799ae001 CR4: 00000000003706e0
[Wed Apr 14 17:53:46 2021] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[Wed Apr 14 17:53:46 2021] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[Wed Apr 14 17:53:46 2021] Call Trace:
[Wed Apr 14 17:53:46 2021]  <IRQ>
[Wed Apr 14 17:53:46 2021]  ? pfifo_fast_init+0x110/0x110
[Wed Apr 14 17:53:46 2021]  ? pfifo_fast_init+0x110/0x110
[Wed Apr 14 17:53:46 2021]  call_timer_fn+0x29/0x130
[Wed Apr 14 17:53:46 2021]  __run_timers+0x1ed/0x280
[Wed Apr 14 17:53:46 2021]  run_timer_softirq+0x19/0x30
[Wed Apr 14 17:53:46 2021]  __do_softirq+0xcf/0x2c1
[Wed Apr 14 17:53:46 2021]  asm_call_irq_on_stack+0x12/0x20
[Wed Apr 14 17:53:46 2021]  </IRQ>
[Wed Apr 14 17:53:46 2021]  do_softirq_own_stack+0x37/0x40
[Wed Apr 14 17:53:46 2021]  irq_exit_rcu+0x9e/0xd0
[Wed Apr 14 17:53:46 2021]  sysvec_apic_timer_interrupt+0x36/0x80
[Wed Apr 14 17:53:46 2021]  ? asm_sysvec_apic_timer_interrupt+0xa/0x20
[Wed Apr 14 17:53:46 2021]  asm_sysvec_apic_timer_interrupt+0x12/0x20
[Wed Apr 14 17:53:46 2021] RIP: 0033:0x563571feed3e
[Wed Apr 14 17:53:46 2021] Code: 41 5e 41 5f 5d c3 67 0f b9 40 02 4c 89 ff e8 09 3d 04 00 eb d0 cc cc cc cc cc cc cc 55 48 89 e5 48 8b 87 c8 00 00 00 8a 40 38 <5d> c3 55 48 89 e5 48 ba aa aa aa aa aa aa aa aa 48 8b 87 d0 00 00
[Wed Apr 14 17:53:46 2021] RSP: 002b:00007ffe0f0e11a0 EFLAGS: 00000202
[Wed Apr 14 17:53:46 2021] RAX: 00000ab1abec9604 RBX: 0000000000000000 RCX: 00000ab1ada591b0
[Wed Apr 14 17:53:46 2021] RDX: 0000000000000002 RSI: 0000000000000000 RDI: 00000ab1abf6ec00
[Wed Apr 14 17:53:46 2021] RBP: 00007ffe0f0e11a0 R08: 0000000000000004 R09: 00000ab1abf45540
[Wed Apr 14 17:53:46 2021] R10: 0000000000003f11 R11: 00000ab1abf45050 R12: 00000ab1abf3b000
[Wed Apr 14 17:53:46 2021] R13: 0000000000000000 R14: 00000ab1abec97e0 R15: 00000ab1abf3bad8
[Wed Apr 14 17:53:46 2021] ---[ end trace 060f81e9d11688aa ]---
[Wed Apr 14 17:53:46 2021] r8152 4-1.2:1.0 eth1: Tx timeout
[Wed Apr 14 17:53:47 2021] xhci_hcd 0000:0b:00.0: ERROR unknown event type 15
[Wed Apr 14 17:53:51 2021] r8152 4-1.2:1.0 eth1: Tx timeout
[Wed Apr 14 17:53:52 2021] xhci_hcd 0000:0b:00.0: xHCI host not responding to stop endpoint command.
[Wed Apr 14 17:53:52 2021] xhci_hcd 0000:0b:00.0: USBSTS:
[Wed Apr 14 17:53:52 2021] xhci_hcd 0000:0b:00.0: xHCI host controller not responding, assume dead
[Wed Apr 14 17:53:52 2021] xhci_hcd 0000:0b:00.0: HC died; cleaning up
[Wed Apr 14 17:53:52 2021] usb 3-1: USB disconnect, device number 2
[Wed Apr 14 17:53:52 2021] usb 3-1.5: USB disconnect, device number 3
[Wed Apr 14 17:53:52 2021] r8152 4-1.2:1.0 eth1: Tx status -108
[Wed Apr 14 17:53:52 2021] r8152 4-1.2:1.0 eth1: Tx status -108
[Wed Apr 14 17:53:52 2021] r8152 4-1.2:1.0 eth1: Tx status -108
[Wed Apr 14 17:53:52 2021] r8152 4-1.2:1.0 eth1: Tx status -108
[Wed Apr 14 17:53:52 2021] r8152 4-1.2:1.0 eth1: get_registers -110
[Wed Apr 14 17:53:52 2021] r8152 4-1.2:1.0 eth1: set_registers -19
[Wed Apr 14 17:53:52 2021] usb 4-1: USB disconnect, device number 2
[Wed Apr 14 17:53:52 2021] usb 4-1.2: USB disconnect, device number 3
[Wed Apr 14 17:53:52 2021] r8152 4-1.2:1.0 eth1: Using pass-thru MAC addr 10:65:30:e3:be:79

Some more researching mentioned USB auto-suspend to be a potential cause for this, so I BLACKLISTED the device on TLP but issue still persisted.
I also tried downloading the drivers directly from Realtek, compiling and installing. I noticed these came with a UDEV rule file which I also installed, however problem still persists.

Interestingly, I have a Belkin USB-C Ethernet adapter which also has the R8153 chipset and this one works fine with and without r8152-dkms whilst plugged on the dock USB-C port. This makes me think this dock is actually rubish and not sure there is a fix for it.

Any ideas much appreciated.

Offline

#2 2021-04-16 05:52:17

ponyrider
Member
Registered: 2014-11-18
Posts: 112

Re: Realtek R8153 unstable

IIRC realtek drivers are being upgraded in kernel 5.12

Last edited by ponyrider (2021-04-16 05:56:13)

Offline

Board footer

Powered by FluxBB