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

    Is the Broadcom BCM957414A4142CC (BCM57414) 25G NIC supported?

    Scheduled Pinned Locked Moved Hardware
    42 Posts 4 Posters 7.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.
    • Y
      Yves_ @stephenw10
      last edited by

      @stephenw10 Okay, I have done it the quick and dirty way. Just name the existing if_bnxt.ko to if_bnxt.ko.old and insert the newly compiled into /boot/kernel/if_bnxt.ko. I still had to run ifconfig bnxt0 promisc to make the system work again :-( can I somehow check what pfSense loaded? Maybe it ignored if_bnxt.ko and it is somehow in the kernel after all?

      Y 1 Reply Last reply Reply Quote 0
      • Y
        Yves_ @Yves_
        last edited by

        @yves_ update! replacing does not work... because the module is built into /boot/kernel/kernel

        Now I tried to load it with kldload /boot/kernel/if_bnxt.ko

        KLD if_bnxt.ko: depends on kernel - not available or version mismatch
        linker_load_file: /boot/kernel/if_bnxt.ko - unsupported file type
        

        I guess back to squer one ;-)

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

          At the console you should see it report that loading at boot before the kernel boots. Or an error if it can't load. You might also try changing a description line in the driver so you can see that in thr boot logs or sysctls where it reports it.

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

            Ah, yes, like that!

            Mmm, definitely not a 32bit module?

            Y 1 Reply Last reply Reply Quote 0
            • Y
              Yves_ @stephenw10
              last edited by

              @stephenw10 well I used FreeBSD 12.3 Stable amd64 should I use FreeBSD 12.0 i386?

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

                No, it should be 64bit but if you'd accidentally used 32bit it would have presented similarly to that.

                Try building against 12.3-release instead, assuming you are running 2.6?

                Or update to a 2.7 snapshot and try the 12-stable module there.

                Steve

                Y 1 Reply Last reply Reply Quote 0
                • Y
                  Yves_ @stephenw10
                  last edited by

                  @stephenw10 I made a little mistake I used 12.3-Release amd64... if I do it with that one. Which I did. Can it happen that I mistakely compiled it 32bit? is just ran "make kernel"

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

                    No it will have built a 64bit module.

                    Do you actually see an updated module though? The file dates from when you compiled it?
                    The default install will already have the old module?

                    I would just try whatever you can. It might be that driver requires an absolute specific kernel version in which case you're probably out of luck.

                    Steve

                    Y 1 Reply Last reply Reply Quote 0
                    • Y
                      Yves_ @stephenw10
                      last edited by

                      @stephenw10 said in Is the Broadcom BCM957414A4142CC (BCM57414) 25G NIC supported?:

                      Do you actually see an updated module though? The file dates from when you compiled it?
                      The default install will already have the old module?

                      I would just try whatever you can. It might be that driver requires an absolute specific kernel version in which case you're probably out of luck.

                      Steve

                      I see the new date on the if_bnxt.ko so I guess this means it compiled the new module. But I did it on 12.3 Release now I downloaded 12.3 Stable and will do it again.

                      Y 1 Reply Last reply Reply Quote 1
                      • Y
                        Yves_ @Yves_
                        last edited by

                        @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
                        
                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Hmm, damn. Can you try loading any of those into a 2.7 snapshot?

                          Y 1 Reply Last reply Reply Quote 0
                          • Y
                            Yves_ @stephenw10
                            last edited by

                            @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.

                            Y 1 Reply Last reply Reply Quote 0
                            • Y
                              Yves_ @Yves_
                              last edited by

                              @yves_ Or you can try the file yourself if_bnxt.ko

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

                                Shows as deleted. What was/is that compiled against?

                                Y 1 Reply Last reply Reply Quote 0
                                • Y
                                  Yves_ @stephenw10
                                  last edited by

                                  @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
                                  
                                  Y 1 Reply Last reply Reply Quote 0
                                  • Y
                                    Yves_ @Yves_
                                    last edited by

                                    @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

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

                                      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

                                      Y 1 Reply Last reply Reply Quote 0
                                      • Y
                                        Yves_ @stephenw10
                                        last edited by Yves_

                                        @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
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          Yes, you can definitely do that:
                                          https://docs.netgate.com/pfsense/en/latest/development/boot-commands.html#shellcmd-option

                                          Steve

                                          Y 1 Reply Last reply Reply Quote 0
                                          • Y
                                            Yves_ @stephenw10
                                            last edited by Yves_

                                            @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?

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