Is the Broadcom BCM957414A4142CC (BCM57414) 25G NIC supported?
-
@yves_ Soooo I recompiled the driver again. With 12.3-Stable AMD64, the version 12.0-Stable I could not find.
-r-xr-xr-x 1 root wheel 225K Jul 27 18:33 if_bnxt.ko
Unfortunatly same result:
KLD if_bnxt.ko: depends on kernel - not available or version mismatch linker_load_file: /boot/kernel/if_bnxt.ko - unsupported file type
-
Hmm, damn. Can you try loading any of those into a 2.7 snapshot?
-
@stephenw10 This is from the system I used to compile the driver
root@freebsd-12-3-stable:~ # kldload /boot/kernel/if_bnxt.ko root@freebsd-12-3-stable:~ # kldstat -v | grep if_bnxt 5 1 0xffffffff82725000 162a0 if_bnxt.ko (/boot/kernel/if_bnxt.ko) root@freebsd-12-3-stable:~ # ls -lh /boot/kernel/if_bn* -r-xr-xr-x 1 root wheel 225K Jul 27 18:33 /boot/kernel/if_bnxt.ko
As you can see it worked to load it on this system the drivers was compiled :-(
I will start a VM with 2.7 snapshot and try to load it into that one.
-
@yves_ Or you can try the file yourself if_bnxt.ko
-
Shows as deleted. What was/is that compiled against?
-
@stephenw10 sorry, stupid file provider :-) here you go: if_bnxt.zip its compiled against
FreeBSD freebsd-12-3-stable 12.3-STABLE FreeBSD 12.3-STABLE GENERIC amd64
-
@yves_ can I compile it on 2.6.0? some how? how do I get the source inside of the /usr/src folder? its currently empty
-
Mmm, still fails in 2.7.
Compiling pfSense is non-trivial. There are some guides about if you search but it's not something I can go into detail on here.
Steve
-
@stephenw10 okay... not compiling pfsense... more compiling the driver ON pfsense. Like this is would be compiled against the FreeBSD from pfSense
What workaround do we have else? is there a possibility to always run a script as soon as pfsense is booted up which runs this command
ifconfig bnxt0 promisc
-
Yes, you can definitely do that:
https://docs.netgate.com/pfsense/en/latest/development/boot-commands.html#shellcmd-optionSteve
-
@stephenw10 Okay, I did that. Worked out flawlessly. Now the Server also survives a reboot. But I still like to fix the driver somehow
The tutorial says "When doing this, install a version of FreeBSD that matches up with the version of pfSense software currently in use. A list can be found here: Versions of pfSense software and FreeBSD"
According to the data table is is: 12.3-STABLE@ef1e43df92c6 now the big question is where can I get excatly that version of 12.3-STABLE... or is it possible that it does not matter at all, since it is linked in the kernel module?
-
Yeah it seems that driver is linked to the kernel in a closer way than others.
When we move to a newer FreeBSD version you should get that patch anyway.
Steve