OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: smajor on December 07, 2019, 06:34:35 pm

Title: Hanging at /boot/defaults/loader.conf
Post by: smajor on December 07, 2019, 06:34:35 pm
This is a culmination of my two other posts. My simple morning project has turned into a nightmare. That's how it goes for me.

I decided to switch out my OpnSense hardware. I have a decent i5 Mac mini not doing much, so I download the image, got it installed and my configuration imported. The initial boot after the installer was successful and everything came up and I'm ready to swap. Awesome!

I shut down to move it into it's new home and it's hanging at /boot/defaults/loader.conf

I reloaded, was successful again, ...and again... shutdown and first cold boot, it hangs.

I don't get it and I don't know enough about FreeBSD to even begin to figure out why this seems to work fine then fails.

Um, help?
Title: Re: Hanging at /boot/defaults/loader.conf
Post by: smajor on December 08, 2019, 02:12:54 pm
Okay, I went back to this with fresh eyes.  Maybe someone has an idea about this:

Only the local console on the display is "hanging". OPNSense is alive and well both via the web and ssh ports. It works.

I was used to seeing information on my old setup after the loader, so it must be something in that loader.conf for video drivers?

I don't know how much I even need that since I run it headless, but it was nice to have a working monitor with it as a diagnostic tool as OPNsense loads/shutsdown if there is a problem.

Thoughts?
Title: Re: Hanging at /boot/defaults/loader.conf
Post by: Alphabet Soup on December 10, 2019, 12:15:13 am
I'm curious which image you downloaded & installed?  vga?  serial?  Odd that it fails only on first cold boot.

With most things Mac, an NVRAM reset would be someone's first advice, or even SMC reset.  But I wonder what that would do now that you don't have MacOS booting to repopulate those settings.
Title: Re: Hanging at /boot/defaults/loader.conf
Post by: smajor on December 10, 2019, 07:18:01 pm
Thanks for responding. I did download vga.  I've sense tried it on a Dell 3050 also with EFI firmware.... same thing.

Did I download the wrong image?

I was looking in Tuneables as someone in the FreeBSD forum thought disabling vesa would do it.
Title: Re: Hanging at /boot/defaults/loader.conf
Post by: smajor on December 10, 2019, 09:22:37 pm
*solved*

Over in the FreeBSD bug tracker I found this link, and see comment #48.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230172

I have to add this to /boot/loader.conf.local on my systems - I figured I try it on the Dell (which I am using) and the Apple which had the same issue.  It fixed both systems.

kern.vty="vt"
hw.vga.acpi_ignore_no_vga="1"