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

    realtek-re-kmod missing in pfSense 2.6 repository?

    Hardware
    21
    150
    49.5k
    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.
    • w0wW
      w0w
      last edited by

      I am using board with embedded realtek NICs, when I try to install realtek-re-kmod driver as I did with 2.5.x version I get "no packages matching..."

      G 1 Reply Last reply Reply Quote 1
      • G
        Gerard64 @w0w
        last edited by

        @w0w I have the same problem.

        I upgrade to pfSense 2.6.0 yesterday and immediately WAN network problems started. After searching i found it is the driver of the RealTek onboard network interface. Upgrading the driver doesn't work anymore in pfSense 2.6.0.

        How can we solve this?

        w0wW 1 Reply Last reply Reply Quote 1
        • R
          RK0
          last edited by

          A fellow user also reports the package file for updating the ethernet Realtek adapter set does not seem to be present in PfSense version 2.6.0.

          It was added as a feature to 2.5.0 per https://redmine.pfsense.org/issues/11079

          Was this an oversight for 2.6.0? Or...is the "updated" driver from https://redmine.pfsense.org/issues/11079 now the default install driver? If so, why was that not mentioned in the 2.6.0 release notes?

          1 Reply Last reply Reply Quote 0
          • w0wW
            w0w @Gerard64
            last edited by

            @gerard64
            SSH or use Command Prompt in gui

            fetch -v https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-196.04.txz
            pkg install -f -y realtek-re-kmod-196.04.txz
            
            G B stephenw10S J 5 Replies Last reply Reply Quote 5
            • G
              Gerard64 @w0w
              last edited by

              @w0w Great, thank you! 👍
              I went back to version 2.5.2 because to many problems with the network Interfaces.
              I will try again soon to upgrade to 2.6.0 and try your tip to install the RealTek driver.

              1 Reply Last reply Reply Quote 0
              • R
                RK0
                last edited by RK0

                A system administrator posted info that the driver as part of 2.6.0 is more recent, but not AS recent as one Realtek made available to freebsd...as I asked a similar question (and referenced the information supplied by @w0w, thank you very much for the link!)

                Based on the information below, when you use the updated drivers directly from freebsd.org, please let everyone know if you find they work well here on the forum.

                From the post at https://forum.netgate.com/topic/169896/updated-realtek-nic-drivers-missing-in-pfsense-2-6-0/4?lang=en-US

                @stephenw10 NETGATE ADMINISTRATOR
                *The in kernel drivers in 2.6 are updated compared to the in kernel drivers in 2.5.2, they now support more devices.
                Those are the FreeBSD drivers not Realtek's own driver which was relatively recently made available as a kmod pkg. That is not currently in the 2.6 repo because of build issues we hit.

                You can still import the module from FreeBSD directly as referenced though I have not personally tested that in 2.6.

                Steve*

                (also, thank you Steve for clarifying this info)

                1 Reply Last reply Reply Quote 2
                • G
                  Gerard64 @w0w
                  last edited by

                  @w0w I installed the driver in pfSense 2.5.2 then i upgrade to pfSense 2.6.0. Sadly the onboard RealTek Interface of the HP T730 is still not stable. Every several minutes i lose connection. In pfsense 2.5.2 it has no problems.

                  w0wW 1 Reply Last reply Reply Quote 0
                  • w0wW
                    w0w @Gerard64
                    last edited by

                    @gerard64
                    Do you have those lines in your loader.conf file?

                    if_re_load="YES"
                    if_re_name="/boot/modules/if_re.ko"
                    

                    e458dc32-195b-446d-8e39-9ab912e21a7d-image.png

                    G 1 Reply Last reply Reply Quote 1
                    • G
                      Gerard64 @w0w
                      last edited by

                      @w0w Yes i have.

                      db3c9be5-110a-4b4c-baba-c1dcf962856b-afbeelding.png

                      w0wW 1 Reply Last reply Reply Quote 0
                      • w0wW
                        w0w @Gerard64
                        last edited by w0w

                        @gerard64
                        Does kldstat command show module loaded?
                        Also my settings are tuned
                        6cee9d07-129b-4208-88cb-b01b9a00962a-изображение.png

                        G R 2 Replies Last reply Reply Quote 0
                        • G
                          Gerard64 @w0w
                          last edited by Gerard64

                          @w0w yes it is in the list.
                          Also the 4 hardware offloading options are checked like you have.

                          7b486912-94aa-4370-93f4-d4e561f72b23-afbeelding.png

                          2d7cc4e8-2985-49c6-9a2e-e1eadb8f2d6c-afbeelding.png

                          1 Reply Last reply Reply Quote 0
                          • R
                            RK0 @w0w
                            last edited by

                            @Gerard64 retest with "Enable the ALTQ support for hn NICs" Unchecked. For Network Interfaces, I've found these settings to be the most stable with the recent drivers.

                            However, I'm still on 2.5.2 but with the new drivers per @w0w on a Lenovo M90n, dual NIC system. Both are Realtek RTL8111K + RTL8111H. ALL traffic effectively goes through those two adapters, one WAN, one LAN with VLANs.

                            This weekend, I'll reformat the whole system and install 2.6.0 with zfs and the new drivers...and I'll let you know if it works.
                            Untitled.png

                            G 1 Reply Last reply Reply Quote 0
                            • G
                              Gerard64 @RK0
                              last edited by

                              @rk0 Thank you.
                              I unchecked "hn ALTQ support" sadly that changed nothing still unstable WAN.

                              I use a HP T730 system with a onboard RealTek nic as WAN. I added a broadcom quad port nic and configured a LAG on bge0 & bge1 with vlan trunk on top of that to my switch. Works really well or well till now this RealTek problem turned up.

                              I probably return to 2.5.2 tomorrow wen i wake up.

                              R w0wW 2 Replies Last reply Reply Quote 0
                              • R
                                RK0 @Gerard64
                                last edited by

                                @gerard64 Out of curiosity, what is your CPU and memory utilization (roughly) when the worst of the packet loss occured? I'm just wondering how "stressed" the firewall was when you started to have issues....(probably unrelated, but wondering)

                                G 1 Reply Last reply Reply Quote 0
                                • G
                                  Gerard64 @RK0
                                  last edited by

                                  @rk0 The local side of my pfSense with 7 vlans over a 2 port LAG works very well, full 1gbit speed, no stuttering ever.

                                  The CPU is normally, with 2.5.2, never higher then ~ 5% or so. Now with 2.6.0 CPU usage is higher sometimes as high as 45%. The RealTek is stuttering constantly very bad ping times.

                                  It is a AMD RX-427BB CPU 4 cores 2.7ghz - 3.6ghz turbo with 8 GB ram memory. And a 32Gb SSD.

                                  d8d75cca-493e-41f9-90ae-4f2501d0868c-afbeelding.png

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    skogs
                                    last edited by

                                    Curious. I did a 2.5.2 > 2.6.xRC > 2.6.0 > 22.01 and never lost my loader.conf.local file nor the modules themselves. kldstat confirms loaded. Several high bandwidth tests completed with no dropouts over several weeks (well on the RCs anyway).

                                    Everything seems stable enough to me. Much better than a while back before the if_re.ko was made an easy install.

                                    1 Reply Last reply Reply Quote 0
                                    • w0wW
                                      w0w @Gerard64
                                      last edited by

                                      @gerard64
                                      Do you mean you have all three first options checked already?

                                      G 1 Reply Last reply Reply Quote 0
                                      • w0wW
                                        w0w
                                        last edited by w0w

                                        I have four realtek NICs, two embedded and two external

                                        re3@pci0:6:0:0:	class=0x020000 card=0x012310ec chip=0x816810ec rev=0x0c hdr=0x00
                                            vendor     = 'Realtek Semiconductor Co., Ltd.'
                                            device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
                                            class      = network
                                            subclass   = ethernet
                                            bar   [10] = type I/O Port, range 32, base 0xb000, size 256, enabled
                                            bar   [18] = type Memory, range 64, base 0x81200000, size 4096, enabled
                                            bar   [20] = type Prefetchable Memory, range 64, base 0xa0000000, size 16384, enabled
                                            cap 01[40] = powerspec 3  supports D0 D1 D2 D3  current D0
                                            cap 05[50] = MSI supports 1 message, 64 bit
                                            cap 10[70] = PCI-Express 2 endpoint MSI 1 max data 128(128) RO
                                                         max read 4096
                                                         link x1(x1) speed 2.5(2.5) ASPM disabled(L0s/L1) ClockPM disabled
                                            cap 11[b0] = MSI-X supports 4 messages, enabled
                                                         Table in map 0x20[0x0], PBA in map 0x20[0x800]
                                            cap 03[d0] = VPD
                                            ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected
                                            ecap 0002[140] = VC 1 max VC0
                                            ecap 0003[160] = Serial 1 01000000684ce000
                                            ecap 0018[170] = LTR 1
                                        

                                        Currently I see no problem. I must check, did I tune anything else...

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          Gerard64 @w0w
                                          last edited by Gerard64

                                          @w0w All four were already checked in 2.5.2 so yes.
                                          I unchecked the 4th for a short while to test but that didn't change anything so i am back to all four checked again.

                                          I upgraded twice to 2.6.0 to test all the above without success. At the moment i am back to 2.5.2 and the RealTek works 100% again.

                                          If somebody has another idea i will try again to upgrade to 2.6.0 and test the RealTek.

                                          c4b2e86c-ec11-4ce7-a954-5f6e939d0f67-afbeelding.png

                                          w0wW 1 Reply Last reply Reply Quote 0
                                          • w0wW
                                            w0w @Gerard64
                                            last edited by w0w

                                            @gerard64
                                            The driver you are using in 2.5.2 is the same?

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