Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2014 17:55:28 +0100
From:      =?windows-1252?Q?Roger_Pau_Monn=E9?= <roger.pau@citrix.com>
To:        =?windows-1252?Q?Roger_Pau_Monn=E9?= <royger@FreeBSD.org>, Adrian Chadd <adrian@freebsd.org>, Ian Lepore <ian@freebsd.org>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>, "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Subject:   Re: r276200: EFI boot failure: kernel stops booting at pci0: <ACPI PCI bus> on pcib0
Message-ID:  <54A18780.7080601@citrix.com>
In-Reply-To: <54A13DDB.2040206@FreeBSD.org>
References:  <20141225194207.5dfd3636.ohartman@zedat.fu-berlin.de> <CAJ-VmomfxA3Fbmfx%2B5vHHR86KsR=YMh3e=nTBTci_nNa=Pz34w@mail.gmail.com> <20141226130113.5200bfbb.ohartman@zedat.fu-berlin.de> <CAJ-Vmo=GUdB-0km4WuGbBmg-tuEebD1aAuWzGLDargUKcUffiw@mail.gmail.com> <1419621822.1018.187.camel@freebsd.org> <20141228205739.154243d8.ohartman@zedat.fu-berlin.de> <1419797387.1018.215.camel@freebsd.org> <CAJ-VmonrSNYpnUpY=mn2HWmJU%2B_85Tny8HBgnWVL_p8OEe8M_A@mail.gmail.com> <54A13DDB.2040206@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--------------010801070003060309090206
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 8bit

El 29/12/14 a les 12.41, Roger Pau Monné ha escrit:
> Hello,
> 
> Sorry for not noticing this earlier, I've been without a computer for
> some days. Do you get a panic message, or the system just freezes?
> 
> Can you please post the full boot output with boot_verbose enabled?

I'm not able to reproduce the problem with Qemu and OVMF, and I don't
have any box right now that uses UEFI.

I'm guessing that this is due to some memory reservation conflict, so
I'm attaching a patch that should help diagnose it. Could you provide
the information requested above with this patch applied?

Thanks, Roger.


--------------010801070003060309090206
Content-Type: text/plain; charset="UTF-8"; name="uefi_debug.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="uefi_debug.patch"

diff --git a/sys/x86/x86/nexus.c b/sys/x86/x86/nexus.c
index 0663602..d563c36 100644
--- a/sys/x86/x86/nexus.c
+++ b/sys/x86/x86/nexus.c
@@ -367,6 +367,10 @@ nexus_alloc_resource(device_t bus, device_t child, int type, int *rid,
 	struct	rman *rm;
 	int needactivate = flags & RF_ACTIVE;
 
+	if (type == SYS_RES_MEMORY)
+		printf("%s: RSV range 0x%lx - 0x%lx size %lu\n",
+		    device_get_name(child), start, end, count);
+
 	/*
 	 * If this is an allocation of the "default" range for a given
 	 * RID, and we know what the resources for this device are

--------------010801070003060309090206--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54A18780.7080601>