Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Sep 2018 20:16:15 +0200
From:      Harry Schmalzbauer <freebsd@omnilan.de>
To:        Konstantin Belousov <kib@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Post r337773 EFIRT-boot-panic still happening with r337838 [Was: Re: svn commit: r337838 - head/sys/amd64/amd64]
Message-ID:  <37ef34d3-3d23-aa08-504c-c9f3c1dc8cf0@omnilan.de>
In-Reply-To: <201808151248.w7FCmnfQ012183@repo.freebsd.org>
References:  <201808151248.w7FCmnfQ012183@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37ef34d3-3d23-aa08-504c-c9f3c1dc8cf0>