https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289862
Bug ID: 289862
Summary: fwget(8) does not support Realtek Ethernet (RTL8125
2.5GbE, realtek-re-kmod) despite packages being
available
Product: Base System
Version: 15.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: [email protected]
Reporter: [email protected]
The fwget utility currently cannot install firmware or kernel module packages
for Realtek Ethernet controllers (e.g. RTL8125 2.5GbE), even though the package
net/realtek-re-kmod exists in the FreeBSD package repositories and works
correctly when installed manually.
When running fwget, the tool can detect Realtek NICs, but it does not offer the
option to fetch and install the corresponding realtek-re-kmod package. After
examining the FreeBSD source tree, I noticed that support for Realtek PCI
devices in fwget is limited to Realtek wireless adapters
(usr.sbin/fwget/pci/pci_network_realtek). There is no implementation for
Realtek Ethernet devices, so fwget does not map those PCI IDs to the available
kernel module package.
By manually installing realtek-re-kmod and following the post-install
instructions, my two RTL8125 2.5GbE NICs function normally on FreeBSD. This
confirms that the package is available and functional, but the lack of Ethernet
handling code in fwget prevents users from installing it through the standard
mechanism.
---------------
re0@pci0:4:0:0: class=0x020000 rev=0x05 hdr=0x00 vendor=0x10ec device=0x8125
subvendor=0x10ec subdevice=0x0123
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8125 2.5GbE Controller'
class = network
subclass = ethernet
bar [10] = type I/O Port, range 32, base 0x4000, size 256, enabled
bar [18] = type Memory, range 64, base 0x50500000, size 65536, enabled
bar [20] = type Memory, range 64, base 0x50510000, size 16384, enabled
cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0
cap 05[50] = MSI supports 1 message, 64 bit, vector masks
cap 10[70] = PCI-Express 2 endpoint MSI 1 max data 256(256) RO
max read 512
link x1(x1) speed 5.0(5.0) ASPM disabled(L0s/L1) ClockPM
disabled
cap 11[b0] = MSI-X supports 32 messages, enabled
Table in map 0x20[0x0], PBA in map 0x20[0x800]
cap 03[d0] = VPD
ecap 0001[100] = AER 2 0 fatal 0 non-fatal 0 corrected
ecap 0002[148] = VC 1 max VC0
ecap 0003[168] = Serial 1 01000000684ce000
ecap 0017[178] = TPH Requester 1
ecap 0018[204] = LTR 1
ecap 001e[20c] = L1 PM Substates 1
ecap 000b[21c] = Vendor [1] ID 0002 Rev 4 Length 256
re1@pci0:5:0:0: class=0x020000 rev=0x05 hdr=0x00 vendor=0x10ec device=0x8125
subvendor=0x10ec subdevice=0x0123
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8125 2.5GbE Controller'
class = network
subclass = ethernet
bar [10] = type I/O Port, range 32, base 0x3000, size 256, enabled
bar [18] = type Memory, range 64, base 0x50400000, size 65536, enabled
bar [20] = type Memory, range 64, base 0x50410000, size 16384, enabled
cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0
cap 05[50] = MSI supports 1 message, 64 bit, vector masks
cap 10[70] = PCI-Express 2 endpoint MSI 1 max data 256(256) RO
max read 512
link x1(x1) speed 5.0(5.0) ASPM disabled(L0s/L1) ClockPM
disabled
cap 11[b0] = MSI-X supports 32 messages, enabled
Table in map 0x20[0x0], PBA in map 0x20[0x800]
cap 03[d0] = VPD
ecap 0001[100] = AER 2 0 fatal 0 non-fatal 0 corrected
ecap 0002[148] = VC 1 max VC0
ecap 0003[168] = Serial 1 01000000684ce000
ecap 0017[178] = TPH Requester 1
ecap 0018[204] = LTR 1
ecap 001e[20c] = L1 PM Substates 1
ecap 000b[21c] = Vendor [1] ID 0002 Rev 4 Length 256
----------------
root@ykla:/home/ykla # fwget -v
Trying to match device 0x4626 in class video and vendor intel with
pci_video_intel
Trying to match device 0x2723 in class network and vendor intel with
pci_network_intel
Trying to match device 0x8125 in class network and vendor realtek with
pci_network_realtek
Trying to match device 0x8125 in class network and vendor realtek with
pci_network_realtek
Needed firmware packages: 'gpu-firmware-intel-kmod-alderlake
gpu-firmware-intel-kmod-tigerlake wifi-firmware-iwlwifi-kmod-22000'
The most recent versions of packages are already installed
--
You are receiving this mail because:
You are the assignee for the bug.