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

    Disabling the RAM disk and subsequently rebooting causes the boot environment to become unbootable.

    Scheduled Pinned Locked Moved Plus 25.03 Develoment Snapshots
    18 Posts 4 Posters 550 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.
    • w0wW
      w0w
      last edited by

      I needed to disable the RAM disk for testing purposes, so I unchecked the corresponding option in the pfSense GUI. The system requested a reboot. Upon the next boot verification, the system offered either the previous boot environment or recovery mode.
      Can anyone confirm that? Please do clone of your working BE before testing!

      1 Reply Last reply Reply Quote 0
      • w0wW
        w0w
        last edited by

        685771c2-3685-416c-991b-95723dd0df01-image.png
        the other firewall have the same symptoms

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Hmm, Yup. Digging....

          1 Reply Last reply Reply Quote 2
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Do you have Nexus/MIM enabled?

            w0wW RobbieTTR 2 Replies Last reply Reply Quote 0
            • w0wW
              w0w @stephenw10
              last edited by

              @stephenw10 said in Disabling the RAM disk and subsequently rebooting causes the boot environment to become unbootable.:

              Do you have Nexus/MIM enabled?

              Hmm, no, it's disabled now, but I think it was enabled a couple of weeks ago just for testing. I tested it a bit and then disabled it.

              1 Reply Last reply Reply Quote 1
              • RobbieTTR
                RobbieTT @stephenw10
                last edited by

                @stephenw10 said in Disabling the RAM disk and subsequently rebooting causes the boot environment to become unbootable.:

                Do you have Nexus/MIM enabled?

                Is it something we need to have installed & enabled?

                It kinda looks like something that would be in the core build and only used only if required.

                ☕️

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  It's included but disabled by default. When you enable it the config is processed through the MIM backend which can introduce unexpected results.

                  We have replicated this particular issue reliably now though. Fix is incoming.

                  w0wW 1 Reply Last reply Reply Quote 1
                  • w0wW
                    w0w @stephenw10
                    last edited by

                    @stephenw10
                    Any updates on this?

                    cmcdonaldC 1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Yes, that should be fixed now. I'm not sure if it made the May 7th build but it will be in the next one if not.

                      1 Reply Last reply Reply Quote 0
                      • cmcdonaldC
                        cmcdonald Netgate Developer @w0w
                        last edited by cmcdonald

                        @w0w said in Disabling the RAM disk and subsequently rebooting causes the boot environment to become unbootable.:

                        @stephenw10
                        Any updates on this?

                        Can you inspect the contents of /cf/conf/RAM_Disk_Store from the recovery shell after a boot failure?

                        ls /cf/conf/RAM_Disk_Store should do it

                        @w0w I bet you are going to see a file pfnet-controller.db.gz in that directory

                        Need help fast? https://www.netgate.com/support

                        w0wW 1 Reply Last reply Reply Quote 0
                        • w0wW
                          w0w @cmcdonald
                          last edited by w0w

                          @cmcdonald said in Disabling the RAM disk and subsequently rebooting causes the boot environment to become unbootable.:

                          ls /cf/conf/RAM_Disk_Store should do it

                          @w0w I bet you are going to see a file pfnet-controller.db.gz in that directory

                          Yep and another one too, .bak
                          06b8250e-2cbd-4198-981c-3ea3f3ebb6bb-image.png

                          cmcdonaldC 1 Reply Last reply Reply Quote 1
                          • cmcdonaldC
                            cmcdonald Netgate Developer @w0w
                            last edited by

                            @w0w said in Disabling the RAM disk and subsequently rebooting causes the boot environment to become unbootable.:

                            @cmcdonald said in Disabling the RAM disk and subsequently rebooting causes the boot environment to become unbootable.:

                            ls /cf/conf/RAM_Disk_Store should do it

                            @w0w I bet you are going to see a file pfnet-controller.db.gz in that directory

                            Yep and another one too, .bak
                            06b8250e-2cbd-4198-981c-3ea3f3ebb6bb-image.png

                            Thanks for verifying!

                            We've got a root cause now, and are assessing potential solutions.

                            This will make it into 25.03.

                            Need help fast? https://www.netgate.com/support

                            cmcdonaldC 1 Reply Last reply Reply Quote 2
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              Yup, turns out it wasn't fixed. Just hiding!

                              1 Reply Last reply Reply Quote 1
                              • cmcdonaldC
                                cmcdonald Netgate Developer @cmcdonald
                                last edited by

                                Should be fixed now!

                                Need help fast? https://www.netgate.com/support

                                w0wW 1 Reply Last reply Reply Quote 1
                                • w0wW
                                  w0w @cmcdonald
                                  last edited by

                                  @cmcdonald
                                  Confirming. Applied 34c529de27b79cfbbcd0e266e17ca7809f3b2a88 patch and all good now.

                                  1 Reply Last reply Reply Quote 2
                                  • w0wW
                                    w0w
                                    last edited by w0w

                                    Sorry but something else is missing, the bug is back Immediately after update to 25.03.b.20250515.1415, ramdsik already disabled.

                                    8dbef07e-2d28-425c-8cff-95d684292a5e-image.png

                                    1be9df72-64a8-4f83-b72e-b626c80cf28e-image.png

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      You'll need to reapply the patch to that. The fix was put it just after that was built. It will be in the next public build.

                                      w0wW 1 Reply Last reply Reply Quote 1
                                      • w0wW
                                        w0w @stephenw10
                                        last edited by

                                        @stephenw10
                                        Ok. Will try later

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