Bump vhotplug to fix NIC reattachment on resume#1786
Bump vhotplug to fix NIC reattachment on resume#1786brianmcgillion merged 2 commits intotiiuae:mainfrom
Conversation
Signed-off-by: Yuri Nesterov <yuriy.nesterov@unikie.com>
|
Didn't see the original PR at vhotplug repo, but based on the description here, is there any possible edge-case where a PCI device might not be disconnected properly at all and so suspend would be stuck indefinitely? Is there a built-in timeout? |
Yes, there’s a built-in timeout but I guess if something like that happens, we’d want the user to notice so we can investigate the root cause. |
|
Could this issue be related to low Maybe its worth to try with #1788? in which |
we have balooning and zram enabled now. so memory pressures should be greatly reduced |
In one of the logs Ilkka provided, the Wi-Fi service crashed with a no memory error but hopefully it won’t happen anymore with the latest updates. This patch fixes a different problem where the device is not attached to the net-vm after resume. |
There are still memory‑related crashes visible in the early boot kernel logs, likely because zram is not yet enabled at that stage. Additionally with zram enabled, the reported |
Signed-off-by: Yuri Nesterov <yuriy.nesterov@unikie.com>
Description of Changes
This fixes an issue where Wi-Fi doesn’t reconnect after resuming from suspend. I couldn’t reproduce it myself but the logs suggest that some PCI devices aren’t fully detached from VMs during suspend, which prevents them from being reattached on resume.
The updated vhotplug now waits until a device is fully removed from the VM before continuing the suspend process.
Type of Change
Related Issues / Tickets
https://jira.tii.ae/browse/SSRCSP-8058
Checklist
make-checksand it passesTesting Instructions
Applicable Targets
aarch64aarch64x86_64x86_64x86_64Installation Method
nixos-rebuild ... switchTest Steps To Verify:
Suspend, resume and make sure Wi-Fi works. I couldn’t reproduce the issue but SSRCSP-8058 reports that it was observed in 1 out of 5 attempts.