You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on Linux x86_64 running a standard Ubuntu (2024.04 noble) stock kernel, untainted:
reliant joe [~]: uname -a
Linux reliant 6.5.0-28-generic #29-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 28 23:46:48 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
reliant joe [~]: cat /proc/sys/kernel/tainted
0
I'm experiencing sporadic NIC failures when waking from suspend-to-RAM. Concretely, when it happens (maybe on every 3rd suspend operation, so reasonably/annoyingly often), the network driver completely locks up and no connectivity is possible. Sometimes I'm able to recover by rmmod and modprobe, but in 90% of the cases this also is not possible and I have to reboot to get the NIC working again. Note also that the system will go into shutdown but systemd then hangs somewhere, needing me to issue a hard reset.
Same here with Ethernet controller: Aquantia Corp. AQtion AQC107 NBase-T/IEEE 802.3an Ethernet Controller [Atlantic 10G] (rev 02). @johndoe31415 did you find any solution? Thanx!
UPD:
As a temporary workaround I've created sleep/wake systemd script to trigger AQC107 pci card and atlantic kernel module reset. So basically if you unload kernel module before sleep, then you can wake without issues and KP, then you can modprobe module back and reset pci device. It seems that the atlantic module doesn't reinitialize the NIC properly after sleep...
Workaround:
Create script file that will run on sleep and wake sudo nano /usr/lib/systemd/system-sleep/atlantic-pci-reset
Add script content, replace DEVICE (check lspci)
#!/bin/bash
DEVICE="0000:02:00.0" # Replace with your actual PCI device ID
DRIVER="atlantic"
case $1 in
pre)
# Before sleep: Unload the driver
modprobe -r $DRIVER
;;
post)
# After wake: Reload the driver and reset the device
modprobe $DRIVER
echo 1 > /sys/bus/pci/devices/$DEVICE/remove
echo 1 > /sys/bus/pci/rescan
;;
esac
Make script executable sudo chmod +x /usr/lib/systemd/system-sleep/atlantic-pci-reset
Hello there!
I'm using an AQC107 NIC:
on Linux x86_64 running a standard Ubuntu (2024.04 noble) stock kernel, untainted:
I'm experiencing sporadic NIC failures when waking from suspend-to-RAM. Concretely, when it happens (maybe on every 3rd suspend operation, so reasonably/annoyingly often), the network driver completely locks up and no connectivity is possible. Sometimes I'm able to recover by
rmmod
andmodprobe
, but in 90% of the cases this also is not possible and I have to reboot to get the NIC working again. Note also that the system will go into shutdown but systemd then hangs somewhere, needing me to issue a hard reset.When it occurs, I see the following in dmesg:
Any advice on how I can support debugging this issue is greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered: