re1: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xef00-0xefff mem 0xfebff000-0xfebfffff,0xcfff0000-0xcfffffff irq 17 at device 0.0 on pci2re1: Using 1 MSI-X messagere1: Chip rev. 0x3c000000re1: MAC rev. 0x00400000miibus1: <MII bus> on re1re1: Using defaults for TSO: 65518/35/2048re1: Ethernet address: xx:xx:xx:xx:xx:xx:xxre1: link state changed to UPre1: link state changed to DOWNre1: link state changed to UPre1: link state changed to DOWNre1: link state changed to UPre1: <Realtek PCIe GBE Family Controller> port 0xef00-0xefff mem 0xfebff000-0xfebfffff,0xcfff0000-0xcfffffff irq 17 at device 0.0 on pci2re1: Using Memory Mapping!re1: couldn't map interruptdevice_attach: re1 attach returned 6
dmesg | grep -iE re1re1: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0xfe300000-0xfe300fff,0xd0800000-0xd0803fff irq 40 at device 0.0 on pci5re1: Using 1 MSI-X messagere1: Chip rev. 0x2c000000re1: MAC rev. 0x00200000miibus1: <MII bus> on re1re1: Using defaults for TSO: 65518/35/2048re1: Ethernet address: 14:cc:20:....re1: netmap queues/slots: TX 1/256, RX 1/256re1: link state changed to DOWNre1: promiscuous mode enabledre1: promiscuous mode disabledre1: promiscuous mode enabledre1: promiscuous mode disabledre1: promiscuous mode enabledre1: <Realtek PCIe GBE Family Controller> port 0xd000-0xd0ff mem 0xfe300000-0xfere1: Using Memory Mapping!re1: Using 1 MSI-X messagere1: ASPM disabledre1: version:1.93re1: Ethernet address: 14:cc:20:....re1: Ethernet address: 14:cc:20:....re1: link state changed to DOWNre1: promiscuous mode enabledre1: promiscuous mode disabledre1: promiscuous mode enabledre1: promiscuous mode disabledre1: promiscuous mode enabledre1: <Realtek PCIe GBE Family Controller> port 0xd000-0xd0ff mem 0xfe300000-0xfere1: Using Memory Mapping!re1: unknown devicedevice_attach: re1 attach returned 6
The debug message tells us the latest Realtek driver doesn't know the device, but doesn't print which one it sees, so we can't tell which one is missing.For now, you could go back to the 17.1.1 kernel to use the old driver:# opnsense-update -kr 17.1.1# /usr/local/etc/rc.rebootCheers,Franco