Can't assign NIC [Aquantia Corp. AQC107]
-
Great topic and subject
I was not able to reproduce --> compile the source as there is no C compiler on the pfsense
First we need to install git on the pfsense
pkg install git (this works)
then the ./configure I get an error message :
configure: error: no acceptable C compiler found in $PATHAny advice to move foward?
Thank you
-
Don't try to build anything in pfSense. Instead build in FreeBSD. However for something like a kernel module this is non-trivial as you must build against the same kernel pfSense is using.
-
@stephenw10 Thank you I just try in a VM I create with exactly the same version and setting of my pfsense...
My goal is to make my 10G network card working on the pfsense
I have the chance (now, was not the case before) to have 10G internet access
So I 'll try with a freebsd with the same kernel and see
-
@kouled said in Can't assign NIC [Aquantia Corp. AQC107]:
My goal is to make my 10G network card working on the pfsense
Get a device, or NICs, that is known to work at that speed with pfSense is probably way easier.
-
I end up with error <=> I can't compile the driver...
/usr/src/aqtion-freebsd-0.0.5/aq_main.c:197:57: error: too many arguments provided to function-like macro invocation
197 | DRIVER_MODULE(atlantic, pci, aq_driver, aq_devclass, 0, 0);
| ^
/usr/include/sys/bus.h:854:9: note: macro 'DRIVER_MODULE' defined here
854 | #define DRIVER_MODULE(name, busname, driver, evh, arg)
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]In the main the function put 5 arguments in the bus.h that function is only expecting 5 arguments.. mismatch
the code is not working properly
I have no idea how I can run my 10g network card on my pfsense :-(
-
What were you compiling against? For which pfSense version?
-
@stephenw10
I was compiling on a Virtual Machine running freebsd 14.1 (couldn't get the 14.0 as my pfsense version) / kernel 2.7.2 as my pfsense version...I was compiling the source C for the network card 10g
The driver for the card I have exist for a kernel >= 3.10
So no package / driver for any 10G card :-(
So I'm stuck and very frustaded
-
@kouled said in Can't assign NIC [Aquantia Corp. AQC107]:
The driver for the card I have exist for a kernel >= 3.10
That's almost certainly a Linux kernel and FreeBSD is not Linux.
Did you checkout the FreeBSD git source from the correct commit hash as shown above?
-
@stephenw10 I did and I found the above topic from onoseto on Apr 25 2024 at 6:43PM
Attaching the Aquantia driver for latest pfSense (2.7.2) ....
I try to follow but I get errors.
It's just pity
-
Hmm, and you're tying to compile the kmod pkg? I'm confused about where that Linux kernel reference came from?