r8152 icon indicating copy to clipboard operation
r8152 copied to clipboard

The latest SA6400 cannot be driven (installed through the latest RR23.11.6 boot, which already supports the 11th and 12th generation hard solutions, and can also use Sata disks). The platform architecture, Epyc7002,

Open y723157510 opened this issue 1 year ago • 1 comments

The latest SA6400 cannot be driven (installed through the latest RR23.11.6 boot, which already supports the 11th and 12th generation hard solutions, and can also use Sata disks). The platform architecture, Epyc7002, should be due to the fact that the kernel is 5.10. I hope to update it, because currently, only the SA6400 kernel is 5.10 in Black Group Hui, and other systems are ancestral 4.4, which cannot perfectly drive the 11th, 12th, 13th, and 14th generation hard solutions.

y723157510 avatar Nov 20 '23 14:11 y723157510

  • If you want to support S5 WOL, you have to find

    EXTRA_CFLAGS += -DRTL8152_S5_WOL

    in the Makefile. Then, remove the first character '#", if it exists.

  • For Fedora, you may have to run the following command after installing the driver.

    dracut -f

  • For Ubuntu, you may have to run the following command after installing the driver.

    sudo depmod -a

    sudo update-initramfs -u

  • Example of setting speed

    2.5G before kernel v4.10

    ethtool -s eth0 autoneg on advertise 0x802f

    2.5G for kernel v4.10 and later

    ethtool -s eth0 autoneg on advertise 0x80000000002f

    ethtool -s eth0 autoneg on advertise 0x002f (1G)

    ethtool -s eth0 autoneg on advertise 0x000f (100M full)

    ethtool -s eth0 autoneg on advertise 0x0003 (10M full)

  • Disable center tap short

    make CONFIG_CTAP_SHORT=OFF modules

  • Ring parameter

    Show Ring parameter

    ethtool -g eth0

    Changes the number of ring entries for the Rx ring.

    ethtool -G eth0 rx 100

  • Tunable parameters

    Get the current rx copybreak value in bytes.

    ethtool --get-tunable eth0 rx-copybreak

    Set the rx copybreak value in bytes.

    ethtool --set-tunable eth0 rx-copybreak 256

  • Flow control

    Queries the specified Ethernet device for pause parameter information.

    ethtool -a eth0

    Changes the pause parameters of the specified Ethernet device.

    ethtool -A eth0 rx off tx off (Disable flow control)

    ethtool -A eth0 rx on tx off (Enable flow control)

y723157510 avatar Nov 20 '23 15:11 y723157510

Drivers for SA6400 (epyc7002) have already been released. This issue is closed, but feel free to re-open it if you have any questions.

bb-qq avatar Jun 15 '24 08:06 bb-qq