OPNsense Forum

English Forums => Hardware and Performance => Topic started by: Mbl on March 19, 2021, 08:12:16 PM

Title: Advide for GBIC on DEC3860
Post by: Mbl on March 19, 2021, 08:12:16 PM
Hi all

I'm new to OPNsense and was using Unifi for a long time now. I have just received my brand new DEC3860 hardware today and moved all the vlans over. My internet access is running on a 1 Gb fiber link connected over a siligence sga 441sfpo-1gb GBIC module. Connecting the existing GBIC and fiber to the ax0 port (i have VLAN 10 set on it) the ports status stays ,,no carrier". Connecting everything back to Unifi it works as before.

Did had anybody the same issue? Btw. I'm connecting to a Swisscom (wingo) fiber here in switzerland  :)

On /var/log/system.log I can see that the SFP+ port ist recognized:
Jan 29 06:34:36 OPNsense kernel: ax0: <AMD 10 Gigabit Ethernet Driver> mem 0x80160000-0x8017ffff,0x80140000-0x8015ffff,0x80188000-0x80189fff at device 0.4 on pci6


As it looks like the GBIC is not recognized:
root@firewall:~ # ifconfig -vvvm ax0
ax0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=800028<VLAN_MTU,JUMBO_MTU>
        capabilities=f503bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWFILTER,VLAN_HWTSO,NETMAP,RXCSUM_IPV6,TXCSUM_IPV6>
        ether f4:90:ea:00:60:a1
        inet6 fe80::f690:eaff:fe00:60a1%ax0 prefixlen 64 scopeid 0x5
        media: Ethernet autoselect
        status: no carrier
        supported media:
                media autoselect
                media 100M-SGMII
                media 100baseTX
                media 1000Base-SGMII
                media 1000baseT
                media 1000baseSX
                media 1000baseLX
                media 1000baseCX
                media 1000Base-KX
                media 10GBase-SFI
                media 10Gbase-T
                media 10GBase-KR
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
root@firewall:~ #
root@firewall:~ # ifconfig -vvvm ax0_vlan10
ax0_vlan10: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        capabilities=600303<RXCSUM,TXCSUM,TSO4,TSO6,RXCSUM_IPV6,TXCSUM_IPV6>
        ether f4:90:ea:00:60:a1
        inet6 fe80::f690:eaff:fe00:60a1%ax0_vlan10 prefixlen 64 scopeid 0xc
        groups: vlan
        vlan: 10 vlanpcp: 0 parent interface: ax0
        media: Ethernet autoselect
        status: no carrier
        supported media:
                media autoselect
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
root@firewall:~ #


Checking a clean /var/log/system.log on interface (ax0) messages i get the following:
Jan 29 10:51:20 firewall kernel: ax0: __xgbe_phy_config_aneg: fix conf fail -22
Jan 29 10:51:20 firewall kernel: ax0: __xgbe_phy_config_aneg: set_mode 1 AN int reg value 0x370f000 ret value -22
Jan 29 10:51:20 firewall kernel: ax0: xgbe_phy_start: phy_config_aneg -22
Jan 29 10:51:20 firewall kernel: ax0: axgbe_pci_init:  phy start -22
Jan 29 10:51:21 firewall kernel: ax0: SPH Enabled
Jan 29 10:51:21 firewall kernel: ax0: xgbe_config_sph_mode: SPH enabled in channel 0
Jan 29 10:51:21 firewall kernel: ax0: xgbe_config_sph_mode: SPH enabled in channel 1
Jan 29 10:51:21 firewall kernel: ax0: xgbe_config_sph_mode: SPH enabled in channel 2
Jan 29 10:51:21 firewall kernel: ax0: xgbe_config_sph_mode: SPH enabled in channel 3
Jan 29 10:51:21 firewall kernel: ax0: xgbe_config_sph_mode: SPH enabled in channel 4
Jan 29 10:51:21 firewall kernel: ax0: xgbe_config_sph_mode: SPH enabled in channel 5
Jan 29 10:51:21 firewall kernel: ax0: xgbe_config_sph_mode: SPH enabled in channel 6
Jan 29 10:51:21 firewall kernel: ax0: xgbe_config_sph_mode: SPH enabled in channel 7
Jan 29 10:51:21 firewall kernel: ax0: RSS Enabled
Jan 29 10:51:21 firewall kernel: ax0: Receive checksum offload Disabled
Jan 29 10:51:21 firewall kernel: ax0: VLAN filtering Disabled
Jan 29 10:51:21 firewall kernel: ax0: VLAN Stripping Disabled
Jan 29 10:51:21 firewall kernel: ax0: __xgbe_phy_config_aneg: fix conf fail -22
Jan 29 10:51:21 firewall kernel: ax0: __xgbe_phy_config_aneg: set_mode 1 AN int reg value 0x370f000 ret value -22
Jan 29 10:51:21 firewall kernel: ax0: xgbe_phy_start: phy_config_aneg -22
Jan 29 10:51:21 firewall kernel: ax0: axgbe_pci_init:  phy start -22
Jan 29 10:51:21 firewall kernel: ax0: SPH Enabled
Jan 29 10:51:21 firewall kernel: ax0: xgbe_config_sph_mode: SPH enabled in channel 0
Jan 29 10:51:21 firewall kernel: ax0: xgbe_config_sph_mode: SPH enabled in channel 1
Jan 29 10:51:21 firewall kernel: ax0: xgbe_config_sph_mode: SPH enabled in channel 2
Jan 29 10:51:21 firewall kernel: ax0: xgbe_config_sph_mode: SPH enabled in channel 3
Jan 29 10:51:21 firewall kernel: ax0: xgbe_config_sph_mode: SPH enabled in channel 4
Jan 29 10:51:21 firewall kernel: ax0: xgbe_config_sph_mode: SPH enabled in channel 5
Jan 29 10:51:21 firewall kernel: ax0: xgbe_config_sph_mode: SPH enabled in channel 6
Jan 29 10:51:21 firewall kernel: ax0: xgbe_config_sph_mode: SPH enabled in channel 7
Jan 29 10:51:21 firewall kernel: ax0: RSS Enabled
Jan 29 10:51:21 firewall kernel: ax0: Receive checksum offload Disabled
Jan 29 10:51:21 firewall kernel: ax0: VLAN filtering Disabled
Jan 29 10:51:21 firewall kernel: ax0: VLAN Stripping Disabled
Jan 29 10:51:21 firewall kernel: ax0: __xgbe_phy_config_aneg: fix conf fail -22
Jan 29 10:51:21 firewall kernel: ax0: __xgbe_phy_config_aneg: set_mode 1 AN int reg value 0x370f000 ret value -22
Jan 29 10:51:21 firewall kernel: ax0: xgbe_phy_start: phy_config_aneg -22
Jan 29 10:51:21 firewall kernel: ax0: axgbe_pci_init:  phy start -22
Jan 29 10:51:32 firewall opnsense[85380]: /usr/local/etc/rc.bootup: The command '/sbin/dhclient -c '/var/etc/dhclient_wan.conf' -p '/var/run/dhclient.ax0_vlan10.pid' 'ax0_vlan10'' returned exit code '1', the output was 'ax0_vlan10: no link .............. giving up'
root@firewall:~ #


Title: Re: Advide for GBIC on DEC3860
Post by: Patrick M. Hausen on March 19, 2021, 09:00:36 PM
I am not quite sure if they are even supposed to be backward compatible. But that port on your new appliance is an SFP+ one. So possibly you will need an SFP+ (read: 10G) module. Which will then negotiated down to 1G speed.
Title: Re: Advide for GBIC on DEC3860
Post by: Mbl on March 20, 2021, 02:17:45 AM
Thanks @pmhausen for your replay. The device I had previously (Unif) also had SFP+ ports and the GBIC worked very well.

The "funny" thing is, I do have a (old) ethernet GBIC in the ax1 port which works pretty well too :-\

Anybody a good alternative GBIC which is compatible with the device or a good fix?
Title: Re: Advide for GBIC on DEC3860
Post by: Mbl on March 23, 2021, 08:32:04 PM
Anybody a idea for a 1GB GBIC module being supported with the built in AMD SFP+ slots with the following specification?

Title: Re: Advide for GBIC on DEC3860
Post by: Patrick M. Hausen on March 23, 2021, 08:53:39 PM
If you bought a DEC3860 from Deciso, why don't you just ring them and ask? Seriously, your first stop for anything hardware related should be your supplier and not a community forum.
Title: Re: Advide for GBIC on DEC3860
Post by: Mbl on June 02, 2021, 11:04:00 PM
Have had great support from Deciso!

With version 21.4.1 I an can confirm that both modules (siligence sga 441sfpo-1gb and SwissGBIC GLC-BX-U-C – both BiDi) are working now.
Title: Re: Advide for GBIC on DEC3860
Post by: franco on June 03, 2021, 12:05:51 PM
Same goes for community 21.1.6 :)


Cheers,
Franco