Kernel 6.10 oder neuer....

gerald_FS

Member
Aug 9, 2021
9
1
8
47
Hallo zusammen!

ist bekannt ob und wann die aktuelle Version von PVE den Kernel größer als 6.10 erhält?

Und zwar ich habe zwei R8126 (Realtek 5gb NIC) die ich gerne nutzen würde, als Direktverbinung zwischen PVE und PBS.
Leider werden Sie jedoch nur ab der Kernelversion 6.10 unterstützt.

Aktuell habe ich sie in der Testmaschine mit der Beta von Ubuntu 24.10 reingesteckt und was soll ich sagen Wowww - Erwartung voll erfüllt!.

Ja ich weiß 5gb sind keine 10gb - und 10gb gibt es lauffähig out-of-the-box für kleines Geld, aber folgende Argumente waren für mich ausschlaggebend:
- Stromverbrauch
- Baugröße (max 85mm tiefe waren möglich)



Danke, für Info's
ggf. muss ich halt versuchen den Kernel selber zu backen - aber da ist mein Hintergrundwissen deutlich zu gering.


Liebe Grüße
Gerald
 
Hallo zusammen!

ist bekannt ob und wann die aktuelle Version von PVE den Kernel größer als 6.10 erhält?

Und zwar ich habe zwei R8126 (Realtek 5gb NIC) die ich gerne nutzen würde, als Direktverbinung zwischen PVE und PBS.
Leider werden Sie jedoch nur ab der Kernelversion 6.10 unterstützt.

Aktuell habe ich sie in der Testmaschine mit der Beta von Ubuntu 24.10 reingesteckt und was soll ich sagen Wowww - Erwartung voll erfüllt!.

Ja ich weiß 5gb sind keine 10gb - und 10gb gibt es lauffähig out-of-the-box für kleines Geld, aber folgende Argumente waren für mich ausschlaggebend:
- Stromverbrauch
- Baugröße (max 85mm tiefe waren möglich)



Danke, für Info's
ggf. muss ich halt versuchen den Kernel selber zu backen - aber da ist mein Hintergrundwissen deutlich zu gering.


Liebe Grüße
Gerald
I have the same issue and I am awaiting 6.10 kernel in Proxmox to be able to get this interface working properly.
 
I am in the same boat, tagging this for followup.

With 6.8.12-2-pve I get nearly all that I need.

Although the USB is recognized and seems to function as expected, iperf3 testing when the local system is receiving gets the expected 4.7 Gbit/sec

However, when the local system is sending, it is only getting 2.35 Gbit/sec

I have a Fedora system with 6.10 and it works like a charm!
 
I have compiled the Realtek Linux/Unix drivers inside of a Proxmox VE VM (nested) and passed through the USB to this Proxmox VE VM.

https://www.realtek.com/Download/Index?cate_id=194&menu_id=297

It took some work, but after successfully compiling and installing the driver, I get the expected full speed.

However, the kernel is tainted, and I am not super excited about moving production Proxmox systems to a hand-build kernel module.
 
Last edited:
Also, in terms of pricing, these USB 5 GB dongles are at least 1/5th the cost of equivalent 10 G thunderbolt dongles.

I have a four node cluster, and an additional NFS server.

Upgrading this whole cluster to 5G is ~$150 for 5GbE, and close to $1000 for 10GbE

I am using an inexpensive Mokerlink 10GbE managed switch with good success so far.

Here are some vendor links (no commisions):


5GbE Dongle: (~$35)
https://a.co/d/eN6ap7f

I am using a MokerLink 10 GbE 10baseT switch which cost about $250.
https://a.co/d/gvIaU5W
 
I have compiled the Realtek Linux/Unix drivers inside of a Proxmox VE VM (nested) and passed through the USB to this Proxmox VE VM.

https://www.realtek.com/Download/Index?cate_id=194&menu_id=297

It took some work, but after successfully compiling and installing the driver, I get the expected full speed.

However, the kernel is tainted, and I am not super excited about moving production Proxmox systems to a hand-build kernel module.
The kernel built this way seems unstable as the USB connection drops under load.

Could be because of USB passthru to the VM, not sure.
 
I followed this guide: https://wiki.wisdpi.com/network/usb-3.2-5gbps-wired-base-t-ethernet-adapter#articlecontentid-1 (see the section Proxmox VE Support)

and compiled the driver for kernel 6.8.12-2-pve. This seems to work fine until we get 6.10.x
Were you able to perform some iperf3 load testing.

100 loops in each direction:
Bash:
# server with patch:
iperf3 -s

# another host with patch:
iperf3 -c <server_with_patch> -O2 -P8 -R

iperf3 -c <server_with_patch> -O2 -P8
 
I am sorry, it is not stable. Over time it drops out.

r8152 2-6:1.0 enx############: NETDEV WATCHDOG: CPU: 2: transmit queue 0 timed out 8749 ms
r8152 2-6:1.0 enx############: Tx timeout
r8152-cfgselector 2-6: reset SuperSpeed USB device number 2 using xhci_hcd
r8152 2-6:1.0 enx############: Promiscuous mode enabled
vmbr0: port 2(enx############) entered disabled state
r8152 2-6:1.0 enx############: carrier off

It was more stable with the default kernel but showing incorrect max speed values and not delivering 5GB. I'll try to find out how to make it work when I have more time. For now I go back to stable 2.5GB adapters.
 
Without USB dropouts.

FYI I did iperf3 testing as you wished.

Testserver <-> 10G Switch <-> synology DS920+ (Testserver and Synology both with WP-UT5 USB 3.2 5Gbps Wired Base-T Ethernet Adapter)

[SUM] 0.00-10.00 sec 3.79 GBytes 3.26 Gbits/sec 8889 sender
[SUM] 0.00-10.00 sec 3.79 GBytes 3.25 Gbits/sec receiver
 
FYI - I tested with the https://forum.proxmox.com/threads/o...e-8-available-on-test-no-subscription.156818/ new 6.11 Opt-In Kernel on two hosts, both on a 10GB Switch. It seems to work (no long term test, but one host was running for more than 5 days).

Performance:

Bash:
iperf3 -c #server_with_6.11# -O2 -P8 -R

[SUM]   0.00-10.00  sec  3.82 GBytes  3.28 Gbits/sec    0             sender
[SUM]   0.00-10.00  sec  3.82 GBytes  3.28 Gbits/sec                  receiver

Bash:
iperf3 -c #server_with_6.11# -O2 -P8

[SUM]   0.00-10.00  sec  3.84 GBytes  3.29 Gbits/sec    0             sender
[SUM]   0.00-10.00  sec  3.83 GBytes  3.29 Gbits/sec                  receiver

Caveat: ethtool shows strange values.
Bash:
Settings for enxXXXXXXXXXXXXX:
        Supported ports: [  ]
        Supported link modes:   Not reported
        Supported pause frame use: No
        Supports auto-negotiation: No
        Supported FEC modes: Not reported
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: 705Mb/s
        Duplex: Half
        Auto-negotiation: off
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        MDI-X: Unknown
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
 
Here is the good news, after a bunch of work:

iperf3 -c 192.168.90.4
Connecting to host 192.168.90.4, port 5201
[ 5] local 192.168.90.1 port 43062 connected to 192.168.90.4 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 564 MBytes 4.73 Gbits/sec 0 1.05 MBytes
[ 5] 1.00-2.00 sec 561 MBytes 4.71 Gbits/sec 0 1.05 MBytes
[ 5] 2.00-3.00 sec 561 MBytes 4.71 Gbits/sec 0 1.11 MBytes
[ 5] 3.00-4.00 sec 561 MBytes 4.71 Gbits/sec 0 1.16 MBytes
[ 5] 4.00-5.00 sec 561 MBytes 4.71 Gbits/sec 0 1.22 MBytes
[ 5] 5.00-6.00 sec 561 MBytes 4.71 Gbits/sec 0 1.22 MBytes
[ 5] 6.00-7.00 sec 561 MBytes 4.71 Gbits/sec 0 1.22 MBytes
[ 5] 7.00-8.00 sec 560 MBytes 4.70 Gbits/sec 0 1.22 MBytes
[ 5] 8.00-9.00 sec 561 MBytes 4.71 Gbits/sec 0 1.29 MBytes
[ 5] 9.00-10.00 sec 561 MBytes 4.71 Gbits/sec 0 1.29 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 5.48 GBytes 4.71 Gbits/sec 0 sender
[ 5] 0.00-10.00 sec 5.48 GBytes 4.71 Gbits/sec receiver


ethtool enx34c8d6b10251
Settings for enx34c8d6b10251:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
5000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
5000baseT/Full
Advertised pause frame use: No
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
5000baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 5000Mb/s
Duplex: Full
Auto-negotiation: on
Port: MII
PHYAD: 32
Transceiver: internal
netlink error: Operation not permitted
Current message level: 0x00007fff (32767)
drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol
Link detected: yes
 
The work involved is extensive, and there are still issues with using one of these WisdPI's for an NFS server:

1. Opt-in to Kernel 6.11
2. Grab latest Realtek driver from site (somewhat sketchy, and no true support, so YMMV)
Current version as of November 5: r8152-2.19.2.tar.bz2
3. Ensure to install all required Kernel headers and development tools.
4. Build Realtek driver and install.
5. install 50-realtek-net-rules into /etc/udev/rules.d
6. Rebuild initramfs: update-initramfs -u
7. reboot

--
Some issues I ran into with USB power savings on linux required these extra steps:

1. /etc/default/grub:
GRUB_CMDLINE_LINUX="usbcore.autosuspend=-1 "
update-grub

2. Custom USB udev rule:
99-usb-power.rules
# USB 5G Dongle 0bda:8157
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0bda", ATTR{idProduct}=="8157", TEST=="power/control", ATTR{power/control}="on"

3. Might need to black-list evbug: pve-blacklist.conf
# JAA
blacklist evbug
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!