OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • Hanging at /boot/defaults/loader.conf
« previous next »
  • Print
Pages: [1]

Author Topic: Hanging at /boot/defaults/loader.conf  (Read 2976 times)

smajor

  • Jr. Member
  • **
  • Posts: 74
  • Karma: 10
    • View Profile
Hanging at /boot/defaults/loader.conf
« 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?
Logged

smajor

  • Jr. Member
  • **
  • Posts: 74
  • Karma: 10
    • View Profile
Re: Hanging at /boot/defaults/loader.conf
« Reply #1 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?
Logged

Alphabet Soup

  • Newbie
  • *
  • Posts: 47
  • Karma: 7
    • View Profile
Re: Hanging at /boot/defaults/loader.conf
« Reply #2 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.
Logged

smajor

  • Jr. Member
  • **
  • Posts: 74
  • Karma: 10
    • View Profile
Re: Hanging at /boot/defaults/loader.conf
« Reply #3 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.
Logged

smajor

  • Jr. Member
  • **
  • Posts: 74
  • Karma: 10
    • View Profile
Re: Hanging at /boot/defaults/loader.conf
« Reply #4 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"
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • Hanging at /boot/defaults/loader.conf
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2