NetBSD Problem Report #53045

From gson@gson.org  Wed Feb 21 15:26:57 2018
Return-Path: <gson@gson.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 CF8E27A104
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 21 Feb 2018 15:26:57 +0000 (UTC)
Message-Id: <20180221152651.A814E98B84C@guava.gson.org>
Date: Wed, 21 Feb 2018 17:26:51 +0200 (EET)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: NetBSD-current/amd64 no longer boots from qemu hard disk
X-Send-Pr-Version: 3.95

>Number:         53045
>Category:       port-amd64
>Synopsis:       NetBSD-current/amd64 no longer boots from qemu hard disk
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-amd64-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 21 15:30:00 +0000 2018
>Closed-Date:    Thu Feb 22 17:14:35 +0000 2018
>Last-Modified:  Thu Feb 22 17:14:35 +0000 2018
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date >= 2018.02.11
>Organization:

>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

Since Feb 11, every amd64 test run on the TNF testbed has failed to
boot.  The install CD boots in qemu, and system installs (unless you
happen to get hit by PR 52614), but when attempting to boot the
installed system from the emulated hard disk, there is no serial
console output, not even a banner from the boot blocks:

  http://releng.netbsd.org/b5reports/amd64/2018/2018.02.18.23.51.20/test.log

On my own testbed, using qemu 2.11.1, the symptoms are slightly
different: the system ends up in a reboot loop where the MBR boot
block prints part of its banner before the system reboots:

  http://www.gson.org/netbsd/bugs/build/amd64/2018/2018.02.21.09.47.37/test.log

On physical hardware, the system boots successfully:

  http://www.gson.org/netbsd/bugs/build/amd64-baremetal/2018/2018.02.18.15.29.29/test.log

I'm still bisecting to find the exact commit when the problem appeared,
but I'm guessing it was when amd64 was switched to gcc6.

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: gson@NetBSD.org
State-Changed-When: Thu, 22 Feb 2018 17:14:35 +0000
State-Changed-Why:
Fixed by christos in src/sys/arch/i386/stand/Makefile.inc 1.14.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.