Skip to content

Instantly share code, notes, and snippets.

@grahamperrin
Created December 15, 2024 10:36
Show Gist options
  • Save grahamperrin/0bfcd7bbc162e92d9b2176bcdf4f888b to your computer and use it in GitHub Desktop.
Save grahamperrin/0bfcd7bbc162e92d9b2176bcdf4f888b to your computer and use it in GitHub Desktop.
FreeBSD 14.2-RELEASE with kmods_latest_2 not prioritised, 2024-12-15 10:11
root@fourteen-pkgbase:~ # date ; uptime
Sun Dec 15 09:13:23 GMT 2024
9:13AM up 27 mins, 2 users, load averages: 0.17, 0.27, 0.37
root@fourteen-pkgbase:~ # uname -bmvKU
FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64 1402000 1402000 4f83741c36da87fe6226d4043930a4ea79801b8e
root@fourteen-pkgbase:~ # pkg -vv | grep -B 1 -e url -e priority
FreeBSD-ports: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/latest",
enabled : yes,
priority : 0,
--
FreeBSD-base: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/base_release_2",
enabled : yes,
priority : 0,
--
FreeBSD-kmods: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/kmods_latest_2",
enabled : yes,
priority : 0,
--
local-poudriere: {
url : "file:///usr/local/poudriere/data/packages/fourteen-default",
enabled : yes,
priority : 3
root@fourteen-pkgbase:~ # bectl create 14.2r-20241215-1011
root@fourteen-pkgbase:~ # bectl mount 14.2r-20241215-1011 /tmp/up
/tmp/up
root@fourteen-pkgbase:~ # pkg -r /tmp/up upgrade -Uy -r FreeBSD-base
Checking for upgrades (0 candidates): 100%
Processing candidates (0 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
root@fourteen-pkgbase:~ # /usr/bin/time -h pkg -r /tmp/up upgrade -FqUy -r FreeBSD-ports
0.17s real 0.09s user 0.07s sys
root@fourteen-pkgbase:~ # /usr/bin/time -h pkg -r /tmp/up upgrade -U -r FreeBSD-ports
Checking for upgrades (2 candidates): 100%
Processing candidates (2 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
0.25s real 0.08s user 0.05s sys
root@fourteen-pkgbase:~ # /usr/bin/time -h pkg -r /tmp/up install -FqUy -r FreeBSD-ports drm-kmod
18.10s real 1.72s user 0.51s sys
root@fourteen-pkgbase:~ # /usr/bin/time -h pkg -r /tmp/up install -qUy -r FreeBSD-ports drm-kmod
=====
Message from drm-61-kmod-6.1.92.1401000_3:
--
The drm-61-kmod port can be enabled for amdgpu (for AMD
GPUs starting with the HD7000 series / Tahiti) or i915kms (for Intel
APUs starting with HD3000 / Sandy Bridge) through kld_list in
/etc/rc.conf. radeonkms for older AMD GPUs can be loaded and there are
some positive reports if EFI boot is NOT enabled.
For amdgpu: kld_list="amdgpu"
For Intel: kld_list="i915kms"
For radeonkms: kld_list="radeonkms"
Please ensure that all users requiring graphics are members of the
"video" group.
Please note that this package was built for FreeBSD 14.1.
If this is not your current running version, please rebuild
it from ports to prevent panics when loading the module.
18.71s real 4.48s user 3.92s sys
root@fourteen-pkgbase:~ # /usr/bin/time -h pkg -r /tmp/up upgrade -U
Checking for upgrades (6 candidates): 100%
Processing candidates (6 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
0.86s real 0.36s user 0.08s sys
root@fourteen-pkgbase:~ # /usr/bin/time -h pkg -r /tmp/up upgrade -U -r FreeBSD-kmods
Checking for upgrades (4 candidates): 100%
Processing candidates (4 candidates): 100%
The following 4 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
drm-61-kmod: 6.1.92.1401000_3 -> 6.1.92.1402000_3 [FreeBSD-kmods]
gpu-firmware-amd-kmod-aldebaran: 20230625.1401000_2 -> 20230625.1402000_2 [FreeBSD-kmods]
gpu-firmware-intel-kmod-skylake: 20230625.1401000 -> 20230625.1402000 [FreeBSD-kmods]
gpu-firmware-radeon-kmod-aruba: 20220511.1401000 -> 20220511.1402000 [FreeBSD-kmods]
Number of packages to be upgraded: 4
4 MiB to be downloaded.
Proceed with this action? [y/N]: y
[1/4] Fetching gpu-firmware-radeon-kmod-aruba-20220511.1402000.pkg: 100% 12 KiB 12.7kB/s 00:01
[2/4] Fetching drm-61-kmod-6.1.92.1402000_3.pkg: 100% 3 MiB 1.8MB/s 00:02
[3/4] Fetching gpu-firmware-amd-kmod-aldebaran-20230625.1402000_2.pkg: 100% 586 KiB 600.5kB/s 00:01
[4/4] Fetching gpu-firmware-intel-kmod-skylake-20230625.1402000.pkg: 100% 196 KiB 201.0kB/s 00:01
Checking integrity... done (0 conflicting)
[1/4] Upgrading gpu-firmware-radeon-kmod-aruba from 20220511.1401000 to 20220511.1402000...
[1/4] Extracting gpu-firmware-radeon-kmod-aruba-20220511.1402000: 100%
[2/4] Upgrading drm-61-kmod from 6.1.92.1401000_3 to 6.1.92.1402000_3...
[2/4] Extracting drm-61-kmod-6.1.92.1402000_3: 100%
[3/4] Upgrading gpu-firmware-amd-kmod-aldebaran from 20230625.1401000_2 to 20230625.1402000_2...
[3/4] Extracting gpu-firmware-amd-kmod-aldebaran-20230625.1402000_2: 100%
[4/4] Upgrading gpu-firmware-intel-kmod-skylake from 20230625.1401000 to 20230625.1402000...
[4/4] Extracting gpu-firmware-intel-kmod-skylake-20230625.1402000: 100%
5.56s real 0.57s user 0.38s sys
root@fourteen-pkgbase:~ # bectl umount 14.2r-20241215-1011
root@fourteen-pkgbase:~ # bectl activate -t 14.2r-20241215-1011
Successfully activated boot environment 14.2r-20241215-1011
for next boot
root@fourteen-pkgbase:~ # shutdown -r +1
Shutdown at Sun Dec 15 09:20:27 2024.
shutdown: [pid 6824]
root@fourteen-pkgbase:~ #
*** System shutdown message from root@fourteen-pkgbase ***
System going down in 1 minute
root@fourteen-pkgbase:~ # exit
logout
Connection to 192.168.1.6 closed.
%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment