RIP afs_select_fileserver
markus.suvanto at gmail.com
markus.suvanto at gmail.com
Wed Jul 24 05:27:24 PDT 2024
Dear all
Linux version 6.10.0
When I remove my laptop from thunderbolt dock my
network interface changes from wired to wlan.
If I have some open files using /afs/...
and I try to continue using those files
I will get:
21.165453] usb 4-1.4: USB disconnect, device number 3
21.165455] r8152-cfgselector 4-1.4.1: USB disconnect, device number 5
21.165502] xhci_hcd 0000:06:00.0: xHCI host controller not responding, assume dead
21.165525] r8152 4-1.4.1:1.0 enp6s0u1u4u1: Stop submitting intr, status -108
21.165530] r8152 4-1.4.1:1.0 enp6s0u1u4u1: Tx status -108
21.212830] usb 4-1.4.3: USB disconnect, device number 4
21.215602] xhci_hcd 0000:06:00.0: USB bus 4 deregistered
21.215617] xhci_hcd 0000:06:00.0: remove, state 1
21.215624] usb usb3: USB disconnect, device number 1
21.215635] usb 3-1: USB disconnect, device number 2
21.215637] usb 3-1.4: USB disconnect, device number 3
21.215639] usb 3-1.4.3: USB disconnect, device number 5
21.215641] usb 3-1.4.3.2: USB disconnect, device number 7
21.352300] usb 3-1.4.3.3: USB disconnect, device number 8
21.617101] thunderbolt 0-1: device disconnected
21.664705] usb 3-1.4.4: USB disconnect, device number 6
21.732410] xhci_hcd 0000:06:00.0: Host halt failed, -19
21.732417] xhci_hcd 0000:06:00.0: Host not accessible, reset failed.
21.732528] xhci_hcd 0000:06:00.0: USB bus 3 deregistered
21.752672] pci_bus 0000:06: busn_res: [bus 06] is released
21.752743] pci_bus 0000:07: busn_res: [bus 07] is released
21.752799] pci_bus 0000:08: busn_res: [bus 08-38] is released
21.752853] pci_bus 0000:05: busn_res: [bus 05-38] is released
21.764542] pci_bus 0000:02: Allocating resources
37.280763] pcieport 0000:02:02.0: Unable to change power state from D3hot to D0, device inaccessible
81.803372] rcu: INFO: rcu_sched self-detected stall on CPU
81.803377] rcu: >---0-....: (17999 ticks this GP) idle=cf5c/1/0x4000000000000000 softirq=2564429/2564434 fqs=5771
81.803382] rcu: >---(t=18000 jiffies g=4223209 q=30507 ncpus=4)
81.803384] CPU: 0 PID: 12633 Comm: EvJobScheduler Not tainted 6.10.0 #1
81.803386] Hardware name: LENOVO 20HF0047MX/20HF0047MX, BIOS N1WET68W (1.47 ) 07/21/2022
81.803387] RIP: 0010:afs_select_fileserver+0x4b9/0xed0 [kafs]
81.803402] Code: 85 c9 00 00 00 48 8b 93 70 02 00 00 48 0f bf 83 7e 02 00 00 48 c1 e0 06 48 03 83 58 02 00 00 48 8b 70
38 48 89 b3 50 02 00 00 <48> 8b 4e 18 48 8b 46 20 48 09 d0 48 f7 d0 48 21 c8 74 a5 4c 8b 5e
81.803404] RSP: 0018:ffffaf4e4f093d00 EFLAGS: 00000286
81.803406] RAX: ffff8c0318cee0c0 RBX: ffff8c02d7ae4400 RCX: 0000000000000001
81.803408] RDX: 0000000000000001 RSI: ffff8bfe9257eea0 RDI: ffff8c024dd02100
81.803409] RBP: ffff8c025998d500 R08: 0000000000000000 R09: 0000000000000002
81.803411] R10: ffff8c03c6626950 R11: 000000000141caec R12: 000000000000ff9b
81.803412] R13: ffff8c024d30f600 R14: 0000000000000000 R15: ffff8c025998d868
81.803414] FS: 00007f412fe006c0(0000) GS:ffff8c03c6600000(0000) knlGS:0000000000000000
81.803415] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
81.803417] CR2: 0000556fa4c11140 CR3: 00000004d1938001 CR4: 00000000003706f0
81.803418] Call Trace:
81.803421] <IRQ>
81.803422] ? rcu_dump_cpu_stacks+0xf2/0x180
81.803427] ? rcu_sched_clock_irq+0x4ba/0xa70
81.803430] ? update_process_times+0x59/0x90
81.803432] ? tick_nohz_handler+0x82/0x110
81.803435] ? __pfx_tick_nohz_handler+0x10/0x10
81.803437] ? __hrtimer_run_queues+0xec/0x1b0
81.803439] ? hrtimer_interrupt+0xf1/0x230
81.803442] ? __sysvec_apic_timer_interrupt+0x43/0xa0
81.803444] ? sysvec_apic_timer_interrupt+0x68/0x90
81.803447] </IRQ>
81.803448] <TASK>
81.803449] ? asm_sysvec_apic_timer_interrupt+0x16/0x20
81.803453] ? afs_select_fileserver+0x4b9/0xed0 [kafs]
81.803465] afs_wait_for_operation+0xc7/0x210 [kafs]
81.803478] afs_fetch_status+0x53/0x80 [kafs]
81.803490] afs_validate+0x139/0x2b0 [kafs]
81.803503] afs_file_read_iter+0x40/0x80 [kafs]
81.803515] vfs_read+0x24d/0x360
81.803518] __x64_sys_pread64+0x8b/0xc0
81.803520] do_syscall_64+0x64/0x100
81.803523] ? syscall_exit_to_user_mode+0x68/0x140
81.803525] ? do_syscall_64+0x70/0x100
81.803527] ? do_syscall_64+0x70/0x100
81.803528] ? irqentry_exit_to_user_mode+0x4a/0x110
81.803531] entry_SYSCALL_64_after_hwframe+0x76/0x7e
81.803533] RIP: 0033:0x7f413c82a147
81.803536] Code: 08 89 3c 24 48 89 4c 24 18 e8 d5 83 fb ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c
24 b8 11 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 25 84 fb ff 48 8b
81.803537] RSP: 002b:00007f412fdff200 EFLAGS: 00000293 ORIG_RAX: 0000000000000011
81.803539] RAX: ffffffffffffffda RBX: 00007f410f0ce380 RCX: 00007f413c82a147
81.803541] RDX: 0000000000000100 RSI: 00007f410f0ce3c1 RDI: 0000000000000010
81.803542] RBP: 00007f410f0ce3c1 R08: 0000000000000000 R09: 00007f412fdff4e0
81.803543] R10: 0000000000002175 R11: 0000000000000293 R12: 00007f412fdff508
81.803544] R13: 00000000ffffffff R14: 0000000000000000 R15: 00007f4134698620
81.803547] </TASK>
97.523149] rcu: INFO: rcu_sched detected expedited stalls on CPUs/tasks: { 0-.... } 18376 jiffies s: 6297 root: 0x1/.
97.523157] rcu: blocking rcu_node structures (internal RCU debug):
97.523159] Sending NMI from CPU 2 to CPUs 0:
97.523163] NMI backtrace for cpu 0
97.523164] CPU: 0 PID: 12633 Comm: EvJobScheduler Not tainted 6.10.0 #1
97.523167] Hardware name: LENOVO 20HF0047MX/20HF0047MX, BIOS N1WET68W (1.47 ) 07/21/2022
97.523168] RIP: 0010:afs_select_fileserver+0x4b2/0xed0 [kafs]
97.523186] Code: 04 d6 ff ff 85 c0 0f 85 c9 00 00 00 48 8b 93 70 02 00 00 48 0f bf 83 7e 02 00 00 48 c1 e0 06 48 03 83
58 02 00 00 48 8b 70 38 <48> 89 b3 50 02 00 00 48 8b 4e 18 48 8b 46 20 48 09 d0 48 f7 d0 48
97.523187] RSP: 0018:ffffaf4e4f093d00 EFLAGS: 00000286
97.523189] RAX: ffff8c0318cee0c0 RBX: ffff8c02d7ae4400 RCX: 0000000000000001
97.523190] RDX: 0000000000000001 RSI: ffff8bfe9257eea0 RDI: ffff8c024dd02100
97.523191] RBP: ffff8c025998d500 R08: 0000000000000000 R09: 0000000000000002
97.523192] R10: ffff8c03c6626950 R11: 000000000141caec R12: 000000000000ff9b
97.523193] R13: ffff8c024d30f600 R14: 0000000000000000 R15: ffff8c025998d868
97.523194] FS: 00007f412fe006c0(0000) GS:ffff8c03c6600000(0000) knlGS:0000000000000000
97.523196] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
97.523197] CR2: 0000556fa4c11140 CR3: 00000004d1938001 CR4: 00000000003706f0
97.523198] Call Trace:
97.523200] <NMI>
97.523202] ? nmi_cpu_backtrace+0x83/0xf0
97.523206] ? nmi_cpu_backtrace_handler+0x8/0x10
97.523209] ? nmi_handle+0x4e/0xe0
97.523212] ? default_do_nmi+0x40/0x260
97.523214] ? exc_nmi+0xdc/0x100
97.523216] ? end_repeat_nmi+0xf/0x53
97.523219] ? afs_select_fileserver+0x4b2/0xed0 [kafs]
97.523231] ? afs_select_fileserver+0x4b2/0xed0 [kafs]
97.523242] ? afs_select_fileserver+0x4b2/0xed0 [kafs]
97.523252] </NMI>
97.523253] <TASK>
97.523254] afs_wait_for_operation+0xc7/0x210 [kafs]
97.523266] afs_fetch_status+0x53/0x80 [kafs]
97.523278] afs_validate+0x139/0x2b0 [kafs]
97.523291] afs_file_read_iter+0x40/0x80 [kafs]
97.523303] vfs_read+0x24d/0x360
97.523306] __x64_sys_pread64+0x8b/0xc0
97.523308] do_syscall_64+0x64/0x100
97.523310] ? syscall_exit_to_user_mode+0x68/0x140
97.523313] ? do_syscall_64+0x70/0x100
97.523314] ? do_syscall_64+0x70/0x100
97.523315] ? irqentry_exit_to_user_mode+0x4a/0x110
97.523318] entry_SYSCALL_64_after_hwframe+0x76/0x7e
97.523320] RIP: 0033:0x7f413c82a147
97.523322] Code: 08 89 3c 24 48 89 4c 24 18 e8 d5 83 fb ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c
24 b8 11 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 25 84 fb ff 48 8b
97.523323] RSP: 002b:00007f412fdff200 EFLAGS: 00000293 ORIG_RAX: 0000000000000011
97.523325] RAX: ffffffffffffffda RBX: 00007f410f0ce380 RCX: 00007f413c82a147
97.523326] RDX: 0000000000000100 RSI: 00007f410f0ce3c1 RDI: 0000000000000010
97.523327] RBP: 00007f410f0ce3c1 R08: 0000000000000000 R09: 00007f412fdff4e0
97.523327] R10: 0000000000002175 R11: 0000000000000293 R12: 00007f412fdff508
97.523328] R13: 00000000ffffffff R14: 0000000000000000 R15: 00007f4134698620
97.523330] </TASK>
Full dmesg https://talvi.dynv6.net/nextcloud/index.php/s/enpXfNiP3oZxYRW
-Markus Suvanto
More information about the linux-afs
mailing list