How to add kernel modules to Pfsense installation



  • Hi,

    I´m trying to get my old Infinihost III infiniband card running under Pfsense 2.2, but I can´t get the kernel modules to work. I´m no expert i FreeBSD, but I installed a standalone FreeBSD 10.1 installation and rebuilt the kernel with the desired modules (ibcore.ko, ipoib.ko and mtcha.ko). Then I moved the modules to my PFsense installation, but they fail to load with various error messages, missing symbols etc.

    Is there some other way that is recommended to get new kernel modules running with PFsense ?


  • Netgate Administrator

    You rebuilt the kernel?
    You can't replace the pfSense kernel, it has way too many customisations. You should be able to load kernel modules separately but maybe you built them into the custom kernel you built?

    Steve



  • @stephenw10:

    You rebuilt the kernel?
    You can't replace the pfSense kernel, it has way too many customisations. You should be able to load kernel modules separately but maybe you built them into the custom kernel you built?

    Steve

    I didn´t rebuild the Pfsense kernel, I took a generic Freebsd 10.1 installation and built the modules, believing that I could transfer them to the Pfsense box , since Pfsense 2.2 is based on Freebsd 10.1


  • Netgate Administrator

    Generally speaking you can do that however there are various customisations that go into pfSense. It seems maybe some required library has been removed. Do you have any further error messages we could look at? Maybe try booting in verbose mode.

    Steve