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

Bug: ramdisk Filesystem loaded "[" invalid character

General pfSense Questions
2
9
949
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.
  • 4
    4o4rh
    last edited by Feb 28, 2021, 6:18 AM

    During the boot process, after the dmesg.boot log stage and just before the pfsense logo is displayed (but i can't find these lines in any of the logs) where the ramdisk is loaded, it says;

    Filesystems Loaded
    ZFS.....
    ZFS.....
    Invalid character "[" in the command (or words to that effect)

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Mar 1, 2021, 2:39 PM

      Any way you can get the full output of the error? If it's a VGA console, you could take a picture of the screen, or hit Scroll Lock and then Page Up a few times and see if you can get back to it.

      If it's serial console you could copy the output from a terminal connected to the console while it boots.

      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!

      4 1 Reply Last reply Mar 1, 2021, 3:00 PM Reply Quote 0
      • 4
        4o4rh @jimp
        last edited by 4o4rh Mar 1, 2021, 3:02 PM Mar 1, 2021, 3:00 PM

        @jimp I don't have a screen at the location anymore.
        I have my ramdisk enabled, with the boot disk as zfs.
        After the last entries in dmes.boot you have ZFS filesystem mounted (appears twice)..something like...moving to ram or similar

        couple of lines after that, you get the pfsense logo in ascii characters followed by the menu.

        should have taken a pic when i had the monitor downstairs, sorry.
        why isn't this console written to a log? It is not in the system log. it seems there is a small period where the console is not logged. - not great for headless systems ;-)

        p.s. my system is a 2.4.5_p3 upgrade. i don't recall seeing the error under 2.4.5. hope that helps

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Mar 1, 2021, 3:06 PM

          It's too early for anything in the OS to capture output at that stage, so it can't be logged.

          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!

          4 1 Reply Last reply Mar 3, 2021, 8:33 PM Reply Quote 0
          • 4
            4o4rh @jimp
            last edited by Mar 3, 2021, 8:33 PM

            @jimp ok Jim, here you go.

            ![alt text](login-to-view image url)

            1 Reply Last reply Reply Quote 0
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by Mar 3, 2021, 8:35 PM

              That definitely looks like a bug . Can you create an entry for that on https://redmine.pfsense.org?

              Be sure to attach that picture, and link back to this forum thread.

              Thanks!

              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!

              4 1 Reply Last reply Mar 3, 2021, 8:43 PM Reply Quote 0
              • 4
                4o4rh @jimp
                last edited by Mar 3, 2021, 8:43 PM

                @jimp Issue #11617 created.

                p.s. i am also getting 'can't find /etc/hostid' directly after
                /boot/kernel/opensolaris.ko

                is this something to be concerned about, or is it non-netgate h/w related?

                J 1 Reply Last reply Mar 4, 2021, 9:21 PM Reply Quote 0
                • J
                  jimp Rebel Alliance Developer Netgate @4o4rh
                  last edited by Mar 4, 2021, 9:21 PM

                  @gwaitsi said in Bug: ramdisk Filesystem loaded "[" invalid character:

                  @jimp Issue #11617 created.

                  p.s. i am also getting 'can't find /etc/hostid' directly after
                  /boot/kernel/opensolaris.ko

                  is this something to be concerned about, or is it non-netgate h/w related?

                  I'm not sure what that one might be from, but if it's that early in the boot process it's likely from a kernel module that is being loaded (from loader.conf or loader.conf.local).

                  I don't think we setup a hostid file and I'm not aware of anything we have that requires it to be present.

                  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!

                  4 1 Reply Last reply Mar 10, 2021, 10:09 AM Reply Quote 0
                  • 4
                    4o4rh @jimp
                    last edited by Mar 10, 2021, 10:09 AM

                    @jimp hi Jim, the hostid is related to ZFS I think.

                    I have the boot drive configured as ZFS and I note on my freenas box, it does have a hostid but initially shows "no hostid" in the initial stage of the boot. Presumably, it is later retrieved from the freenas config...I don't know.

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