[Intel-wired-lan] [bug report]iavf: deadlock on detach/attach vf to VM with net_failover
Faicker Mo
faicker.mo at zenlayer.com
Mon Aug 26 03:19:37 UTC 2024
Hello, we met a problem with iavf driver, the ubuntu22.04 kernel 5.15.0-119 and 6.11rc4 both have the same problem.
When the X710 VF is detached and attached to the VM with net_failover, the kworker thread in VM hang. The backtrace is,
[<0>] iavf_open+0x48/0x230 [iavf]
[<0>] __dev_open+0xe5/0x1c0
[<0>] dev_open+0x52/0xa0
[<0>] net_failover_slave_register+0x131/0x190 [net_failover]
[<0>] failover_slave_register.part.0+0xda/0x180 [failover]
[<0>] failover_event+0x104/0x1f0 [failover]
[<0>] raw_notifier_call_chain+0x46/0x60
[<0>] call_netdevice_notifiers_info+0x52/0xa0
[<0>] register_netdevice+0x4d3/0x650
[<0>] iavf_finish_config+0xc5/0xf0 [iavf]
[<0>] process_one_work+0x228/0x3d0
[<0>] worker_thread+0x53/0x420
[<0>] kthread+0x127/0x150
[<0>] ret_from_fork+0x1f/0x30
It looks like a dead lock of adapter->crit_lock.
A similar problem, https://patchwork.ozlabs.org/project/intel-wired-lan/patch/20220808175845.484968-1-ivecera@redhat.com/#2947762
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20240826/11ec534c/attachment-0001.html>
More information about the Intel-wired-lan
mailing list