Project

General

Profile

Actions

Bug #15165

closed

Early boot hangs on pfSense CE

Added by Peter Moreno 4 months ago. Updated about 2 months ago.

Status:
Needs Patch
Priority:
Normal
Assignee:
-
Category:
Operating System
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:
amd64

Description

Hello.

I use Hyperv-V under Windows 10 Pro, went I update to Pfsense 2.7.0 I start having the frezee issue that I have seen on the forum and I post the same issue under virtualization menu.

This continue with 2.7.1 and 2.7.2

I still don't see any answer on the forum, but let me show u something interesting.

Went pfsense start and I type 3 and get into the prompt.

I type efi-show and let command finish and type boot...pfsense won't freeze.

I have testing a lot of times and for me is working, is not a solution but maybe this could help u.

Regards.


Files

pfsense27x-1.png (19.4 KB) pfsense27x-1.png Peter Moreno, 01/15/2024 06:45 AM
pfsense27x-2.png (16.4 KB) pfsense27x-2.png Peter Moreno, 01/15/2024 06:46 AM
pfsense27x-3.png (43.3 KB) pfsense27x-3.png Peter Moreno, 01/15/2024 06:46 AM
pfsense27x-4.png (28.8 KB) pfsense27x-4.png Peter Moreno, 01/15/2024 06:47 AM

Related issues

Related to Regression #14773: Unable to boot pfSense after installation on Proxmox VE 8.xNot a Bug

Actions
Actions #1

Updated by Terry Barnes 2 months ago

I too have Hyper-V and have reoccurring boot hang issues.

Today, had a hang and went to boot, which froze. Turned-off/on the vm and chose option 3 to halt auto-boot and escape to the loader prompt. Waited 15 seconds, and then typed Quit to exit the loader prompt. It then booted immediately.
In the past I've done various command at the loader prompt and typed boot. If done too fast, still hangs.

I suspect the delay in booting is what actually fixes the issue. Possibly there is a delay with the hyper-v host making a hardware resources available or delay in the VM recognizing it.

To test this theory and try a fix, I added a 30 second delay to auto-boot. This is done by editing /boot/loader.conf.local (create it if it does not exist) to include the following line:
autoboot_delay="30"

Actions #2

Updated by Peter Moreno 2 months ago

Make sense what u say.

I will try your steps, on which OS version are you running HyperV?

Thanks.

Actions #3

Updated by Peter Moreno 2 months ago

I have tested and works, I add just 20 seconds but is a value that we can adjust, but looks like we found the patch until we get a solution.

Hope this help pfsense team to troubleshoot the issue, another user on reddit report the error on vmware

Thanks buddy!!!

Actions #4

Updated by Marcos M about 2 months ago

  • Project changed from pfSense Plus to pfSense
  • Subject changed from Pfsense 2.7.2CE Hyper-V Freezee Generation 2 ZFS Fix that is working for me. to Early boot hangs on pfSense CE
  • Category changed from Operating System to Operating System
  • Status changed from New to Needs Patch

The root issue here is a flaw in the FreeBSD boot loader that results in the trampoline page tables getting clobbered; pfSense Plus does not have this issue. Ideally this would be handled upstream, e.g. by using some reserved location for the page tables, and picked into CE.

Actions #5

Updated by Marcos M about 2 months ago

  • Related to Regression #14773: Unable to boot pfSense after installation on Proxmox VE 8.x added
Actions #6

Updated by Peter Moreno about 2 months ago

Thanks for the update, but for people that use CE we need to figure the way to make work, we cannot wait for upstream, at least we can work now.
Regards.

Actions

Also available in: Atom PDF