pfsense 2.7.2 and Freebsd 14.0 Cannot load aquantia aqn-107 drivers
-
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 typeI 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
-
@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 -
@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
-
@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-installThe 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.
-
-
@Antibiotic are you saying it seems to be broken ?
-
@p33kay6521 Looks like , you can try 0.5.2
-
@p33kay6521 Did you check this link?
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238324
-
Tried using 5_3 and 5_2 packages and still doing the same thing. Not sure why im getting the kernel error
-
This error means that the driver is built for a different kernel version and will not be supported in Freebsd 14.0
-
@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)))
-
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.
-
@stephenw10 so there is nothing i can do?
-
Use a pkg compiled for it.
Luckily another intrepid user already did that. See: https://forum.netgate.com/post/1165175
-
@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?
-
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
-
@Konstanti thank you so much. I will give it a go. Do I just copy file into /boot/modules directory
-
to upload a file, you need to
1 /Diagnostics/CommandPrompt ->Upload file2 from the console PF
cd /tmp
chmod +x if_atlantic.ko
cp if_atlantic.ko /boot/kernelkldload if_atlantic.ko
if everything works out, then you will need to make sure that the driver is loaded automatically at system startup
-
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 ?
-
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.