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

    Help, Random "Hot Plug" Events!

    Scheduled Pinned Locked Moved General pfSense Questions
    23 Posts 4 Posters 1.9k 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
      mark77ap @uplink
      last edited by

      @uplink Thanks for the update.

      The switch I have (Dlink DMS-107) has 2 x 2.5 GB ports and 5 1X GB ports. I was getting nonstop drops when my LAN connection was plugged into the 2.5GB port. I moved to use the 1 GB port and it was stable so far for 12 hours (but at 1 GB :( ) My router is plugged into my modems 2.5GB port and has not seen any drops which is odd.

      I have since reinstalled pfsense and upgrade to plus, retrying the 2.5GB ports. Fingers crossed but seems unlikely a re-install is going to fix this.

      I did check in my BIOS and the I225 is the third revision so rumour is it should be ok but based on google results these NIC's seem to be plagued with issues.

      Was the SFP a 2.5GB or was it a 10 GB.?

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

        If you have any power saving options in the BIOS for the NICs or PCIe bus, like ASPM, I would try disabling that. I have seen that resolve link issues in some NICs.

        U 1 Reply Last reply Reply Quote 0
        • U
          uplink @mark77ap
          last edited by

          @mark77ap

          Yeah, I tried the same thing (upgrading to plus) it didn't work for me. Hope you have better luck than I did. If I remember correctly, I think I also tried a 1Gbe switch and had success there too, so that's doesn't surprise me. Of course that's not ideal, since that's a waste of having a 2.5gbe port on the router.

          My router is plugged into my modems 2.5GB port and has not seen any drops which is odd.

          Were getting drops on the WAN to your modem too? Is you router WAN 2.5Gbe and your modem 2.5Gbe ? I thought the drops were only on the LAN interface on the router?

          So, my switch is reporting that my SFP+ RJ45 module is connected at 10Gbe and pfsense is reporting 2.5Gbe. My SFP+ module is capable of negotiating down to 2.5Gbe so I think it's just the switch reporting incorrectly (which is common). I also tested the throughput and it's indeed 2.5gbe.

          @stephenw10
          Good idea, I might take a look for that in the BIOS later today and see if I have any power saving options like that.

          1 Reply Last reply Reply Quote 0
          • U
            uplink @stephenw10
            last edited by

            @stephenw10

            If you have any power saving options in the BIOS for the NICs or PCIe bus, like ASPM, I would try disabling that. I have seen that resolve link issues in some NICs.

            Surprisingly, I do not have any options in the BIOS for the onboard ethernet. Nothing, I can't even see a place to disable the adapters let alone any energy saving options. ☹

            As for the PCI bus options, I did see 4 "PCI Express Root Port" options which I presume are my 4x 2.5Gbe NICs. I checked each one and they all have ASPM disabled already. However, I did see a "DMI Link ASPM Control" option set to "L1". If I understand this PCI stuff correctly, that "DMI Link" is the link between the Southbridge and the CPU and the "PCI Express Root Port" is the link between the Southbridge and the device.

            Maybe I'll try setting the DMI Link to "disable" and see if that helps? Haha, I'll try anything, I can always change it back 🤠

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

              Yeah it likely wouldn't be a setting for the NIC(s) specifically rather than the PCIe bus/lanes. If it is exposed in that bios at all.

              1 Reply Last reply Reply Quote 0
              • M
                mark77ap @uplink
                last edited by

                @uplink

                Same here, Bios is definitly not the same as a normal PC lol. I did manage to change the turbo efficient mode to off but not sure that is really going to do much other than give me some more cpu cycles.

                Even though I had less drops yesterday with pfsense+ I did still get some overnight. I have switched my ethernet cable ( really have my doubts this is it) and will see how it goes.

                Only thing I have left to try is to buy another 2.5GB switch and try that.

                Mark

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

                  @mark77ap

                  Well it has been 3 days with the new cable and no connection drops. Not sure how this cable just went bad, or maybe it allways was bad and would work at 1 GB and not 2.5 GB.

                  Mark

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    mer @mark77ap
                    last edited by

                    @mark77ap That's exactly why cables are rated at different "cats". Lots of esoteric sounding calculations relating to transmission lines come into play at different frequencies, so yes a cable may be perfectly fine at 1G and fail at 2.5G or higher.

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      mark77ap @mer
                      last edited by

                      @mer This was a cat6 rated cable and only 3 ft long so surely it "should" have been ok. There must have been some issue with it that wasnt noticble until It has being used at 2.5GB.

                      M 1 Reply Last reply Reply Quote 2
                      • M
                        mer @mark77ap
                        last edited by

                        @mark77ap "Just because the packaging said cat6 rated doesn't mean it was tested at cat6" :) In the long run, cables are usually the cheapest part so having extras on hand and swapping them out is usually step 2 after making sure everything is really plugged in.

                        1 Reply Last reply Reply Quote 0
                        • U
                          uplink
                          last edited by

                          @mark77ap

                          Wow, the cable? Well, I tried two different 6 foot CAT6 cables (one unknown brand and another Amazon basics). Both were UTP (unshielded). Maybe I'll have to try some other cable brands, or different types of cables like CAT6e or CAT7 or even some STP (shielded) cables. I'll have to swing by my work and "borrow" a few to test with 🤔

                          I'm glad you were able to solve your dropouts with just a cable, that's great news! I hope I have the same luck! 🙂

                          1 Reply Last reply Reply Quote 0
                          • U uplink referenced this topic on
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.