From owner-svn-src-all@freebsd.org Sat Sep 1 18:16:17 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DBBF4FF69F0; Sat, 1 Sep 2018 18:16:17 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 692BC75A08; Sat, 1 Sep 2018 18:16:17 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id w81IGF0r032262; Sat, 1 Sep 2018 20:16:15 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 7EB5A21B; Sat, 1 Sep 2018 20:16:15 +0200 (CEST) Subject: Post r337773 EFIRT-boot-panic still happening with r337838 [Was: Re: svn commit: r337838 - head/sys/amd64/amd64] To: Konstantin Belousov , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201808151248.w7FCmnfQ012183@repo.freebsd.org> From: Harry Schmalzbauer Organization: OmniLAN Message-ID: <37ef34d3-3d23-aa08-504c-c9f3c1dc8cf0@omnilan.de> Date: Sat, 1 Sep 2018 20:16:15 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <201808151248.w7FCmnfQ012183@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Sat, 01 Sep 2018 20:16:15 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Sep 2018 18:16:18 -0000 Am 15.08.2018 um 14:48 schrieb Konstantin Belousov: > Author: kib > Date: Wed Aug 15 12:48:49 2018 > New Revision: 337838 > URL: https://svnweb.freebsd.org/changeset/base/337838 > > Log: > Fix early EFIRT on PCID machines after r337773. > > Ensure that the valid PCID state is created for proc0 pmap, since it > might be used by efirt enter() before first context switch on the BSP. > > Sponsored by: The FreeBSD Foundation > MFC after: 6 days > > Modified: > head/sys/amd64/amd64/pmap.c Hello, I'm testing ALPHA4 on a Ivy bridge machine, without recent firmware update, so no PCID. This fix doesn't cover that hardware. Setting efi.rt.disabled=1 in loader.conf makes it bootable. Without this tweak, the following panic happens: Fatal trap 12: Page fault while in kernel mode : cpuid = 5; apic id = 05 : fault code: supervisor read data, page not present. : Stopped at 0xbed7143d calll *ll+0x27(%rax) Unfortunately keyboard doesn't work and no serial connection easily possible. But I'll be able to connect a serail console if more info is needed/useful, please tell me! -harry