root@OPNsense:~ # uname -r11.2-RELEASE-p16-HBSD
pciconf -lvnone3@pci0:2:0:0: class=0x0c0600 card=0x003515b3 chip=0x673c15b3 rev=0xb0 hdr=0x00 vendor = 'Mellanox Technologies' device = 'MT26428 [ConnectX VPI PCIe 2.0 5GT/s - IB QDR / 10GigE]' class = serial bus
root@OPNsense:~/MLNX_OFED_FREEBSD_V2.1.5/modules/mlx4 # make -m /usr/src/share/mk SYSDIR=/usr/src/sys clean cleandependmake: "/root/MLNX_OFED_FREEBSD_V2.1.5/modules/mlx4/Makefile" line 16: Malformed conditional (${MK_INET_SUPPORT} != "no")make: "/root/MLNX_OFED_FREEBSD_V2.1.5/modules/mlx4/Makefile" line 21: Malformed conditional (${MK_INET6_SUPPORT} != "no")make: Fatal errors encountered -- cannot continuemake: stopped in /root/MLNX_OFED_FREEBSD_V2.1.5/modules/mlx4
root@OPNsense:~ # ./buildInstallLoadDriversReformat.sh 4 datagram
warning: taking address of packed member 'hdr' of class or structure 'cm_req_msg' may result in an unaligned pointer value [-Waddress-of-packed-member]
kldxref /boot/moduleskldload: an error occurred while loading the module. Please check dmesg(8) for more details../buildInstallLoadDriversReformat.sh: auto-append-line: not foundId Refs Address Size Name 1 32 0x0 22847d8 kernel 2 1 0x0 e248 carp.ko 3 1 0x0 e4e8 if_bridge.ko 4 2 0x0 6cb0 bridgestp.ko 5 1 0x0 3250 if_enc.ko 6 1 0x0 6e30 if_gre.ko 7 1 0x0 14788 if_lagg.ko 8 1 0x0 7bb8 if_tap.ko 9 3 0x0 55050 pf.ko10 1 0x0 2ab8 pflog.ko11 1 0x0 d590 pfsync.ko12 1 0x0 6acd0 mlx4.ko13 2 0x0 265d8 linuxkpi.ko16 1 0x0 6fc4 tmpfs.ko17 1 0x0 7298 aesni.koTo disable Infiniband support, remove or comment out the following deviceloads in /boot/loader.conf:mlx4 ibcore mlx4ib ipoib
root@OPNsense:~ # dmesglink_elf_obj: symbol vnet_entry_if_index undefinedlinker_load_file: Unsupported file typelink_elf_obj: symbol vnet_entry_if_index undefinedlinker_load_file: Unsupported file typeKLD mlx4ib.ko: depends on ibcore - not available or version mismatchlinker_load_file: Unsupported file typelink_elf_obj: symbol vnet_entry_if_index undefinedlinker_load_file: Unsupported file typeKLD ipoib.ko: depends on ibcore - not available or version mismatchlinker_load_file: Unsupported file type
root@OPNsense:/boot/modules # lsibcore.ko ipoib.ko linker.hints mlx4.ko mlx4ib.ko
root@OPNsense:~ # kldload /boot/modules/ibcore.kokldload: an error occurred while loading the module. Please check dmesg(8) for more details.
root@OPNsense:~ # dmesglink_elf_obj: symbol vnet_entry_if_index undefinedlinker_load_file: Unsupported file type