Hi there,
i've bought a PCIe-NIC with RTL8126 chip (1,2.5,5 Gbit) and having problems to set it up correctly.
The chip actual isn't supported by the actual proxmox kernel (6.8.x.x) and on the realtek driver site (https://www.realtek.com/Download/List?cate_id=584) is only one entry for this card: 5G Ethernet LINUX driver r8126 for kernel up to 6.4
I'm no linux pro, but what i did: Booted several PVE-Kernels (6.8, 6.5., 6.2) and installed the driver package (unpack the driver -> ./autorun.sh); last try with Kernel 6.2, which should be compatible with the above driver. I've created a new linux bridge vmbr1, give it a ip and set the interface to enp6s0. I bound vmbr1 to a Windows-VM to check, if i can reach the devices in my network - that's not the case.
pveversion
With 6.2 and lspci -v i get:
dmesg spams:
The NIC-LEDs blink, so i think, it has a link; but the state is "down":
ip a show enp6s0
List of NICs:
Modinfo:
The behaviour of all tested pve-kernels is the same; so i'm not sure, what i can do to get this card working. Has anyone a idea, what i could do next?
i've bought a PCIe-NIC with RTL8126 chip (1,2.5,5 Gbit) and having problems to set it up correctly.
The chip actual isn't supported by the actual proxmox kernel (6.8.x.x) and on the realtek driver site (https://www.realtek.com/Download/List?cate_id=584) is only one entry for this card: 5G Ethernet LINUX driver r8126 for kernel up to 6.4
I'm no linux pro, but what i did: Booted several PVE-Kernels (6.8, 6.5., 6.2) and installed the driver package (unpack the driver -> ./autorun.sh); last try with Kernel 6.2, which should be compatible with the above driver. I've created a new linux bridge vmbr1, give it a ip and set the interface to enp6s0. I bound vmbr1 to a Windows-VM to check, if i can reach the devices in my network - that's not the case.
pveversion
Code:
pve-manager/8.2.4/faa83925c9641325 (running kernel: 6.2.16-5-pve)
With 6.2 and lspci -v i get:
Code:
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 8126 (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
!!! Unknown header type 7f
I/O ports at 3000 [size=256]
Memory at 41410000 (64-bit, non-prefetchable) [size=64K]
Memory at 41420000 (64-bit, non-prefetchable) [size=16K]
Expansion ROM at 41400000 [disabled] [size=64K]
Kernel driver in use: r8126
Kernel modules: r8126
Code:
[ 410.073142] enp6s0: pci link is down
.
[ 412.089213] enp6s0: cmd = 0xff, should be 0x07
.
[ 412.089232] enp6s0: pci link is down
.
[ 414.105022] enp6s0: cmd = 0xff, should be 0x07
The NIC-LEDs blink, so i think, it has a link; but the state is "down":
ip a show enp6s0
Code:
root@fb4-PVE-1:~# ip a show enp6s0
2: enp6s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master vmbr1 state DOWN group default qlen 1000
link/ether 88:c9:b3:b4:07:70 brd ff:ff:ff:ff:ff:ff
List of NICs:
Code:
root@fb4-PVE-1:~# lshw -class network -short
H/W path Device Class Description
=============================================================
/0/100/1c.5/0 enp5s0 network I210 Gigabit Network Connection
/0/100/1c.7/0 enp6s0 network Realtek Semiconductor Co., Ltd.
/0/100/1f.6 eno1 network Ethernet Connection (7) I219-LM
Modinfo:
Code:
root@fb4-PVE-1:~# modinfo r8126
filename: /lib/modules/6.2.16-5-pve/kernel/drivers/net/ethernet/realtek/r8126.ko
version: 10.013.00-NAPI
license: GPL
description: Realtek r8126 Ethernet controller driver
author: Realtek and the Linux r8126 crew <netdev@vger.kernel.org>
srcversion: 6A363CDCE8D31E10F09DF08
alias: pci:v000010ECd00005000sv*sd*bc*sc*i*
alias: pci:v000010ECd00008126sv*sd*bc*sc*i*
depends:
retpoline: Y
name: r8126
vermagic: 6.2.16-5-pve SMP preempt mod_unload modversions
parm: speed_mode:force phy operation. Deprecated by ethtool (8). (uint)
parm: duplex_mode:force phy operation. Deprecated by ethtool (8). (uint)
parm: autoneg_mode:force phy operation. Deprecated by ethtool (8). (uint)
parm: aspm:Enable ASPM. (int)
parm: s5wol:Enable Shutdown Wake On Lan. (int)
parm: s5_keep_curr_mac:Enable Shutdown Keep Current MAC Address. (int)
parm: use_dac:Enable PCI DAC. Unsafe on 32 bit PCI slot. (int)
parm: timer_count:Timer Interrupt Interval. (int)
parm: eee_enable:Enable Energy Efficient Ethernet. (int)
parm: hwoptimize:Enable HW optimization function. (ulong)
parm: s0_magic_packet:Enable S0 Magic Packet. (int)
parm: tx_no_close_enable:Enable TX No Close. (int)
parm: enable_ptp_master_mode:Enable PTP Master Mode. (int)
parm: disable_wol_support:Disable PM support. (int)
parm: enable_double_vlan:Enable Double VLAN. (int)
parm: debug:Debug verbosity level (0=none, ..., 16=all) (int)
The behaviour of all tested pve-kernels is the same; so i'm not sure, what i can do to get this card working. Has anyone a idea, what i could do next?