Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 2021 15:47:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        amd64@FreeBSD.org
Subject:   [Bug 209821] UEFI - installation media hangs when booting on ASUS P6P67 DELUXE
Message-ID:  <bug-209821-17361-XM5KCOqKdV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209821-17361@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209821-17361@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209821

David Sebek <dasebek@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dasebek@gmail.com

--- Comment #37 from David Sebek <dasebek@gmail.com> ---
I fixed the problem on my machine! The boot process always got stuck after =
it
printed the EFI framebuffer information. This is just before the kernel is
started.
The EFI bootloader first loads the kernel to a staging area (which is 64MB
large). Then, just before the kernel is started, the bootloader copies the
contents of the staging area to the address 0x200000 and jumps to the kernel
entry point that is now located at the expected location.
In my case, the LoaderCode and LoaderData memory pages of the EFI bootloader
happened to be located at addresses 0x2d1e000 and 0x2e01000, which were
overwritten by the contents of the staging area.
I made some changes to the code to avoid this issue, and now my system boots
just fine.

These bug reports also seem to be similar to this one: Bug 255073, Bug 2199=
57

I am attaching a patch against the main git branch, please test if it fixes=
 the
problem for you too.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209821-17361-XM5KCOqKdV>