NetBSD Problem Report #57720

From  Thu Nov 23 19:17:13 2023
Return-Path: <>
Received: from ( [])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id A53961A9238
	for <>; Thu, 23 Nov 2023 19:17:13 +0000 (UTC)
Message-Id: <>
Date: Thu, 23 Nov 2023 19:17:12 +0000 (UTC)
Subject: kernel doesn't get symbol table when booted from qemu
X-Send-Pr-Version: www-1.0

>Number:         57720
>Category:       port-alpha
>Synopsis:       kernel doesn't get symbol table when booted from qemu
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 23 19:20:00 +0000 2023
>Originator:     Taylor R Campbell
>Release:        current
The AlphaBSD Foundation
(qemu-system-alpha, qemu 8.1.0)
NetBSD  10.99.10 NetBSD 10.99.10 (GENERIC-$Revision: 1.418 $) #7: Wed Nov 22 17:20:45 UTC 2023  root@singbulli.local:/home/riastradh/netbsd/current/obj.alpha/sys/arch/alpha/compile/GENERIC.QEMU alpha
1. qemu doesn't pass the same bootinfo records through to alpha_init that the NetBSD bootloader does, so the kernel is unable to find the symbol table.

2. The message that is supposed to be printed explaining this, including the text `boot program did not pass bootinfo', doesn't come through at this point, presumably because the bootstrap console doesn't work for some reason:
crash the kernel in qemu and try to print a stack trace in ddb
Yes, please!

Workaround: Use the GENERIC.QEMU kernel.  (But we should find a way to make this unnecessary -- and, until then, make the failure mode more obvious if you use GENERIC instead of GENERIC.QEMU.)

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.