Project

General

Profile

Bug #9488

No console when booting CE Memstick UEFI.

Added by Steve Wheeler 10 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Category:
Installer
Target version:
Start date:
04/28/2019
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.5.x
Affected Architecture:
amd64

Description

Testing 2.5 snapshots. When booting the VGA Memstick image as UEFI there is no usable console presented.

This applies to the MBT.

I was not able to force a working console from the bootloader. 'efi' is the only valid console option there and it's already set.

Associated revisions

Revision 4511fe40 (diff)
Added by Renato Botelho 5 months ago

Fix #9488: Disable serial console on memstick images

Revision 92a9c71d (diff)
Added by Renato Botelho 5 months ago

Fix #9488: Disable serial console on memstick images

History

#1 Updated by Renato Botelho 10 months ago

  • Assignee set to Renato Botelho

ISO image is hybrid and can be used to boot using a flash drive. Can you try it to see if the results are the same?

#2 Updated by Steve Wheeler 10 months ago

The ISO image behaves exactly the same. There is no output after root is mounted other than the interface state changes that are written to all consoles.
It behaves exactly as I'd expect it to if it were set to serial console as primary but it is not (that I can see).

The hybrid image does appear to be working though! In terms of booting at least.

#3 Updated by Renato Botelho 9 months ago

Steve Wheeler wrote:

The ISO image behaves exactly the same. There is no output after root is mounted other than the interface state changes that are written to all consoles.
It behaves exactly as I'd expect it to if it were set to serial console as primary but it is not (that I can see).

The hybrid image does appear to be working though! In terms of booting at least.

Can you try to boot using a stock FreeBSD 12.0 memstick image to check if the problem is in upstream or if it's only on pfSense?

#4 Updated by Steve Wheeler 9 months ago

The FreeBSD 12 memstick also stalls in the same place. Good call!

Tested this image: https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.0/FreeBSD-12.0-RELEASE-amd64-memstick.img

Also tested this ISO, same stall point: https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.0/FreeBSD-12.0-RELEASE-amd64-disc1.iso

Tested on the MBT-2220

#5 Updated by Steve Wheeler 5 months ago

Re-tested with:
pfSense-CE-memstick-2.5.0-DEVELOPMENT-amd64-20190924-1135.img.gz
and:
FreeBSD-13.0-CURRENT-amd64-20190920-r352544-bootonly.iso

Tested on an MBT-4220.

Still seeing the same behaviour. It boots to a serial console on both cases.

#6 Updated by Renato Botelho 5 months ago

Setting boot_serial=NO on loader.conf fix the problem. I'll think about how is the best way to deal with that

#7 Updated by Steve Wheeler 5 months ago

Confirmed. Both images boot fine on the MBT-4220 using that line:

/          __
    _ __  / _|___  ___ _ __  ___  ___
   | '_ \| |_/ __|/ _ \ '_ \/ __|/ _ \
   | |_) |  _\__ \  __/ | | \__ \  __/
   | .__/|_| |___/\___|_| |_|___/\___|
   |_|

 ÉÍÍÍÍÍÍÍÍÍÍÍWelcome to pfSenseÍÍÍÍÍÍÍÍÍÍÍÍ»      __________________________
 º                                         º     /                       ___\
 º  1. Boot Multi user [Enter]             º    |                      /`
 º  2. Boot Single user                    º    |                     /    :-|
 º  3. Escape to loader prompt             º    |      _________  ___/    /_ |
 º  4. Reboot                              º    |    /` ____   / /__    ___/ |
 º                                         º    |   /  /   /  /    /   /     |
 º  Options:                               º    |  /  /___/  /    /   /      |
 º  5. Kernel: default/2kernel (1 of 1)    º    | /   ______/    /   /       |
 º  6. Boot Options                        º    |/   /          /   /        |
 º                                         º        /          /___/         |
 º                                         º       /                         |
 º                                         º      /_________________________/
 ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ                                  \

Exiting menu!

Type '?' for a list of commands, 'help' for more detailed help.
OK set boot_serial=no
OK boot
Loading kernel...
/boot/kernel/kernel text=0x18de938 data=0xc47824+0x78fda4 syms=[0x8+0x1a2950+0x8+0x1a91b2]

#8 Updated by Renato Botelho 5 months ago

  • Status changed from New to In Progress

#9 Updated by Renato Botelho 5 months ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100

#10 Updated by Jim Pingle 3 months ago

  • Target version changed from 2.5.0 to 2.4.5

#11 Updated by Steve Wheeler about 2 months ago

Tested: pfSense-netgate-memstick-2.4.5-DEVELOPMENT-amd64-20191231-1310 on MBT-4220

The installer image boots and presents a console with full output (primary console) on HDMI. Installs successfully.

However the resulting install boots with serial as the primary console but somehow serial not enabled. It does boot to the menu successfully though on VGA. There is no menu on the serial console though. The last output is:

Generating RRD graphs...done.
Starting syslog...done.
Starting CRON... done.
 Starting package AWS VPC Wizard...done.
 Starting package IPsec Profile Wizard...done.
 Starting package Netgate Coreboot Upgrade...done.
pfSense 2.4.5-DEVELOPMENT amd64 Tue Dec 31 13:10:17 EST 2019
Bootup complete

boot_serial=NO is not in loader.conf on the install.

The system I have here does not reboot, it just stalls.

#12 Updated by Jim Pingle about 2 months ago

  • Status changed from Feedback to New

Is the behavior the same on 2.5.0? Or is this only on 2.4.5?

#13 Updated by Steve Wheeler about 2 months ago

If course it helps if you test the right image.....

Tested: pfSense-CE-memstick-2.4.5-DEVELOPMENT-amd64-20191231-1835 on the same MBT-4220

Installer image boots and shows full console. Installs successfully.

The installed image boots with full console. The default config has no console settings, I guess the GUI defaults to showing serial as primary when nothing is set.

It still fails to reboot on that particular board. BIOS version MNW2MAX1.X64.0095.R01.1703281124. Could be self inflicted....

#14 Updated by Steve Wheeler about 2 months ago

Updating the BIOS to MNW2MAX1.X64.0101.R01.1908071815 did not help.

The only thing different on that box is a 120G SSD I'm using.

The behaviour is the same in 2.5 and the MBT-2220 I have reboots fine so I believe this is unique to me at this point.

#15 Updated by Jim Pingle about 2 months ago

  • Status changed from New to Resolved

OK, we'll mark this resolved for now, can revisit if it turns out to be a general issue.

Also available in: Atom PDF