Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Intel 82599ES; GPON SFP module not working

    Scheduled Pinned Locked Moved Hardware
    29 Posts 4 Posters 6.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      milindhvijay
      last edited by

      c0dde983-a428-4964-a352-044a77643d94-Screenshot 2024-01-14 at 00.03.22.png

      Yes, currently sfp connected to a 1G media converter-> connected with rj-45 to pfsense. Parameter (LAN_SDS_MODE=1) set via telnet.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Hmm, yet neither module presents as 1G capable in the NIC. Auto-only.

        When you boot with the module inserted does it show any errors in the boot log?

        1 Reply Last reply Reply Quote 0
        • M
          milindhvijay
          last edited by

          ix0: <Intel(R) X520 82599ES (SFI/SFP+)> port 0x3020-0x303f mem 0x50c20000-0x50c3ffff,0x50c44000-0x50c47fff at device 0.0 on pci6
          ix0: Using 2048 TX descriptors and 2048 RX descriptors
          ix0: Using 4 RX queues 4 TX queues
          ix0: Using MSI-X interrupts with 5 vectors
          ix0: allocated for 4 queues
          ix0: allocated for 4 rx queues
          ix0: Ethernet address: d4:20:00:b1:2b:3d
          ix0: PCI Express Bus: Speed 5.0GT/s Unknown
          ix0: eTrack 0x800003de PHY FW V65535
          ix0: netmap queues/slots: TX 4/2048, RX 4/2048
          
          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Hmm, no error there. There's not really much that can be set for those NICs beyond what you tried already.

            Does really only show an active link when the upstream fiber is disconnected?

            M 1 Reply Last reply Reply Quote 0
            • M
              milindhvijay @stephenw10
              last edited by

              @stephenw10 Yes, only shows active when ISP fiber is disconnected?

              Would updating the driver help? If so, how can I do it?

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                I doubt it would make any difference but you could try to either build it yourself or install the kmod port for ixgbe. It may be marginally newer. Finding a version that loads can be challenging though since it has to closely match the kernel.

                When the optic is disconnected do both modules show as active?

                In that state can you connect to their cli through pfSense?

                1 Reply Last reply Reply Quote 0
                • M
                  milindhvijay
                  last edited by milindhvijay

                  No, Hisense-Leox LXT-010S-H shows active and power(green) and activity(amber) indication light is constantly ON when optic is disconnected. With optic connected, lights come ON in constant intervals, stays ON for 2-3 seconds and turns OFF. Without optics I am able to get into the admin page and telnet works.

                  HSGQ-XPON-Stick shows no carrier with or without optic. Even the power/activity lights are off always. Never even seen (rxpause, txpause) in interfaces. If I remember right, it always stay on autoselect.

                  I think HSGQ-XPON-Stick does not work because it is a 2.5G stick and AFAIK Intel x520 supports only 1G and 10G. I've tried forcing it to 1G but no luck.

                  B 1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Indeed only the x550 support N-Base and I think it's only N-BaseT. I don't have one to test with.

                    You can try setting the advertise speeds to 1G only in the negotiation:

                    [24.03-DEVELOPMENT][root@8200.stevew.lan]/root: sysctl -d dev.ix.0.advertise_speed
                    dev.ix.0.advertise_speed: 
                    Control advertised link speed using these flags:
                    	0x1 - advertise 100M
                    	0x2 - advertise 1G
                    	0x4 - advertise 10G
                    	0x8 - advertise 10M
                    
                    	0x10  - advertise 2.5G
                    	0x20  - advertise 5G
                    
                    	100M and 10M are only supported on certain adapters.
                    

                    That still requires a compatible module though so may not allow it.

                    1 Reply Last reply Reply Quote 0
                    • M
                      milindhvijay
                      last edited by

                      [2.7.2-RELEASE][admin@Gaia.home]/root: sysctl -d dev.ix.0.advertise_speed
                      dev.ix.0.advertise_speed:
                      Control advertised link speed using these flags:
                      	0x1 - advertise 100M
                      	0x2 - advertise 1G
                      	0x4 - advertise 10G
                      	0x8 - advertise 10M
                      
                      	0x10  - advertise 2.5G
                      	0x20  - advertise 5G
                      
                      	100M and 10M are only supported on certain adapters.
                      

                      How do I set the flag?

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Like:

                        [24.03-DEVELOPMENT][root@8200.stevew.lan]/root: sysctl dev.ix.2.advertise_speed=1
                        dev.ix.2.advertise_speed: 11 -> 1
                        

                        But it has to have a device that supports those speeds. ix2 there is a combo port so it supports 1G, 100M, 10M baseT.

                        1 Reply Last reply Reply Quote 0
                        • M
                          milindhvijay
                          last edited by

                          [2.7.2-RELEASE][admin@Gaia.home]/root: sysctl dev.ix.0.advertise_speed=1
                          dev.ix.0.advertise_speed: 0
                          sysctl: dev.ix.0.advertise_speed=1: Invalid argument
                          
                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            Mmm, it may not work. You would need to set it to 2 there though. 1 is 100M which is almost certainly not supported on that NIC.

                            1 Reply Last reply Reply Quote 0
                            • M
                              milindhvijay
                              last edited by

                              Any option would return invalid argument. I tried this a couple days ago.

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                Mmm, I suspected as much. That option depends on the NIC/module combination and it's not seeing anything as valid with that module present. 😕

                                1 Reply Last reply Reply Quote 0
                                • B
                                  bunneo @milindhvijay
                                  last edited by

                                  @milindhvijay hey did you figure this out?
                                  having same issue, HSGQ-XPON-Stick shows no carrier, no lights.

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    milindhvijay @bunneo
                                    last edited by

                                    @bunneo Nope

                                    V 1 Reply Last reply Reply Quote 0
                                    • V
                                      varunpilankar @milindhvijay
                                      last edited by

                                      @milindhvijay any further fix or progress on this? I'm facing similar issue with my HSGQ/ODI XPON SFP ONU Stick, trying to connect to my pfsense router. Any help is appreciated. Thanks!

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        bunneo
                                        last edited by

                                        Details of the problem and the instructions to fix this is discussed here

                                        1 Reply Last reply Reply Quote 1
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          That's a fun thread. 😁

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.