Just as a heads-up: virtualbox-ose-kmod-72-7.2.2 is still not available in 15.0-STABLE but can be compiled from ports and it loads and works just fine. I suspect that when I tried it earlier I did not have set up my kernel sources correctly: now I'm tracking stable/15.0 and everything works as expected.
stable/15
config settings, I get:[0-0] # date -u; pkg -v
Fri Oct 17 11:15:26 UTC 2025
2.3.1
[1-0] # pkg -vv | sed -nE -e '/(OSVERSION|ABI|DEBUG_LEVEL)/ p' -e '/^Repositories:/,$ p'
DEBUG_LEVEL = 0;
IGNORE_OSVERSION = true;
ABI = "FreeBSD:15:amd64";
ALTABI = "freebsd:15:x86:64";
OSVERSION = "1500500";
Repositories:
FreeBSD-ports: {
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/latest",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-ports-kmods: {
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_latest",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-base: {
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/base_latest",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
[2-0] # pkg rquery -e '%n !~ virtualbox-ose-nox11*' -x '[%R] %o %n %v' '^virtualbox.*' | column -t | nl
1 [FreeBSD-ports] emulators/virtualbox-ose virtualbox-ose 6.1.50_16
2 [FreeBSD-ports] emulators/virtualbox-ose-70 virtualbox-ose-70 7.0.26_5
3 [FreeBSD-ports] emulators/virtualbox-ose-71 virtualbox-ose-71 7.1.12_1
4 [FreeBSD-ports] emulators/virtualbox-ose-72 virtualbox-ose-72 7.2.2_1
5 [FreeBSD-ports] emulators/virtualbox-ose-additions virtualbox-ose-additions 6.1.50.1500067_2
6 [FreeBSD-ports] emulators/virtualbox-ose-additions-legacy virtualbox-ose-additions-legacy 5.2.44.1500067_8
7 [FreeBSD-ports] emulators/virtualbox-ose-additions-nox11 virtualbox-ose-additions-nox11 6.1.50.1500067_1
8 [FreeBSD-ports] emulators/virtualbox-ose-additions-nox11-legacy virtualbox-ose-additions-nox11-legacy 5.2.44.1500067_7
9 [FreeBSD-ports] emulators/virtualbox-ose-kmod virtualbox-ose-kmod 6.1.50.1500067_1
10 [FreeBSD-ports] emulators/virtualbox-ose-kmod-70 virtualbox-ose-kmod-70 7.0.26.1500067
11 [FreeBSD-ports] emulators/virtualbox-ose-kmod-71 virtualbox-ose-kmod-71 7.1.12.1500067
12 [FreeBSD-ports] emulators/virtualbox-ose-kmod-72 virtualbox-ose-kmod-72 7.2.2.1500067
13 [FreeBSD-ports] emulators/virtualbox-ose-kmod-legacy virtualbox-ose-kmod-legacy 5.2.44.1500067_7
14 [FreeBSD-ports] emulators/virtualbox-ose-legacy virtualbox-ose-legacy 5.2.44_33
[3-0] #
virtualbox-ose-kmod-72
version 7.2.2 present, but:FreeBSD-ports
1500067
(OSVERSION = "1500067")
, I think that shouldn't have happened.stable/15
means you're on 1500500
and up; a virtualbox-ose-kmod-72
should be version tagged with 1500066
(old version from ALPHA4) or 1500500
(from ALPHA5).We don't have separate build for minor release on the same major releng version, this applies to stable too.So, there is avirtualbox-ose-kmod-72
version 7.2.2 present, but:
It looks like this particualr version is build against BETA1
- it is in
FreeBSD-ports
- it is version tagged with
1500067
(OSVERSION = "1500067")
, I think that shouldn't have happened.
Trackingstable/15
means you're on1500500
and up; avirtualbox-ose-kmod-72
should be version tagged with1500066
(old version from ALPHA4) or1500500
(from ALPHA5).
My understanding is it's correct.It looks like this particualr version is build against BETA1(OSVERSION = "1500067")
, I think that shouldn't have happened.
That's exactly my point. I was expecting to find 1500500 in the repos (it is not there) and building from ports, with the appropriate kernel sources, I now have a functioning kernel module.Hmm, using the appropriatestable/15
config settings, I get:
Rich (BB code):[0-0] # date -u; pkg -v Fri Oct 17 11:15:26 UTC 2025 2.3.1 [1-0] # pkg -vv | sed -nE -e '/(OSVERSION|ABI|DEBUG_LEVEL)/ p' -e '/^Repositories:/,$ p' DEBUG_LEVEL = 0; IGNORE_OSVERSION = true; ABI = "FreeBSD:15:amd64"; ALTABI = "freebsd:15:x86:64"; OSVERSION = "1500500"; Repositories: FreeBSD-ports: { url : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/latest", enabled : yes, priority : 0, mirror_type : "SRV", signature_type : "FINGERPRINTS", fingerprints : "/usr/share/keys/pkg" } FreeBSD-ports-kmods: { url : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_latest", enabled : yes, priority : 0, mirror_type : "SRV", signature_type : "FINGERPRINTS", fingerprints : "/usr/share/keys/pkg" } FreeBSD-base: { url : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/base_latest", enabled : yes, priority : 0, mirror_type : "SRV", signature_type : "FINGERPRINTS", fingerprints : "/usr/share/keys/pkg" } [2-0] # pkg rquery -e '%n !~ virtualbox-ose-nox11*' -x '[%R] %o %n %v' '^virtualbox.*' | column -t | nl 1 [FreeBSD-ports] emulators/virtualbox-ose virtualbox-ose 6.1.50_16 2 [FreeBSD-ports] emulators/virtualbox-ose-70 virtualbox-ose-70 7.0.26_5 3 [FreeBSD-ports] emulators/virtualbox-ose-71 virtualbox-ose-71 7.1.12_1 4 [FreeBSD-ports] emulators/virtualbox-ose-72 virtualbox-ose-72 7.2.2_1 5 [FreeBSD-ports] emulators/virtualbox-ose-additions virtualbox-ose-additions 6.1.50.1500067_2 6 [FreeBSD-ports] emulators/virtualbox-ose-additions-legacy virtualbox-ose-additions-legacy 5.2.44.1500067_8 7 [FreeBSD-ports] emulators/virtualbox-ose-additions-nox11 virtualbox-ose-additions-nox11 6.1.50.1500067_1 8 [FreeBSD-ports] emulators/virtualbox-ose-additions-nox11-legacy virtualbox-ose-additions-nox11-legacy 5.2.44.1500067_7 9 [FreeBSD-ports] emulators/virtualbox-ose-kmod virtualbox-ose-kmod 6.1.50.1500067_1 10 [FreeBSD-ports] emulators/virtualbox-ose-kmod-70 virtualbox-ose-kmod-70 7.0.26.1500067 11 [FreeBSD-ports] emulators/virtualbox-ose-kmod-71 virtualbox-ose-kmod-71 7.1.12.1500067 12 [FreeBSD-ports] emulators/virtualbox-ose-kmod-72 virtualbox-ose-kmod-72 7.2.2.1500067 13 [FreeBSD-ports] emulators/virtualbox-ose-kmod-legacy virtualbox-ose-kmod-legacy 5.2.44.1500067_7 14 [FreeBSD-ports] emulators/virtualbox-ose-legacy virtualbox-ose-legacy 5.2.44_33 [3-0] #
So, there is avirtualbox-ose-kmod-72
version 7.2.2 present, but:
It looks like this particualr version is build against BETA1
- it is in
FreeBSD-ports
- it is version tagged with
1500067
(OSVERSION = "1500067")
, I think that shouldn't have happened.
Trackingstable/15
means you're on1500500
and up; avirtualbox-ose-kmod-72
should be version tagged with1500066
(old version from ALPHA4) or1500500
(from ALPHA5).
In case I wasn't clear, I tried tracking stable/15 to chase a nvme-related bug that crashes the system after the second suspend/resume cycle. The virtualbox module is the only one that I use which doesn't have a version 1500500 in the repos, whilst iwlwifi and drm do.My understanding is it's correct.
As BETA1 is built using releng/15.0 branch, which 15.0-Release is going to be built after several planned BETA and RC.
On the other hand, stable/15 should now be considered as "branch for preparaion of next 15.1" after releng/15.0 is branched from it, thus, having OSVERSION 1500500.
And main repo for ports (FreeBSD-ports for 15.0 and FreeBSD for 14 and before) use oldest supported minor version of each major version.
I think fixes for such kind of fatal bug should be MFS'ed to releng/15.0.In case I wasn't clear, I tried tracking stable/15 to chase a nvme-related bug that crashes the system after the second suspend/resume cycle. The virtualbox module is the only one that I use which doesn't have a version 1500500 in the repos, whilst iwlwifi and drm do.
I'm afraid you're wrong:And not 100% sure, but FreeBSD[-ports]-kmods repo is basically for minor versionup releases of oldest supported minor release, not for stable nor main.
[16:07][fmc000@tu45b-freebsd ~]$ pkg search -r FreeBSD-ports-kmods kmod|grep 1500500|wc -l
193
[16:07][fmc000@tu45b-freebsd ~]$ pkg search -r FreeBSD-ports kmod|grep 1500500|wc -l
0
[16:07][fmc000@tu45b-freebsd ~]$
Yes, it's my mistake. In reverse. For "non-oldest minor versions" is correct.I'm afraid you're wrong:
We now have two branchesFWIW, I'm leaving this thread as I'm back to 14.3-STABLE because of PR 290265.
15.0-BETA1
(~ releng/15), with BETAx and RC-y in the future, and 15.x-STABLE
; these are diverging.15-STABLE
opening a separate thread when and if appropriate?Maybe.We now have two branches15.0-BETA1
(~ releng/15), with BETAx and RC-y in the future, and15.x-STABLE
; these are diverging.
In general: perhaps consider for15-STABLE
opening a separate thread when and if appropriate?
So does pkgbase have a separate database from ports pkg?
All in the db /var/db/pkg/local.sqlite in theFrom what I've read, no. [...]
packages
table. On my package based 15.0-BETA1:[1-0] % pkg query -x -e '%o ~ base/*' '[%R] %o %n %v' '.*'| wc -l --> all base packages
490
[2-0] % pkg query -x -e '%o !~ base/*' '[%R] %o %n %v' '.*'| wc -l --> all non-base packages
1077
[3-0] % sqlite3 /var/db/pkg/local.sqlite "SELECT origin,name FROM packages;"| sed -n '/^base/ p' | wc -l --> all base packages
490
[4-0] % sqlite3 /var/db/pkg/local.sqlite "SELECT origin,name FROM packages;"| sed -n '/^base/! p' | wc -l --> all non-base packages
1077
Is /var the correct place for the package database? Maybe not.All in the db /var/db/pkg/local.sqlite in thepackages
table.
Good catch. According to hier(7).Here's my thinking. On one hand, if the package database is lost, the system can not be upgraded, meaning it becomes unmaintained, meaning it will need to be reinstalled soon. One could de-facto call it a temporary install.
/var/ log, temporary, transient, and spool files
Maybe I wasn't clear but I'm leaving 15.0 for good, both branches have this bug that's just too critical for me.We now have two branches15.0-BETA1
(~ releng/15), with BETAx and RC-y in the future, and15.x-STABLE
; these are diverging.
In general: perhaps consider for15-STABLE
opening a separate thread when and if appropriate?
varmfs. Splitted out from diskless at commit 3e091039ee9b./var is never wiped. I have never seen a Unix like do that.
varmfs. Splitted out from diskless at commit 3e091039ee9b.
If I recall correctly, I've very surprized when var became volatile on upgrade, and found the new option, then, explicitly disabling it with setting "NO" fixed it.
Not sure. I've failed to track changes via commit logs, but would be fixed at some point.Why isn't my /var cleared?
All I was saying was: /var was traditionally not required to be persistent. Other than the spool directories, losing all content from /var could be cured by a reboot. That doesn't mean that wiping it is a good idea: in the old days, when mail delivery was slow and unreliable, and printing was commonly used and also slow, losing /var would be quite inconvenient to users./var is never wiped. I have never seen a Unix like do that.
...
All the SQL databases are in /var/db for crying out loud.
When diskless workstations were a big thing, there was a lot of work on splitting host-specific stuff from generic stuff, because they needed separate NFS mounts. I don't know the history of the file system hierarchy well enough to know when things moved, and when /var started being used.IIRC right from the start /var was host specific but a lot of it persistent (account, crash, cron, log, mail, preserve, spool, ...). /etc is also host specific but it changes far less, once set up. Actually very little in /etc is host specific and prob. should be factored out. Then the standard system can be mounted readonly or remote. But I guess at this stage people would be resistant to such changes.