Re: UEFI boot failure: BIOS smap did not include a basemem segment!

2014-09-11 Thread Jean-Sébastien Pédron
On 11.09.2014 16:12, Ed Maste wrote:
> The requirement for a usable memory range with physaddr 0 doesn't hold
> for UEFI, and the md startup hasn't yet been reworked to accommodate
> that.

Thank you for the explanation!

> Do you mind submitting a PR to keep track of this issue?

Here it is:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193564

-- 
Jean-Sébastien Pédron



signature.asc
Description: OpenPGP digital signature


Re: UEFI boot failure: BIOS smap did not include a basemem segment!

2014-09-11 Thread Ed Maste
On 10 September 2014 15:00, Jean-Sébastien Pédron  wrote:
> Hello!
>
> I tried the following FreeBSD snapshot on my Clevo W860CU with UEFI
> enabled:
> FreeBSD-11.0-CURRENT-amd64-20140903-r270990-memstick.img

Thanks for trying it out.

> The boot fails early with the following error:
> panic: BIOS smap did not include a basemem segment!

This panic means the memory map does not include usable memory (for
the kernel) with physaddr 0.

if (physmap[i] == 0x) {
basemem = physmap[i + 1] / 1024;

basemem == 0 produces the panic.

The requirement for a usable memory range with physaddr 0 doesn't hold
for UEFI, and the md startup hasn't yet been reworked to accommodate
that.

> Here's a video of a verbose boot (the quality is really low, I can try
> to redo it if this one doesn't help):
> http://www.dumbbell.fr/~dumbbell/FreeBSD-Clevo-W860CU-UEFI-no-basemem-segment.mov

Pausing the video immediately after the kernel starts confirms this:
the UEFI firmware has RuntimeServicesData at physaddr 0, so not
available for kernel use.

Do you mind submitting a PR to keep track of this issue?
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

UEFI boot failure: BIOS smap did not include a basemem segment!

2014-09-10 Thread Jean-Sébastien Pédron
Hello!

I tried the following FreeBSD snapshot on my Clevo W860CU with UEFI
enabled:
FreeBSD-11.0-CURRENT-amd64-20140903-r270990-memstick.img

The boot fails early with the following error:
panic: BIOS smap did not include a basemem segment!

The full picture of the panic is here:
https://people.freebsd.org/~dumbbell/uefi/FreeBSD-Clevo-W860CU-UEFI-no-basemem-segment.jpg

Here's a video of a verbose boot (the quality is really low, I can try
to redo it if this one doesn't help):
http://www.dumbbell.fr/~dumbbell/FreeBSD-Clevo-W860CU-UEFI-no-basemem-segment.mov

When I tried UEFI a couple years ago (with Windows 7), it could boot.

-- 
Jean-Sébastien Pédron



signature.asc
Description: OpenPGP digital signature