[Bug 271555] FreeBSD 14.0: kernel panic with kern.geom.label.disk_ident.enable and kern.geom.label.gptid.enable both enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Sep 2023 03:32:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271555
Mark Millard <marklmi26-fbsd@yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marklmi26-fbsd@yahoo.com
--- Comment #6 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Graham Perrin from comment #1)
The code:
. . .
# zfs_create_boot $poolname $vdev_type $disks ...
#
# Creates boot pool and dataset layout. Returns error if something goes wrong.
# Errors are printed to stderr for collection and display.
#
zfs_create_boot()
{
. . .
# Last, but not least... required lines for rc.conf(5)/loader.conf(5)
# NOTE: We later concatenate these into their destination
. . .
f_eval_catch $funcname echo "$ECHO_APPEND" \
'kern.geom.label.disk_ident.enable=\"0\"' \
$BSDINSTALL_TMPBOOT/loader.conf.zfs || return $FAILURE
f_eval_catch $funcname echo "$ECHO_APPEND" \
'kern.geom.label.gptid.enable=\"0\"' \
$BSDINSTALL_TMPBOOT/loader.conf.zfs || return $FAILURE
is in usr.sbin/bsdinstall/scripts/zfsboot which is only for
setting up root-on-zfs. (I included the gptid.enable code
as well, for reference.)
So the assigmments are very specific to a type of context and
the "relevant discussions" for disk_ident.enable were probably
more general root-on-zfs discussions that happened to mention
the disk_ident.enable as a detail in more overall discussions.
I'll note that the gptid.enable code's later commit
( 2875e59f52f9 ) reports:
Submitted by: Allan Jude <freebsd@allanjude.com>
So there might be another path to background information on
these kern.geom.label.*.enable="0" assignments for root-on-zfs
contexts.
--
You are receiving this mail because:
You are on the CC list for the bug.