Article View: muc.lists.freebsd.bugs
Article #226[Bug 300041] [Enhancement] pkgbase: Add pre-upgrade compatibility checks for third-party kernel modules
From: bugzilla-noreply
Date: Sun, 25 Oct 2026 14:03
Date: Sun, 25 Oct 2026 14:03
95 lines
5061 bytes
5061 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300041
Bug ID: 300041
Summary: [Enhancement] pkgbase: Add pre-upgrade compatibility
checks for third-party kernel modules
Product: Base System
Version: 15.1-STABLE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: cizmarmatija44@gmail.com
I would like to suggest an enhancement to FreeBSD's pkgbase upgrade process
that would help users identify potential compatibility problems involving
third-party kernel modules before rebooting into an updated system.
FreeBSD 15 provides an increasingly unified package-management experience
through pkgbase. However, users with third-party kernel modules, such as NVIDIA
graphics drivers and DRM modules, may encounter compatibility issues after
kernel and package updates.
### Proposed enhancement
Introduce an optional pre-upgrade or post-upgrade diagnostic check that:
1. Identifies installed third-party kernel modules and relevant kernel
packages.
2. Checks available compatibility information against the target kernel version
and ABI.
3. Reports potentially incompatible or missing modules before reboot.
4. Identifies packages that may need rebuilding or upgrading.
5. Clearly distinguishes verified incompatibilities from situations where
compatibility cannot be determined.
6. Provides suggested next steps without automatically modifying the user's
configuration.
The feature could be integrated into the pkgbase upgrade workflow or made
available as a separate diagnostic command.
### Example
An illustrative report might look like:
Kernel module compatibility report
Target FreeBSD kernel: 15.x
nvidia-kmod Compatibility: verified
nvidia-drm-kmod Compatibility: requires review
drm-kmod Compatibility: unknown
Warning: One or more modules may require attention
before restarting.
Review the listed packages and their build compatibility.
Motivation
I use FreeBSD 15.1-RELEASE with KDE Plasma Wayland and an NVIDIA graphics card.
I previously encountered package compatibility problems involving NVIDIA and
DRM kernel modules that affected the graphical session.
A diagnostic feature like this would make FreeBSD upgrades safer and easier to
understand, especially for users who depend on third-party kernel modules.
Expected benefit
This enhancement could improve upgrade reliability for desktop and server
installations while preserving FreeBSD's existing command-line administration
model.
It would be particularly useful for users upgrading between minor or major
FreeBSD releases.
I hope that you will consider this in future upgrades..Thanks
--
You are receiving this mail because:
You are the assignee for the bug.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<bug-300041-227@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail From: bugzilla-noreply@freebsd.org Newsgroups: muc.lists.freebsd.bugs Subject: [Bug 300041] [Enhancement] pkgbase: Add pre-upgrade compatibility checks for third-party kernel modules Date: Sun, 25 Oct 2026 14:03:22 +0000 Organization: Newsgate at muc.de e.V. Sender: owner-freebsd-bugs@FreeBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <bug-300041-227@https.bugs.freebsd.org/bugzilla/> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="5091"; mail-complaints-to="news-admin@muc.de" X-Original-To: bugs@mlmmj.nyi.freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792937002; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QvxuiVnRfPLdw5fgoIGcloOcAKiKkoXoN6of7s01EdU=; b=JPycVzlpjm26qBHVNRogwc+O4Vxig/pQt5IGGml0WjBCU2Z28nOcp45NZeiY7rP7vMsOjx OEy3O/ucH9z4vqho2+tq6MoAH60zY0DFPuJ3xryftg88/JbEOC1tVvJk7C5zwndn4qXCJ7 uPNwt1FgjLI/oK4gJ9UEEeNIqbGFRjHjsRvHhPNxxttAcMbrHggXTLW9OEtsJLk8yWgsPq webrlRftd9EvjUiW6JFECNFalSC1hLmpvPTdiCqdiKt+z6Qmno92JLiVZe8daFCrxQI8MA mIHXLt3M2yNA1+pvYgQfxGHKdNxy9qip1iGro8y/YWeeTZcTw4gWabANVcLg7A== X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes