Project

General

Profile

Actions

Bug #9488

closed

No console when booting CE Memstick UEFI.

Added by Steve Wheeler over 2 years ago. Updated over 1 year ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:
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.

Actions #1

Updated by Renato Botelho over 2 years 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?

Actions #2

Updated by Steve Wheeler over 2 years 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.

Actions #3

Updated by Renato Botelho over 2 years 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?

Actions #4

Updated by Steve Wheeler over 2 years 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

Actions #5

Updated by Steve Wheeler about 2 years 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.

Actions #6

Updated by Renato Botelho about 2 years ago

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

Actions #7

Updated by Steve Wheeler about 2 years 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]
Actions #8

Updated by Renato Botelho about 2 years ago

  • Status changed from New to In Progress
Actions #9

Updated by Renato Botelho about 2 years ago

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

Updated by Jim Pingle about 2 years ago

  • Target version changed from 2.5.0 to 2.4.5
Actions #11

Updated by Steve Wheeler almost 2 years 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.

Actions #12

Updated by Jim Pingle almost 2 years ago

  • Status changed from Feedback to New

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

Actions #13

Updated by Steve Wheeler almost 2 years 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....

Actions #14

Updated by Steve Wheeler almost 2 years 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.

Actions #15

Updated by Jim Pingle almost 2 years 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.

Actions #16

Updated by Grzegorz Krzystek over 1 year ago

Jim Pingle wrote:

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

It's related to #9242 where i pointed that board identification string got changed from 'Minnowboard Turbot D0 PLATFORM' to 'Minnowboard Turbot D0/D1 PLATFORM' adter bios release 1.00

Actions

Also available in: Atom PDF