• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 1.6k 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.
  • P
    p33kay6521
    last edited by Jun 13, 2024, 11:28 AM

    Im running pfsense 2.7.2 and freebsd 14.0 on an intel nuc 11th Gen i3-1115G4 with 8gb of ram. I have a multi-wan configuration with 2 lines coming into my premises.

    I have read a number of articles and followed the advice here https://forum.opnsense.org/index.php?topic=38282.0 and here https://forum.opnsense.org/index.php?topic=33115.0. As well as a few others on this forum.

    The package i downloaded from freebsd was as follows: https://pkg.freebsd.org/FreeBSD:14:amd64/latest/All/aquantia-atlantic-kmod-0.0.5_3.pkg

    The package installs with no errors however when i try to load the driver i get the following error: kldload: an error occurred while loading module if_atlantic.ko. Please check dmesg(8) for more details.

    Running dmesg gives: KLD if_atlantic.ko: depends on kernel - not available or version mismatch
    linker_load_file: /boot/modules/if_atlantic.ko - unsupported file type

    I thought maybe the kernel was messed up so i backed up config, reinstalled pfsense cleanly, tried to load the drivers and got the same issue.

    So right now im stuck with a 10gb adapter that i cannot load and no other expansion slots in my nuc to add any other kind of adapter.

    any insight would be greatly appreciated

    A K 2 Replies Last reply Jun 13, 2024, 11:41 AM Reply Quote 0
    • A
      Antibiotic @p33kay6521
      last edited by Antibiotic Jun 13, 2024, 11:55 AM Jun 13, 2024, 11:41 AM

      @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 Jun 13, 2024, 11:59 AM Reply Quote 0
      • P
        p33kay6521 @Antibiotic
        last edited by Jun 13, 2024, 11:59 AM

        @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 Jun 13, 2024, 12:05 PM

          @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 Jun 13, 2024, 12:13 PM Reply Quote 0
          • A
            Antibiotic @p33kay6521
            last edited by Jun 13, 2024, 12:13 PM

            @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 Jun 13, 2024, 12:15 PM Reply Quote 0
            • P
              p33kay6521 @Antibiotic
              last edited by Jun 13, 2024, 12:15 PM

              @Antibiotic are you saying it seems to be broken ?

              A 2 Replies Last reply Jun 13, 2024, 12:22 PM Reply Quote 0
              • A
                Antibiotic @p33kay6521
                last edited by Jun 13, 2024, 12:22 PM

                @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 Jun 13, 2024, 12:24 PM

                  @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 Jun 13, 2024, 12:48 PM Reply Quote 0
                  • P
                    p33kay6521 @Antibiotic
                    last edited by Jun 13, 2024, 12:48 PM

                    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 Jun 13, 2024, 1:08 PM Reply Quote 0
                    • K
                      Konstanti @p33kay6521
                      last edited by Jun 13, 2024, 12:52 PM

                      @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 Jun 13, 2024, 1:20 PM Jun 13, 2024, 1:08 PM

                        @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
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Jun 13, 2024, 1:22 PM

                          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 Jun 13, 2024, 1:24 PM Reply Quote 0
                          • P
                            p33kay6521 @stephenw10
                            last edited by Jun 13, 2024, 1:24 PM

                            @stephenw10 so there is nothing i can do?

                            K 1 Reply Last reply Jun 13, 2024, 1:57 PM Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by stephenw10 Jun 13, 2024, 1:41 PM Jun 13, 2024, 1:41 PM

                              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 Jun 13, 2024, 1:56 PM Reply Quote 1
                              • P
                                p33kay6521 @stephenw10
                                last edited by Jun 13, 2024, 1:56 PM

                                @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 Jun 13, 2024, 1:57 PM

                                  @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 Jun 13, 2024, 1:59 PM Reply Quote 0
                                  • P
                                    p33kay6521 @Konstanti
                                    last edited by p33kay6521 Jun 13, 2024, 2:05 PM Jun 13, 2024, 1:59 PM

                                    @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 Jun 13, 2024, 2:04 PM Reply Quote 0
                                    • K
                                      Konstanti @p33kay6521
                                      last edited by Konstanti Jun 13, 2024, 2:13 PM Jun 13, 2024, 2:04 PM

                                      @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 Jun 17, 2024, 8:41 AM

                                        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
                                        • S
                                          stephenw10 Netgate Administrator
                                          last edited by Jun 17, 2024, 12:52 PM

                                          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
                                          20 out of 20
                                          • First post
                                            20/20
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received