After update to 25.04 I’m constantly getting network issues. TrueNAS lost network till reboot. This is always happened after some intense network activity. TimeMachine backups in my case. Never had network issues on Core and Scale 22.x.
Now in dmesg I see logs like this:
[12549.308137] r8169 0000:03:00.0 enp3s0: NETDEV WATCHDOG: CPU: 1: transmit queue 0 timed out 5632 ms
[12549.312430] r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[12564.412187] r8169 0000:03:00.0 enp3s0: NETDEV WATCHDOG: CPU: 1: transmit queue 0 timed out 5724 ms
[12564.414686] r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[12578.492240] r8169 0000:03:00.0 enp3s0: NETDEV WATCHDOG: CPU: 1: transmit queue 0 timed out 5820 ms
[12578.496504] r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[12596.412283] r8169 0000:03:00.0 enp3s0: NETDEV WATCHDOG: CPU: 1: transmit queue 0 timed out 5024 ms
[12596.416752] r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[12606.488365] r8169 0000:03:00.0 enp3s0: NETDEV WATCHDOG: CPU: 1: transmit queue 0 timed out 5004 ms
[12606.493076] r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
Tried to restart network from console with ethtool etc - nothing helps, only reboot helps till next Time Machine backup or other network activity.
I found similar case in google groups Debian Kernel topics marked as bug for 6.1 kernel, without solution
Welp, quick googling (or better say google AI) shows, that it could be resolved in multiple ways. Like disabling ASPM in the BIOS UEFI, or in the bootloader params. Have you tried any of those?
I didn’t tried boot params but tried to find something in bios, I didn’t found anything useful, there is very limited configuration options, for embedded NIC I can just enable it or disable and some wake on lan options, which is disabled
Seems like truenas boot params can be altered with midclt call.
You can check your additional params with midclt call system.advanced.config | jq -r '.kernel_extra_options'. Mine already shows pcie_aspm=off. If yours doesn’t, you can alter it with midclt call system.advanced.update '{"kernel_extra_options":"pcie_aspm=off"}' and then reboot. All credit goes to this post.
Disclosure: I never altered boot params (in truenas). You should proceed with care. And perhaps make a clone of your current bootenv before changing the setting. Or just wait for the advice from more seasoned truenas users.
Thx, well ASPM error is gone, but this sadly doesn’t help resolve the issue with network. I think watchdog errors is actually related to problem with network interface. Sometimes network somehow restore it work, but usually I need to reboot NAS
Hmm… Perhaps you already saw this. I don’t know how to install custom drivers in truenas, though.
Just for the record, I had problems with my usb r8152 in proxmox (mine almost didn’t work at all). I’ve resolved it with installing custom drivers and disabling power saving (aspm in your case). Not sure, but maybe just power saving disable would be enough in my case (I did install drivers first).
IMO, realtek adapters should be avoided as far as it’s possible. My adapter ended up being very, very, VERY pricey if I account for its fixing time. On the bright side – I have learnt a couple of things.
Indeed I tried update driver based on post you mentioned but in TrueNAS apt, dpkg etc are blocked. I’m not happy with realtek NIC too, but it embedded in my miniATX board