Hello,

I came back to the r8169 module with the 5.19.0-40-generic #41~22.04.1-Ubuntu 
module.
I removed the r8168 module and dkms.

The bug is still here, but now the ethernet link eth0 works only if i
reboot the remote device connected to the ethernet link.

Why is this regression? The 5.10.0 kernel from Debian 11 doesn't have
that problem : as soon as the eth0 link is up (sharing), the ethernet
link works with my remote device with no time limitation

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

Title:
  r8169 : eth0 link down after 5 minutes 'kernel: [ ] NETDEV WATCHDOG:
  enp2s0 (r8169): transmit queue 0 timed out

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hello,
  I use reverse tethering trough an ethernet link: my Ubuntu 22.04 LTS laptop 
is providing internet access to a LG CL600 thin client.
  This ethernet link works fine from power up until 5 minutes after this power 
up, then the ethernet link freezes.

  I don't have this problem when my laptop is providing the same internet 
access with Debian 11 live (kernel 5.10.0): in this case reverse tethering 
trough ethernet works fluently trough the time, no ethernet freeze at all.
  So my hardware isn't faulty, but there seems to be a regression in the kernel 
r8169 module, between the 5.10 and 5.15 kernels.

  Can you solve this regression?

  The r8169 module is a part the linux-modules-extra-5.15.0-52-generic package.
  Here is the involved sample from /var/log/syslog:

  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053253] ------------[ cut 
here ]------------
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053278] NETDEV WATCHDOG: 
enp2s0 (r8169): transmit queue 0 timed out
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053308] WARNING: CPU: 2 
PID: 0 at net/sched/sch_generic.c:477 dev_watchdog+0x277/0x280
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053326] Modules linked 
in: nft_reject_ipv4 nf_reject_ipv4 nft_reject nft_ct nft_masq nft_counter 
nft_chain_nat xt_MASQUERADE nft_compat bridge stp llc rfcomm ccm nf_tables 
nfnetlink nf_nat_h323 binfmt_misc nf_conntrack_h323 nf_nat_pptp 
nf_conntrack_pptp nf_nat_tftp nf_conntrack_tftp nf_nat_sip nf_conntrack_sip 
nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp iptable_nat nf_nat 
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c cmac algif_hash 
algif_skcipher af_alg bnep nls_iso8859_1 mei_hdcp intel_rapl_msr 
snd_hda_codec_conexant snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi 
snd_hda_intel intel_rapl_common snd_intel_dspcfg iwlmvm rtsx_usb_ms 
snd_intel_sdw_acpi mac80211 uvcvideo snd_usb_audio snd_hda_codec 
snd_usbmidi_lib snd_hda_core x86_pkg_temp_thermal intel_powerclamp 
videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev 
snd_hwdep libarc4 snd_seq_midi coretemp mc memstick snd_pcm snd_seq_m
 idi_event i915 kvm_intel snd_rawmidi snd_seq kvm
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053625]  iwlwifi ttm 
drm_kms_helper snd_seq_device snd_timer btusb crct10dif_pclmul btrtl btbcm 
ghash_clmulni_intel cec aesni_intel snd rc_core btintel crypto_simd 
i2c_algo_bit bluetooth mei_me cfg80211 cryptd mei soundcore at24 fb_sys_fops 
ecdh_generic ecc rapl intel_cstate syscopyarea sysfillrect sysimgblt joydev 
input_leds ideapad_laptop sparse_keymap serio_raw platform_profile mac_hid wmi 
acpi_pad sch_fq_codel ipmi_devintf ipmi_msghandler msr parport_pc ppdev lp mtd 
ramoops pstore_blk pstore_zone parport drm reed_solomon efi_pstore ip_tables 
x_tables autofs4 hid_generic usbhid rtsx_usb_sdmmc hid rtsx_usb i2c_i801 r8169 
ahci xhci_pci psmouse i2c_smbus crc32_pclmul lpc_ich libahci realtek 
xhci_pci_renesas video
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053905] CPU: 2 PID: 0 
Comm: swapper/2 Not tainted 5.15.0-48-generic #54-Ubuntu
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053914] Hardware name: 
LENOVO 80FF/Lenovo G70-80, BIOS ABCN80WW 05/18/2015
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053918] RIP: 
0010:dev_watchdog+0x277/0x280
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053931] Code: eb 97 48 8b 
5d d0 c6 05 03 39 69 01 01 48 89 df e8 ee 67 f9 ff 44 89 e1 48 89 de 48 c7 c7 
50 49 cd 8d 48 89 c2 e8 a7 bb 19 00 <0f> 0b eb 80 e9 51 25 23 00 0f 1f 44 00 00 
55 48 89 e5 41 57 41 56
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053938] RSP: 
0018:ffffc03440154e70 EFLAGS: 00010282
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053946] RAX: 
0000000000000000 RBX: ffffa05f80b34000 RCX: 0000000000000000
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053952] RDX: 
ffffa062cf32c240 RSI: ffffa062cf320580 RDI: 0000000000000300
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053957] RBP: 
ffffc03440154ea8 R08: 0000000000000003 R09: fffffffffffd7858
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053963] R10: 
0000000000ffff0a R11: 0000000000000001 R12: 0000000000000000
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053968] R13: 
ffffa05f80ca0280 R14: 0000000000000001 R15: ffffa05f80b344c0
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053974] FS:  
0000000000000000(0000) GS:ffffa062cf300000(0000) knlGS:0000000000000000
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053980] CS:  0010 DS: 
0000 ES: 0000 CR0: 0000000080050033
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053986] CR2: 
00001b2801ab4000 CR3: 0000000065010006 CR4: 00000000001706e0
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053991] Call Trace:
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.053996]  <IRQ>
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054002]  ? 
pfifo_fast_enqueue+0x160/0x160
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054011]  
call_timer_fn+0x2b/0x120
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054021]  
__run_timers.part.0+0x1e3/0x270
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054030]  ? 
ktime_get+0x46/0xc0
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054040]  ? 
lapic_next_deadline+0x2c/0x40
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054048]  ? 
clockevents_program_event+0xad/0x130
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054060]  
run_timer_softirq+0x2a/0x60
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054067]  
__do_softirq+0xd9/0x2e7
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054078]  
irq_exit_rcu+0x94/0xc0
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054089]  
sysvec_apic_timer_interrupt+0x80/0x90
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054098]  </IRQ>
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054101]  <TASK>
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054105]  
asm_sysvec_apic_timer_interrupt+0x1a/0x20
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054116] RIP: 
0010:cpuidle_enter_state+0xd9/0x620
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054126] Code: 3d c4 ef f9 
72 e8 17 d7 68 ff 49 89 c7 0f 1f 44 00 00 31 ff e8 58 e4 68 ff 80 7d d0 00 0f 
85 61 01 00 00 fb 66 0f 1f 44 00 00 <45> 85 f6 0f 88 6d 01 00 00 4d 63 ee 49 83 
fd 09 0f 87 e7 03 00 00
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054132] RSP: 
0018:ffffc034400dbe28 EFLAGS: 00000246
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054140] RAX: 
ffffa062cf330b80 RBX: ffffe0343fd00000 RCX: 0000000000000000
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054145] RDX: 
0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054150] RBP: 
ffffc034400dbe78 R08: 0000007d0addf354 R09: 0000000000000000
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054155] R10: 
0000000000000001 R11: 071c71c71c71c71c R12: ffffffff8e6d3ea0
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054160] R13: 
0000000000000008 R14: 0000000000000008 R15: 0000007d0addf354
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054170]  ? 
cpuidle_enter_state+0xc8/0x620
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054179]  ? 
tick_nohz_stop_tick+0x16a/0x1d0
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054187]  
cpuidle_enter+0x2e/0x50
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054195]  
cpuidle_idle_call+0x142/0x1e0
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054204]  do_idle+0x83/0xf0
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054211]  
cpu_startup_entry+0x20/0x30
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054218]  
start_secondary+0x12a/0x180
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054226]  
secondary_startup_64_no_verify+0xc2/0xcb
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054239]  </TASK>
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.054243] ---[ end trace 
c2eed5067b4f7a97 ]---
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.088290] r8169 
0000:02:00.0 enp2s0: rtl_chipcmd_cond == 1 (loop: 100, delay: 100).
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.111422] r8169 
0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.132412] r8169 
0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.153298] r8169 
0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.174101] r8169 
0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.194919] r8169 
0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.215935] r8169 
0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.237026] r8169 
0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.257993] r8169 
0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
  Oct 22 17:59:57 damien-Lenovo-G70-80 kernel: [  537.278709] r8169 
0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
  Oct 22 18:00:07 damien-Lenovo-G70-80 kernel: [  547.323071] net_ratelimit: 13 
callbacks suppressed

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-modules-extra-5.15.0-52-generic 5.15.0-52.58
  ProcVersionSignature: Ubuntu 5.15.0-52.58-generic 5.15.60
  Uname: Linux 5.15.0-52-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC2:  damien    13573 F.... pulseaudio
   /dev/snd/controlC0:  damien    13573 F.... pulseaudio
   /dev/snd/controlC1:  damien    13573 F.... pulseaudio
  CRDA: N/A
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Oct 28 21:58:45 2022
  InstallationDate: Installed on 2022-08-11 (78 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 
(20220419)
  MachineType: LENOVO 80FF
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-52-generic 
root=UUID=7fc394bb-09ee-4e3e-ae0e-505a4047663e ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-5.15.0-52-generic N/A
   linux-backports-modules-5.15.0-52-generic  N/A
   linux-firmware                             20220329.git681281e4-0ubuntu3.6
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/18/2015
  dmi.bios.release: 1.80
  dmi.bios.vendor: LENOVO
  dmi.bios.version: ABCN80WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: Lenovo G70-80
  dmi.board.vendor: LENOVO
  dmi.board.version: 31900058 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo G70-80
  dmi.ec.firmware.release: 1.80
  dmi.modalias: 
dmi:bvnLENOVO:bvrABCN80WW:bd05/18/2015:br1.80:efr1.80:svnLENOVO:pn80FF:pvrLenovoG70-80:rvnLENOVO:rnLenovoG70-80:rvr31900058WIN:cvnLENOVO:ct10:cvrLenovoG70-80:skuLENOVO_MT_80FF_BU_idea_FM_LenovoG70-80:
  dmi.product.family: IDEAPAD
  dmi.product.name: 80FF
  dmi.product.sku: LENOVO_MT_80FF_BU_idea_FM_Lenovo G70-80
  dmi.product.version: Lenovo G70-80
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1995147/+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