TrueNAS Scale and RTL8125 rev 0c

Update:

I was testing TrueNAS Scale on Proxmox, but for me - Proxmox was totally overkill to run one TrueNAS VM.

So, now my r8125 is finally working. I know, its not supported, because TrueNAS is an appliance, but I want let you know what I did to solve the realtek driver issue:

IMPORTANT
THIS IS UNSUPPORTED BY TRUENAS AND MAYBE NOT NEEDED AFTER NEXT UPDATES - JUST A HOTFIX!
IMPORTANT

  1. Disable rootfs protection and activate apt/dpkg for dkms driver package install
/usr/local/libexec/disable-rootfs-protection
  1. Blacklist of r8169 realtek driver, because its loading wrong
echo "blacklist r8169" > /etc/modprobe.d/blacklist-r8169.conf
  1. Download latest debian dkms realtek driver package from github:
    Example:
    awesometic/realtek-r8125-dkms/releases/download/9.016.01-1/realtek-r8125-dkms_9.016.01-1_amd64.deb

  2. Installing dkms driver package + other dependencies (I got network up and running over USB-LAN Adapter)

dpkg -i realtek-r8125-dkms_9.016.01-1_amd64.deb
  1. Also required - because of the blacklist r8169 driver - initramfs update!
update-initramfs -u

Thats all - the cheap internal realtek card is finally working, also with 2,5GBIT:

root@truenas[~]# ethtool enp6s0
Settings for enp6s0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
                                2500baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
                                2500baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Full
                                             2500baseT/Full
        Link partner advertised pause frame use: Symmetric
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 2500Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        MDI-X: on
        Supports Wake-on: pumbg
        Wake-on: d
        Current message level: 0x00000033 (51)
                               drv probe ifdown ifup
        Link detected: yes

Please note: This have to be done at every TrueNAS Upgrade! I will look also deeper, if there is a way to run a prehook script for the Driver.

Again: This is unsupported! Use at your own Risk!

2 Likes