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

    Building a minimum kernel for pfSense

    Scheduled Pinned Locked Moved Development
    3 Posts 2 Posters 1.2k 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.
    • ?
      A Former User
      last edited by

      So I'm trying to build a minimum kernel config for pfSense with as few drivers and options as possible whilst having pfSense work.

      I have a bug in my build process when making a XENHVM kernel which is giving me a Fatal trap 12 on boot of the PVHVM kernel  (I have no problem running a vanilla freeBSD8.3 PVHVM kernel) using

      What is the mandatory minimum set of devices/options needed for pfSense to work?  All the files in conf/kernel seem to have a lot of drivers and other stuff in them.. so I'm trying to trim it right down.

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by

        Ok, I've run a trace on the kernel Fatal Trap 12 and have identified the problem.. although building a pfSense kernel with as few drivers as possible is still of interest.

        Providing a "pfSense_minimum.8" file would be great, to eliminate building all the 3g/ethernet/wifi drivers unnecessarily.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          We don't test with any "smaller" kernels, so only what we have is guaranteed to work.

          That said, any drivers removed could be switched to modules and it might come out OK. Maybe.

          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
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.