From owner-freebsd-current@freebsd.org Fri Feb 26 16:58:44 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8AE5D566E5B for ; Fri, 26 Feb 2021 16:58:44 +0000 (UTC) (envelope-from tsoome@me.com) Received: from pv50p00im-zteg10011501.me.com (pv50p00im-zteg10011501.me.com [17.58.6.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DnG831R4Kz4YcZ for ; Fri, 26 Feb 2021 16:58:42 +0000 (UTC) (envelope-from tsoome@me.com) Received: from nazgul.lan (148-52-235-80.sta.estpak.ee [80.235.52.148]) by pv50p00im-zteg10011501.me.com (Postfix) with ESMTPSA id 0A118B0031D; Fri, 26 Feb 2021 16:58:35 +0000 (UTC) From: Toomas Soome Message-Id: Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: No serial console: VBE not available Date: Fri, 26 Feb 2021 18:58:32 +0200 In-Reply-To: <20210226175506.1742c469@thor.intern.walstatt.dynvpn.de> Cc: FreeBSD CURRENT To: "O. Hartmann" References: <20210226175506.1742c469@thor.intern.walstatt.dynvpn.de> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-02-26_05:2021-02-26, 2021-02-26 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2102260126 X-Rspamd-Queue-Id: 4DnG831R4Kz4YcZ X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[me.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[me.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[17.58.6.42:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[me.com]; ASN(0.00)[asn:714, ipnet:17.58.0.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[me.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[17.58.6.42:from]; R_DKIM_ALLOW(-0.20)[me.com:s=1a1hai]; FREEFALL_USER(0.00)[tsoome]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; SPAMHAUS_ZRD(0.00)[17.58.6.42:from:127.0.2.255]; RECEIVED_SPAMHAUS_PBL(0.00)[80.235.52.148:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2021 16:58:44 -0000 > On 26. Feb 2021, at 18:54, O. Hartmann wrote: >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 >=20 > hello, >=20 > running a FreeBSD appliance on top of a PCengines APU2C4 with the = latest seabios > (apu2_v4.13.0.3.rom). The PCengines boot image layout is based on = pmbr/gptboot (GPT patition > scheme), via nanoBSD the latest pmbr/gptboot binaries are applied = taken from the 13-STABLE > tree (or 14-CURRENT). >=20 > It doesn't matter whether I put these lines into /boot/loader.conf: >=20 > boot_serial=3D"YES" > comconsole_speed=3D"115200" > console=3D"comconsole" >=20 > autoboot_delay=3D"0" >=20 > and in the kernel config file: >=20 > options CONSPEED=3D115200 >=20 > while having alos in both cases >=20 > /boot/config > - -h -S115200 >=20 > following strict the handbook's suggestions. >=20 > After booting, I face always forever this screen: >=20 > SeaBIOS (version rel-1.12.1.3-0-g300e8b70) >=20 > Press F10 key now for boot menu >=20 > Select boot device: >=20 > 1. SD card SN64G 60906MiB > 2. USB MSC Drive USB DISK 3.0 PMAP > 3. AHCI/0: Samsung SSD 860 EVO mSATA 250GB ATA-11 Hard-Disk (232 = GiBytes) > 4. Payload [setup] > 5. Payload [memtest] >=20 > Booting from Hard Disk... > /boot/config: -h -S115200 > Consoles: serial port =20 > BIOS drive C: is disk0 > BIOS drive D: is disk1 > BIOS drive E: is disk2 > BIOS 639kB/3405336kB available memory >=20 > FreeBSD/x86 bootstrap loader, Revision 1.1 > (Mon Feb 22 18:17:30 CET 2021 root@thor) > | >=20 > VBE not available >=20 >=20 >=20 > ... and its stuck forever ... >=20 > What is wrong here? >=20 > Thanks for your help, >=20 > kind regards >=20 > Oliver >=20 You are missing this one: commit 61c50cbc096d28e44cb8b627e524ae58158c423a Author: Toomas Soome Date: Sun Feb 21 12:32:18 2021 +0200 loader: autoload_font will hung loader when there is no local = console =20 If we start with console set to comconsole, the local console (vidconsole, efi) is never initialized and attempt to use the data can render the loader hung. =20 Reported by: Kamigishi Rei MFC after: 3 days The temporary workaround is to add -D, this will trigger call to = vidc_init() and will prevent the hung. rgds, toomas