Remove vidconsole from console settings for apu2
-
can some1 patch the pfsense code such that the /boot/loader.conf sets console="comconsole" as default for apu2 board rather than console="comconsole,vidconsole" coz when vidconsole is present in that string then the welcome message on serial console comes broken making it impossible to boot into single user mode
-
Hmmm?
PCEngines apu2 coreboot build 20170228 4080 MB ECC DRAM SeaBIOS (version rel-1.10.0.1) Press F10 key now for boot menu Booting from Hard Disk... F1 pfSense F6 PXE Boot: F1 /boot/config: -S115200 -h Consoles: serial port BIOS drive C: is disk0 BIOS 638kB/3668660kB available memory FreeBSD/x86 bootstrap loader, Revision 1.1 (root@buildbot2.netgate.com, Mon Aug 21 06:57:44 CDT 2017) Loading /boot/defaults/loader.conf | __ ____ _ __ / _/ ___| ___ _ __ ___ ___ | '_ \| |_\___ \ / _ \ '_ \/ __|/ _ \ | |_) | _|___) | __/ | | \__ \ __/ | .__/|_| |____/ \___|_| |_|___/\___| |_| +============Welcome to pfSense===========+ | | ______ | 1\. Boot Multi User [Enter] | / \ | 2\. Boot [s]ingle User | _____/ f \ | 3\. [Esc]ape to loader prompt | / \ / | 4\. Reboot | / p \______/ Sense | | \ / \ | Options: | \_____/ \ | 5\. [K]ernel: kernel (1 of 2) | \ / | 6\. Configure Boot [O]ptions... | \______/ | | | | | | +=========================================+ /boot/kernel/kernel text=0x1753f58 data=0xab8eb8+0x4c8c68 syms=[0x8+0x183bd0+0x8+0x183b45] Booting... [/s]
-
whats in ur /boot/loader.conf and /boot/loader.conf.local
-
autoboot_delay="3" boot_serial="YES" console="comconsole" comconsole_speed="115200" hw.usb.no_pf="1"
I don't have any /boot/loader.conf.local there.
IOW, suspect you have used a wrong image for the box (the VGA one). Definitely the case if you see
Consoles: internal video/keyboard serial port
on boot.
-
no im on the serial image and as far as i remember i had filed a bug request at the time i found out this issue and i think some1 patched something at that time, let me go find what the patch was
-
It already sets it that way for detected serial only platforms.
https://github.com/pfsense/pfsense/blob/master/src/etc/inc/pfsense-utils.inc#L1192
And it looks like someone already set the apu2 to be considered serial only:
https://github.com/pfsense/pfsense/blob/master/src/etc/inc/pfsense-utils.inc#L1128
That code is there on 2.4 and 2.3.4
-
yup this was the change i guess done at that time