PVE7 - R8169 kernel module crash

Sellerie

Member
Oct 8, 2021
1
0
6
25
Hi there,
I just installed PVE on a small Asrock singleboard computer with an Intel Celeron J3455 CPU. Sadly the onboard ethernet adapter is not usable under PVE as the R8169 driver is crashing shortly after boot. I realized that this is also already happening in the setup enviroment.
Didnt have any issues with plain Debian earlier so no idea what went wrong here exactly.
Sadly this is the only onboard network card so the device is basically unusable like that...
Anyone maybe have an idea how to make this work?

This is the corresponding part from dmesg.

Code:
[   62.042001] ------------[ cut here ]------------
[   62.042060] NETDEV WATCHDOG: enp2s0 (r8169): transmit queue 0 timed out
[   62.042150] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:467 dev_watchdog+0x24c/0x250
[   62.042217] Modules linked in: ebtable_filter ebtables ip_set ip6table_raw iptable_raw ip6table_filter ip6_tables iptable_filter bpfilter bonding tls softdog nfnetlink_log nfnetlink snd_hda_codec_hdmi intel_rapl_msr intel_rapl_common snd_hda_codec_realtek snd_hda_codec_generic intel_pmc_bxt intel_telemetry_pltdrv intel_punit_ipc intel_telemetry_core snd_sof_pci x86_pkg_temp_thermal snd_sof_intel_hda_common intel_powerclamp coretemp snd_sof_intel_hda snd_sof_intel_byt kvm_intel snd_sof_intel_ipc snd_sof kvm snd_sof_xtensa_dsp ledtrig_audio irqbypass snd_soc_skl snd_soc_hdac_hda crct10dif_pclmul snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi ppdev ghash_clmulni_intel snd_hda_intel snd_intel_dspcfg soundwire_intel mei_hdcp soundwire_generic_allocation soundwire_cadence snd_hda_codec snd_hda_core snd_hwdep soundwire_bus aesni_intel i915 crypto_simd snd_soc_core cryptd glue_helper snd_compress ac97_bus rapl snd_pcm_dmaengine intel_cstate snd_pcm joydev
[   62.042441]  snd_timer drm_kms_helper input_leds efi_pstore pcspkr cec snd rc_core i2c_algo_bit fb_sys_fops syscopyarea sysfillrect soundcore sysimgblt mei_me at24 intel_xhci_usb_role_switch mei mac_hid parport_pc parport vhost_net vhost vhost_iotlb tap ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi drm sunrpc ip_tables x_tables autofs4 zfs(PO) zunicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) btrfs blake2b_generic xor raid6_pq libcrc32c hid_logitech_hidpp hid_logitech_dj hid_generic usbmouse usbkbd usbhid hid crc32_pclmul lpc_ich i2c_i801 i2c_smbus r8169 realtek xhci_pci ahci xhci_pci_renesas xhci_hcd libahci video pinctrl_broxton
[   62.043557] CPU: 2 PID: 0 Comm: swapper/2 Tainted: P           O      5.11.22-5-pve #1
[   62.043629] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./J3455B-ITX, BIOS P1.90 05/21/2018
[   62.043695] RIP: 0010:dev_watchdog+0x24c/0x250
[   62.043731] Code: fa 68 fd ff eb ab 4c 89 ff c6 05 64 62 4f 01 01 e8 49 20 fa ff 44 89 e9 4c 89 fe 48 c7 c7 c8 d1 e7 ad 48 89 c2 e8 fb 08 19 00 <0f> 0b eb 8c 0f 1f 44 00 00 55 48 89 e5 41 57 49 89 d7 41 56 4d 89
[   62.043852] RSP: 0018:ffffacf0c0130e90 EFLAGS: 00010286
[   62.043891] RAX: 0000000000000000 RBX: ffff9ceacebe9400 RCX: 000000000000083f
[   62.043943] RDX: 0000000000000000 RSI: 00000000000000f6 RDI: 000000000000083f
[   62.043994] RBP: ffffacf0c0130ec0 R08: 0000000000000000 R09: ffffacf0c0130c58
[   62.044044] R10: ffffacf0c0130c50 R11: ffffffffae5535e8 R12: ffff9ceacebe9480
[   62.044095] R13: 0000000000000000 R14: ffff9ceacec304c0 R15: ffff9ceacec30000
[   62.044146] FS:  0000000000000000(0000) GS:ffff9ceb3c100000(0000) knlGS:0000000000000000
[   62.044203] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   62.044245] CR2: 00007fc99f4e4be0 CR3: 000000012e010000 CR4: 00000000003506e0
[   62.044296] Call Trace:
[   62.044319]  <IRQ>
[   62.044341]  ? pfifo_fast_enqueue+0x150/0x150
[   62.044378]  call_timer_fn+0x2e/0x100
[   62.044411]  __run_timers.part.0+0x1d8/0x250
[   62.044446]  ? clockevents_program_event+0x8f/0xe0
[   62.044486]  ? tick_program_event+0x41/0x80
[   62.044521]  run_timer_softirq+0x2a/0x50
[   62.044554]  __do_softirq+0xce/0x281
[   62.044586]  asm_call_irq_on_stack+0x12/0x20
[   62.044621]  </IRQ>
[   62.044642]  do_softirq_own_stack+0x3d/0x50
[   62.044677]  irq_exit_rcu+0x95/0xd0
[   62.044709]  sysvec_apic_timer_interrupt+0x3d/0x90
[   62.044748]  asm_sysvec_apic_timer_interrupt+0x12/0x20
[   62.044790] RIP: 0010:cpuidle_enter_state+0xcc/0x360
[   62.044831] Code: 3d c9 8d ec 52 e8 14 93 79 ff 49 89 c6 0f 1f 44 00 00 31 ff e8 95 9e 79 ff 80 7d d7 00 0f 85 01 01 00 00 fb 66 0f 1f 44 00 00 <45> 85 ff 0f 88 0d 01 00 00 49 63 cf 4c 2b 75 c8 48 8d 04 49 48 89
[   62.044952] RSP: 0018:ffffacf0c00b7e68 EFLAGS: 00000246
[   62.044992] RAX: ffff9ceb3c12c380 RBX: 0000000000000007 RCX: 000000000000001f
[   62.045043] RDX: 0000000000000000 RSI: 0000000055785785 RDI: 0000000000000000
[   62.045093] RBP: ffffacf0c00b7ea0 R08: 0000000e71fdae4f R09: 000000002e410000
[   62.045143] R10: 000000000000afc8 R11: ffff9ceb3c12af84 R12: ffff9ceb3c137000
[   62.045193] R13: ffffffffae64d960 R14: 0000000e71fdae4f R15: 0000000000000007
[   62.045245]  ? cpuidle_enter_state+0xbb/0x360
[   62.045281]  cpuidle_enter+0x2e/0x40
[   62.045312]  do_idle+0x1f8/0x2a0
[   62.045342]  cpu_startup_entry+0x20/0x30
[   62.045375]  start_secondary+0x11f/0x160
[   62.045409]  secondary_startup_64_no_verify+0xc2/0xcb
[   62.045452] ---[ end trace e885217235e958b1 ]---
[   62.076672] r8169 0000:02:00.0 enp2s0: rtl_chipcmd_cond == 1 (loop: 100, delay: 100).
[   62.100166] r8169 0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
[   62.125949] r8169 0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
[   62.151921] r8169 0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
[   62.177784] r8169 0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
[   62.203621] r8169 0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
[   62.229597] r8169 0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
[   62.255255] r8169 0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
[   62.281124] r8169 0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
[   62.307014] r8169 0000:02:00.0 enp2s0: rtl_eriar_cond == 1 (loop: 100, delay: 100).
[   62.407851] vmbr0: port 1(enp2s0) entered disabled state
 
You could try installing the out of tree driver. Although this means building it yourself.
You'll have to install the pve-headers package for this and download the newest driver from the Realtek website.
 
  • Like
Reactions: Sellerie

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!