Dear Teams,

  I think it's critical issue, it will let PC / Laptop / Server unstable
if you're using realtek 6110-6189.

my dmesg as below:
16558.842853] ------------[ cut here ]------------
[16558.842856] NETDEV WATCHDOG: enp1s0 (r8169): transmit queue 0 timed out
[16558.842869] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:525 
dev_watchdog+0x21f/0x230
[16558.842874] Modules linked in: rfcomm l2tp_ppp l2tp_netlink l2tp_core 
ip6_udp_tunnel udp_tunnel pppox xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat 
nf_conntrack_netlink nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_addrtype 
nft_compat nf_tables libcrc32c nfnetlink br_netfilter bridge stp llc xfrm_user 
xfrm_algo nls_utf8 cifs cifs_arc4 cifs_md4 fscache netfs cmac algif_hash 
algif_skcipher af_alg bnep snd_ctl_led overlay snd_soc_skl_hda_dsp 
snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_sof_probes 
snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio 
snd_soc_dmic 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 soundwire_bus snd_soc_core 
intel_tcc_cooling snd_compress ac97_bus snd_pcm_dmaengine x86_pkg_temp_thermal 
intel_powerclamp snd_hda_intel
[16558.842930]  snd_intel_dspcfg coretemp snd_intel_sdw_acpi mei_pxp 
binfmt_misc snd_hda_codec snd_hda_core kvm_intel mei_hdcp intel_rapl_msr 
snd_hwdep nls_iso8859_1 i915 kvm irqbypass crct10dif_pclmul snd_pcm 
polyval_clmulni polyval_generic ghash_clmulni_intel sha512_ssse3 iwlmvm 
aesni_intel snd_seq_midi snd_seq_midi_event uvcvideo crypto_simd cryptd 
snd_rawmidi videobuf2_vmalloc rapl drm_buddy intel_cstate videobuf2_memops 
btusb ttm btrtl mac80211 videobuf2_v4l2 snd_seq drm_display_helper videodev 
hp_wmi btbcm cec btintel sparse_keymap processor_thermal_device_pci_legacy 
videobuf2_common rc_core btmtk snd_seq_device libarc4 serio_raw 
platform_profile wmi_bmof cmdlinepart mc input_leds joydev 
processor_thermal_device snd_timer bluetooth drm_kms_helper iwlwifi spi_nor 
processor_thermal_rfim mtd snd i2c_algo_bit syscopyarea processor_thermal_mbox 
ee1004 ecdh_generic cfg80211 ecc soundcore processor_thermal_rapl sysfillrect 
mei_me hid_multitouch sysimgblt intel_rapl_common hp_accel mei
[16558.842995]  intel_soc_dts_iosf intel_pch_thermal int3403_thermal lis3lv02d 
int340x_thermal_zone int3400_thermal acpi_thermal_rel wireless_hotkey mac_hid 
acpi_pad sch_fq_codel msr parport_pc ppdev lp parport drm ramoops reed_solomon 
pstore_blk pstore_zone efi_pstore ip_tables x_tables autofs4 usbhid hid_generic 
nvme i2c_i801 spi_intel_pci crc32_pclmul i2c_smbus spi_intel r8169 ucsi_acpi 
sdhci_pci nvme_core cqhci ahci typec_ucsi intel_lpss_pci sdhci nvme_common 
xhci_pci intel_lpss realtek libahci idma64 xhci_pci_renesas typec i2c_hid_acpi 
i2c_hid hid video wmi pinctrl_cannonlake
[16558.843047] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.2.0-26-generic 
#26~22.04.1-Ubuntu
[16558.843048] Hardware name: HP HP ProBook 430 G7/869B, BIOS S71 Ver. 01.10.00 
07/27/2021
[16558.843049] RIP: 0010:dev_watchdog+0x21f/0x230
[16558.843052] Code: 00 e9 31 ff ff ff 4c 89 e7 c6 05 f5 a9 78 01 01 e8 c6 ff 
f7 ff 44 89 f1 4c 89 e6 48 c7 c7 08 30 c4 ab 48 89 c2 e8 31 0b 2c ff <0f> 0b e9 
22 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90
[16558.843074] RSP: 0018:ffffb78a00003e70 EFLAGS: 00010246
[16558.843075] RAX: 0000000000000000 RBX: ffff8b3c963cc4c8 RCX: 0000000000000000
[16558.843076] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[16558.843077] RBP: ffffb78a00003e98 R08: 0000000000000000 R09: 0000000000000000
[16558.843078] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8b3c963cc000
[16558.843079] R13: ffff8b3c963cc41c R14: 0000000000000000 R15: 0000000000000000
[16558.843080] FS:  0000000000000000(0000) GS:ffff8b3f97600000(0000) 
knlGS:0000000000000000
[16558.843081] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16558.843082] CR2: 0000095801029000 CR3: 00000002941fe001 CR4: 00000000003706f0
[16558.843083] Call Trace:
[16558.843084]  <IRQ>
[16558.843087]  ? __pfx_dev_watchdog+0x10/0x10
[16558.843089]  call_timer_fn+0x29/0x160
[16558.843092]  ? __pfx_dev_watchdog+0x10/0x10
[16558.843094]  __run_timers.part.0+0x1fb/0x2b0
[16558.843096]  run_timer_softirq+0x2a/0x60
[16558.843098]  __do_softirq+0xda/0x330
[16558.843100]  ? hrtimer_interrupt+0x12b/0x250
[16558.843102]  __irq_exit_rcu+0xa2/0xd0
[16558.843104]  irq_exit_rcu+0xe/0x20
[16558.843106]  sysvec_apic_timer_interrupt+0x96/0xb0
[16558.843107]  </IRQ>
[16558.843108]  <TASK>
[16558.843109]  asm_sysvec_apic_timer_interrupt+0x1b/0x20
[16558.843111] RIP: 0010:cpuidle_enter_state+0xde/0x6f0
[16558.843113] Code: a6 11 55 e8 b4 5f 45 ff 8b 53 04 49 89 c7 0f 1f 44 00 00 
31 ff e8 72 3e 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
[16558.843114] RSP: 0018:ffffffffac403dd0 EFLAGS: 00000246
[16558.843116] RAX: 0000000000000000 RBX: ffffd789ffc00000 RCX: 0000000000000000
[16558.843117] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[16558.843118] RBP: ffffffffac403e20 R08: 0000000000000000 R09: 0000000000000000
[16558.843119] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffac6c22c0
[16558.843120] R13: 0000000000000001 R14: 0000000000000001 R15: 00000f0f67f21da5
[16558.843124]  cpuidle_enter+0x2e/0x50
[16558.843126]  cpuidle_idle_call+0x14f/0x1e0
[16558.843129]  do_idle+0x82/0x110
[16558.843131]  cpu_startup_entry+0x20/0x30
[16558.843134]  rest_init+0xe5/0x100
[16558.843136]  ? acpi_enable_subsystem+0xe0/0x2a0
[16558.843140]  arch_call_rest_init+0xe/0x30
[16558.843142]  start_kernel+0x3ba/0x530
[16558.843144]  x86_64_start_kernel+0x102/0x180
[16558.843145]  secondary_startup_64_no_verify+0xe5/0xeb
[16558.843149]  </TASK>
[16558.843149] ---[ end trace 0000000000000000 ]---
[16558.876306] r8169 0000:01:00.0 enp1s0: rtl_chipcmd_cond == 1 (loop: 100, 
delay: 100).
[16558.877535] r8169 0000:01:00.0 enp1s0: rtl_ephyar_cond == 1 (loop: 100, 
delay: 10).
[16558.878694] r8169 0000:01:00.0 enp1s0: rtl_ephyar_cond == 1 (loop: 100, 
delay: 10).
[16558.879989] r8169 0000:01:00.0 enp1s0: rtl_ephyar_cond == 1 (loop: 100, 
delay: 10).
[16558.881269] r8169 0000:01:00.0 enp1s0: rtl_ephyar_cond == 1 (loop: 100, 
delay: 10).
[16558.882462] r8169 0000:01:00.0 enp1s0: rtl_ephyar_cond == 1 (loop: 100, 
delay: 10).
[16558.883674] r8169 0000:01:00.0 enp1s0: rtl_ephyar_cond == 1 (loop: 100, 
delay: 10).
[16558.907941] r8169 0000:01:00.0 enp1s0: rtl_eriar_cond == 1 (loop: 100, 
delay: 100).
[16558.928069] r8169 0000:01:00.0 enp1s0: rtl_eriar_cond == 1 (loop: 100, 
delay: 100).
[16558.948305] r8169 0000:01:00.0 enp1s0: rtl_eriar_cond == 1 (loop: 100, 
delay: 100).
[16596.763807] net_ratelimit: 9 callbacks suppressed

   I already tried to build realtek ether driver by myself r8169-6.031,
doesn't work for me. All I think we need to narrow down the scope the
issue belong to kernel upgrade or driver itself? In my case, it's
working good on kernel 5.15

   Current workaround is take another USB network card.

   Thank you

Best Regards

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-hwe-6.2 in Ubuntu.
https://bugs.launchpad.net/bugs/2031448

Title:
  ethernet r8169 not working on 22.04

Status in linux-hwe-6.2 package in Ubuntu:
  Incomplete

Bug description:
  6.2.0-26-generic

  lsb_release -rd
  Description:    Ubuntu 22.04.3 LTS
  Release:        22.04

  The ethernet port is unavailable:
  nmcli gives
  enp1s0: unavailable
          "Realtek RTL8111/8168/8411"
          ethernet (r8169), 68:1D:EF:33:55:E8, hw, mtu 1500

  nmcli con show
  NAME                UUID                                  TYPE      DEVICE 
  Dragonet_5G-irbddq  e60e8a3a-68d9-4167-b384-675ae682ed88  wifi      wlp2s0 
  Dragonet_irbddq     05fec9e3-6922-4335-9c04-055fbf20f2fc  wifi      --     
  wired-1             8db4c7d2-2100-4e49-b40b-0c04794f2a52  ethernet  --     

  
  sudo nmcli con up 'wired-1' 
  [sudo] password for steve: 
  Error: Connection activation failed: No suitable device found for this 
connection (device enp1s0 not available because device has no carrier).

  This is the same with or wothout a cable pluggen in.

  I expect the ethernet port to connect.

  I've tried installing r8168-dkms and blacklisting r8169 but the
  systtem then becomes so slow as to be unusable.

  TIA

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.2/+bug/2031448/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to