I'm using nixos with an ASRock 960GM-VGS3 FX motherboard. It seems to me that the network interface randomly stops working. I get a no carrier on most boots. After upgrading to the 6.9 kernel it seemed to work, and then on one boot I got the no carrier message again. I don't think it's a hardware problem as it worked on some boots, and also worked before on windows. I also tested multiple cables, and tested the cables with other devices plugged into them.
ethtool outputs:
driver: atl1c
version: 6.9.9
firmware-version:
expansion-rom-version:
bus-info: 0000:02:00.0
supports-statistics: no
supports-test: no
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 100baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Auto-negotiation: on
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
MDI-X: Unknown
Supports Wake-on: pg
Wake-on: g
Current message level: 0x0000003f (63)
drv probe link timer ifdown ifup
Link detected: no
dmesg:
[ 0.277484] pci 0000:02:00.0: [1969:1083] type 00 class 0x020000 PCIe Endpoint
[ 0.277509] pci 0000:02:00.0: BAR 0 [mem 0xfebc0000-0xfebfffff 64bit]
[ 0.277519] pci 0000:02:00.0: BAR 2 [io 0xe800-0xe87f]
[ 0.277571] pci 0000:02:00.0: [Firmware Bug]: disabling VPD access (can't determine size of non-standard VPD format)
[ 0.277626] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
The problem persists even if I boot into a live iso, but as I said, it doesn't seem to be a hardware problem. Could this be a driver problem?
edit: I also tested it now with wake on lan and it works. I think this further supports that it is a driver problem.