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

    Firebox x1250e crash after upgrading

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    74 Posts 7 Posters 18.6k 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.
    • stephenw10S Offline
      stephenw10 Netgate Administrator
      last edited by

      Did you reset the CMOS after flashing the BIOS? Are the IDE parameters now set to auto?
      I don't actually think that would make any difference since it's obviously find the drive and booting from it.
      One of the bigger changes going to 2.2 is the new drivers for ATA devices:
      https://doc.pfsense.org/index.php/UpgradeGuide#Disk_Driver_Changes
      I suspect your install is trying to use swap space in a location that no longer exists, on ad0 as opposed to ada0. For other mounted drives/slices there are aliases to link to the new names but perhaps not with the swap slice. Can you access the filesystem table at /etc/fstab? What are it's contents?

      Steve

      1 Reply Last reply Reply Quote 0
      • F Offline
        firebox
        last edited by

        Ill check tonight when I have the device in front of me

        1 Reply Last reply Reply Quote 0
        • F Offline
          firebox
          last edited by

          etc/fstab
          *** FILE etc/fstab BEGIN ***

          Device                Mountpoint      FStype  Options        Dump    Pass#

          /dev/ada0s1a              /                  ufs        rw                1          1
          /dev/ada0s1b            none            swap      sw                0          0
          *** FILE etc/fstab END ***

          1 Reply Last reply Reply Quote 0
          • T Offline
            TieT
            last edited by

            Are you sure your HD is mounted as ad0s1a
            because I see you entered this line:```
            set vfs.root.mountfrom=ufs:/dev/ad0s1a

            
            but your HD in the fstab file is ada0s1a so the mountpount should be:```
            set vfs.root.mountfrom=ufs:/dev/ada0s1a
            
            1 Reply Last reply Reply Quote 0
            • T Offline
              TieT
              last edited by

              If you type dmesg in console you can see the boot messages and find out the name of your HD.

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

                Not if you never get to a console.  ;)
                There should be aliases in place to take care of anything that still points at ad0 as opposed to ada0. I speculated that perhaps that isn't working for swap.

                There is a thread that collates all the reports of this error, lets try and keep all info there:
                https://forum.pfsense.org/index.php?topic=87542.0

                Steve

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TieT
                  last edited by

                  Didn't know about the aliases  :)

                  I just modified the fstab file

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

                    No reason to know, it should 'just work'.  ;)

                    Did you update to BIOS 8_1 to make this load do you think?

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TieT
                      last edited by

                      I got Bios_81 on mine yes, and the HD settings are set to auto.
                      The only thing i had to change is the fstab file or when booting, testing it with set vfs.root.mountfrom=ufs:/dev/adxxxxxx

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

                        I think it's the swapper process trying to use DMA and failing. On my box I had to enable UDMA for the IDE channel I was using, did you have to make that change?
                        Also:
                        @unknown001:

                        Also enable ACPI function and IDE primary slave UDMA is now "auto" mode. No longer crashing

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TieT
                          last edited by

                          yes i also did those steps

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

                            Ok this is an ACPI problem, it must be enabled:
                            https://forum.pfsense.org/index.php?topic=87542.msg484384#msg484384

                            Steve

                            1 Reply Last reply Reply Quote 0
                            • F Offline
                              firebox
                              last edited by

                              I am a little lost on what I should try next….

                              1 Reply Last reply Reply Quote 0
                              • F Offline
                                firebox
                                last edited by

                                The HDD is being detected as stephenw10 stated since it starts the boot process but ends with that kernel panic info I posted with a trace after.

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

                                  You need to enable ACPI in the BIOS or at least check it's enabled. It could potentially be something else but that will definitely cause the panic you're seeing.

                                  Steve

                                  1 Reply Last reply Reply Quote 0
                                  • F Offline
                                    firebox
                                    last edited by

                                    On it! Thanks stephenw10…Ill try it in about 30min. All I did the other night was pull the FSTAB, I did not reset/check the HDD BIOS settings so I will do that as well since I have to go there for ACPI. Oh I did flash the 8.1 BIOS you created after no change with 8.

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

                                      It actually looks like the underlying cause of this is a regression in the gpioapu driver. See: https://redmine.pfsense.org/issues/4363
                                      Enabling ACPI in the BIOS works around it on the firebox though.

                                      Steve

                                      1 Reply Last reply Reply Quote 0
                                      • F Offline
                                        firebox
                                        last edited by

                                        Thats what some of the info was pointing to, GPIOAPU and I thought that was an issue, but found so many things pointing the other way and other people fixed it with those commands and other easier things than fixing the GPIO code, wishful thinking….Haven't gotten a chance to check the BIOS settings yet, but I will post when I so. Thanks for all the help, very appreciated. Love my fireboxes.

                                        1 Reply Last reply Reply Quote 0
                                        • F Offline
                                          firebox
                                          last edited by

                                          So got it to boot once. Now after turning it off and turning it on today I get:

                                          (ada0:ata0:0:0:0): READ_DMA. ACB: c8 00 51 8d 1d 46 00 00 00 00 01 00
                                          (ada0:ata0:0:0:0): CAM status: ATA Status Error
                                          (ada0:ata0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 40 (UNC )
                                          (ada0:ata0:0:0:0): RES: 51 40 51 8d 1d 06 06 00 00 01 00

                                          And it just keeps going and going. I had it up and running for an hour before shutting it down for the night.

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

                                            Hmm, looks a lot like this:
                                            https://doc.pfsense.org/index.php/DMA_and_LBA_Errors#Fatal_Errors
                                            How do you have the drive mounted? Could it be a loose cable or something similar?

                                            Steve

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