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

    Updates - Impact on /boot directory / drivers? Do I need to do some sort of factory reset first?

    Scheduled Pinned Locked Moved Hardware
    4 Posts 4 Posters 540 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.
    • R
      Rhydgaled
      last edited by

      Last year @DaddyGo and @stephenw10 helped me to get my office's firewall up and running with the bnxt driver, which was not part of the pfSense kernel at the time.

      However, I am now being presured by management to update pfSense (we are currently on 2.4.5-RELEASE) and I'm concerned about breaking something. My first concern was that I am not sure whether the update will reset the changes I made to get it to load the drivers, and that I might have to do it again.

      However, the system dashboard is offering an update to version 2.5.2. The release notes for version 2.5.0 include the following change "Added bnxt driver for Broadcom NetXtreme interfaces #9155". This therefore raises another concern, will the driver now being in the kernel conflict with the modifications I made before? Will it try to load the driver twice, and do I need to somehow undo the manual driver loading (reseting pfSense to its factory configuration) before running the update?

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @Rhydgaled
        last edited by

        Updating to 2.5.2 will also update the FreeBSD kernel to a later version.
        2.5.2 uses "FreeBSD 12.2-STABLE".

        Drivers are compiled for specific kernel version. The one you have right now will not be accepted, loaded or used by 12.2 - the internal driver will get used if needed.

        Did you edit files ? You could probably - after the upgrade - undo what you've edit / added in the past.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • jimpJ jimp locked this topic on
        • jimpJ jimp unlocked this topic on
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Do you have an identical system you can test on in a lab style setup? If not, you should, for exactly this reason. Plus if your management has that kind of concern, HA is a must.

          If the driver for that is now in pfSense, odds are you won't need your custom module any longer.

          Most likely you copied over a .ko file and edited /boot/loader.conf.local or /boot/loader.conf.

          Edit those files again, remove any reference to bnxt, then upgrade.

          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
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            There's no real danger here because the old kernel module from 2.4.5 won't load in 2.5.2 anyway.
            If you do nothing it will just use the in kernel driver in 2.5.2 and log a harmless error at boot.
            You should just remove the loader values anyway to make it cleaner.

            But, as JimP said, really you should test it first. I expect it to work in 2.5.2 since it did in 2.4.5 but there is no guaranty of that. There were significant changes to most network drivers in FreeBSD, and hence pfSense, between 11 and 12.

            Steve

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