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

Missing kernel modules on snapshots

Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
8 Posts 3 Posters 1.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.
  • L
    LuKePicci
    last edited by LuKePicci Mar 8, 2023, 12:33 PM Mar 8, 2023, 12:32 PM

    Hi, is it expected to have missing kernel modules in /boot/kernel on latest 2.7.0 snapshots?

    In particular, I'm missing tpm.ko which was there on 2.6.0. Have they moved into a separate package?

    Thanks

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Mar 8, 2023, 2:28 PM

      tpm.ko is there:

      : ls -l /boot/kernel/tpm.ko
      -r-xr-xr-x  1 root  wheel  60776 Mar  1 01:54 /boot/kernel/tpm.ko
      
      : pkg which /boot/kernel/tpm.ko
      /boot/kernel/tpm.ko was installed by package pfSense-kernel-pfSense-2.7.0.a.20230301.0600
      

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      L 1 Reply Last reply Mar 9, 2023, 8:56 AM Reply Quote 1
      • L
        LuKePicci @jimp
        last edited by Mar 9, 2023, 8:56 AM

        @jimp then there must be something wrong with the 20230308 snapshot 😂
        7c3bc672-a6bb-4dec-a1cb-a2ab615de0aa-image.png

        52504f7a-4258-4db7-9086-cc90726308db-image.png

        Will try 20230301, thanks

        L 1 Reply Last reply Mar 9, 2023, 11:23 AM Reply Quote 0
        • L
          LuKePicci @LuKePicci
          last edited by LuKePicci Mar 9, 2023, 11:23 AM Mar 9, 2023, 11:23 AM

          Update

          • 20230309 has same issue of 20230308, modules are missing (not just tpm.ko)
          • 20230301 and 20230302 didn't boot for other OT reasons (stuck at configuring firewall).

          Will go back in time until I find one which includes modues and boots fine.

          D 1 Reply Last reply May 17, 2023, 6:03 AM Reply Quote 0
          • J
            jimp Rebel Alliance Developer Netgate
            last edited by Mar 9, 2023, 1:37 PM

            It did change somewhere between the 1st and 8th builds. I started a Redmine issue here:

            https://redmine.pfsense.org/issues/14086

            There are quite a few missing, it went from >800 modules to ~80.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • D
              Dobby_ @LuKePicci
              last edited by Dobby_ May 17, 2023, 6:04 AM May 17, 2023, 6:03 AM

              @lukepicci said in Missing kernel modules on snapshots:

              Update

              • 20230309 has same issue of 20230308, modules are missing (not just tpm.ko)
              • 20230301 and 20230302 didn't boot for other OT reasons (stuck at configuring firewall).

              Will go back in time until I find one which includes modues and boots fine.

              Update, on 2023-05-17 (both 23.05RC and 2.7 Devel)

              pfSense 23.05 RC (latest)

              [23.05-RC][root@xx xx xx]/root: ls -l /boot/kernel/*.ko | wc -l
                   822
              
              

              pfSense 2.7 Devel (zfs) x86_64 (latest)

              [2.7.0-DEVELOPMENT][root@xx xx xx]/root: ls -l /boot/kernel/*.ko | wc -l                                                                          
                    73
              
              

              #~. @Dobby

              Turris Omnia - 4 Ports - 2 GB RAM / TurrisOS 7 Release (Btrfs)
              PC Engines APU4D4 - 4 Ports - 4 GB RAM / pfSense CE 2.7.2 Release (ZFS)
              PC Engines APU6B4 - 4 Ports - 4 GB RAM / pfSense+ (Plus) 24.03_1 Release (ZFS)

              1 Reply Last reply Reply Quote 0
              • J
                jimp Rebel Alliance Developer Netgate
                last edited by May 18, 2023, 12:53 PM

                We are working on getting back to a state where we only include the modules necessary to function, rather than carrying them all (and the extra disk space they consume).

                If you can identify the specific modules you need that were not present in the other images, then we can look into whether or not it's feasible to include them in builds. It may depend on what they are / what their dependencies are.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                L 1 Reply Last reply May 28, 2023, 9:05 AM Reply Quote 0
                • L
                  LuKePicci @jimp
                  last edited by May 28, 2023, 9:05 AM

                  For our needs we need the tpm.ko module in order to get device attestation in Azure IoT Hub. We have a tested and working solution already on 2.6.0.

                  It would be fine to have such modules on packages instead of being included into the main build.

                  I would heavily discourage to drop all modules from production builds without having packages for them available.

                  1 Reply Last reply Reply Quote 4
                  • L LuKePicci referenced this topic on Jul 26, 2023, 8:29 AM
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received