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

    Missing kernel modules on release 2.7.0

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 3 Posters 766 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.
    • S
      sTicKs23
      last edited by

      Hello,

      I'm using pfSense on a custom built PC as a main firewall/vpn/router. Alongside these features, I'm also having some iSCSI disks that I'm forwarding to some ESXi hosts using FreeBSD's native ctld.
      Version 2.6.0 shipped the required kernel modules: cfiscsi.ko, ctl.ko, isci.ko, iscsi.ko.
      Version 2.7.0:

      • upgrading to this version stopped this functionality, modules are not there anymore.
      • fresh installing this version will have the same outcome, no modules.
      • opened the DVD image of pfSense installer, and in the /BOOT/KERNEL path, there are 2 modules (CTL.KO and ISCI.KO) which are not being coppied over during the installation process. Still cfiscsi.ko and iscsi.ko are required for the ctld service to run.

      In the pre 2.6.0 era (2.6.0 was the only one shipping out all the FreeBSD modules if I'm not mistaken), the missing modules could be easily coppied over from the FreeBSD stable dvd release for each corresponding version.

      First of all, I'm not a hardcore BSD user/engineer, but after some research I've managed the following:

      • Installation of a fresh BSD 13.2
      • Cloned the https://github.com/pfsense/FreeBSD-src repository and moved its contents to /usr/src, changed the branch to RELENG_2_7_0
      • Now I'm building world and kernel using: make -C /usr/src buildworld buildkernel

      Has anyone done this and can offer some advices? Can we request anywhere these modules to be available in a future build?

      H 1 Reply Last reply Reply Quote 1
      • S
        sTicKs23
        last edited by

        Hello,

        I've managed to build my own kernel from the RELENG_2_7_0 branch on a FreeBSD 14 Beta 4 instance. Afterwards I've copied the kernel files over from BSD to pfSense and everything works like a charm for now. iSCSI targets are visible to the ESXi hosts, firewall/vpn/routes are working fine. Internet speeds are like before (complex setup lacp, some vlans, dual wan, policy routing).

        Will post here in the next few days a procedure for anyone who's interested in such matters.

        2c7767e6-eb99-4cdc-bdd0-8181a9765482-image.png

        NollipfSenseN 1 Reply Last reply Reply Quote 1
        • NollipfSenseN
          NollipfSense @sTicKs23
          last edited by

          @sTicKs23 Congrats!

          pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
          pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

          1 Reply Last reply Reply Quote 1
          • H
            hell_p @sTicKs23
            last edited by

            It's strange, only 74 modules instead of 977 in the old core.
            I need a uchcom.ko module (USB-to-RS-232) to collect monitoring data.
            I will have to follow your path.

            1 Reply Last reply Reply Quote 0
            • H
              hell_p
              last edited by

              Wow! )
              uchcom0: <vendor 0x1a86 USB2.0-Serial, rev 1.10/2.54, addr 4> on usbus0
              uchcom0: CH340 detected

              S 1 Reply Last reply Reply Quote 1
              • S
                sTicKs23 @hell_p
                last edited by

                @hell_p So, it worked for you too?

                H 1 Reply Last reply Reply Quote 1
                • H
                  hell_p @sTicKs23
                  last edited by

                  @sTicKs23, exactly, thank you!

                  1 Reply Last reply Reply Quote 1
                  • S sTicKs23 referenced this topic on
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.