NetBSD Problem Report #56361

From www@netbsd.org  Sat Aug 14 04:53:35 2021
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))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 3D54F1A921F
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 14 Aug 2021 04:53:35 +0000 (UTC)
Message-Id: <20210814045334.3BCF51A9239@mollari.NetBSD.org>
Date: Sat, 14 Aug 2021 04:53:34 +0000 (UTC)
From: o7AbzyBfZn5ExjBlLL8D@protonmail.com
Reply-To: o7AbzyBfZn5ExjBlLL8D@protonmail.com
To: gnats-bugs@NetBSD.org
Subject: NetBSD/amd64 install media boot failed in qemu/kvm with ovmf uefi firmware
X-Send-Pr-Version: www-1.0

>Number:         56361
>Category:       port-amd64
>Synopsis:       NetBSD/amd64 install media boot failed in qemu/kvm with ovmf uefi firmware
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 14 04:55:00 +0000 2021
>Originator:     DavyCrockett
>Release:        9.2_STABLE
>Organization:
>Environment:
>Description:
[ 1.7856246] uvm_fault(0xffffffff8151f6e0, 0xfffff32b08e3c000, 2) -> e
[ 1.7856246] fatal page fault in supervisor mode
[ 1.7856246] trap type 6 code 0x3 rip 0xffffffff8020985e cs 0x8 rflags 0x10246 cr2 0xfffff32b08e3c000 ilevel 0 rsp 0xffffb40043a34f70
[ 1.7856246] curlwp 0xfffff32b87312040 pid 0.2 lowest kstack 0xffffb40043a322c0
kernel: page fault trap, code=0
Stopped in pid 0.2 (system) at netbsd:sse2_idlezero_page+0x1e:
>How-To-Repeat:
ovmf from sysutils/ovmf
boot in qemu with script below
/usr/pkg/bin/qemu-system-x86_64 \
-vga none \
-nodefaults \
-serial mon:stdio \
-nographic \
-cpu host \
-smp 2 \
-m 2G \
-M q35,accel=kvm \
-drive file=edk2-x86_64-code.fd,if=pflash,format=raw,unit=0,readonly=on \
-device ich9-ahci,id=sata0 \
-device ide-cd,drive=cdrom0,bus=sata0.0 \
-drive if=none,id=cdrom0,file=netbsd.iso,media=cdrom
netbsd.iso is https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-9/latest/images/NetBSD-9.2_STABLE-amd64.iso
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.