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

    Realtek 8111E Driver for H/W revision: 0x2c800000 on pfSense 2.0

    Scheduled Pinned Locked Moved Hardware
    13 Posts 8 Posters 11.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.
    • S Offline
      seedrs
      last edited by

      I have compiled Realtek's latest driver for all those who have issues with the Realtek 8111E NIC that has a higher revision then what that built in driver supports.  The module is for pfSense 2.0 (FreeBSD 8.1) systems.

      To install the module, place if_re.ko to /boot/kernel/.  Next edit/create the file /boot/loader.conf.local and add if_re_load="YES" on its own line. Reboot and enjoy your onboard Realtek 8111E NIC

      I have not tested the x64 version.

      i386 https://dl.dropbox.com/u/26185617/if_re/i386/if_re.ko
      x64 https://dl.dropbox.com/u/26185617/if_re/x64/if_re.ko

      Adam

      1 Reply Last reply Reply Quote 0
      • J Offline
        jcal
        last edited by

        Can you please repost updated links.

        1 Reply Last reply Reply Quote 0
        • J Offline
          jcal
          last edited by

          Sorry, problem was on my end.

          Thanks for compiling the drivers.

          Muchly appreciated.

          1 Reply Last reply Reply Quote 0
          • D Offline
            drewy
            last edited by

            Hi,

            I've tried the suggested fix on 2.0.1 x82 (32 bit) but see no difference.
            The mother board nic's still don't seem to be detected.
            Anything I can try?

            thanks

            1 Reply Last reply Reply Quote 0
            • W Offline
              wallabybob
              last edited by

              @drewy:

              The mother board nic's still don't seem to be detected.

              What evidence led you to that conclusion?

              1 Reply Last reply Reply Quote 0
              • D Offline
                drewy
                last edited by

                from the boot log

                module_register_init: MOD_LOAD (pci/if_re, 0xc0a67b70, 0xc15955d4) error 22

                …

                re1: <realtek 8111="" 8168="" b="" c="" cp="" d="" dp="" e="" pcie="" gigabit="" ethernet="">port 0xd000-0xd0ff mem 0xdfd04000-0xdfd04fff,0xdfd00000-0xdfd03fff irq 18 at device 0.0 on pci3
                re1: Using 1 MSI messages
                re1: Chip rev. 0x2c800000
                re1: MAC rev. 0x00000000
                re1: Unknown H/W revision: 0x2c800000

                same as I was seeing before trying the recommended fix.

                I typo'd the version, it is 2.0.2.</realtek>

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jcal
                  last edited by

                  Hi, is there anyway to configure these drivers to load pre-installation. (i.e. by editting the .iso or install media)? Because my system won't recognise any interfaces (without the driver) I am unable to drop to a shell and edit the config files.

                  I used the 2.1 snapshot to succesfully install, and it recognises the NIC's, however, would rather run the stable release.

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    nahun
                    last edited by

                    @drewy:

                    from the boot log

                    module_register_init: MOD_LOAD (pci/if_re, 0xc0a67b70, 0xc15955d4) error 22

                    …

                    re1: <realtek 8111="" 8168="" b="" c="" cp="" d="" dp="" e="" pcie="" gigabit="" ethernet="">port 0xd000-0xd0ff mem 0xdfd04000-0xdfd04fff,0xdfd00000-0xdfd03fff irq 18 at device 0.0 on pci3
                    re1: Using 1 MSI messages
                    re1: Chip rev. 0x2c800000
                    re1: MAC rev. 0x00000000
                    re1: Unknown H/W revision: 0x2c800000

                    same as I was seeing before trying the recommended fix.

                    I typo'd the version, it is 2.0.2.</realtek>

                    I'm getting the same problem still too. Loaded your module and won't recognize the adapters quite right. I tried compiling on 8.1 myself and loading it and same thing. This machine has other Realtek adapters (RealTek 8169/8169S/8169SB(L)/8110S/8110SB(L)) that do work fine with re, but they're not on the motherboard.

                    Here are details of the adapter that won't work:

                    module_register_init: MOD_LOAD (pci/if_re, 0xc0a67b70, 0xc15955d4) error 22

                    re0: <realtek 8111="" 8168="" b="" c="" cp="" d="" dp="" e="" pcie="" gigabit="" ethernet="">port 0xe000-0xe0ff mem 0xdfe04000-0xdfe04fff,0xdfe00000-0xdfe03fff irq 17 at device 0.0 on pci2
                    re0: Using 1 MSI messages
                    re0: Chip rev. 0x2c800000
                    re0: MAC rev. 0x00000000
                    re0: Unknown H/W revision: 0x2c800000
                    device_attach: re0 attach returned 6

                    re0@pci0:2:0:0: class=0x020000 card=0x816810ec chip=0x816810ec rev=0x06 hdr=0x00
                       class      = network
                       subclass   = ethernet
                       bar   [10] = type I/O Port, range 32, base 0xe000, size 256, enabled
                       bar   [20] = type Prefetchable Memory, range 64, base 0xdfe00000, 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 IRQ 2 max data 128(128) link x1(x1)
                       cap 11[b0] = MSI-X supports 4 messages in map 0x20
                       cap 03[d0] = VPD

                    kldstat
                    Id Refs Address    Size     Name
                    1    2 0xc0400000 117c18c  kernel
                    2    1 0xc157d000 195b4    if_re.ko

                    thanks for any help!

                    edit: added dmesg module_register_init error</realtek>

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      nahun
                      last edited by

                      I decided to just use a 2.1 snapshot since that is based on FreeBSD 8.3 and I'm just using this for a home firewall. The interfaces work perfectly fine now.

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        tbardill
                        last edited by

                        Hi,

                        I have the same problem with my onboard RTL8111E network adapter.  I've also never loaded a driver for pfsense before.  Would you be able to run me through the process of loading the driver?  I have pfsense release 2.0.2 burned to CD and am ready to install it, I have also downloaded the Realtek driver from your link in your previous post, see below:
                        Could you run me through the commands to place the driver "if_re.ko" into the kernel and to edit the loader.

                        Thanks, Thomas.

                        _I have compiled Realtek's latest driver for all those who have issues with the Realtek 8111E NIC that has a higher revision then what that built in driver supports.  The module is for pfSense 2.0 (FreeBSD 8.1) systems.

                        To install the module, place if_re.ko to /boot/kernel/.  Next edit/create the file /boot/loader.conf.local and add if_re_load="YES" on its own line. Reboot and enjoy your onboard Realtek 8111E NIC_

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          r22ko
                          last edited by

                          I have the same problem.
                          PfSense 2.0.3 x86 RTL8111E.
                          Error 22 when uploading the file if_re.ko (x32 too).
                          Please help.

                          1 Reply Last reply Reply Quote 0
                          • W Offline
                            wallabybob
                            last edited by

                            @r22ko:

                            Error 22 when uploading the file if_re.ko (x32 too).

                            How are you attempting to upload the file? Please post the command (if applicable) and the problem report. (A bit more more context might be informative.)

                            1 Reply Last reply Reply Quote 0
                            • W Offline
                              woni
                              last edited by

                              I have the same problem with error 22 on pfsense 2.01
                              Can anyone help? It's not possible for me to go to Version 2.1

                              I have copied re_if.ko to /boot/kernel and have edited the loader.conf.local and the loader.conf.
                              No success.

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