opnsense / core

OPNsense GUI, API and systems backend
https://opnsense.org/
BSD 2-Clause "Simplified" License
3.38k stars 757 forks source link

DEC3852 Unifi 10GB SFP+ Fiber and Ethernet Modules + Direct-Atach Cable not usable #8026

Open albertkieferle opened 3 weeks ago

albertkieferle commented 3 weeks ago

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

The DEC 3852 has 2 SFP+ Ports an we tried following SFP+ Modules:

  1. Unifi Direct Attach Cable: dmesg output:

ax0: xgbe_phy_sfp_detect: mod absent ax0: xgbe_phy_sfp_signals: port_sfp_inputs: 0x0 ax0: SFP detected: ax0: vendor: Ubiquiti Inc. ax0: part number: UDC-1 ax0: revision level: A3 ax0: serial number: AH22102000557

  1. Unifi 0M-MM-10G-D SFP+ dmesg output: ax0: xgbe_phy_sfp_signals: port_sfp_inputs: 0x7 ax0: xgbe_phy_sfp_detect: mod absent ax0: xgbe_phy_sfp_signals: port_sfp_inputs: 0x2 ax0: SFP detected: ax0: vendor: Ubiquiti Inc. ax0: part number: OM-MM-10G-D ax0: revision level: A1 ax0: serial number: BM24050133125

  2. Unifi UACC-CM-RJ45-MG (10g Ethernet) dmesg output: ax0: xgbe_phy_sfp_signals: port_sfp_inputs: 0x7 ax0: xgbe_phy_sfp_detect: mod absent ax0: xgbe_phy_sfp_signals: port_sfp_inputs: 0x2 ax0: SFP detected: ax0: vendor: Ubiquiti Inc. ax0: part number: UACC-CM-RJ45-MG ax0: revision level: U08 ax0: serial number: AV24077512166

you see we always get: mod_absent but the Direct Atach and the 10G Module is on your compatibility list we tried the modules and cable in switches, they are working perfect problem: the ports not going up (no link etc)

with fabric new opnsense DEC3852 with default configuration

Software version used and hardware type if relevant, e.g.:

OPNsense 24.10_7-amd64 DEC3852

swhite2 commented 3 weeks ago

Not sure of the chronological order of the dmesg output, but any empty port starts with the mod absent state, and as soon as something is plugged in the module information is printed, as is the case with all of your modules.

The port_sfp_inputs 0x2 value indicates the module is not linking with the other end, the module is still negotiating, or the other end is not plugged in at all. DACs always show 0x0 there.

You can try to kickstart it by assigning an IP address on the port, but I have no context of your environment nor the steps you took to reproduce it, there is also no confirmation that there is no link (ifconfig output or dmesg | grep Link).