NetBSD Problem Report #53984

From gson@gson.org  Fri Feb 15 20:05:31 2019
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 83F947A154
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 15 Feb 2019 20:05:31 +0000 (UTC)
Message-Id: <20190215200520.C73869892F6@guava.gson.org>
Date: Fri, 15 Feb 2019 22:05:20 +0200 (EET)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: i386 hangs at boot since Hyper-V commit
X-Send-Pr-Version: 3.95

>Number:         53984
>Category:       port-i386
>Synopsis:       i386 hangs at boot since Hyper-V commit
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    nonaka
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 15 20:10:00 +0000 2019
>Closed-Date:    Tue Feb 19 08:03:22 +0000 2019
>Last-Modified:  Sat Mar 09 17:15:01 +0000 2019
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date >= 2019.02.15.08.54.02
>Organization:

>Environment:
System: NetBSD
Architecture: i386
Machine: i386
>Description:


Since the commit adding Hyper-V support on 2019.02.15.08.54.02, the
i386 tests on the TNF testbed are hanging when booting the INSTALL
kernel, after printing the line

  [   1.0358810] acpicpu0 at cpu0: ACPI CPU

Logs at:

  http://releng.netbsd.org/b5reports/i386/commits-2019.02.html#2019.02.15.08.54.02

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: port-i386-maintainer->nonaka
Responsible-Changed-By: gson@NetBSD.org
Responsible-Changed-When: Fri, 15 Feb 2019 20:11:13 +0000
Responsible-Changed-Why:
Over to committer.


From: Andreas Gustafsson <gson@NetBSD.org>
To: nonaka@NetBSD.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-i386/53984 (i386 hangs at boot since Hyper-V commit)
Date: Sat, 16 Feb 2019 10:08:10 +0200

 amd64 is also hanging on the testbed:

   http://releng.netbsd.org/b5reports/amd64/2019/2019.02.15.23.20.35/install.log

 and on real hardware, a bit later in the boot:

   http://www.gson.org/netbsd/bugs/build/amd64-baremetal/2019/2019.02.15.08.54.02/install.log
   http://www.gson.org/netbsd/bugs/build/amd64-baremetal/2019/2019.02.15.20.48.57/install.log

 -- 
 Andreas Gustafsson, gson@NetBSD.org

From: Jared McNeill <jmcneill@invisible.ca>
To: gnats-bugs@NetBSD.org
Cc: nonaka@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, 
    Andreas Gustafsson <gson@gson.org>
Subject: Re: port-i386/53984 (i386 hangs at boot since Hyper-V commit)
Date: Sat, 16 Feb 2019 16:48:14 -0400 (AST)

 src/sys/arch/x86/x86/lapic.c r1.69 seems to be the cause of this; 
 reverting back to r1.68 fixes it for me.

From: "NONAKA Kimihiro" <nonaka@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53984 CVS commit: src/sys/arch/x86/x86
Date: Sun, 17 Feb 2019 05:06:17 +0000

 Module Name:	src
 Committed By:	nonaka
 Date:		Sun Feb 17 05:06:16 UTC 2019

 Modified Files:
 	src/sys/arch/x86/x86: lapic.c

 Log Message:
 PR/53984: Partial revert of modify lapic_calibrate_timer() in lapic.c r1.69.


 To generate a diff of this commit:
 cvs rdiff -u -r1.69 -r1.70 src/sys/arch/x86/x86/lapic.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Kimihiro Nonaka <nonakap@gmail.com>
To: Jared McNeill <jmcneill@invisible.ca>, Andreas Gustafsson <gson@gson.org>
Cc: "gnats-bugs@NetBSD.org" <gnats-bugs@netbsd.org>, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: port-i386/53984 (i386 hangs at boot since Hyper-V commit)
Date: Sun, 17 Feb 2019 14:11:34 +0900

 On Sun, Feb 17, 2019 at 5:55 AM Jared McNeill <jmcneill@invisible.ca> wrote:

 > src/sys/arch/x86/x86/lapic.c r1.69 seems to be the cause of this;
 > reverting back to r1.68 fixes it for me.

 Please try src/sys/arch/x86/x86/lapic.c r1.70.

State-Changed-From-To: open->closed
State-Changed-By: gson@NetBSD.org
State-Changed-When: Tue, 19 Feb 2019 08:03:22 +0000
State-Changed-Why:
The system is booting again.  Thanks.


From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53984 CVS commit: [netbsd-8] src/sys
Date: Sat, 9 Mar 2019 17:10:21 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sat Mar  9 17:10:21 UTC 2019

 Modified Files:
 	src/sys/arch/amd64/amd64 [netbsd-8]: genassym.cf vector.S
 	src/sys/arch/amd64/conf [netbsd-8]: GENERIC files.amd64
 	src/sys/arch/i386/conf [netbsd-8]: GENERIC files.i386
 	src/sys/arch/i386/i386 [netbsd-8]: genassym.cf vector.S
 	src/sys/arch/x86/conf [netbsd-8]: files.x86
 	src/sys/arch/x86/include [netbsd-8]: cpu.h intrdefs.h
 	src/sys/arch/x86/isa [netbsd-8]: clock.c
 	src/sys/arch/x86/x86 [netbsd-8]: cpu.c intr.c lapic.c x86_machdep.c
 	src/sys/dev/usb [netbsd-8]: if_urndis.c
 Added Files:
 	src/sys/arch/x86/x86 [netbsd-8]: hyperv.c hypervreg.h
 	src/sys/dev/acpi [netbsd-8]: vmbus_acpi.c
 	src/sys/dev/hyperv [netbsd-8]: files.hyperv hvheartbeat.c hvs.c
 	    hvshutdown.c hvtimesync.c hyperv_common.c hypervreg.h hypervvar.h
 	    if_hvn.c if_hvnreg.h vmbus.c vmbusic.c vmbusicreg.h vmbusicvar.h
 	    vmbusvar.h
 	src/sys/dev/ic [netbsd-8]: ndisreg.h rndisreg.h
 Removed Files:
 	src/sys/dev/usb [netbsd-8]: if_urndisreg.h

 Log Message:
 Pull up following revision(s) via patch (requested by nonaka in ticket #1210):

 	sys/dev/hyperv/vmbusvar.h: revision 1.1
 	sys/dev/hyperv/hvs.c: revision 1.1
 	sys/dev/hyperv/if_hvn.c: revision 1.1
 	sys/dev/hyperv/vmbusic.c: revision 1.1
 	sys/arch/x86/x86/lapic.c: revision 1.69
 	sys/arch/x86/isa/clock.c: revision 1.34
 	sys/arch/x86/include/intrdefs.h: revision 1.22
 	sys/arch/i386/conf/GENERIC: revision 1.1201
 	sys/arch/x86/x86/hyperv.c: revision 1.1
 	sys/arch/x86/include/cpu.h: revision 1.105
 	sys/arch/x86/x86/x86_machdep.c: revision 1.124
 	sys/arch/i386/conf/GENERIC: revision 1.1203
 	sys/arch/amd64/amd64/genassym.cf: revision 1.74
 	sys/arch/i386/conf/GENERIC: revision 1.1204
 	sys/arch/amd64/conf/GENERIC: revision 1.520
 	sys/arch/x86/x86/hypervreg.h: revision 1.1
 	sys/arch/amd64/amd64/vector.S: revision 1.69
 	sys/dev/hyperv/hvshutdown.c: revision 1.1
 	sys/dev/hyperv/hvshutdown.c: revision 1.2
 	sys/dev/usb/if_urndisreg.h: file removal
 	sys/arch/x86/x86/cpu.c: revision 1.167
 	sys/arch/x86/conf/files.x86: revision 1.107
 	sys/dev/usb/if_urndis.c: revision 1.20
 	sys/dev/hyperv/vmbusicreg.h: revision 1.1
 	sys/dev/hyperv/hvheartbeat.c: revision 1.1
 	sys/dev/hyperv/vmbusicreg.h: revision 1.2
 	sys/dev/hyperv/hvheartbeat.c: revision 1.2
 	sys/dev/hyperv/files.hyperv: revision 1.1
 	sys/dev/ic/rndisreg.h: revision 1.1
 	sys/arch/i386/i386/genassym.cf: revision 1.111
 	sys/dev/ic/rndisreg.h: revision 1.2
 	sys/dev/hyperv/hyperv_common.c: revision 1.1
 	sys/dev/hyperv/hvtimesync.c: revision 1.1
 	sys/dev/hyperv/hypervreg.h: revision 1.1
 	sys/dev/hyperv/hvtimesync.c: revision 1.2
 	sys/dev/hyperv/vmbusicvar.h: revision 1.1
 	sys/dev/hyperv/if_hvnreg.h: revision 1.1
 	sys/arch/x86/x86/lapic.c: revision 1.70
 	sys/arch/amd64/amd64/vector.S: revision 1.70
 	sys/dev/ic/ndisreg.h: revision 1.1
 	sys/arch/amd64/conf/GENERIC: revision 1.516
 	sys/dev/hyperv/hypervvar.h: revision 1.1
 	sys/arch/amd64/conf/GENERIC: revision 1.518
 	sys/arch/amd64/conf/GENERIC: revision 1.519
 	sys/arch/i386/conf/files.i386: revision 1.400
 	sys/dev/acpi/vmbus_acpi.c: revision 1.1
 	sys/dev/hyperv/vmbus.c: revision 1.1
 	sys/dev/hyperv/vmbus.c: revision 1.2
 	sys/arch/x86/x86/intr.c: revision 1.144
 	sys/arch/i386/i386/vector.S: revision 1.83
 	sys/arch/amd64/conf/files.amd64: revision 1.112

 separate RNDIS definitions from urndis(4) for use with Hyper-V NetVSC.

  -

 Added Microsoft Hyper-V support.  It ported from OpenBSD and FreeBSD.
 graphical console is not work on Gen.2 VM yet. To use the serial console,
 enter "consdev com,0x3f8,115200" on efiboot.

  -

 Add __diagused.

  -

 PR/53984: Partial revert of modify lapic_calibrate_timer() in lapic.c r1.69.

  -

 Update Hyper-V related drivers description.

  -

 Remove unused definition.

  -

 Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
 discussed on irc.
 NFCI intended.

  -

 commented out hvkvp entry.

  -

 fix typo. pointed out by pgoyette@n.o.

  -

 Use IDTVEC instead of NENTRY for handle_hyperv_hypercall.

  -

 Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
 discussed on irc.


 To generate a diff of this commit:
 cvs rdiff -u -r1.60.10.2 -r1.60.10.3 src/sys/arch/amd64/amd64/genassym.cf
 cvs rdiff -u -r1.49.2.3 -r1.49.2.4 src/sys/arch/amd64/amd64/vector.S
 cvs rdiff -u -r1.459.2.13 -r1.459.2.14 src/sys/arch/amd64/conf/GENERIC
 cvs rdiff -u -r1.88.8.4 -r1.88.8.5 src/sys/arch/amd64/conf/files.amd64
 cvs rdiff -u -r1.1156.2.13 -r1.1156.2.14 src/sys/arch/i386/conf/GENERIC
 cvs rdiff -u -r1.378.6.3 -r1.378.6.4 src/sys/arch/i386/conf/files.i386
 cvs rdiff -u -r1.99.10.1 -r1.99.10.2 src/sys/arch/i386/i386/genassym.cf
 cvs rdiff -u -r1.69.2.1 -r1.69.2.2 src/sys/arch/i386/i386/vector.S
 cvs rdiff -u -r1.88.6.1 -r1.88.6.2 src/sys/arch/x86/conf/files.x86
 cvs rdiff -u -r1.71.2.7 -r1.71.2.8 src/sys/arch/x86/include/cpu.h
 cvs rdiff -u -r1.20 -r1.20.20.1 src/sys/arch/x86/include/intrdefs.h
 cvs rdiff -u -r1.33 -r1.33.56.1 src/sys/arch/x86/isa/clock.c
 cvs rdiff -u -r1.130.2.7 -r1.130.2.8 src/sys/arch/x86/x86/cpu.c
 cvs rdiff -u -r0 -r1.1.2.2 src/sys/arch/x86/x86/hyperv.c \
     src/sys/arch/x86/x86/hypervreg.h
 cvs rdiff -u -r1.101.2.5 -r1.101.2.6 src/sys/arch/x86/x86/intr.c
 cvs rdiff -u -r1.58.2.5 -r1.58.2.6 src/sys/arch/x86/x86/lapic.c
 cvs rdiff -u -r1.91.4.4 -r1.91.4.5 src/sys/arch/x86/x86/x86_machdep.c
 cvs rdiff -u -r0 -r1.1.2.2 src/sys/dev/acpi/vmbus_acpi.c
 cvs rdiff -u -r0 -r1.1.2.2 src/sys/dev/hyperv/files.hyperv \
     src/sys/dev/hyperv/hvs.c src/sys/dev/hyperv/hyperv_common.c \
     src/sys/dev/hyperv/hypervreg.h src/sys/dev/hyperv/hypervvar.h \
     src/sys/dev/hyperv/if_hvnreg.h src/sys/dev/hyperv/vmbusic.c \
     src/sys/dev/hyperv/vmbusicvar.h src/sys/dev/hyperv/vmbusvar.h
 cvs rdiff -u -r0 -r1.2.2.2 src/sys/dev/hyperv/hvheartbeat.c \
     src/sys/dev/hyperv/hvshutdown.c src/sys/dev/hyperv/hvtimesync.c \
     src/sys/dev/hyperv/if_hvn.c src/sys/dev/hyperv/vmbus.c \
     src/sys/dev/hyperv/vmbusicreg.h
 cvs rdiff -u -r0 -r1.1.2.2 src/sys/dev/ic/ndisreg.h
 cvs rdiff -u -r0 -r1.2.2.2 src/sys/dev/ic/rndisreg.h
 cvs rdiff -u -r1.16.2.1 -r1.16.2.2 src/sys/dev/usb/if_urndis.c
 cvs rdiff -u -r1.3 -r0 src/sys/dev/usb/if_urndisreg.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

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