NetBSD Problem Report #51988

From mlelstv@tazz.1st.de  Tue Feb 21 01:41:21 2017
Return-Path: <mlelstv@tazz.1st.de>
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 "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id E04517A1FC
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 21 Feb 2017 01:41:20 +0000 (UTC)
Message-Id: <20170221010751.D617726A17@tazz.1st.de>
Date: Tue, 21 Feb 2017 02:07:51 +0100 (CET)
From: mlelstv@serpens.de
Reply-To: mlelstv@serpens.de
To: gnats-bugs@NetBSD.org
Subject: boot fails very early with amd64
X-Send-Pr-Version: 3.95

>Number:         51988
>Category:       kern
>Synopsis:       boot fails very early with amd64
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 21 01:45:00 +0000 2017
>Closed-Date:    Fri Dec 01 21:24:44 +0000 2017
>Last-Modified:  Fri Dec 01 21:24:44 +0000 2017
>Originator:     Michael van Elst
>Release:        NetBSD 7.99.60
>Organization:

>Environment:


System: NetBSD tazz 7.99.60 NetBSD 7.99.60 (TAZZ) #15: Tue Feb 21 01:59:35 CET 2017 mlelstv@gossam:/home/netbsd-current/obj.amd64/home/netbsd-current/src/sys/arch/amd64/compile/TAZZ amd64
Architecture: x86_64
Machine: amd64
>Description:
Current no longer boots on a Thinkpad T420 with Core-i5 CPU.

After load the kernel, the display shows garbage and the machine resets.

Bisecting the commits of the last two weeks identifies:

Sat Feb 11 16:02:11 UTC 2017 maxv
   | src/sys/arch/amd64/conf: Makefile.amd64 kern.ldscript
 Put 2MB alignments between the kernel segments. This way the kernel image
 is entirely mapped with large pages, which uniformizes performance and
 reduces fluctuation. Sent on port-amd64.

as the culprit. Revoking that commit makes the kernel boot and work again.

>How-To-Repeat:
Boot current on a Thinkpad T520 with

cpu0: "Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz"

>Fix:


>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: maxv@NetBSD.org
State-Changed-When: Fri, 01 Dec 2017 21:24:44 +0000
State-Changed-Why:
I fixed it some months ago already.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.