Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
update 21.7 - 22.1 -22.7 Realtek Unknown H/W revision
« previous
next »
Print
Pages: [
1
]
Author
Topic: update 21.7 - 22.1 -22.7 Realtek Unknown H/W revision (Read 1393 times)
gjstroom
Newbie
Posts: 1
Karma: 0
update 21.7 - 22.1 -22.7 Realtek Unknown H/W revision
«
on:
November 18, 2022, 03:24:48 pm »
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
«
Last Edit: November 18, 2022, 09:39:25 pm by gjstroom
»
Logged
roadbikemike
Newbie
Posts: 1
Karma: 0
Re: update 21.7 - 22.1 -22.7 Realtek Unknown H/W revision
«
Reply #1 on:
March 22, 2023, 09:17:59 pm »
I had a similar issue using a PC Engines apu1d4 motherboard with Realtek NIC's. New install, but OPNsense would crash almost daily, sometimes twice a day. Discovered the os-realtek-re package and installed. In waiting mode, but hoping this resolves the annoying crashes.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
update 21.7 - 22.1 -22.7 Realtek Unknown H/W revision