OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [SOLVED] 17.1 Hangs on every Install or Update
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] 17.1 Hangs on every Install or Update  (Read 8194 times)

guest11051

  • Guest
[SOLVED] 17.1 Hangs on every Install or Update
« on: February 08, 2017, 04:03:24 am »
I'm stuck on 16.7 till I can get past this hang.  I've tried fresh installs and upgrades with the same results.
Logged

shezzski

  • Newbie
  • *
  • Posts: 16
  • Karma: 2
    • View Profile
Re: 17.1 Hangs on every Install or Update
« Reply #1 on: February 08, 2017, 04:41:17 am »
Hi CincinnatiKane,

I am sorry to hear that you are having some problems.  Please provide as much information with regards of the steps taken, hardware used and anything else you feel relevant.  This will ensure that someone has all the information required to help you with your issue.
Logged

Taomyn

  • Sr. Member
  • ****
  • Posts: 414
  • Karma: 19
    • View Profile
Re: 17.1 Hangs on every Install or Update
« Reply #2 on: February 08, 2017, 08:45:06 am »
Are not able to access the firewall at all, because that screen is not actually a hang, but due to an issue with certain hardware and EFI, where the terminal isn't properly displayed.

As Franco told me:

Quote
Try setting the "vt" driver and primary console to "efi". FreeBSD flipped their the default on 11.0, and the old defaults that worked for EFI are not working so well anymore (we kept our settings to minimise impact, ironic).

After I did the above my console was back to normal, so if you can somehow fix hit with the above you might actually see the real hang.
Logged

guest11051

  • Guest
Re: 17.1 Hangs on every Install or Update
« Reply #3 on: February 08, 2017, 03:30:18 pm »
I'm using a Mac Mini (2012) with a thunderbolt PCI Ethernet adapter as my second NIC.  I've been running pfSense and now OPNsense for years with no issues.

I'm not familiar with managing the settings or conf details on vt(4).  Can you point me to a resource for changing to EFI mode?  Or provide the CLI details here?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13929
  • Karma: 1208
    • View Profile
Re: 17.1 Hangs on every Install or Update
« Reply #4 on: February 08, 2017, 04:05:20 pm »
The most important question: is your GUI still there?

If yes, go to System: Settings: Administration, change your primary console to EFI, enable the VT driver checkbox and reboot.


Cheers,
Franco
Logged

guest11051

  • Guest
Re: 17.1 Hangs on every Install or Update
« Reply #5 on: February 09, 2017, 02:08:52 am »
Negative. The web-GUI never starts. Any way to escape into the boot loader and alter the vt(4) settings from the command line?
Logged

CloudHoppingFlowerChild

  • Newbie
  • *
  • Posts: 27
  • Karma: 4
    • View Profile
Re: 17.1 Hangs on every Install or Update
« Reply #6 on: February 09, 2017, 02:25:46 am »
This looks like the same problem I was having. https://forum.opnsense.org/index.php?topic=4467.0

Go into your CMOS/BIOS and look for anything having to do with UEFI. You probably want to enable any kind of BIOS compatibility settings (in my setup they're referred to as "Legacy") and enable them. Unfortunately for you the fix was ultimately simple on my setup, I don't know if your mac mini will have the right compatibility settings.
« Last Edit: February 09, 2017, 03:08:10 am by CloudHoppingFlowerChild »
Logged

guest11051

  • Guest
Re: 17.1 Hangs on every Install or Update
« Reply #7 on: February 09, 2017, 03:56:32 am »
And again, a shortcoming with using a Mac for this purpose - No BIOS to access.  Pure UEFI.  I wonder if a 3rd party bootloader like rEFIt would be of any help.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13929
  • Karma: 1208
    • View Profile
Re: 17.1 Hangs on every Install or Update
« Reply #8 on: February 09, 2017, 08:51:13 am »
I really don't know why FreeBSD decided to change the old defaults to not boot anymore. I'm sure it was a fix for something, but breaking devices here is, er, suboptimal. ;)

Try this:

Escape to loader prompt (3)
Type: set kern.vty="vt"
Type: set console="efi"
Type: boot


Cheers,
Franco
Logged

CloudHoppingFlowerChild

  • Newbie
  • *
  • Posts: 27
  • Karma: 4
    • View Profile
Re: 17.1 Hangs on every Install or Update
« Reply #9 on: February 09, 2017, 11:21:06 am »
Quote from: franco on February 09, 2017, 08:51:13 am
Try this:

Escape to loader prompt (3)
Type: set kern.vty="vt"
Type: set console="efi"
Type: boot


Cheers,
Franco
FWIW, I gave this a try on my VM with the firmware type set to EFI. It ended up doing the line by line redraw of the screen, just like after my upgrade install >https://youtu.be/8UM0aBXRSkA?t=1m19s. Perhaps the mac will have better luck.
Logged

guest11051

  • Guest
Re: 17.1 Hangs on every Install or Update
« Reply #10 on: February 10, 2017, 03:42:31 am »
Quote from: franco on February 09, 2017, 08:51:13 am
I really don't know why FreeBSD decided to change the old defaults to not boot anymore. I'm sure it was a fix for something, but breaking devices here is, er, suboptimal. ;)

Try this:

Escape to loader prompt (3)
Type: set kern.vty="vt"
Type: set console="efi"
Type: boot


Cheers,
Franco

Fantastic!  That worked like a charm, and I was able to make the change permanent in the GUI so that the system is now stable.  Thank you, Franco!
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13929
  • Karma: 1208
    • View Profile
Re: 17.1 Hangs on every Install or Update
« Reply #11 on: March 02, 2017, 08:15:23 am »
I'm working on vt-based images now... it looks promising, something we should have done if we knew this would have happened. Hopefully it's useful for other projects out there not wanting to go through this problematic transition... :)


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [SOLVED] 17.1 Hangs on every Install or Update
 

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