15.1 FreeBSD-ports-kmods : Confusion and Misconfiguration?!

OK, I have a FreeBSD 15.1 installed having just upgraded from 15.0 using the old school freebsd-update mechanism.

Code:
root@hostname:/tmp # uname -a
FreeBSD hostname 15.1-RELEASE-p1 FreeBSD 15.1-RELEASE-p1 #0 -dirty: Tue Jun 30 03:16:39 UTC 2026     root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

Code:
root@hostname:/tmp # freebsd-version -kru
15.1-RELEASE-p1
15.1-RELEASE-p1
15.1-RELEASE-p1

Now my issue is with output from pkg(8):
Code:
root@hostname:/tmp # pkg update -f && pkg upgrade
Updating FreeBSD-ports repository catalogue...
Fetching meta.conf: 100%     179 B   0.2 kB/s    00:01
Fetching data: 100%    11 MiB   2.9 MB/s    00:04
Processing entries: 100%
FreeBSD-ports repository update completed. 37857 packages processed.
Updating FreeBSD-ports-kmods repository catalogue...
Fetching meta.conf: 100%     179 B   0.2 kB/s    00:01
Fetching data: 100%    35 KiB  36.0 kB/s    00:01
Processing entries: 100%
FreeBSD-ports-kmods repository update completed. 240 packages processed.
All repositories are up to date.
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
All repositories are up to date.
Checking for upgrades (142 candidates): 100%
Processing candidates (142 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.

So far, so good, except for the following:
Code:
root@polonium:/tmp/kmods_latest_1 # pkg version -vRL= | grep "<" | tail
gpu-firmware-radeon-kmod-rv670-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-rv710-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-rv730-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-rv740-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-rv770-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-sumo-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-sumo2-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-tahiti-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-turks-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-verde-20220511.1501000 <   needs updating (remote has 20260519.1500068)

Now what peaked my interest is that I have a May 2022 version installed for 15.1, yet the 15.0 version is May 2026.

I verified the file pulled straight from source:

Code:
root@hostname:/tmp # rm -rf /tmp/kmods_latest_1
root@hostname:/tmp # mkdir /tmp/kmods_latest_1
root@hostname:/tmp # cd /tmp/kmods_latest_1
root@hostname:/tmp/kmods_latest_1 # fetch -v https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_latest_1/data.pkg
resolving server address: pkg.freebsd.org:443
SSL options: 82004850
Peer verification enabled
Using OpenSSL default CA cert file and path
Verify hostname
TLSv1.3 connection established using TLS_AES_128_GCM_SHA256
Certificate subject: /CN=pkg.freebsd.org
Certificate issuer: /C=US/O=Certainly/CN=Certainly Intermediate R1
requesting https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_latest_1/data.pkg
remote size / mtime: 36019 / 1779264050
data.pkg                                                35 kB  379 kBps    00s
root@hostname:/tmp/kmods_latest_1 # tar -xvf data.pkg
x data.sig
x data.pub
x data
root@hostname:/tmp/kmods_latest_1 # ls -la
total 47
drwxr-xr-x  2 root wheel      6 Jul 13 18:19 .
drwxrwxrwt  7 root wheel      7 Jul 13 18:19 ..
-rw-r--r--  1 root wheel 233846 May 20 09:00 data
-rw-r--r--  1 root wheel  36019 May 20 09:00 data.pkg
-rw-r--r--  1 root wheel    451 Jan  1  1970 data.pub
-rw-r--r--  1 root wheel    256 Jan  1  1970 data.sig
root@hostname:/tmp/kmods_latest_1 # python3.12  - <<'PY'
import json
with open("data") as f:
    repository = json.load(f)
packages = repository["packages"]
print("Total packages:", len(packages))
for origin in (
    "graphics/gpu-firmware-amd-kmod",
    "graphics/gpu-firmware-intel-kmod",
    "graphics/gpu-firmware-radeon-kmod",
):
    matching = [p for p in packages if p["origin"] == origin]
    versions = sorted({p["version"] for p in matching})
    print()
    print("Origin:", origin)
    print("Packages:", len(matching))
    print("Versions:", ", ".join(versions))
PY
Total packages: 240

Origin: graphics/gpu-firmware-amd-kmod
Packages: 85
Versions: 20250109.1501000

Origin: graphics/gpu-firmware-intel-kmod
Packages: 13
Versions: 20250109.1501000

Origin: graphics/gpu-firmware-radeon-kmod
Packages: 42
Versions: 20220511.1501000
root@hostname:/tmp/kmods_latest_1 #

Am I missing something, or are FreeBSD-ports-kmods not currently being built for 15.1 which was released a month ago?

Or is there a problem with how I am running pkg version?
 
What does pkg repos show?

Edit: Never mind. Same issue:

Only, in this case it's reversed. The packages in FreeBSD-ports are newer (20260519), but built for 15.0. The packages in FreeBSD-ports-kmods for 15.1 look like they haven't been rebuild due to the updated versions of the ports.
 
JamesElstone For gpu-firmware there should be no issue with the files being for the original 15 version (or 14), they are binary files copied from the linux drm kernel repo.
What you have to make sure is that you don't mix versions on /boot/modules. So remove any existing gpu-firmware files/packages and re-install them.
What will be an issue is drm-kmod, nvidia-kmd or for example network drivers.
 
At this timestamp: UTC 19:50 07-13-26 , # pkg search drm* can not find any drm-6.12 binary KMODS. For 15.1 -release
They need to be build locally in the ports tree.

This is troubling as one of the main points with the 15.1 Realease was to support linuxKPI 6.12 Direct Rendering Manager.
 
OK, I have a FreeBSD 15.1 installed having just upgraded from 15.0 using the old school freebsd-update mechanism.

Code:
root@hostname:/tmp # uname -a
FreeBSD hostname 15.1-RELEASE-p1 FreeBSD 15.1-RELEASE-p1 #0 -dirty: Tue Jun 30 03:16:39 UTC 2026     root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

Code:
root@hostname:/tmp # freebsd-version -kru
15.1-RELEASE-p1
15.1-RELEASE-p1
15.1-RELEASE-p1

Now my issue is with output from pkg(8):
Code:
root@hostname:/tmp # pkg update -f && pkg upgrade
Updating FreeBSD-ports repository catalogue...
Fetching meta.conf: 100%     179 B   0.2 kB/s    00:01
Fetching data: 100%    11 MiB   2.9 MB/s    00:04
Processing entries: 100%
FreeBSD-ports repository update completed. 37857 packages processed.
Updating FreeBSD-ports-kmods repository catalogue...
Fetching meta.conf: 100%     179 B   0.2 kB/s    00:01
Fetching data: 100%    35 KiB  36.0 kB/s    00:01
Processing entries: 100%
FreeBSD-ports-kmods repository update completed. 240 packages processed.
All repositories are up to date.
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
All repositories are up to date.
Checking for upgrades (142 candidates): 100%
Processing candidates (142 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.

So far, so good, except for the following:
Code:
root@polonium:/tmp/kmods_latest_1 # pkg version -vRL= | grep "<" | tail
gpu-firmware-radeon-kmod-rv670-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-rv710-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-rv730-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-rv740-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-rv770-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-sumo-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-sumo2-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-tahiti-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-turks-20220511.1501000 <   needs updating (remote has 20260519.1500068)
gpu-firmware-radeon-kmod-verde-20220511.1501000 <   needs updating (remote has 20260519.1500068)

Now what peaked my interest is that I have a May 2022 version installed for 15.1, yet the 15.0 version is May 2026.

I verified the file pulled straight from source:

Code:
root@hostname:/tmp # rm -rf /tmp/kmods_latest_1
root@hostname:/tmp # mkdir /tmp/kmods_latest_1
root@hostname:/tmp # cd /tmp/kmods_latest_1
root@hostname:/tmp/kmods_latest_1 # fetch -v https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_latest_1/data.pkg
resolving server address: pkg.freebsd.org:443
SSL options: 82004850
Peer verification enabled
Using OpenSSL default CA cert file and path
Verify hostname
TLSv1.3 connection established using TLS_AES_128_GCM_SHA256
Certificate subject: /CN=pkg.freebsd.org
Certificate issuer: /C=US/O=Certainly/CN=Certainly Intermediate R1
requesting https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_latest_1/data.pkg
remote size / mtime: 36019 / 1779264050
data.pkg                                                35 kB  379 kBps    00s
root@hostname:/tmp/kmods_latest_1 # tar -xvf data.pkg
x data.sig
x data.pub
x data
root@hostname:/tmp/kmods_latest_1 # ls -la
total 47
drwxr-xr-x  2 root wheel      6 Jul 13 18:19 .
drwxrwxrwt  7 root wheel      7 Jul 13 18:19 ..
-rw-r--r--  1 root wheel 233846 May 20 09:00 data
-rw-r--r--  1 root wheel  36019 May 20 09:00 data.pkg
-rw-r--r--  1 root wheel    451 Jan  1  1970 data.pub
-rw-r--r--  1 root wheel    256 Jan  1  1970 data.sig
root@hostname:/tmp/kmods_latest_1 # python3.12  - <<'PY'
import json
with open("data") as f:
    repository = json.load(f)
packages = repository["packages"]
print("Total packages:", len(packages))
for origin in (
    "graphics/gpu-firmware-amd-kmod",
    "graphics/gpu-firmware-intel-kmod",
    "graphics/gpu-firmware-radeon-kmod",
):
    matching = [p for p in packages if p["origin"] == origin]
    versions = sorted({p["version"] for p in matching})
    print()
    print("Origin:", origin)
    print("Packages:", len(matching))
    print("Versions:", ", ".join(versions))
PY
Total packages: 240

Origin: graphics/gpu-firmware-amd-kmod
Packages: 85
Versions: 20250109.1501000

Origin: graphics/gpu-firmware-intel-kmod
Packages: 13
Versions: 20250109.1501000

Origin: graphics/gpu-firmware-radeon-kmod
Packages: 42
Versions: 20220511.1501000
root@hostname:/tmp/kmods_latest_1 #

Am I missing something, or are FreeBSD-ports-kmods not currently being built for 15.1 which was released a month ago?

Or is there a problem with how I am running pkg version?
I have the same problem:
https://forums.freebsd.org/threads/checking-for-upgrades-6candidates.103137/
 
Yes its 15.1 only ! it cant be used on 15.0 as the kernel support is not there for linukKPI 6,12 in 15.0-Relese.
But there is no resaon to keep 15.1 users hostage Waiting for 15.0 to go end of suppot is it ?
 
Back
Top