Hello,
this is my first post, so if this is not the right place, i will move it.
I have a strange issue with my new (to me) laptop, a Thinkpad T495, i need troubleshooting.
At random times, i will get a notification saying that the ethernet failed to connect and the DE will freeze for a few seconds. I usually do not have an ethernet cable connected at those times, but as far as i could tell, it can happen with a cable plugged in.
From this point on, this happens constantly until i reboot the computer. I could not find a way to reproduce the issue and find what causes it. The TLP configuration is the default. I also had this issue with TLP disabled. I also tried both kernel modules ( r8169 & r8168) after the suggestion at the following page and i saw no change.
Since this is a new laptop, i first installed Endeavour with KDE, i encountered this issue which i thought it was an issue with KDE so i did a clean install again with Gnome. I now have the same issue.
Can you please help me find what is going on?
Edit: Maybe the following is relevant. Output of hwinfo --netcard --short
network:
enp3s0f0 Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
wlan0 Intel Wireless-AC 9260
enp4s0 Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Edit 2: My system
System: Kernel: 5.14.5-arch1-1 x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: GNOME 40.4 tk: GTK 3.24.30 wm: gnome-shell
dm: GDM Distro: EndeavourOS base: Arch Linux
Machine: Type: Laptop System: LENOVO product: 20NKS28C02 v: ThinkPad T495 serial: <filter> Chassis: type: 10
serial: <filter>
Mobo: LENOVO model: 20NKS28C02 serial: <filter> UEFI: LENOVO v: R12ET57W(1.27 ) date: 11/24/2020
Battery: ID-1: BAT0 charge: 49.5 Wh (96.1%) condition: 51.5/50.5 Wh (101.9%) volts: 12.8 min: 11.6 model: LGC 5B10W139
serial: <filter> status: Discharging
CPU: Info: Quad Core model: AMD Ryzen 7 PRO 3700U w/ Radeon Vega Mobile Gfx bits: 64 type: MT MCP arch: Zen rev: 1
cache: L2: 2 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 36750
Speed: 1222 MHz min/max: 1400/2300 MHz boost: enabled Core speeds (MHz): 1: 1222 2: 1223 3: 1387 4: 1586 5: 1896
6: 1492 7: 1373 8: 1392
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Picasso vendor: Lenovo driver: amdgpu v: kernel bus-ID: 06:00.0
chip-ID: 1002:15d8
Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo bus-ID: 4-2.1:4 chip-ID: 13d3:56a6
Display: wayland server: X.org 1.20.13 compositor: gnome-shell driver: loaded: amdgpu
note: n/a (using device driver) - try sudo/root resolution: <missing: xdpyinfo>
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio: Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Lenovo
driver: snd_hda_intel v: kernel bus-ID: 06:00.1 chip-ID: 1002:15de
Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo
driver: snd_pci_acp3x v: kernel bus-ID: 06:00.5 chip-ID: 1022:15e2
Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel
bus-ID: 06:00.6 chip-ID: 1022:15e3
Sound Server-1: ALSA v: k5.14.5-arch1-1 running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.35 running: no
Network: Device-1: Intel Wireless-AC 9260 driver: iwlwifi v: kernel bus-ID: 01:00.0 chip-ID: 8086:2526
IF: wlan0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8168 v: 8.049.02-NAPI
port: 3400 bus-ID: 03:00.0 chip-ID: 10ec:8168
IF: enp3s0f0 state: down mac: <filter>
Device-3: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8168 v: 8.049.02-NAPI
port: 2000 bus-ID: 04:00.0 chip-ID: 10ec:8168
IF: enp4s0 state: down mac: <filter>
Drives: Local Storage: total: 476.94 GiB used: 79.08 GiB (16.6%)
ID-1: /dev/nvme0n1 vendor: Toshiba model: N/A size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter>
Partition: ID-1: / size: 461.54 GiB used: 79.08 GiB (17.1%) fs: btrfs dev: /dev/nvme0n1p2
ID-2: /boot/efi size: 511 MiB used: 576 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1
ID-3: /home size: 461.54 GiB used: 79.08 GiB (17.1%) fs: btrfs dev: /dev/nvme0n1p2
ID-4: /var/log size: 461.54 GiB used: 79.08 GiB (17.1%) fs: btrfs dev: /dev/nvme0n1p2
Swap: ID-1: swap-1 type: partition size: 14.89 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p3
Sensors: System Temperatures: cpu: 49.9 C mobo: N/A gpu: amdgpu temp: 49.0 C
Fan Speeds (RPM): fan-1: 0
Info: Processes: 296 Uptime: 50m Memory: 13.54 GiB used: 2.85 GiB (21.1%) Init: systemd v: 249 Compilers: gcc: 11.1.0
clang: 12.0.1 Packages: pacman: 1032 Shell: Bash v: 5.1.8 running-in: gjs inxi: 3.3.05
Edit 3: Just happened again. Partial output of journalctl --since “10 minutes ago”
-- Journal begins at Sun 2021-09-12 21:34:05 EEST, ends at Sat 2021-09-18 17:41:22 EEST. --
Σεπ 18 17:38:41 evripidis-thinkpad kernel: enp4s0: pci_sn_h = 0xffffffff, should be 0x01000000
.
Σεπ 18 17:38:41 evripidis-thinkpad kernel: enp4s0: esd_flag = 0x4000
.
Σεπ 18 17:38:41 evripidis-thinkpad kernel: r8168: enp4s0: link up
Σεπ 18 17:38:41 evripidis-thinkpad NetworkManager[453]: <info> [1631975921.3805] device (enp4s0): carrier: link connected
Σεπ 18 17:38:41 evripidis-thinkpad NetworkManager[453]: <info> [1631975921.3807] device (enp4s0): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'man>
Σεπ 18 17:38:41 evripidis-thinkpad kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready
Σεπ 18 17:38:48 evripidis-thinkpad kernel: enp4s0: cmd = 0xff, should be 0x07
.
Σεπ 18 17:38:48 evripidis-thinkpad kernel: enp4s0: io_base_l = 0xffff, should be 0x2001
.
Σεπ 18 17:38:48 evripidis-thinkpad kernel: enp4s0: mem_base_l = 0xffff, should be 0x4004
.
Σεπ 18 17:38:48 evripidis-thinkpad kernel: enp4s0: mem_base_h = 0xffff, should be 0xd070
.
Σεπ 18 17:38:48 evripidis-thinkpad kernel: enp4s0: resv_0x1c_l = 0xffff, should be 0x0000
.
Σεπ 18 17:38:48 evripidis-thinkpad kernel: enp4s0: resv_0x1c_h = 0xffff, should be 0x0000
.
Σεπ 18 17:38:48 evripidis-thinkpad kernel: enp4s0: resv_0x20_l = 0xffff, should be 0x0004
.
Σεπ 18 17:38:48 evripidis-thinkpad kernel: enp4s0: resv_0x20_h = 0xffff, should be 0xd070