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

    Official Realtek Driver Binary 1.95 For 2.4.4 Release

    Scheduled Pinned Locked Moved Hardware
    194 Posts 52 Posters 118.0k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      It's very unlikely this could ever be added as an official package. Is it even using a license that would allow it?

      The correct way to resolve this would be to fix the upstream FreeBSD driver. I've never looked to see what the differences are there.

      Steve

      1 Reply Last reply Reply Quote 0
      • BiloxiGeekB
        BiloxiGeek
        last edited by

        Just got finished putting this driver on my Odroid H2. This SBC has been nice but the NIC's seem to drop connection about a once a day.

        Is there something I can do to track the state of the NIC's and the drivers to see what's happening when they lock up? I'd be willing to revert to the stock drivers just to find out why a daily reboot has been necessary.

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

          Not easily. You'd probably need to add debug messages to the driver for example. Maybe recompile it.

          Are you (were you) seeing the watchdog timeouts?

          Steve

          BiloxiGeekB 1 Reply Last reply Reply Quote 0
          • BiloxiGeekB
            BiloxiGeek @stephenw10
            last edited by

            @stephenw10 I hadn't been seeing the watchdog timeouts but I hadn't been looking for them either. What's the best way to look for them?

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

              They would be in the system log if you are hitting that issue.

              Steve

              1 Reply Last reply Reply Quote 0
              • T
                TheNarc
                last edited by

                Also, at least in my experience using the driver built in to FreeBSD, the watchdog timeout is pretty easy to provoke by running iperf tests against the LAN interface. I see that the Odroid H2 has dual RTL8111Gs whereas I, and I believe most others using the official Realtek driver, have been running Zotac machines that I believe have RTL8111Es. Both of those use the same driver, but I think it's fair to say that the RTL8111G is less "battle tested" with this driver. Have you also confirmed that the driver is indeed being loaded and used by looking for it in the output of ldstat?

                1 Reply Last reply Reply Quote 0
                • F
                  fkoczan
                  last edited by

                  I have made FreeBSD 12 package.
                  https://drive.google.com/file/d/1Ch4Z_w7gpbrpavQ4KhPUXUzYhRyzqnye/view?usp=sharing
                  I dont consider it my work - I have just packed it in one archive. It is stable for me on 12.0 p3 more than
                  "sed -i -e 's/TAILQ_FOREACH/CK_STAILQ_FOREACH/g' if_re.c"

                  1 Reply Last reply Reply Quote 0
                  • C
                    coreybrett
                    last edited by

                    Will pfSense 2.5.0 / FreeBSD 12.0-RELEASE-p3 improve the built-in Realtek drivers situation at all?

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

                      I would guess no. Not much activity in the FreeBSD repo:
                      https://github.com/pfsense/FreeBSD-src/commits/RELENG_2_5/sys/dev/re

                      1 Reply Last reply Reply Quote 0
                      • A
                        AntonTo
                        last edited by

                        I've installed precomplied version of this driver for Nettop Gigabyte GB-BACE-3000 - working good with PFSence 2.4.4-RELEASE-p1. Uptime 31 days.
                        Thanks for the driver @TheNarc!

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

                          I am currently using a Gigabyte GA-C1007UN-D
                          It has two realtek NICS either RTL8111E or RTL811F (online reviews conflict) I have never noticed this error, but would use this driver if it would increase stability. using the current 2.4.5 dev build.

                          Any advice on specific iperf test that is known to kick off this problem? traffic to the rtr, from the router, do I need tons of simultaneous streams?

                          I would like to see it fail before I spent the time.

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            TheNarc @mervincm
                            last edited by

                            @mervincm In my experience, I didn't need to set any exotic iperf options. Just running a few iperf tests between a host on the LAN and the LAN port of the pfSense machine was enough to reproduce the error.

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

                              @TheNarc I guess I am fine then as after I stood up iperf as a server on pfSense
                              d5926cd9-fad7-430a-a5b6-679bbb2c9363-image.png
                              I hammered it quite hard from my desktop with 5, 10, 15, 20, 25, 30, 40, 50 parallel threads under iperf2 and never managed to cause the pfSense LAN nic to freeze.
                              I then shut down the iperf service and then started up iperf3 from the command line iperf3 -s
                              again, I hammered it quite hard from my desktop with 5, 10, 15, 20, 25, 50, and then even 100 parallel threads a few times under iperf3 and again, never managed to cause the pfSense LAN nic to freeze.

                              The iperf performance wasn't great, say about 700-900 Mbps, but it was stable.

                              edit I did get 2 occurrences of the alert. I didn't notice the impact while testing, perhaps it came back up quickly?
                              Mar 27 17:09:23 kernel re1: watchdog timeout
                              Mar 27 16:38:39 kernel re1: watchdog timeout

                              Is a few errors like this symptomatic of this bug, or would you see far more of them?

                              I do see this occasionally in my logs, 35 total of them over a couple of months. I am not sure if that is expected or a problem to fix.

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

                                Well, I decided to try it out. I added the driver as detailed above, and confirmed it was loaded, and now I beat on it 5 times as hard and I have not been able to get a single more watchdog error. thanks for helping me find and fix a problem I didn't even know I had!

                                1 Reply Last reply Reply Quote 0
                                • T
                                  tcarlisle
                                  last edited by

                                  @TheNarc said in Official Realtek Driver Binary 1.95 For 2.4.4 Release:

                                  CI323

                                  What I experienced, using the driver built into pfsense on Cl323, is that there will be watchdog timeouts frequently; but eventually the LAN interface will quite working completely until someone reboots the box. After installing the realtek driver 1.95 as described in this thread, those issues are no more and the box is stable.

                                  If you are deploying pfsense on CI323, I'd strongly reccommend this driver and that stress testing the network is part of your checklist.

                                  1 Reply Last reply Reply Quote 1
                                  • K
                                    krackpot
                                    last edited by

                                    Has anyone experienced a downgrade in performance to around 100mbps? It used to operate at my connection speed 175mbps, but after I had to shutdown and replace a power bar a few days ago, it hasn't been the same.

                                    The dashboard reports the link is 1000mbps but that's not the actual speed when downloading a file.

                                    Thanks for your time.

                                    N 1 Reply Last reply Reply Quote 0
                                    • N
                                      Napsterbater @krackpot
                                      last edited by

                                      @krackpot I have two systems running with this driver one on a 200mbps link one on a 300mbps, neither have trouble hitting those speeds.

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

                                        That sounds more like something is actually linking at 100Mb. That NIC should pass far more than that with either driver.

                                        Steve

                                        1 Reply Last reply Reply Quote 1
                                        • G
                                          gordon
                                          last edited by

                                          Have 2.4.4-RELEASE-p3 the latest driver for RTL8111G or must I manualy update the driver to latest version?

                                          I have problem WAN port stop working, disable the port and enable and it start working again... its happens with low load 10mbit maybe... within 1 hour or so...

                                          1 Reply Last reply Reply Quote 0
                                          • kiokomanK
                                            kiokoman LAYER 8
                                            last edited by kiokoman

                                            you need to manually update https://drive.google.com/open?id=1lBg8AIRiRfGBGeXe9kgKtAAma0VjiYfC
                                            copy to /boot/kernel , rename to if_re.ko
                                            kldload if_re.ko
                                            or build it yourself

                                            to load it at boot
                                            edit /boot/loader.conf.local
                                            and paste
                                            if_re_load=“YES"

                                            personally i've lost patience with realtek and at the end i bought an intel card

                                            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                            Please do not use chat/PM to ask for help
                                            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                                            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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