Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2019 00:53:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        mips@FreeBSD.org
Subject:   [Bug 221550] kern.bootfile returns only /kernel on mips64 (ERL) platform
Message-ID:  <bug-221550-27794-wdkzWUqaqZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221550-27794@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221550-27794@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=3D221550

--- Comment #5 from commit-hook@freebsd.org ---
A commit references this bug:

Author: gonzo
Date: Thu May 16 00:53:55 UTC 2019
New revision: 347637
URL: https://svnweb.freebsd.org/changeset/base/347637

Log:
  MFC r345550:

  Change default value of kern.bootfile to reflect reality

  In most cases kernel.bootfile is populated from the information
  provided by loader(8). There are certain scenarios when loader
  is not available, for instance when kernel is loaded by u-boot
  or some other BootROM directly. In this case the default value
  "/kernel" points to invalid location and breaks some functinality,
  like using installkernel on self-hosted system or dtrace's CTF
  lookup. This can be fixed by setting the value manually but the
  default that reflects correct location is better than default that
  points to invalid one.

  Current default was set around FreeBSD 1, when "/kernel" was the
  actual path. Transition to /boot/kernel/kernel happened circa FreeBSD 3.

  PR:           221550
  Reviewed by:  ian, imp
  Differential Revision:        https://reviews.freebsd.org/D18902

Changes:
_U  stable/11/
  stable/11/sys/kern/kern_mib.c

--=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-221550-27794-wdkzWUqaqZ>