NetBSD Problem Report #58367
From www@netbsd.org Tue Jun 25 08:15:03 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id E2C6D1A923C
for <gnats-bugs@gnats.NetBSD.org>; Tue, 25 Jun 2024 08:15:02 +0000 (UTC)
Message-Id: <20240625081501.BEB0E1A923C@mollari.NetBSD.org>
Date: Tue, 25 Jun 2024 08:15:01 +0000 (UTC)
From: logix@foobar.franken.de
Reply-To: logix@foobar.franken.de
To: gnats-bugs@NetBSD.org
Subject: prekern does not honor console device
X-Send-Pr-Version: www-1.0
>Number: 58367
>Category: port-amd64
>Synopsis: prekern does not honor console device
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-amd64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 25 08:20:00 +0000 2024
>Originator: Harold Gutch
>Release: netbsd-current
>Organization:
>Environment:
NetBSD 9.99.92 NetBSD 9.99.92 (GENERIC) #0: Tue Jun 25 08:25:24 CEST 2024 h@ubuntu:/home/h/netbsd/bugs/kaslr_test/out/sys/arch/amd64/compile/GENERIC amd64
>Description:
prekern prints its output only on VGA console. If KASLR works, this is not a big deal, it only prints a few messages and then moves on, but if KASLR is broken this makes it annoying to debug over serial console.
>How-To-Repeat:
Take a machine with KASLR (e.g., 9.x), attach a serial console and set "consdev com0" in the boot loader. Observe that none of the prekern output ends up on the serial console.
>Fix:
Don't use a serial console.
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.