NetBSD Problem Report #53808
From www@NetBSD.org Fri Dec 21 16:34:20 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 A5C3D7A111
for <gnats-bugs@gnats.NetBSD.org>; Fri, 21 Dec 2018 16:34:20 +0000 (UTC)
Message-Id: <20181221163419.9E3907A1D7@mollari.NetBSD.org>
Date: Fri, 21 Dec 2018 16:34:19 +0000 (UTC)
From: prlw1@cam.ac.uk
Reply-To: prlw1@cam.ac.uk
To: gnats-bugs@NetBSD.org
Subject: efi boot page fault
X-Send-Pr-Version: www-1.0
>Number: 53808
>Category: port-amd64
>Synopsis: efi boot page fault
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-amd64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 21 16:35:00 +0000 2018
>Last-Modified: Tue Apr 09 15:15:01 +0000 2019
>Originator: Patrick Welche
>Release: NetBSD-8.99.27/amd64
>Organization:
>Environment:
source of 20 Dec 2018 10:13 UTC - that includes bootx64.efi - GENERIC kernel.
>Description:
Booting an intel DH67BL based server, trying EFI boot (copied by hand):
total memory = 527 MB
avail memory = 485 MB
running cgd selftest aes-xts-256 aes-xts-512 done
efi: systbl at pa dac0bf18
uvm_fault(0xffffffff8171f9e0, 0xfffff96e4b80b000, 1) -> e
fatal page fault in supervisor mode
trap type 6 code 0 rip 0xffffffff8023c9d7 cs 0x8 rflags 0x10246 cr2 0xfffff96e4b80bf28 ilevel 0x8 rsp 0xffffffff81a24e50
curlwp 0xffffffff81657560 pid 0.1 lowest kstack 0xffffffff81a202c0
kernel: page fault trap, code=0
Stopped in pid 0.1 (system) at netbsd:efi_getsystbl.part.3+0x4e: movl 1 0(%rbx),%ecx
The server netboots correctly - note difference in memory:
total memory = 16291 MB
avail memory = 15793 MB
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
running cgd selftest aes-xts-256 aes-xts-512 done
...
The BIOS is actually fairly new:
Vendor: Intel Corp.
Version: BLH6710H.86A.0163.2018.1023.1559
Release Date: 10/23/2018
>How-To-Repeat:
>Fix:
>Audit-Trail:
From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: port-amd64/53808: efi boot page fault
Date: Sun, 23 Dec 2018 21:37:40 +0000
Just reproduced that page fault with Dec 22 20:41 UTC code on a
Asus P8Z77-V LX based computer. Advantage that it has a PS/2 keyboard
and a serial port.
BIOS Information
Vendor: American Megatrends Inc.
Version: 2501
Release Date: 07/21/2014
From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: port-amd64/53808: efi boot page fault
Date: Tue, 9 Apr 2019 16:11:03 +0100
I revisited the intel server. I can reproduce the bug on 8.99.37. It doesn't
add much to the story, but as USB keyboard input is ignored at the db>
prompt, I just booted a kernel with "bt" run on entry to ddb:
efi_getsystbl.part.3() at netbsd:efi_getsystbl.part.3+0x4e
efi_init() at netbsd:efi_init+0x30
cpu_configure() at netbsd:cpu_configure+0xe
main() at netbsd:main+0x301
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.