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

    All traffic stopped, looks a bug to me!

    Scheduled Pinned Locked Moved General pfSense Questions
    13 Posts 4 Posters 123 Views 4 Watching
    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.
    • patient0P Online
      patient0 @GTA_doum
      last edited by

      @GTA_doum if I read it correct the device has a RealTek (dua port?) network card. Support for them is notorious bad in FreeBSD. What RealTek NIC is it?

      There is an alternative RealTek driver you can install, see
      https://forum.netgate.com/post/1229634

      pkg install realtek-re-kmod

      And if it works better with that driver, make it permanent:

      echo 'if_re_load="YES"' >> /boot/loader.conf.local
      echo 'if_re_name="/boot/modules/if_re.ko"' >> /boot/loader.conf.local
      

      But your best option is to use an Intel network card.

      G 1 Reply Last reply Reply Quote 4
      • G Offline
        GTA_doum @patient0
        last edited by GTA_doum

        @patient0 I tried other hardware, did not make any difference. To make it even more crazy, the first site where it is happening, they have two sites connected via IPSec. The two pfSense have exactly the same hardware, but only one of the two makes this issue! I tried replacing everything one by one, even the router itself, NIC, network cables, switch... Issue is always coming back.
        I will try this driver, but with everything I tried, I would surprise it changes anything.

        Few months ago, another pfSense started behaving with the same issue and it is unrelated to the first site. It was working great since its first install one or two years ago!

        patient0P 1 Reply Last reply Reply Quote 0
        • patient0P Online
          patient0 @GTA_doum
          last edited by

          @GTA_doum said in All traffic stopped, looks a bug to me!:

          I tried other hardware,

          And the other hardware did not have a RealTek nic?

          The log you posted shows that re1 has a watchdog timeout and that is a typical RealTek driver issue (run a search for 'kernel re watchdog timeout' in this forum, sort for post time).
          That would indicate that in that case the network card did play a role in the issue.

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            GTA_doum @patient0
            last edited by GTA_doum

            @patient0 I just checked and yes, the mini computer I used to test has a Realtek NIC (most onboard NIC have Realtek cards, even a lof of USB adapter have a Realtek chipset in them). On the first site mentioned, I can install another NIC and will try an Intel one. For mini-computers, I cannot unfortunetely install another NIC, there is no space in those box to install a PCIe card.
            What I fail to understand is why a pfSense was working for over a year and suddenly starts acting up...

            G 1 Reply Last reply Reply Quote 0
            • G Offline
              GTA_doum @GTA_doum
              last edited by

              I just recalled what we did at that place few months ago, we upgraded pfSense to 2.8.0 and lately to 2.8.1. Which means the Realtek driver in 2.8 is indeed misbehaving, if the driver is the cause.
              The first site I mentioned was always acting up, even with version 2.7 of pfSense.

              tinfoilmattT 1 Reply Last reply Reply Quote 0
              • tinfoilmattT Offline
                tinfoilmatt @GTA_doum
                last edited by

                @GTA_doum Sooooooo, not a bug then.

                G 1 Reply Last reply Reply Quote 0
                • G Offline
                  GTA_doum @tinfoilmatt
                  last edited by

                  @tinfoilmatt Well, if the driver has a bug, that is included in pfSense/BSD, it is still a bug...

                  tinfoilmattT 1 Reply Last reply Reply Quote 0
                  • tinfoilmattT Offline
                    tinfoilmatt @GTA_doum
                    last edited by

                    @GTA_doum If Netgate has provided you with a modified driver that resolves your issue, then perhaps FreeBSD's issue tracker will be receptive to your report.

                    G 1 Reply Last reply Reply Quote 0
                    • G Offline
                      GTA_doum @tinfoilmatt
                      last edited by

                      @tinfoilmatt I'll gladly do it once confirmed. It will take few months to confirm, as the issue sometimes could happen after few weeks. It's been few times I taught it was fixed, but then reappeared. I am still unsure what triggers it, maybe the amount of traffic, but really, I could not make a link of cause to effect.

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

                        I mean there is a bug there but it's known. The Realtek hardware is such that there is little motivation for devs to fix it. And the newer Realtek NICs are better anyway.

                        But, yes, if you see that watchdog error from the re(4) driver then definitely try the alternative driver.

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