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

Nanobsd_vga using serial in boot loader?

Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
13 Posts 2 Posters 3.7k 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
    razzfazz
    last edited by Sep 11, 2012, 7:32 AM

    I'm having trouble getting pfSense-2.1-BETA0-4g-amd64-nanobsd_vga-20120910-1446 to actually boot; after the BIOS hands over control, I just see a blinking cursor; I'm pretty sure I got the same behavior when I accidentally wrote a non-VGA image to the CF card. The current 2.0.1 image boots just fine from the same CF card. I tried using the i386 version instead, but it shows the same behavior.

    Has anybody actually gotten the most recent nanobsd_vga builds to work?

    1 Reply Last reply Reply Quote 0
    • R
      razzfazz
      last edited by Sep 11, 2012, 8:10 AM

      Some more testing in VirtualBox seems to confirm my suspicion: In a VM with no serial port, the boot loader hangs before producing any output as described above. When I add a serial port to the VM, the boot menu is sent there (and only there), and the system boots shortly thereafter (everything starting from BTX is shown on the VGA console).

      Unfortunately, like many modern (legacy-free) systems, the actual machine that I want to install pfSense onto does not have a serial port, and so never even gets to the boot loader prompt.

      How do I go about filing a bug report for this?

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Sep 11, 2012, 12:43 PM

        I'll have to run some tests to confirm this myself, but I have made quite a few fixes to NanoBSD+VGA over the last couple weeks helping a customer get images going on their new hardware, and it works for them now on their hardware, and for me in a VM (though it's VMware Workstation 8.x).

        When you get it booted up, what do the following files contain?

        /boot.config
        /boot/loader.conf
        /etc/ttys

        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
        • R
          razzfazz
          last edited by Sep 11, 2012, 7:43 PM

          Do your customer's machine and your VM have a serial port present by any chance? Like I said, it's only really a problem (other than not being able to interact with the boot loader) if there isn't one.

          I'll try and check the contents of the files you mentioned later today.

          1 Reply Last reply Reply Quote 0
          • J
            jimp Rebel Alliance Developer Netgate
            last edited by Sep 11, 2012, 7:51 PM

            No, my VM has no serial port, and the customer device did not have one either (which is why they wanted nanobsd+vga)

            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
            • R
              razzfazz
              last edited by Sep 11, 2012, 8:31 PM

              OK, so using the pfSense-2.1-BETA0-1g-amd64-nanobsd_vga-20120911-1249 image, this is what I get:

              /boot.config – does not exist
              /boot/loader.conf -- empty
              /etc/ttys -- the only entry with status "on" is this: ttyv0 "/usr/libexec/getty Pc" cons25 on secure
              However, since I'm not even getting to BTX (and the kernel never even gets loaded in the first place) without a serial port, does /etc/ttys even matter?

              1 Reply Last reply Reply Quote 0
              • R
                razzfazz
                last edited by Sep 11, 2012, 8:38 PM

                Also, I'm just realizing my terminology was off; it's the boot block that hangs, not the boot loader. I.e., this is what I get on the serial port:

                
                1  pfSense
                2  pfSense
                
                F6 PXE
                Boot:  1 
                
                
                1 Reply Last reply Reply Quote 0
                • R
                  razzfazz
                  last edited by Sep 11, 2012, 9:07 PM

                  So, I played around with this some more, and I think the problem is that the image uses the wrong boot block (boot0sio instead of boot0). "gpart bootcode -b /boot/boot0 [device]" fixes the problem immediately.

                  1 Reply Last reply Reply Quote 0
                  • J
                    jimp Rebel Alliance Developer Netgate
                    last edited by Sep 11, 2012, 9:14 PM

                    Yeah that's where my mind was heading next (though with boot0cfg instead of gpart)
                    There's probably a case missing in the image code that isn't excluding the nano+vga images from getting it.

                    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
                    • J
                      jimp Rebel Alliance Developer Netgate
                      last edited by Sep 11, 2012, 9:29 PM

                      just committed a potential fix to the build process. New images to test will be up in a couple hours.

                      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
                      • R
                        razzfazz
                        last edited by Sep 12, 2012, 9:37 PM

                        Should these have been posted by now? The snapshot page doesn't seem to list anything…

                        1 Reply Last reply Reply Quote 0
                        • J
                          jimp Rebel Alliance Developer Netgate
                          last edited by Sep 13, 2012, 12:02 AM

                          Should be up shortly.

                          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
                          • R
                            razzfazz
                            last edited by Sep 13, 2012, 3:29 AM

                            Sweet, problem solved. Thanks much for your help!

                            1 Reply Last reply Reply Quote 0
                            13 out of 13
                            • First post
                              13/13
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                              This community forum collects and processes your personal information.
                              consent.not_received