[SOLVED] Dock Network Breaks On Resume

Hello,

I'm having this strange issue where when I either un-dock and re-dock, or wake my laptop from sleep, my dock network adapter becomes disabled. WiFi interfaces are not impacted, and neither are other hardware dongles (USB Ethernet adapters, etc).

Restarting NetworkManager.service unfortunately does not resolve the issue either. So far my only working remedy is to reboot while docked, and then everything works normally.

System Info:
Laptop - ThinkPad X1 Extreme Gen2
Dock - ThinkPad Thunderbolt 3 Workstation Dock Gen2

Majnaro Info

Screenshot_20200504_170646

inxi -Fxxxza --no-host
type or paste codSystem:    Kernel: 5.4.36-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.3.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 root=UUID=c650d837-89a7-4a22-9761-97b05f63f77c rw quiet apparmor=1 
           security=apparmor resume=UUID=408b2d48-d58b-4a0f-958c-6818740b0a4e udev.log_priority=3 
           Desktop: KDE Plasma 5.18.4 tk: Qt 5.14.2 wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
Machine:   Type: Laptop System: LENOVO product: 20QVCTO1WW v: ThinkPad X1 Extreme 2nd serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: LENOVO model: 20QVCTO1WW v: SDK0J40697 WIN serial: <filter> UEFI: LENOVO v: N2OET41W (1.28 ) date: 11/25/2019 
Battery:   ID-1: BAT0 charge: 81.3 Wh condition: 81.3/80.4 Wh (101%) volts: 17.4/15.4 model: SMP 01YU911 type: Li-poly 
           serial: <filter> status: Full cycles: 19 
CPU:       Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Kaby Lake family: 6 model-id: 9E (158) 
           stepping: A (10) microcode: CA L2 cache: 12.0 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62431 
           Speed: 2168 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 2993 2: 3583 3: 3171 4: 3246 5: 3261 6: 3093 7: 3232 
           8: 3740 9: 3332 10: 3284 11: 3102 12: 3281 
           Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel UHD Graphics 630 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b 
           Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Lenovo driver: nvidia v: 435.21 bus ID: 01:00.0 
           chip ID: 10de:1f91 
           Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia compositor: kwin_x11 
           resolution: 1920x1200~60Hz, 1920x1200~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1650/PCIe/SSE2 v: 4.6.0 NVIDIA 435.21 direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           chip ID: 8086:a348 
           Device-2: Logitech HD Pro Webcam C920 type: USB driver: snd-usb-audio,uvcvideo bus ID: 3-2.3.3:11 
           chip ID: 046d:082d serial: <filter> 
           Device-3: Lenovo USB2.0 Hub type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 3-2.1.1.2:10 
           chip ID: 17ef:3083 serial: <filter> 
           Device-4: N/A type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 3-2.3.4:12 chip ID: 2f96:0100 
           Sound Server: ALSA v: k5.4.36-1-MANJARO 
Network:   Device-1: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: 3.2.6-k port: efa0 bus ID: 00:1f.6 
           chip ID: 8086:15bc 
           IF: enp0s31f6 state: up speed: 100 Mbps duplex: full mac: <filter> 
           Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: 2000 bus ID: 52:00.0 chip ID: 8086:2723 
           IF: wlp82s0 state: up mac: <filter> 
           Device-3: Lenovo USB3.1 Hub type: USB driver: cdc_ether bus ID: 4-2.1.2:5 chip ID: 17ef:3082 serial: <filter> 
           IF: enp9s0u2u1u2c2 state: up speed: N/A duplex: N/A mac: <filter> 
           IF-ID-1: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter> 
           IF-ID-2: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 331.31 GiB (35.6%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB256HBHQ-000L7 size: 238.47 GiB block size: physical: 512 B 
           logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 4M2QEXH7 scheme: GPT 
           ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 970 EVO 1TB size: 931.51 GiB block size: physical: 512 B 
           logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 2B2QEXE7 scheme: GPT 
Partition: ID-1: / raw size: 897.10 GiB size: 882.02 GiB (98.32%) used: 330.75 GiB (37.5%) fs: ext4 dev: /dev/nvme1n1p2 
           ID-2: swap-1 size: 34.12 GiB used: 566.0 MiB (1.6%) fs: swap swappiness: 60 (default) cache pressure: 100 (default) 
           dev: /dev/nvme1n1p3 
Sensors:   System Temperatures: cpu: 71.0 C mobo: 48.0 C gpu: nvidia temp: 49 C 
           Fan Speeds (RPM): cpu: 3269 fan-2: 2958 
Info:      Processes: 338 Uptime: 8h 27m Memory: 31.02 GiB used: 6.85 GiB (22.1%) Init: systemd v: 244 Compilers: gcc: 9.3.0 
           alt: 8 Shell: bash v: 5.0.16 running in: yakuake inxi: 3.0.37 
lspci -k
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
        Subsystem: Lenovo 8th Gen Core Processor Host Bridge/DRAM Registers
        Kernel driver in use: skl_uncore
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)
        Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
        Subsystem: Lenovo UHD Graphics 630 (Mobile)
        Kernel driver in use: i915
        Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
        Subsystem: Lenovo Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
        Subsystem: Lenovo Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
        Subsystem: Lenovo Cannon Lake PCH Thermal Controller
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
        Subsystem: Lenovo Cannon Lake PCH USB 3.1 xHCI Host Controller
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
        Subsystem: Lenovo Cannon Lake PCH Shared SRAM
00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10)
        Subsystem: Lenovo Cannon Lake PCH Serial IO I2C Controller
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
        Subsystem: Lenovo Cannon Lake PCH HECI Controller
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #17 (rev f0)
        Kernel driver in use: pcieport
00:1b.4 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #21 (rev f0)
        Kernel driver in use: pcieport
00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #1 (rev f0)
        Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
        Kernel driver in use: pcieport
00:1d.6 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #15 (rev f0)
        Kernel driver in use: pcieport
00:1e.0 Communication controller: Intel Corporation Cannon Lake PCH Serial IO UART Host Controller (rev 10)
        Subsystem: Lenovo Cannon Lake PCH Serial IO UART Host Controller
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:1f.0 ISA bridge: Intel Corporation Device a30e (rev 10)
        Subsystem: Lenovo Device 229f
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
        Subsystem: Lenovo Cannon Lake PCH cAVS
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
        Subsystem: Lenovo Cannon Lake PCH SMBus Controller
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
        Subsystem: Lenovo Cannon Lake PCH SPI Controller
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-V (rev 10)
        Subsystem: Lenovo Ethernet Connection (7) I219-V
        Kernel driver in use: e1000e
        Kernel modules: e1000e
01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
        Subsystem: Lenovo TU117M [GeForce GTX 1650 Mobile / Max-Q]
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
        Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
        Kernel driver in use: nvme
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
        Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
        Kernel driver in use: nvme
04:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
        Kernel driver in use: pcieport
05:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
        Kernel driver in use: pcieport
05:01.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
        Kernel driver in use: pcieport
05:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
        Kernel driver in use: pcieport
05:04.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
        Kernel driver in use: pcieport
06:00.0 System peripheral: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 4C 2018] (rev 06)
        Subsystem: Lenovo JHL7540 Thunderbolt 3 NHI [Titan Ridge 4C 2018]
        Kernel driver in use: thunderbolt
        Kernel modules: thunderbolt
07:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018] (rev 06)
        Kernel driver in use: pcieport
08:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018] (rev 06)
        Kernel driver in use: pcieport
08:04.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018] (rev 06)
        Kernel driver in use: pcieport
09:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge DD 2018] (rev 06)
        Subsystem: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge DD 2018]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
52:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
        Subsystem: Intel Corporation Wi-Fi 6 AX200
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
53:00.0 SD Host controller: Genesys Logic, Inc Device 9755
        Subsystem: Lenovo Device 229f
        Kernel driver in use: sdhci-pci
        Kernel modules: sdhci_pci

Any help would be greatly appreciated!

Theo

Please answer the following question:

Is the LAN Adapter that breaks upon resume used in a virtual environment (or is Manjaro installed on bare metal)?

I would suggest making sure your dock's firmware is completely up to date before doing anything else.

If that does not improve things then testing 4 alternate kernels would be my next suggestion.

If that does not solve your problem then I would suggest you search the terms "mask tlp" and temporarily disable tlp via masking it. Tlp is required on a laptop, so it would be best to determine which setting (thunderbolt or your adapter) needs to be modified in tlp's configuration file. Do your own research on this as I do not use tlp.

The final option you are left with (if no other method works) is to write your own service to either disable your thunderbolt dock or your Ethernet adapter (or both) prior to suspending and reload them upon resume.

See my systemd thread for many working service examples:

1 Like

Thank you for the thorough response! Manjaro is installed on bare metal, so I'm dealing directly with the Thunderbolt dock. The firmware for the dock is also up to date .

As for the kernels, I've tried 5.4, 4.19, and 5.6 all with the same results.

Thanks for the top on tlp -- I'll have to research that and get back to you on my findings.

And if that doesn't work, thanks for the systemd references! I'll give those a try if it comes to it.

Thanks again!

1 Like

Hey so, good news!

I must have been doing something wrong when testing previously, because I tried out 5.6 today (5.6.11-1) and it fixed the issue. I can boot off-dock, go to sleep, disconnect, etc. and Manjaro re-activates the dock ethernet interface when I reconnect it as it should.

Thanks again for your help! At the least, I got a good intro to TLP. If you end up needing to point people down that line again, there's a good GTK interface for TLP in the AUR that may be helpful to people who are less familiar with it.

Cheers,
Theo

That is true, for those who prefer a GUI that is an easier way to familiarize yourself with tlp's settings.

I'm glad your issue has been resolved, perhaps a recent update fixed the issue.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by