Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - gjstroom

#1
Hi, Today I updated my OPNsense 21.7 with some steps to finally 22.7.8.
With the first update step to 22.1 my WAN interface didn't work anymore.

My device is a LG CL600W Thinclient which has 2 Realtek nics, one utp and the other sfp, fitted with a utp sfp transceiver. This worked very well with the 21.x versions.

After the updates my WAN nic (the sfp interface) has this error:
root@OPNsense:~ # dmesg |grep re1
re1: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0xa1108000-0xa1108fff,0xa1100000-0xa1103fff at device 0.1 on pci2
re1: Using 1 MSI-X message
re1: ASPM disabled
re1: Chip rev. 0x54800000
re1: MAC rev. 0x00200000
re1: Unknown H/W revision: 0x54800000
device_attach: re1 attach returned 6
It's a 2 port nic, only other port types (utp/sftp).

The re0 works fine:
root@OPNsense:~ # dmesg | grep re0
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0xa1204000-0xa1204fff,0xa1200000-0xa1203fff at device 0.0 on pci1
re0: Using 1 MSI-X message
re0: ASPM disabled
re0: Chip rev. 0x54000000
re0: MAC rev. 0x00100000
miibus0: <MII bus> on re0
re0: Using defaults for TSO: 65518/35/2048
re0: Ethernet address: 54:b2:03:83:34:c2
re0: netmap queues/slots: TX 1/256, RX 1/256

Googling: Unknown H/W revision: 0x54800000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253251

root@OPNsense:~ # pciconf -l
re0@pci0:1:0:0: class=0x020000 rev=0x15 hdr=0x00 vendor=0x10ec device=0x8168 subvendor=0x1854 subdevice=0x0344

Any chance to get this fixed ?

EDIT:

It looks I found the solution:
pgk search realtek-re-kmod
pkg install realtek-re-kmod-197.00

create: /boot/loader.conf.local
if_re_load="YES"
if_re_name="/boot/modules/if_re.ko"

Now I get:
root@OPNsense:~ # pciconf -l
re0@pci0:1:0:0: class=0x020000 rev=0x15 hdr=0x00 vendor=0x10ec device=0x8168 subvendor=0x1854 subdevice=0x0344
re1@pci0:2:0:1: class=0x020000 rev=0x22 hdr=0x00 vendor=0x10ec device=0x8168 subvendor=0x1854 subdevice=0x0344