You are not logged in.

#1 2023-07-04 14:52:01

jmandawg
Member
Registered: 2011-10-19
Posts: 62

Kernel 6.4.1 r8169 Can't reset secondary PCI bus, detach NIC

Hi, after upgrading kernel to 6.4.1 I'm having problem with my NIC that i pass through (Macvtap) to virtual machine.

Reverting to kernel 6.3.9 resolves the issue.

[  540.441287] ------------[ cut here ]------------¬                                                                             
[  540.441293] NETDEV WATCHDOG: netwan0 (r8169): transmit queue 0 timed out 5430 ms¬
[  540.441314] WARNING: CPU: 3 PID: 0 at net/sched/sch_generic.c:525 dev_watchdog+0x232/0x240¬
[  540.441325] Modules linked in: vhost_net tun vhost vhost_iotlb macvtap macvlan tap exfat wireguard curve25519_x86_64 libchacha
[  540.441390]  hid_holtek_mouse snd_soc_core usbnet snd_compress ac97_bus kvm snd_hda_codec_realtek snd_hda_codec_generic snd_pc
[  540.441472] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.4.1-arch1-1 #1 cf145a0250459022493747c0d1c289a70a2c7109¬
[  540.441476] Hardware name: Dell Inc. Wyse 5070 Thin Client/0K6VXP, BIOS 1.14.0 11/11/2021¬
[  540.441477] RIP: 0010:dev_watchdog+0x232/0x240¬
[  540.441482] Code: ff ff ff 48 89 df c6 05 04 b6 45 01 01 e8 c6 28 fa ff 45 89 f8 44 89 f1 48 89 de 48 89 c2 48 c7 c7 60 59 6c
[  540.441484] RSP: 0018:ffffa9eb00194e78 EFLAGS: 00010286¬
[  540.441487] RAX: 0000000000000000 RBX: ffff9a9c4abdc000 RCX: 0000000000000027¬
[  540.441489] RDX: ffff9a9fafda16c8 RSI: 0000000000000001 RDI: ffff9a9fafda16c0¬
[  540.441490] RBP: ffff9a9c4abdc4c8 R08: 0000000000000000 R09: ffffa9eb00194d08¬
[  540.441492] R10: 0000000000000003 R11: ffffffff95eca868 R12: ffff9a9c40eb2400¬
[  540.441493] R13: ffff9a9c4abdc41c R14: 0000000000000000 R15: 0000000000001536¬
[  540.441495] FS:  0000000000000000(0000) GS:ffff9a9fafd80000(0000) knlGS:0000000000000000¬
[  540.441497] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033¬
[  540.441498] CR2: 00007fc72432f5d0 CR3: 00000001cfe20000 CR4: 0000000000352ee0¬
[  540.441500] Call Trace:¬
[  540.441504]  <IRQ>¬
[  540.441505]  ? dev_watchdog+0x232/0x240¬
[  540.441509]  ? __warn+0x81/0x130¬
[  540.441516]  ? dev_watchdog+0x232/0x240¬
[  540.441520]  ? report_bug+0x171/0x1a0¬
[  540.441525]  ? prb_read_valid+0x1b/0x30¬
[  540.441530]  ? handle_bug+0x3c/0x80¬
[  540.441533]  ? exc_invalid_op+0x17/0x70¬
[  540.441536]  ? asm_exc_invalid_op+0x1a/0x20¬
[  540.441542]  ? dev_watchdog+0x232/0x240¬
[  540.441546]  ? dev_watchdog+0x232/0x240¬
[  540.441549]  ? __pfx_dev_watchdog+0x10/0x10¬
[  540.441552]  call_timer_fn+0x24/0x130¬
[  540.441557]  ? __pfx_dev_watchdog+0x10/0x10¬
[  540.441560]  __run_timers+0x222/0x2c0¬
[  540.441564]  run_timer_softirq+0x1d/0x40¬
[  540.441567]  __do_softirq+0xd1/0x2c8¬
[  540.441573]  __irq_exit_rcu+0xbb/0xf0¬
[  540.441577]  sysvec_apic_timer_interrupt+0x72/0x90¬
[  540.441582]  </IRQ>¬
[  540.441583]  <TASK>¬
[  540.441584]  asm_sysvec_apic_timer_interrupt+0x1a/0x20¬
[  540.441588] RIP: 0010:cpuidle_enter_state+0xcc/0x440¬
[  540.441591] Code: 5a 22 3c ff e8 c5 f3 ff ff 8b 53 04 49 89 c5 0f 1f 44 00 00 31 ff e8 93 24 3b ff 45 84 ff 0f 85 56 02 00 00
[  540.441593] RSP: 0018:ffffa9eb000efe90 EFLAGS: 00000246¬
[  540.441595] RAX: ffff9a9fafdb3f40 RBX: ffff9a9fafdbf440 RCX: 0000000000000000¬
[  540.441596] RDX: 0000000000000003 RSI: fffffffb347b8900 RDI: 0000000000000000¬
[  540.441598] RBP: 0000000000000004 R08: 0000000000000002 R09: 0000000055785785¬
[  540.441599] R10: ffff9a9fafdb2944 R11: 00000000000000f6 R12: ffffffff95f45960¬
[  540.441600] R13: 0000007dd4cf7b9b R14: 0000000000000004 R15: 0000000000000000¬
[  540.441605]  cpuidle_enter+0x2d/0x40¬
[  540.441609]  do_idle+0x1d8/0x230¬
[  540.441613]  cpu_startup_entry+0x1d/0x20¬
[  540.441615]  start_secondary+0x12b/0x150¬
[  540.441620]  secondary_startup_64_no_verify+0x10b/0x10b¬
[  540.441627]  </TASK>¬
[  540.441628] ---[ end trace 0000000000000000 ]---¬
[  541.694899] r8169 0000:02:00.0: not ready 1023ms after bus reset; waiting¬
[  542.734928] r8169 0000:02:00.0: not ready 2047ms after bus reset; waiting¬
[  544.921384] r8169 0000:02:00.0: not ready 4095ms after bus reset; waiting¬
[  549.187696] r8169 0000:02:00.0: not ready 8191ms after bus reset; waiting¬
[  557.507543] r8169 0000:02:00.0: not ready 16383ms after bus reset; waiting¬
[  574.787182] r8169 0000:02:00.0: not ready 32767ms after bus reset; waiting¬
[  608.919873] r8169 0000:02:00.0: not ready 65535ms after bus reset; giving up¬
[  608.920766] r8169 0000:02:00.0 netwan0: Can't reset secondary PCI bus, detach NIC¬
[  610.172703] r8169 0000:02:00.0: not ready 1023ms after bus reset; waiting¬
[  611.216035] r8169 0000:02:00.0: not ready 2047ms after bus reset; waiting¬
[  613.399528] r8169 0000:02:00.0: not ready 4095ms after bus reset; waiting¬
[  617.666092] r8169 0000:02:00.0: not ready 8191ms after bus reset; waiting¬
[  625.986007] r8169 0000:02:00.0: not ready 16383ms after bus reset; waiting¬
[  643.051701] r8169 0000:02:00.0: not ready 32767ms after bus reset; waiting¬
[  677.187279] r8169 0000:02:00.0: not ready 65535ms after bus reset; giving up¬
[  677.188045] r8169 0000:02:00.0 netwan0: Can't reset secondary PCI bus, detach NIC¬

Offline

#2 2023-07-04 15:04:41

jmandawg
Member
Registered: 2011-10-19
Posts: 62

Re: Kernel 6.4.1 r8169 Can't reset secondary PCI bus, detach NIC

I believe this is the upstream bug:  https://bugzilla.kernel.org/show_bug.cgi?id=217596

Offline

Board footer

Powered by FluxBB