Ethernet not stable 23.04 (RTL8168/8169)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Lunar |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
[Impact]
Ethernet is unstable with Realtek RTL8168h/8111h NIC and kernel 6.2 resulting in frequent transmit queue timeouts. Related to ASPM. See 'original description' below.
[Test Case]
Just regular usage for an extended period of time. No transmit queue timeouts with RTL8168h/8111h NICs.
[Where Problems Could Occur]
Modification are isolated to the r8169 driver so only machine where that driver is loaded are affected. Issues could show up as kernel crashes, stack traces, non-fnuctional wired network.
[Original Description]
hello,
it is my first time reporting a pug hope it is the last
there is thread here https:/
another user experienced similar issue
my network work fine at startup keep working for hours then disconnect and cannot reconnect without a restart
I tested the cable using another pc and it was working repluged with no difference
I thought it is caused by nvidia driver so changed it and the problem persist
I use systemd-networkd
uname -a
Linux ahmed-OptiPlex-3090 6.2.0-27-generic #28-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 12 22:39:51 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
lspci:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 1b)
dmesg:
[Mon Aug 7 12:36:47 2023] audit: type=1400 audit(169140100
[Mon Aug 7 12:39:19 2023] ------------[ cut here ]------------
[Mon Aug 7 12:39:19 2023] NETDEV WATCHDOG: enp2s0 (r8169): transmit queue 0 timed out
[Mon Aug 7 12:39:19 2023] WARNING: CPU: 4 PID: 0 at net/sched/
[Mon Aug 7 12:39:19 2023] Modules linked in: snd_seq_dummy snd_hrtimer nvidia_uvm(PO) bridge stp llc cfg80211 binfmt_misc nvidia_drm(PO) nls_iso8859_1 snd_ctl_led nvidia_modeset(PO) snd_sof_
[Mon Aug 7 12:39:19 2023] sha512_ssse3 cmdlinepart aesni_intel drm_kms_helper snd mei_me spi_nor crypto_simd i2c_algo_bit dell_smbios cryptd soundcore dcdbas syscopyarea sysfillrect ledtrig_audio dell_wmi_sysman sysimgblt mei rapl mtd sparse_keymap dell_wmi_descriptor intel_pch_thermal intel_cstate wmi_bmof firmware_
[Mon Aug 7 12:39:19 2023] CPU: 4 PID: 0 Comm: swapper/4 Tainted: P O 6.2.0-26-generic #26-Ubuntu
[Mon Aug 7 12:39:19 2023] Hardware name: Dell Inc. OptiPlex 3090/0492YX, BIOS 2.13.1 05/10/2023
[Mon Aug 7 12:39:19 2023] RIP: 0010:dev_
[Mon Aug 7 12:39:19 2023] Code: 00 e9 2b ff ff ff 48 89 df c6 05 ba a6 d5 01 01 e8 3b 07 f8 ff 44 89 f1 48 89 de 48 c7 c7 f8 25 67 9d 48 89 c2 e8 06 09 29 ff <0f> 0b e9 1c ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00
[Mon Aug 7 12:39:19 2023] RSP: 0018:ffffb40c40
[Mon Aug 7 12:39:19 2023] RAX: 0000000000000000 RBX: ffff997996868000 RCX: 0000000000000000
[Mon Aug 7 12:39:19 2023] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[Mon Aug 7 12:39:19 2023] RBP: ffffb40c40254e68 R08: 0000000000000000 R09: 0000000000000000
[Mon Aug 7 12:39:19 2023] R10: 0000000000000000 R11: 0000000000000000 R12: ffff9979968684c8
[Mon Aug 7 12:39:19 2023] R13: ffff99799686841c R14: 0000000000000000 R15: 0000000000000000
[Mon Aug 7 12:39:19 2023] FS: 000000000000000
[Mon Aug 7 12:39:19 2023] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Mon Aug 7 12:39:19 2023] CR2: 00000c4c01aa8000 CR3: 0000000329810004 CR4: 00000000003726e0
[Mon Aug 7 12:39:19 2023] Call Trace:
[Mon Aug 7 12:39:19 2023] <IRQ>
[Mon Aug 7 12:39:19 2023] ? __pfx_dev_
[Mon Aug 7 12:39:19 2023] call_timer_
[Mon Aug 7 12:39:19 2023] ? __pfx_dev_
[Mon Aug 7 12:39:19 2023] __run_timers+
[Mon Aug 7 12:39:19 2023] run_timer_
[Mon Aug 7 12:39:19 2023] __do_softirq+
[Mon Aug 7 12:39:19 2023] ? hrtimer_
[Mon Aug 7 12:39:19 2023] __irq_exit_
[Mon Aug 7 12:39:19 2023] irq_exit_
[Mon Aug 7 12:39:19 2023] sysvec_
[Mon Aug 7 12:39:19 2023] </IRQ>
[Mon Aug 7 12:39:19 2023] <TASK>
[Mon Aug 7 12:39:19 2023] asm_sysvec_
[Mon Aug 7 12:39:19 2023] RIP: 0010:cpuidle_
[Mon Aug 7 12:39:19 2023] Code: 7e 6e 63 e8 c4 57 42 ff 8b 53 04 49 89 c7 0f 1f 44 00 00 31 ff e8 a2 3f 41 ff 80 7d d0 00 0f 85 eb 00 00 00 fb 0f 1f 44 00 00 <45> 85 f6 0f 88 12 02 00 00 4d 63 ee 49 83 fd 09 0f 87 c7 04 00 00
[Mon Aug 7 12:39:19 2023] RSP: 0018:ffffb40c40
[Mon Aug 7 12:39:19 2023] RAX: 0000000000000000 RBX: ffffd40c3fb00200 RCX: 0000000000000000
[Mon Aug 7 12:39:19 2023] RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000000
[Mon Aug 7 12:39:19 2023] RBP: ffffb40c40147e78 R08: 0000000000000000 R09: 0000000000000000
[Mon Aug 7 12:39:19 2023] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff9e6c31a0
[Mon Aug 7 12:39:19 2023] R13: 0000000000000003 R14: 0000000000000003 R15: 00000a2b379e6fd3
[Mon Aug 7 12:39:19 2023] ? cpuidle_
[Mon Aug 7 12:39:19 2023] ? tick_nohz_
[Mon Aug 7 12:39:19 2023] cpuidle_
[Mon Aug 7 12:39:19 2023] cpuidle_
[Mon Aug 7 12:39:19 2023] do_idle+0x82/0x100
[Mon Aug 7 12:39:19 2023] cpu_startup_
[Mon Aug 7 12:39:19 2023] start_secondary
[Mon Aug 7 12:39:19 2023] secondary_
[Mon Aug 7 12:39:19 2023] </TASK>
[Mon Aug 7 12:39:19 2023] ---[ end trace 0000000000000000 ]---
[Mon Aug 7 12:39:19 2023] r8169 0000:02:00.0 enp2s0: rtl_chipcmd_cond == 1 (loop: 100, delay: 100).
[Mon Aug 7 12:39:19 2023] r8169 0000:02:00.0 enp2s0: rtl_ephyar_cond == 1 (loop: 100, delay: 10).
[Mon Aug 7 12:39:19 2023] r8169 0000:02:00.0 enp2s0: rtl_ephyar_cond == 1 (loop: 100, delay: 10).
[Mon Aug 7 12:39:19 2023] r8169 0000:02:00.0 enp2s0: rtl_ephyar_cond == 1 (loop: 100, delay: 10).
[Mon Aug 7 12:39:19 2023] r8169 0000:02:00.0 enp2s0: rtl_ephyar_cond == 1 (loop: 100, delay: 10).
[Mon Aug 7 12:39:19 2023] r8169 0000:02:00.0 enp2s0: rtl_ephyar_cond == 1 (loop: 100, delay: 10).
[Mon Aug 7 12:39:19 2023] r8169 0000:02:00.0 enp2s0: rtl_ephyar_cond == 1 (loop: 100, delay: 10).
[Mon Aug 7 12:39:19 2023] r8169 0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
[Mon Aug 7 12:39:19 2023] r8169 0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
[Mon Aug 7 12:39:19 2023] r8169 0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
[Mon Aug 7 12:40:02 2023] net_ratelimit: 9 callbacks suppressed
[Mon Aug 7 12:40:02 2023] r8169 0000:02:00.0 enp2s0: rtl_chipcmd_cond == 1 (loop: 100, delay: 100).
---
ProblemType: Bug
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CRDA: N/A
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
CurrentDmesg: Error: command ['pkexec', 'dmesg'] failed with exit code 126: Error executing command as another user: Request dismissed
DistroRelease: Ubuntu 23.04
InstallationDate: Installed on 2022-11-05 (286 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
IwConfig:
lo no wireless extensions.
enp3s0 no wireless extensions.
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 413c:2107 Dell Computer Corp. KB212-B Quiet Key Keyboard
Bus 001 Device 003: ID 0000:3825 USB OPTICAL MOUSE
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=
|__ Port 9: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 10: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
MachineType: Dell Inc. OptiPlex 3090
NonfreeKernelMo
Package: linux (not installed)
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 20230323.
RfKill:
Tags: wayland-session lunar
Uname: Linux 6.2.0-27-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip kvm libvirt lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 06/27/2023
dmi.bios.release: 2.14
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 2.14.0
dmi.board.name: 0492YX
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: OptiPlex
dmi.product.name: OptiPlex 3090
dmi.product.sku: 0B8A
dmi.sys.vendor: Dell Inc.
---
ProblemType: Bug
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CRDA: N/A
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 23.04
InstallationDate: Installed on 2022-11-05 (291 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 413c:2107 Dell Computer Corp. KB212-B Quiet Key Keyboard
Bus 001 Device 003: ID 0000:3825 USB OPTICAL MOUSE
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=
|__ Port 9: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 10: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
MachineType: Dell Inc. OptiPlex 3090
NonfreeKernelMo
Package: linux (not installed)
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 20230323.
RfKill:
Tags: lunar wayland-session
Uname: Linux 6.2.0-27-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip kvm libvirt lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 06/27/2023
dmi.bios.release: 2.14
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 2.14.0
dmi.board.name: 0492YX
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: OptiPlex
dmi.product.name: OptiPlex 3090
dmi.product.sku: 0B8A
dmi.sys.vendor: Dell Inc.
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
summary: |
- Ethernet not staple 23.4 (RTL8168/8169) + Ethernet not stable 23.4 (RTL8168/8169) |
summary: |
- Ethernet not stable 23.4 (RTL8168/8169) + Ethernet not stable 23.04 (RTL8168/8169) |
description: | updated |
description: | updated |
description: | updated |
Changed in linux (Ubuntu Lunar): | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in linux (Ubuntu Lunar): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-lunar-linux removed: verification-needed-lunar-linux |
Changed in linux (Ubuntu Lunar): | |
status: | Fix Committed → Fix Released |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/2031537/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]