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

    SG-2440 cant boot

    Scheduled Pinned Locked Moved Hardware
    8 Posts 4 Posters 3.3k 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.
    • L
      laped
      last edited by

      Anybody seem this message before? My guess is that the SG-2440 can't handle a power failure.

      Was running a pfsense 2.2.5.

      _ __  / / |  ___ _ __  ___  ___
        | '
      | |
      _
      \ / _ \ '_ / |/ _
        | |) |  |
      ) |  / | | _ \  /
        | .
      /|| |___/ _
      || ||/_|
        |
      |

      +–----------Welcome to pfSense-----------+
      |                                        |                ______
      |  1. Boot Multi User              |                /     
      |  2. Boot ingle User                  |          /    f 
      |  3. ape to loader prompt          |        /    \        /
      |  4. Reboot                              |        /  p  _
      /  Sense
      |                                        |        \      /     
      |  Options:                              |        _____/       
      |  5. ernel: kernel (1 of 2)          |              \        /
      |  6. Configure Boot ptions...        |                ______/
      |                                        |
      |                                        |
      |                                        |
      +-----------------------------------------+

      /boot/kernel/kernel text=0x1223df0 inflate: invalid code lengths set

      readin failed

      elf64_loadimage: read failed
      can't load file '/boot/kernel/kernel': input/output error
      Error while including /boot/menu.rc, in the line:
      menu-display
      /
      Hit  to boot immediately, or any other key for command prompt.
      Booting [/boot/kernel/kernel]…
      /boot/kernel/kernel text=0x1223df0 inflate: invalid distance code

      readin failed

      elf64_loadimage: read failed
      can't load 'kernel'

      Type '?' for a list of commands, 'help' for more detailed help.
      OK

      1 Reply Last reply Reply Quote 0
      • J
        jwt Netgate
        last edited by

        looks like you will want to reinstall

        1 Reply Last reply Reply Quote 0
        • L
          laped
          last edited by

          @jwt:

          looks like you will want to reinstall

          Yeah.. :/ Working after a reflash. I have 3x SG-2440 running 24/7 and this is the second time i have to do this within 1 year. Not sure if it was the same unit.

          I guess that the units already is using some kind of journaling to prevent corruption on power failure?

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            This is the awesome UFS/SU+J in action… actually, the "journaling" is making it worse, because it's buggy and noone gives a damn (when you ignore an issue for years, it will vanish...  ::)) Add absolutely useless fsck that either makes a kaboom and does nothing at all, or requires 5-10 manual runs to get work done, and there you go. The default FreeBSD filesystem in all its glory.

            1 Reply Last reply Reply Quote 0
            • ?
              Guest
              last edited by

              to prevent corruption on power failure?

              APC is selling units to prevent from a power failure or complete loss in this situation.
              Also a widget or deamon could installed in pfSense to "talk" to this units.

              1 Reply Last reply Reply Quote 0
              • J
                jwt Netgate
                last edited by

                @doktornotor:

                This is the awesome UFS/SU+J in action… actually, the "journaling" is making it worse, because it's buggy and noone gives a damn (when you ignore an issue for years, it will vanish...  ::)) Add absolutely useless fsck that either makes a kaboom and does nothing at all, or requires 5-10 manual runs to get work done, and there you go. The default FreeBSD filesystem in all its glory.

                So abrasive…

                Kirk has forgotten more about filesystems than you'll ever learn.

                I'm looking at ZFS for a 3.0.

                1 Reply Last reply Reply Quote 0
                • D
                  doktornotor Banned
                  last edited by

                  @jwt:

                  @doktornotor:

                  This is the awesome UFS/SU+J in action… actually, the "journaling" is making it worse, because it's buggy and noone gives a damn (when you ignore an issue for years, it will vanish...  ::)) Add absolutely useless fsck that either makes a kaboom and does nothing at all, or requires 5-10 manual runs to get work done, and there you go. The default FreeBSD filesystem in all its glory.

                  So abrasive…
                  Kirk has forgotten more about filesystems than you'll ever learn.
                  I'm looking at ZFS for a 3.0.

                  Yes. That appears to be the only usable alternative, considering that FreeBSD managed to screw up ext[234] as well with "improvements" ported from the horrible UFS thing. (That wiki article is very amusing reading, BTW. When it comes to robustness/resiliency, UFS ranks on par with FAT, except that FAT has a better working chkdsk and doesn't perform like POS on CF/SD and co.  ::))

                  Finally, a link people who don't want to wait for 3.0 to get somewhat stable FS… (Been using that on multiple boxes for ~6 months now without issues such as the ones mentioned here.)

                  1 Reply Last reply Reply Quote 0
                  • J
                    jwt Netgate
                    last edited by

                    and hundreds of thousands of people use UFS without incident, too.

                    ZFS is in the system for a reason, and I'm not exposing it just yet.  (cmb was going to take it out, and I said, "No".)

                    cmb is right in that it's not a good fit for a typical pfSense box.

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