Ethernet not stable 23.04 (RTL8168/8169)

Bug #2031537 reported by ahmed hanafi al-sayed
86
This bug affects 11 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned
Lunar
Fix Released
Medium
Unassigned
linux-hwe-6.2 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
Undecided
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://ubuntuforums.org/showthread.php?t=2489146&p=14151513

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(1691401007.881:150): apparmor="ALLOWED" operation="file_perm" class="file" profile="libreoffice-oosplash" name="/tmp/OSL_PIPE_1000_SingleOfficeIPC_74ed987bff2950ad36ea f76d6640d9dc" pid=14414 comm="oosplash" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000
[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/sch_generic.c:525 dev_watchdog+0x23a/0x250
[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_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_hda_codec_realtek snd_sof_xtensa_dsp snd_hda_codec_generic snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus snd_soc_core snd_hda_codec_hdmi snd_compress ac97_bus snd_pcm_dmaengine snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec intel_rapl_msr intel_rapl_common snd_hda_core intel_tcc_cooling x86_pkg_temp_thermal snd_hwdep intel_powerclamp coretemp nvidia(PO) snd_pcm kvm_intel snd_seq_midi i915 snd_seq_midi_event mei_hdcp mei_pxp snd_rawmidi kvm drm_buddy snd_seq ttm irqbypass drm_display_helper snd_seq_device crct10dif_pclmul cec polyval_clmulni snd_timer polyval_generic dell_wmi ghash_clmulni_intel rc_core
[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_attributes_class ee1004 input_leds acpi_pad mac_hid msr parport_pc ppdev lp drm parport efi_pstore dmi_sysfs ip_tables x_tables autofs4 hid_generic usbhid hid ahci crc32_pclmul r8169 video intel_lpss_pci spi_intel_pci i2c_i801 libahci xhci_pci spi_intel intel_lpss realtek i2c_smbus xhci_pci_renesas idma64 wmi pinctrl_cannonlake
[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_watchdog+0x23a/0x250
[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:ffffb40c40254e38 EFLAGS: 00010246
[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: 0000000000000000(0000) GS:ffff997da9300000(0000) knlGS:0000000000000000
[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_watchdog+0x10/0x10
[Mon Aug 7 12:39:19 2023] call_timer_fn+0x29/0x160
[Mon Aug 7 12:39:19 2023] ? __pfx_dev_watchdog+0x10/0x10
[Mon Aug 7 12:39:19 2023] __run_timers+0x259/0x310
[Mon Aug 7 12:39:19 2023] run_timer_softirq+0x1d/0x40
[Mon Aug 7 12:39:19 2023] __do_softirq+0xd6/0x346
[Mon Aug 7 12:39:19 2023] ? hrtimer_interrupt+0x11f/0x250
[Mon Aug 7 12:39:19 2023] __irq_exit_rcu+0xa2/0xd0
[Mon Aug 7 12:39:19 2023] irq_exit_rcu+0xe/0x20
[Mon Aug 7 12:39:19 2023] sysvec_apic_timer_interrupt+0x92/0xd0
[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_apic_timer_interrupt+0x1b/0x20
[Mon Aug 7 12:39:19 2023] RIP: 0010:cpuidle_enter_state+0xde/0x6f0
[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:ffffb40c40147e28 EFLAGS: 00000246
[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_enter_state+0xce/0x6f0
[Mon Aug 7 12:39:19 2023] ? tick_nohz_stop_tick+0x13a/0x210
[Mon Aug 7 12:39:19 2023] cpuidle_enter+0x2e/0x50
[Mon Aug 7 12:39:19 2023] cpuidle_idle_call+0x153/0x1e0
[Mon Aug 7 12:39:19 2023] do_idle+0x82/0x100
[Mon Aug 7 12:39:19 2023] cpu_startup_entry+0x1d/0x20
[Mon Aug 7 12:39:19 2023] start_secondary+0x122/0x160
[Mon Aug 7 12:39:19 2023] secondary_startup_64_no_verify+0xe5/0xeb
[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
CasperMD5CheckResult: unknown
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=xhci_hcd/10p, 10000M
 /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
     |__ 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
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-27-generic root=UUID=50b2275f-09cb-470b-be5e-c7c89c191f36 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 6.2.0-27.28-generic 6.2.15
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-6.2.0-27-generic N/A
 linux-backports-modules-6.2.0-27-generic N/A
 linux-firmware 20230323.gitbcdcfbcf-0ubuntu1.5
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.:bvr2.14.0:bd06/27/2023:br2.14:svnDellInc.:pnOptiPlex3090:pvr:rvnDellInc.:rn0492YX:rvrA00:cvnDellInc.:ct3:cvr:sku0B8A:
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
CasperMD5CheckResult: pass
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=xhci_hcd/10p, 10000M
 /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
     |__ 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
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-27-generic root=UUID=bad00fc3-af76-403c-a8f8-e4b840d16e23 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 6.2.0-27.28-generic 6.2.15
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-6.2.0-27-generic N/A
 linux-backports-modules-6.2.0-27-generic N/A
 linux-firmware 20230323.gitbcdcfbcf-0ubuntu1.6
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.:bvr2.14.0:bd06/27/2023:br2.14:svnDellInc.:pnOptiPlex3090:pvr:rvnDellInc.:rn0492YX:rvrA00:cvnDellInc.:ct3:cvr:sku0B8A:
dmi.product.family: OptiPlex
dmi.product.name: OptiPlex 3090
dmi.product.sku: 0B8A
dmi.sys.vendor: Dell Inc.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

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/FindRightPackage. 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.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Juerg Haefliger (juergh) wrote :

Please run 'apport-collect 2031537' which will collect some data from your system and attach it to this bug.

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected lunar wayland-session
description: updated
Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : Lspci.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : Lspci-vt.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : Lsusb-v.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : PaInfo.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : ProcEnviron.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : ProcInterrupts.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : ProcModules.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : UdevDb.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : WifiSyslog.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : acpidump.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : Re: Ethernet not staple 23.4 (RTL8168/8169)
Download full text (6.2 KiB)

hi I ran it , but the setting of the device has changed as I changed to NetworkManage instead of networkd with which the original pug was reported ,as I added (Samsung SSD 980 PRO 2TB (5B2QGXA7)) to my pc after which the pc wasn't able to connect at all.
after converting to NetworkManage luckily it connected for more than a day then disconnected and didn't reconnect without a restart

now I thought it may be caused by the bridge connection or networkd but i think the same problem still exist with NetworkManage

but some thing may happened between the new ssd and networkd may be

this is the new dmesg:

[Fri Aug 18 13:12:01 2023] audit: type=1326 audit(1692353522.033:201): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.snap-store.ubuntu-software pid=2945 comm="pool-org.gnome." exe="/snap/snap-store/959/usr/bin/snap-store" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7f064f827c4b code=0x50000
[Fri Aug 18 17:49:35 2023] ------------[ cut here ]------------
[Fri Aug 18 17:49:35 2023] NETDEV WATCHDOG: enp3s0 (r8169): transmit queue 0 timed out
[Fri Aug 18 17:49:35 2023] WARNING: CPU: 9 PID: 0 at net/sched/sch_generic.c:525 dev_watchdog+0x23a/0x250
[Fri Aug 18 17:49:35 2023] Modules linked in: snd_seq_dummy snd_hrtimer binfmt_misc nvidia_uvm(PO) nvidia_drm(PO) intel_rapl_msr intel_rapl_common intel_tcc_cooling nvidia_modeset(PO) x86_pkg_temp_thermal intel_powerclamp snd_ctl_led snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi snd_hda_codec_realtek soundwire_bus snd_hda_codec_generic coretemp snd_soc_core nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine kvm nvidia(PO) snd_hda_codec_hdmi irqbypass i915 snd_hda_intel crct10dif_pclmul polyval_clmulni snd_intel_dspcfg mei_hdcp polyval_generic snd_seq_midi snd_intel_sdw_acpi mei_pxp ghash_clmulni_intel drm_buddy snd_hda_codec sha512_ssse3 snd_seq_midi_event aesni_intel ttm snd_rawmidi dell_wmi drm_display_helper crypto_simd snd_hda_core snd_seq cryptd snd_hwdep cec rapl snd_pcm rc_core
[Fri Aug 18 17:49:35 2023] snd_seq_device dell_smbios snd_timer intel_cstate drm_kms_helper cmdlinepart i2c_algo_bit snd syscopyarea dcdbas mei_me sysfillrect dell_wmi_sysman spi_nor ledtrig_audio sysimgblt soundcore sparse_keymap intel_pch_thermal mei mtd firmware_attributes_class dell_wmi_descriptor ee1004 wmi_bmof input_leds acpi_pad mac_hid msr parport_pc ppdev lp parport drm efi_pstore dmi_sysfs ip_tables x_tables autofs4 hid_generic usbhid hid nvme crc32_pclmul nvme_core r8169 ahci i2c_i801 intel_lpss_pci spi_intel_pci video xhci_pci spi_intel i2c_smbus intel_lpss libahci realtek nvme_common xhci_pci_renesas idma64 wmi pinctrl_cannonlake
[Fri Aug 18 17:49:35 2023] CPU: 9 PID: 0 Comm: swapper/9 Tainted: P O 6.2.0-27-generic #28-Ubuntu
[Fri Aug 18 17:49:35 2023] Hardware name: Dell Inc. OptiPlex 3090/0492YX, BIOS 2.14.0 06/27/2023
[Fri Aug 18 17:49:35 2023] RIP: 0010:dev_watchdog+0x23a/0x250
[Fri Aug 18 17:49:35 2023] Code: 00 e9 2b ff ff ff 48 89 df c6 05 6a 8b 75 01 01 e8 3b 07 f8 ff 44 ...

Read more...

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 2031537

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : AlsaInfo.txt

apport information

description: updated
Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : CurrentDmesg.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : IwConfig.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : Lspci.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : Lspci-vt.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : Lsusb-v.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : PaInfo.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : ProcEnviron.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : ProcInterrupts.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : ProcModules.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : UdevDb.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : WifiSyslog.txt

apport information

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Juerg Haefliger (juergh)
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)
Revision history for this message
Juerg Haefliger (juergh) wrote :

https://bugzilla.kernel.org/show_bug.cgi?id=216884

While the bug report is for LoongArch, there are comments about issues on x86 as well.

Revision history for this message
Juerg Haefliger (juergh) wrote :

Can you add 'pcie_aspm=off' to the kernel commandline and let us know if that makes a difference?

Revision history for this message
Javinator9889 (javinator9889) wrote :

I'll change it and let you know if something is different.

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote (last edit ):

I did the following
- ran sudo nano /etc/default/grub
- changed
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=off"
saved the changes
- ran sudo update-grub
the network was off when I did that so I restarted the system and the network disconnected again within mins

I ran 'sudo sysctl -a | grep pcie' and there is no output i ran pcie_aspm=off then no output again for 'sudo sysctl -a | grep pcie'

is there something I am doing wrong here ?

Revision history for this message
Juerg Haefliger (juergh) wrote :

This is not a sysctl so you want see it there. Try:
$ cat /proc/cmdline

And post the output of dmesg.

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote (last edit ):

thanks for your help the network disconnected again within half an hour I restarted the pc this is dmesg after restart

I deleted dmesg outbut so it do not distract any one 'sudo journalctl -b -1' output is at comment #43

46 comments hidden view all 125 comments
Revision history for this message
Juerg Haefliger (juergh) wrote :

That looks good. Reboot and select the kernel in grub and then check with 'uname -a'. Don't forget to disable SecureBoot first (in the BIOS).

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote (last edit ):

thanks @Juerg Haefliger,

I am on the test kernel now with pcie_aspm=off for 19 hours : 15 mins hope the network never let me down again I will modify this comment if any change happened

uname -a
Linux OptiPlex-3090 6.2.0-32-generic #32+lp2031537 SMP PREEMPT_DYNAMIC Tue Sep 5 07:27:25 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

sudo dmesg
[sudo] password for :
[ 0.000000] Linux version 6.2.0-32-generic (ubuntu@ip-10-0-61-144) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.40) #32+lp2031537 SMP PREEMPT_DYNAMIC Tue Sep 5 07:27:25 UTC 2023 (Ubuntu 6.2.0-32.32+lp2031537-generic 6.2.16)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.0-32-generic root=UUID=bad00fc3-af76-403c-a8f8-e4b840d16e23 ro quiet splash pcie_aspm=off vt.handoff=7

Revision history for this message
Juerg Haefliger (juergh) wrote :

Remove 'pcie_aspm=off', that should not be necessary anymore.

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote (last edit ):

thanks @Juerg Haefliger I reversed my comment #38 I want it to be up for as long as possible to test it so if I don't have to I will keep is running till the next reboot when pcie_aspm=off would be removed

Revision history for this message
Juerg Haefliger (juergh) wrote :

The test is meaningless with 'pcie_aspm=off`. The test kernel has to work without that parameter and if it doesn't it means the fix is no good. Please test without the parameter.

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote (last edit ):

done @Juerg Haefliger I restarted the pc will monitor and update this comment if any thing happened

uname -a

Linux OptiPlex-3090 6.2.0-32-generic #32+lp2031537 SMP PREEMPT_DYNAMIC Tue Sep 5 07:27:25 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

sudo dmesg

[sudo] password for :
[ 0.000000] Linux version 6.2.0-32-generic (ubuntu@ip-10-0-61-144) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.40) #32+lp2031537 SMP PREEMPT_DYNAMIC Tue Sep 5 07:27:25 UTC 2023 (Ubuntu 6.2.0-32.32+lp2031537-generic 6.2.16)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.0-32-generic root=UUID=bad00fc3-af76-403c-a8f8-e4b840d16e23 ro quiet splash vt.handoff=7

Revision history for this message
Patrick Ostler (patchos) wrote (last edit ):

Hi Juerg,

Just wanted to report that the test kernel is working for me -- I had the exact scenario described in duplicate #2031448 that was folded into this bug#.

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote (last edit ):

this session was up for around 25 hours , I wanted to make it up for longer to test but the electricity gone down , I hope it is enough to test the fix I will post any problem if detected

sudo journalctl -b -2 --dmesg | grep r8169
Sep 07 14:31:42 ahmed-OptiPlex-3090 kernel: r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
Sep 07 14:31:42 ahmed-OptiPlex-3090 kernel: r8169 0000:03:00.0 eth0: RTL8168h/8111h, c0:25:a5:b6:a9:22, XID 541, IRQ 140
Sep 07 14:31:42 ahmed-OptiPlex-3090 kernel: r8169 0000:03:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
Sep 07 14:31:42 ahmed-OptiPlex-3090 kernel: r8169 0000:03:00.0 enp3s0: renamed from eth0
Sep 07 14:31:43 ahmed-OptiPlex-3090 kernel: Generic FE-GE Realtek PHY r8169-0-300:00: attached PHY driver (mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
Sep 07 14:31:44 ahmed-OptiPlex-3090 kernel: r8169 0000:03:00.0 enp3s0: Link is Down
Sep 07 14:31:44 ahmed-OptiPlex-3090 kernel: r8169 0000:03:00.0: invalid VPD tag 0x00 (size 0) at offset 0; assume missing optional EEPROM
Sep 07 14:31:47 ahmed-OptiPlex-3090 kernel: r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow control off
Sep 07 17:57:55 ahmed-OptiPlex-3090 kernel: r8169 0000:03:00.0 enp3s0: Link is Down
Sep 07 18:01:15 ahmed-OptiPlex-3090 kernel: r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow control off

the ups is not working the electricity went out again but during the time it was up there is nothing different than appove , I hope I can test it for longer period

I hope the fix will be merged soon with the the kernel

Juerg Haefliger (juergh)
description: updated
description: updated
description: updated
Stefan Bader (smb)
Changed in linux (Ubuntu Lunar):
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Larry Chiang (larry0806) wrote :

Dear Team,

   Any news? When will release the official update for this issue? Or need to fix it manually?

   Thank you

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote :

Dear @Larry,

I tested the kernel in comment #78 and the bug didn't show up again it is a test kernel , but Garry in comment 70 mentioned it is fixed already in kernel 6.4 I have no problem keeping the test kernel till ubuntu 23.10 release with kernel 6.5

Revision history for this message
Juerg Haefliger (juergh) wrote :

Patches are in the pipeline:
https://lists.ubuntu.com/archives/kernel-team/2023-September/142665.html

You just need to wait until an updated kernel falls out on the other side. SRU release schedule:
https://kernel.ubuntu.com

Changed in linux (Ubuntu Lunar):
status: In Progress → Fix Committed
Revision history for this message
Larry Chiang (larry0806) wrote :

Dear Team,

   I'm looking for update on ubuntu 22.04, if there have no plan to update this, I need some quick solution...

   Or rollback to kernel 5... or please provide how to migrate kernel to 6.4 or 6.5 on 22.04

   Thank you

Revision history for this message
Juerg Haefliger (juergh) wrote :

This will automatically roll back into the 22.04 HWE kernel. There's no quick solution other than running an unsupported test kernel or the GA 5.15 kernel.

Revision history for this message
Adriano (blkzoid) wrote :

I had the same issue. I changed ASPM to disable in BIOS and now issue gone.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/6.2.0-36.37 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-lunar-linux' to 'verification-done-lunar-linux'. If the problem still exists, change the tag 'verification-needed-lunar-linux' to 'verification-failed-lunar-linux'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-lunar-linux-v2 verification-needed-lunar-linux
Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote :

hi all,

when I changed setting to get pre release the kernel wasn't there yet

I downloaded those files

linux-headers-6.2.0-36_6.2.0-36.37_all.deb
linux-headers-6.2.0-36-generic_6.2.0-36.37_amd64.deb
linux-image-unsigned-6.2.0-36-generic_6.2.0-36.37_amd64.deb
linux-modules-6.2.0-36-generic_6.2.0-36.37_amd64.deb
linux-modules-extra-6.2.0-36-generic_6.2.0-36.37_amd64.deb

from https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/26751907

ran sudo dpkg -i *.deb in the file I created specifically to put them in

uname -a
Linux OptiPlex-3090 6.2.0-36-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct 4 10:14:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

this is my running kernel now I hope it is all okay

tags: added: verification-done-lunar-linux
removed: verification-needed-lunar-linux
Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote :

I monitored for 3 days with no problem I changed the tag so that the change don't drop automatically the bug may appear after longer period if so I will change it

Revision history for this message
Garry (garry0garry) wrote :
Download full text (4.5 KiB)

6.2.0-34-generic (release)
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash fsck.mode=force fsck.repair=yes pcie_aspm=off"

When the driver fails, NetworkManager shows "active (running)" and /sys/class/net/enp2s0/speed shows "1000" :-(

kernel: ------------[ cut here ]------------
kernel: NETDEV WATCHDOG: enp2s0 (r8169): transmit queue 0 timed out
kernel: WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:525 dev_watchdog+0x21f/0x230
kernel: Modules linked in: rfcomm tls xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xfrm_algo xt_addrtype nft_compat nf_tables libc>
kernel: snd_rawmidi rc_core crct10dif_pclmul btusb snd_seq polyval_generic ghash_clmulni_intel drm_kms_helper btrtl btbcm snd_seq_device sha512_ssse3 i2c_algo_bit btintel snd_timer aesni_intel syscopyarea i>
kernel: CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.2.0-34-generic #34~22.04.1-Ubuntu
kernel: Hardware name: AZW U59/U59, BIOS JTKT001 05/05/2022
kernel: RIP: 0010:dev_watchdog+0x21f/0x230
kernel: Code: 00 e9 31 ff ff ff 4c 89 e7 c6 05 96 6c 78 01 01 e8 26 00 f8 ff 44 89 f1 4c 89 e6 48 c7 c7 38 5c c4 aa 48 89 c2 e8 01 d6 2b ff <0f> 0b e9 22 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90
kernel: RSP: 0018:ffffb28c4007ce70 EFLAGS: 00010246
kernel: RAX: 0000000000000000 RBX: ffff9b8fd24784c8 RCX: 0000000000000000
kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
kernel: RBP: ffffb28c4007ce98 R08: 0000000000000000 R09: 0000000000000000
kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff9b8fd2478000
kernel: R13: ffff9b8fd247841c R14: 0000000000000000 R15: 0000000000000000
kernel: FS: 0000000000000000(0000) GS:ffff9b9330080000(0000) knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 000000c000133010 CR3: 00000001d9210000 CR4: 0000000000350ee0
kernel: Call Trace:
kernel: <IRQ>
kernel: ? show_regs+0x72/0x90
kernel: ? dev_watchdog+0x21f/0x230
kernel: ? __warn+0x8d/0x160
kernel: ? dev_watchdog+0x21f/0x230
kernel: ? report_bug+0x1bb/0x1d0
kernel: ? irq_work_queue+0x32/0x80
kernel: ? handle_bug+0x46/0x90
kernel: ? exc_invalid_op+0x19/0x80
kernel: ? asm_exc_invalid_op+0x1b/0x20
kernel: ? dev_watchdog+0x21f/0x230
kernel: ? __pfx_dev_watchdog+0x10/0x10
kernel: call_timer_fn+0x29/0x160
kernel: ? __pfx_dev_watchdog+0x10/0x10
kernel: __run_timers.part.0+0x1fb/0x2b0
kernel: ? ktime_get+0x43/0xc0
kernel: ? __pfx_tick_sched_timer+0x10/0x10
kernel: ? lapic_next_deadline+0x2c/0x50
kernel: ? clockevents_program_event+0xb2/0x140
kernel: run_timer_softirq+0x2a/0x60
kernel: __do_softirq+0xda/0x330
kernel: ? hrtimer_interrupt+0x12b/0x250
kernel: __irq_exit_rcu+0xa2/0xd0
kernel: irq_exit_rcu+0xe/0x20
kernel: sysvec_apic_timer_interrupt+0x96/0xb0
kernel: </IRQ>
kernel: <TASK>
kernel: asm_sysvec_apic_timer_interrupt+0x1b/0x20
kernel: RIP: 0010:cpuidle_enter_state+0xde/0x6f0
kernel: Code: 61 11 56 e8 a4 2b 45 ff 8b 53 04 49 89 c7 0f 1f 44 00 00 31 ff e8 52 0a 44 ff 80 7d d0 00 0f 85 e8 00 00 00 fb 0f 1f 44 00 00 <45> 85 f6 0f 88 0f 02 00 00 4d 63 ee 49 83 fd 09 0f 87 c4 04 00 00
kernel: RSP: 0018:ffffb28c4012be28 EFLAGS: 00000246
k...

Read more...

Revision history for this message
ahmed hanafi al-sayed (ahmed-hanafi-data) wrote :

Hi garry could you test the kernel in comment #101 please

Garry (garry0garry)
Changed in linux (Ubuntu Lunar):
status: Fix Committed → Fix Released
Revision history for this message
Juerg Haefliger (juergh) wrote :

Please do not change the status of the ticket manually. It's automatically updated by automation.

Changed in linux (Ubuntu Lunar):
status: Fix Released → Fix Committed
Revision history for this message
Marcelo Pio de Castro (marcelopiodti) wrote :

Is this going to be backported to normal 22.04 kernel (not HWE)? I believe this issue affects a lot of DELL notebooks, like the one I am using on my work PC

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Targeted to jammy since at least one of the duplicates is specifically talking about 22.04.

no longer affects: linux-hwe-6.2 (Ubuntu Lunar)
no longer affects: linux (Ubuntu Jammy)
Changed in linux-hwe-6.2 (Ubuntu Jammy):
status: New → Confirmed
Changed in linux-hwe-6.2 (Ubuntu):
status: New → Invalid
Revision history for this message
Juerg Haefliger (juergh) wrote :

@marcelopiodt Please provide logs from 5.15 that show the problem. I don't believe 5.15 is affected.

Revision history for this message
Larry Chiang (larry0806) wrote :

Dear Juerg,

  I'm using ubuntu 22.04 without developer options, so I'm waiting to 6.2.0-36 /37 is supported on this verison

larry@larry-HP-ProBook-430-G7:~$ uname -a
Linux larry-HP-ProBook-430-G7 6.2.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 6 10:23:26 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

larry@larry-HP-ProBook-430-G7:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy

  Thank you

Revision history for this message
Garry (garry0garry) wrote :

Availability check with reboot in case of driver failure.

sudo -i crontab -e
add
*/1 * * * * path/test_eth.sh

test_eth.sh:

#!/bin/bash
if ping -c 4 interface_IP >> /dev/null
  then exit 0
else
  /sbin/shutdown -r now
fi

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (104.3 KiB)

This bug was fixed in the package linux-hwe-6.2 - 6.2.0-36.37~22.04.1

---------------
linux-hwe-6.2 (6.2.0-36.37~22.04.1) jammy; urgency=medium

  * jammy/linux-hwe-6.2: 6.2.0-36.37~22.04.1 -proposed tracker (LP: #2038075)

  [ Ubuntu: 6.2.0-36.37 ]

  * lunar/linux: 6.2.0-36.37 -proposed tracker (LP: #2038076)
  * Regression for ubuntu_bpf test build caused by upstream bdeeed3498c7
    (LP: #2035181)
    - selftests/bpf: fix static assert compilation issue for test_cls_*.c
  * CVE-2023-4244
    - netfilter: nf_tables: don't skip expired elements during walk
    - netfilter: nf_tables: adapt set backend to use GC transaction API
    - netfilter: nft_set_hash: mark set element as dead when deleting from packet
      path
    - netfilter: nf_tables: GC transaction API to avoid race with control plane
    - netfilter: nf_tables: don't fail inserts if duplicate has expired
    - netfilter: nf_tables: fix kdoc warnings after gc rework
    - netfilter: nf_tables: fix GC transaction races with netns and netlink event
      exit path
    - netfilter: nf_tables: GC transaction race with netns dismantle
    - netfilter: nf_tables: GC transaction race with abort path
    - netfilter: nf_tables: use correct lock to protect gc_list
    - netfilter: nf_tables: defer gc run if previous batch is still pending
    - netfilter: nft_dynset: disallow object maps
    - netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction
  * CVE-2023-4563
    - netfilter: nf_tables: remove busy mark and gc batch API
  * CVE-2023-42756
    - netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
  * CVE-2023-4623
    - net/sched: sch_hfsc: Ensure inner classes have fsc curve
  * Fix unstable audio at low levels on Thinkpad P1G4 (LP: #2037077)
    - ALSA: hda/realtek - ALC287 I2S speaker platform support
  * Lunar update: upstream stable patchset 2023-09-21 (LP: #2037005)
    - Upstream stable to v6.1.41, v6.4.6
    - io_uring: treat -EAGAIN for REQ_F_NOWAIT as final for io-wq
    - ALSA: hda/realtek - remove 3k pull low procedure
    - ALSA: hda/realtek: Add quirk for Clevo NS70AU
    - ALSA: hda/realtek: Enable Mute LED on HP Laptop 15s-eq2xxx
    - maple_tree: set the node limit when creating a new root node
    - maple_tree: fix node allocation testing on 32 bit
    - keys: Fix linking a duplicate key to a keyring's assoc_array
    - perf probe: Add test for regression introduced by switch to
      die_get_decl_file()
    - btrfs: fix warning when putting transaction with qgroups enabled after abort
    - fuse: revalidate: don't invalidate if interrupted
    - fuse: Apply flags2 only when userspace set the FUSE_INIT_EXT
    - btrfs: set_page_extent_mapped after read_folio in btrfs_cont_expand
    - btrfs: zoned: fix memory leak after finding block group with super blocks
    - fuse: ioctl: translate ENOSYS in outarg
    - btrfs: fix race between balance and cancel/pause
    - selftests: tc: set timeout to 15 minutes
    - selftests: tc: add 'ct' action kconfig dep
    - regmap: Drop initial version of maximum transfer length fixes
    - of: Preserve "of-display" device name for compatibility
    - regmap: Account for register length in S...

Changed in linux-hwe-6.2 (Ubuntu Jammy):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (104.2 KiB)

This bug was fixed in the package linux - 6.2.0-36.37

---------------
linux (6.2.0-36.37) lunar; urgency=medium

  * lunar/linux: 6.2.0-36.37 -proposed tracker (LP: #2038076)

  * Regression for ubuntu_bpf test build caused by upstream bdeeed3498c7
    (LP: #2035181)
    - selftests/bpf: fix static assert compilation issue for test_cls_*.c

  * CVE-2023-4244
    - netfilter: nf_tables: don't skip expired elements during walk
    - netfilter: nf_tables: adapt set backend to use GC transaction API
    - netfilter: nft_set_hash: mark set element as dead when deleting from packet
      path
    - netfilter: nf_tables: GC transaction API to avoid race with control plane
    - netfilter: nf_tables: don't fail inserts if duplicate has expired
    - netfilter: nf_tables: fix kdoc warnings after gc rework
    - netfilter: nf_tables: fix GC transaction races with netns and netlink event
      exit path
    - netfilter: nf_tables: GC transaction race with netns dismantle
    - netfilter: nf_tables: GC transaction race with abort path
    - netfilter: nf_tables: use correct lock to protect gc_list
    - netfilter: nf_tables: defer gc run if previous batch is still pending
    - netfilter: nft_dynset: disallow object maps
    - netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction

  * CVE-2023-4563
    - netfilter: nf_tables: remove busy mark and gc batch API

  * CVE-2023-42756
    - netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP

  * CVE-2023-4623
    - net/sched: sch_hfsc: Ensure inner classes have fsc curve

  * Fix unstable audio at low levels on Thinkpad P1G4 (LP: #2037077)
    - ALSA: hda/realtek - ALC287 I2S speaker platform support

  * Lunar update: upstream stable patchset 2023-09-21 (LP: #2037005)
    - Upstream stable to v6.1.41, v6.4.6
    - io_uring: treat -EAGAIN for REQ_F_NOWAIT as final for io-wq
    - ALSA: hda/realtek - remove 3k pull low procedure
    - ALSA: hda/realtek: Add quirk for Clevo NS70AU
    - ALSA: hda/realtek: Enable Mute LED on HP Laptop 15s-eq2xxx
    - maple_tree: set the node limit when creating a new root node
    - maple_tree: fix node allocation testing on 32 bit
    - keys: Fix linking a duplicate key to a keyring's assoc_array
    - perf probe: Add test for regression introduced by switch to
      die_get_decl_file()
    - btrfs: fix warning when putting transaction with qgroups enabled after abort
    - fuse: revalidate: don't invalidate if interrupted
    - fuse: Apply flags2 only when userspace set the FUSE_INIT_EXT
    - btrfs: set_page_extent_mapped after read_folio in btrfs_cont_expand
    - btrfs: zoned: fix memory leak after finding block group with super blocks
    - fuse: ioctl: translate ENOSYS in outarg
    - btrfs: fix race between balance and cancel/pause
    - selftests: tc: set timeout to 15 minutes
    - selftests: tc: add 'ct' action kconfig dep
    - regmap: Drop initial version of maximum transfer length fixes
    - of: Preserve "of-display" device name for compatibility
    - regmap: Account for register length in SMBus I/O limits
    - arm64/fpsimd: Ensure SME storage is allocated after SVE VL changes
    - can: mcp251xfd: __mcp251xfd_chip_set...

Changed in linux (Ubuntu Lunar):
status: Fix Committed → Fix Released
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-riscv/6.2.0-36.37.1 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-lunar-linux-riscv' to 'verification-done-lunar-linux-riscv'. If the problem still exists, change the tag 'verification-needed-lunar-linux-riscv' to 'verification-failed-lunar-linux-riscv'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-lunar-linux-riscv-v2 verification-needed-lunar-linux-riscv
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-starfive-6.2/6.2.0-1008.9~22.04.1 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy-linux-starfive-6.2' to 'verification-done-jammy-linux-starfive-6.2'. If the problem still exists, change the tag 'verification-needed-jammy-linux-starfive-6.2' to 'verification-failed-jammy-linux-starfive-6.2'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-starfive-6.2-v2 verification-needed-jammy-linux-starfive-6.2
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oracle/6.2.0-1015.15 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-lunar-linux-oracle' to 'verification-done-lunar-linux-oracle'. If the problem still exists, change the tag 'verification-needed-lunar-linux-oracle' to 'verification-failed-lunar-linux-oracle'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-lunar-linux-oracle-v2 verification-needed-lunar-linux-oracle
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oracle-6.2/6.2.0-1015.15~22.04.1 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy-linux-oracle-6.2' to 'verification-done-jammy-linux-oracle-6.2'. If the problem still exists, change the tag 'verification-needed-jammy-linux-oracle-6.2' to 'verification-failed-jammy-linux-oracle-6.2'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-oracle-6.2-v2 verification-needed-jammy-linux-oracle-6.2
Revision history for this message
Garry (garry0garry) wrote :

I've updated. Using crontab, I start collecting information in case of a failure. What else should I add?

#!/bin/bash
if /bin/ping -c 4 IP &> /dev/null
  then exit 0
else
  /bin/date >> path/test_eth.log
  echo ' ' >> path/test_eth.log
  /bin/uname -a >> path/test_eth.log
  echo ' ' >> path/test_eth.log
  /bin/lsb_release -a >> path/test_eth.log
  echo ' ' >> path/test_eth.log
  /sbin/ifconfig >> path/test_eth.log
  echo ' ' >> path/test_eth.log
  /bin/ip address >> path/test_eth.log
  echo ' ' >> path/test_eth.log
  /bin/dmesg -l crit,err,warn >> path/test_eth.log
  echo ' ' >> path/test_eth.log
  /bin/systemctl status NetworkManager >> path/test_eth.log
  echo ' ' >> path/test_eth.log
  /bin/inxi -Fzc0y-1 >> path/test_eth.log
  echo 'reboot' >> path/test_eth.log
  /sbin/reboot
fi

Revision history for this message
Juerg Haefliger (juergh) wrote :

> I've updated. Using crontab, I start collecting information in case of a failure. What else should I add?

Nothing. This is 'Fix Released', so all done from our perspective.

Revision history for this message
Garry (garry0garry) wrote :

> This is 'Fix Released', so all done from our perspective.

I am willing to collect data automatically if the problem is not resolved. Today I don't see a problem. But only 5 days have passed, this is not the period in which one can understand that the problem has been solved.

Revision history for this message
Larry Chiang (larry0806) wrote :

I think 6.2.0.36 already supported 22.04 last week, my laptop ether survive for 4 days without crash. Many thanks for everyone's hard work, nice to work with you all.

Revision history for this message
ils (etnivor) wrote :

This bugfix seems to prevent my i3-13100 cpu to enter lower sleep states than C3.

This is just a guess but after getting kernel Ubuntu-6.2.0-36.36 my cpu no longer reach C6 sleep state.

Disabling my Realtek RTL8125 in BIOS, enables cpu to reach deeper sleep states again.

Revision history for this message
Juerg Haefliger (juergh) wrote :

That's a different issues. Please open a new ticket.

Revision history for this message
ils (etnivor) wrote :

How is this different issue?
This patch is the likely cause that sleep states stops working with my RTL8125 chip.

This patch was introduced in Ubuntu-6.2.0-36.36 where cpu sleep states lower than c3 stopped working when RTL8125 is enabled.

No other Realtek changes that I can see in the changelog for Ubuntu-6.2.0-36.36.

Revision history for this message
Juerg Haefliger (juergh) wrote :

This ticket is about transmit queue timeouts. Are you seeing that? No. So it's a different problem. Whether that problem was introduces with this patchset is irrelevant. This ticket is closed. If you want someone to look at your (new) problem you need to open a new ticket.

Displaying first 40 and last 40 comments. View all 125 comments or add a comment.