Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2023 03:32:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 271555] FreeBSD 14.0: kernel panic with kern.geom.label.disk_ident.enable and kern.geom.label.gptid.enable both enabled
Message-ID:  <bug-271555-9-ST06ojkfAf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271555-9@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271555-9@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=3D271555

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 wro=
ng.
# 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=3D\"0\"' \
                     $BSDINSTALL_TMPBOOT/loader.conf.zfs || return $FAILURE
        f_eval_catch $funcname echo "$ECHO_APPEND" \
                     'kern.geom.label.gptid.enable=3D\"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=3D"0" assignments for root-on-zfs
contexts.

--=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-271555-9-ST06ojkfAf>