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

    How do I patch a pfsense kernel with a FreeBSD patch ?

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 4 Posters 2.1k 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
      apfusertoo
      last edited by

      If I have some functionality that I need in the pfsense kernel (an updated driver, for instance) and there is an existing patch that I made or that someone from the FreeBSD project has made, how do I apply that patch to the pfsense source tree and rebuild the pfsense kernel ?

      Thank you.

      1 Reply Last reply Reply Quote 0
      • A
        apfusertoo
        last edited by

        I'm surprised to see no answers here - this must be a common thing, right ?

        Isn't it fairly normal to need to patch the kernel that pfsense is running, with a bug fix or feature patch from FreeBSD ?

        Anyone ?

        1 Reply Last reply Reply Quote 0
        • G
          gderf
          last edited by

          See here:

          http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            I would really suggest you just bring up any sort of kernel patch or driver update you need to have the devs do it.  If its needed they are much better suited to address any side effects there might be to maintain a stable setup.

            And side effect of that is there was patch or update - the whole community can benefit from it being applied.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • A
              apfusertoo
              last edited by

              Ok, I agree with all of that, and if I have a general fix, etc., of course I would do that.

              But again, I can find no documentation about compiling my own pfsense kernel, and virtually no discussion of anyone ever doing it - is there indeed no documented process ?

              Thanks.

              1 Reply Last reply Reply Quote 0
              • marcellocM
                marcelloc
                last edited by

                @apfusertoo:

                I can find no documentation about compiling my own pfsense kernel, and virtually no discussion of anyone ever doing it - is there indeed no documented process ?

                GOOGLE for it instead of complain!

                github has all pfsense source code as well compile scripts

                www.github.com/bsdperimeter

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • A
                  apfusertoo
                  last edited by

                  Thanks for your help.  I was looking at the pfsense pages, wiki, etc., and not at github.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.