Date: Wed, 11 Oct 2017 00:32:33 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 214718] x86bios panics at boot if it cannot obtain memory Message-ID: <bug-214718-8-uLxiNVG8O6@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-214718-8@https.bugs.freebsd.org/bugzilla/> References: <bug-214718-8@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=3D214718 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: emaste Date: Wed Oct 11 00:31:54 UTC 2017 New revision: 324510 URL: https://svnweb.freebsd.org/changeset/base/324510 Log: MFC r309151: Use explicit 0x200000 for the amd64 kernel physaddr (instead of MAXPAGESIZE) MAXPAGESIZE is not well defined by the GNU ld documentation. Different linkers, and different versions of the same linker, use different MAXPAGESIZE values. Current versions of GNU gold and LLVM's lld use 4K. When set to 4K the kernel panics at boot due to an issue with x86bios. Here we want the kernel physaddr to be the amd64 superpage size, so use that value (2MB) explicitly. With this change GNU gold and LLVM lld can link a working amd64 kernel. PR: 214718 (x86bios) Sponsored by: The FreeBSD Foundation Changes: _U stable/11/ stable/11/sys/conf/ldscript.amd64 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214718-8-uLxiNVG8O6>