First time NixOS user here! I upgraded my PC to a gigabyte X870E Mainboard and installed NixOS.
To support my new-ish ethernet adapter, I switched to nixos-unstable and installed the latest stable kernel (6.13.1). That generally works, but I lose ethernet connection every few seconds. The weirdest part is that 2 days ago the ethernet was bad, yesterday it’s fine and today it’s bad again. I didn’t change generations or anything else really.
Here’s an excerpt from dmesg:
[ 6430.571112] Realtek Internal NBASE-T PHY r8169-0-e00:00: Downshift occurred from negotiated speed 1Gbps to actual speed 100Mbps, check cabling!
[ 6430.571137] r8169 0000:0e:00.0 enp14s0: Link is Up - 100Mbps/Full (downshifted) - flow control off
[ 6451.559421] r8169 0000:0e:00.0 enp14s0: Link is Down
[ 6464.847050] Realtek Internal NBASE-T PHY r8169-0-e00:00: Downshift occurred from negotiated speed 1Gbps to actual speed 100Mbps, check cabling!
[ 6464.847079] r8169 0000:0e:00.0 enp14s0: Link is Up - 100Mbps/Full (downshifted) - flow control off
[ 6471.377508] r8169 0000:0e:00.0 enp14s0: Link is Down
[ 6484.642525] Realtek Internal NBASE-T PHY r8169-0-e00:00: Downshift occurred from negotiated speed 1Gbps to actual speed 100Mbps, check cabling!
[ 6484.642550] r8169 0000:0e:00.0 enp14s0: Link is Up - 100Mbps/Full (downshifted) - flow control off
[ 6486.492718] r8169 0000:0e:00.0 enp14s0: Link is Down
[ 6499.933479] Realtek Internal NBASE-T PHY r8169-0-e00:00: Downshift occurred from negotiated speed 1Gbps to actual speed 100Mbps, check cabling!
[ 6499.933514] r8169 0000:0e:00.0 enp14s0: Link is Up - 100Mbps/Full (downshifted) - flow control off
[ 6505.774079] r8169 0000:0e:00.0 enp14s0: Link is Down
[ 6519.057877] Realtek Internal NBASE-T PHY r8169-0-e00:00: Downshift occurred from negotiated speed 1Gbps to actual speed 100Mbps, check cabling!
[ 6519.057907] r8169 0000:0e:00.0 enp14s0: Link is Up - 100Mbps/Full (downshifted) - flow control off
[ 6521.168313] r8169 0000:0e:00.0 enp14s0: Link is Down
[ 6534.692720] Realtek Internal NBASE-T PHY r8169-0-e00:00: Downshift occurred from negotiated speed 1Gbps to actual speed 100Mbps, check cabling!
[ 6534.692747] r8169 0000:0e:00.0 enp14s0: Link is Up - 100Mbps/Full (downshifted) - flow control off
[ 6536.231142] r8169 0000:0e:00.0 enp14s0: Link is Down
[ 6549.505506] Realtek Internal NBASE-T PHY r8169-0-e00:00: Downshift occurred from negotiated speed 1Gbps to actual speed 100Mbps, check cabling!
[ 6549.505533] r8169 0000:0e:00.0 enp14s0: Link is Up - 100Mbps/Full (downshifted) - flow control off
[ 6570.367953] r8169 0000:0e:00.0 enp14s0: Link is Down
[ 6583.735615] Realtek Internal NBASE-T PHY r8169-0-e00:00: Downshift occurred from negotiated speed 1Gbps to actual speed 100Mbps, check cabling!
[ 6583.735645] r8169 0000:0e:00.0 enp14s0: Link is Up - 100Mbps/Full (downshifted) - flow control off
[ 6587.080440] r8169 0000:0e:00.0 enp14s0: Link is Down
I’m happy to provide more information, I just don’t know what might be useful.
Thanks in advance!