Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2016 18:57:20 +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-IZXywEDlcZ@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 #2 from commit-hook@freebsd.org ---
A commit references this bug:

Author: emaste
Date: Fri Nov 25 18:57:14 UTC 2016
New revision: 309151
URL: https://svnweb.freebsd.org/changeset/base/309151

Log:
  Use explicit 0x200000 instead of MAXPAGESIZE for the amd64 kernel physaddr

  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)
  Differential Revision:        https://reviews.freebsd.org/D8610

Changes:
  head/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-IZXywEDlcZ>