Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2024 20:47:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 267028] kernel panics when booting with both (zfs,ko or vboxnetflt,ko or acpi_wmi.ko) and amdgpu.ko
Message-ID:  <bug-267028-3630-J3XvsrxqTa@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-267028-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-267028-3630@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=3D267028

--- Comment #254 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to George Mitchell from comment #253)

QUOTE
Hmmm - now I'm thoroughly confused, because I typed "portmaster -BDg
graphics/gpu-firmware-amd-kmod" and it seems to have compiled the "aldebara=
n"
flavor (version 20230625) while leaving everything else (meaning 85 other
installed packages) alone (version 20220511).
END QUOTE

The default flavor is the first in the list unless extra work was done
to control it in the port:

PKGNAMESUFFIX=3D  -${FLAVOR:C/_/-/g}
FLAVORS=3D        aldebaran \
                arcturus \
                banks \
                beige_goby \
. . .

You implicitly requested that only the aldebaran flavor
be built.

You probably meant something like (at least poudriere has
such @all support):

portmaster -BDg graphics/gpu-firmware-amd-kmod@all

but looking at the man page I see no hint of portmaster
supporting use of @all . May be the ports Makefile
handling does such automatically for @all use? That
might make portmaster also work.

In your case you likely could use:

portmaster -BDg graphics/gpu-firmware-amd-kmod@raven

for what we are investigating.

The extra notation for setting a default that is not
the starting value in FLAVORS is like:

FLAVOR?=3D        SOMEFLAVOR

in the Makefile .

There is a notation for referencing into the FLAVORS
list to pick out the default:

FLAVOR?=3D        ${FLAVORS:[1]}

The port in question does not seem to have these.
On make command lines, FLAVOR=3DSOMEFLAVOR can be used.


Side note:

The fact that you use portmaster instead of poudriere
or poudriere-devel (or other such) is likely something
else that should generally be published for a self-built
context: it tells folks some about how much they need to
be worried about odd interactions from an unclean build
environment.

It is commonly more difficult to make portmaster or
Makefile based builds reproducable across systems and
across other context switching: the builds use more of
the variations in the live 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-267028-3630-J3XvsrxqTa>