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

    pfsense 2.7.2 and Freebsd 14.0 Cannot load aquantia aqn-107 drivers

    Scheduled Pinned Locked Moved General pfSense Questions
    20 Posts 4 Posters 2.3k 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.
    • A
      Antibiotic @p33kay6521
      last edited by Antibiotic

      @p33kay6521 said in pfsense 2.7.2 and Freebsd 14.0 Cannot load aquantia aqn-107 drivers:

      https://forum.opnsense.org/index.php?topic=38282.0 and here https://forum.opnsense.org/index.php?topic=33115.0

      Where did you put this? if_atlantic_load="YES"

      This links will help you)))
      https://www.freshports.org/net/aquantia-atlantic-kmod/
      https://forum.netgate.com/topic/178675/how-do-you-add-a-driver-to-a-pfsense-install

      pfSense plus 24.11 on Topton mini PC
      CPU: Intel N100
      NIC: Intel i-226v 4 pcs
      RAM : 16 GB DDR5
      Disk: 128 GB NVMe
      Brgds, Archi

      P 2 Replies Last reply Reply Quote 0
      • P
        p33kay6521 @Antibiotic
        last edited by

        @Antibiotic
        Where did you put this? if_atlantic_load="YES"

        I did what the article suggested and put it in /boot/loader.conf.local

        Will check out those links. Thanks

        1 Reply Last reply Reply Quote 0
        • P
          p33kay6521 @Antibiotic
          last edited by

          @Antibiotic said in pfsense 2.7.2 and Freebsd 14.0 Cannot load aquantia aqn-107 drivers:

          This links will help you)))
          https://www.freshports.org/net/aquantia-atlantic-kmod/
          https://forum.netgate.com/topic/178675/how-do-you-add-a-driver-to-a-pfsense-install

          The bottom link is very similar to the process i used but only with later drivers, everything installs correctly but driver will not load due to errors mentioned above.

          A 1 Reply Last reply Reply Quote 0
          • A
            Antibiotic @p33kay6521
            last edited by

            @p33kay6521

            Screenshot_13-6-2024_151326_www.freshports.org.jpeg

            pfSense plus 24.11 on Topton mini PC
            CPU: Intel N100
            NIC: Intel i-226v 4 pcs
            RAM : 16 GB DDR5
            Disk: 128 GB NVMe
            Brgds, Archi

            P 1 Reply Last reply Reply Quote 0
            • P
              p33kay6521 @Antibiotic
              last edited by

              @Antibiotic are you saying it seems to be broken ?

              A 2 Replies Last reply Reply Quote 0
              • A
                Antibiotic @p33kay6521
                last edited by

                @p33kay6521 Looks like , you can try 0.5.2

                Screenshot_13-6-2024_152216_www.freshports.org.jpeg

                Screenshot_13-6-2024_152156_www.freshports.org.jpeg

                pfSense plus 24.11 on Topton mini PC
                CPU: Intel N100
                NIC: Intel i-226v 4 pcs
                RAM : 16 GB DDR5
                Disk: 128 GB NVMe
                Brgds, Archi

                1 Reply Last reply Reply Quote 0
                • A
                  Antibiotic @p33kay6521
                  last edited by

                  @p33kay6521 Did you check this link?

                  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238324

                  pfSense plus 24.11 on Topton mini PC
                  CPU: Intel N100
                  NIC: Intel i-226v 4 pcs
                  RAM : 16 GB DDR5
                  Disk: 128 GB NVMe
                  Brgds, Archi

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    p33kay6521 @Antibiotic
                    last edited by

                    Tried using 5_3 and 5_2 packages and still doing the same thing. Not sure why im getting the kernel error

                    A 1 Reply Last reply Reply Quote 0
                    • K
                      Konstanti @p33kay6521
                      last edited by

                      @p33kay6521

                      This error means that the driver is built for a different kernel version and will not be supported in Freebsd 14.0

                      1 Reply Last reply Reply Quote 1
                      • A
                        Antibiotic @p33kay6521
                        last edited by Antibiotic

                        @p33kay6521 So, you can try pfSesne CE version based on Freebsd 13 , have only this one solution

                        https://docs.netgate.com/pfsense/en/latest/releases/versions.html#pfsense-ce-software

                        Oh , only based on 12))) Sorry

                        The other way to buy Plus version and try for Freebsd 15 or try Opnsense free edition based on Freebsd 13 and test)))

                        pfSense plus 24.11 on Topton mini PC
                        CPU: Intel N100
                        NIC: Intel i-226v 4 pcs
                        RAM : 16 GB DDR5
                        Disk: 128 GB NVMe
                        Brgds, Archi

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

                          You need to have a module that's built for the specific kernel used in pfSense. Modules from FreeBSD release versions will almost always fail to load.

                          P 1 Reply Last reply Reply Quote 0
                          • P
                            p33kay6521 @stephenw10
                            last edited by

                            @stephenw10 so there is nothing i can do?

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

                              Use a pkg compiled for it. 😉

                              Luckily another intrepid user already did that. See: https://forum.netgate.com/post/1165175

                              P 1 Reply Last reply Reply Quote 1
                              • P
                                p33kay6521 @stephenw10
                                last edited by

                                @stephenw10 i saw this post but the link he gives is dead and im not sure i have the expertise to replicate what he did. Does anyone perhaps have that file?

                                1 Reply Last reply Reply Quote 0
                                • K
                                  Konstanti @p33kay6521
                                  last edited by

                                  @p33kay6521

                                  Try to download the file manually ( I have compiled the driver for Freebsd 14, taking into account all the necessary changes ) I hope that everything will work out

                                  FreeBSD freeb14 14.0-CURRENT FreeBSD 14.0-CURRENT amd64 1400094 #0: Sat Jun 8 23:28:03 MSK 2024 root@freeb14:/usr/obj/usr/src/FreeBSD-src-RELENG_2_7_2/amd64.amd64/sys/pfSense-DEBUG amd64

                                  if_atlantic.ko.zip

                                  P 2 Replies Last reply Reply Quote 0
                                  • P
                                    p33kay6521 @Konstanti
                                    last edited by p33kay6521

                                    @Konstanti thank you so much. I will give it a go. Do I just copy file into /boot/modules directory

                                    K 1 Reply Last reply Reply Quote 0
                                    • K
                                      Konstanti @p33kay6521
                                      last edited by Konstanti

                                      @p33kay6521

                                      to upload a file, you need to
                                      1 /Diagnostics/CommandPrompt ->Upload file

                                      2 from the console PF
                                      cd /tmp
                                      chmod +x if_atlantic.ko
                                      cp if_atlantic.ko /boot/kernel

                                      kldload if_atlantic.ko

                                      if everything works out, then you will need to make sure that the driver is loaded automatically at system startup

                                      4cb9af34-bbc8-4cb7-9b73-be96d3683f82-image.png

                                      1 Reply Last reply Reply Quote 1
                                      • P
                                        p33kay6521 @Konstanti
                                        last edited by

                                        Hi
                                        I did everything successfully. Driver is in kernel directory. Made the file executable but am still getting the same error message when i try to load the driver.

                                        Completely stumped. Maybe i will just move to openvpn on freebsd 13. Not sure what else to do. Any ideas ?

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

                                          Yeah that module is not compiled against the pfSense 2.7.2 kernel. The instructions for dong so are in that linked thread.
                                          Hopefully that other user may be able to re-upload their compiled module.

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