Re: help with kmods

From: Antonio Olivares <olivares14031_at_gmail.com>
Date: Sat, 21 Jun 2025 00:23:44 UTC
On Fri, Jun 20, 2025, 2:11 PM Graham Perrin <grahamperrin@gmail.com> wrote:

> On 20/06/2025 07:10, Matthias Fechner wrote:
>
> … Have you upgrade pkg to 2.2.0 …
>
>
> 2.2.0 does seem to simplify things:
> <https://www.reddit.com/r/freebsd/comments/1leqsbt/comment/myuzra2/>
> <https://www.reddit.com/r/freebsd/comments/1leqsbt/comment/myuzra2/>.
>
> Doing this
pkg install -r FreeBSD-kmods drm-61-kmod

> and updating pkg to 2.2.0 did the job on both machines.  Thanks to all who
helped with this matter.

root@deepcool:~ # pkg update
Updating FreeBSD repository catalogue...
Fetching data.pkg: 100%   10 MiB   2.1MB/s    00:05
Processing entries: 100%
FreeBSD repository update completed. 35981 packages processed.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
All repositories are up to date.
root@deepcool:~ # pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
pkg: 2.1.2 -> 2.2.0 [FreeBSD]

Number of packages to be upgraded: 1

12 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching pkg-2.2.0.pkg: 100%   12 MiB   1.1MB/s    00:11
Checking integrity... done (0 conflicting)
[1/1] Upgrading pkg from 2.1.2 to 2.2.0...
[1/1] Extracting pkg-2.2.0: 100%
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
All repositories are up to date.
Checking for upgrades (313 candidates): 100%
Processing candidates (313 candidates): 100%
The following 3 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
chromium: 137.0.7151.55 -> 137.0.7151.103 [FreeBSD]
curl: 8.14.0 -> 8.14.1 [FreeBSD]
firefox: 139.0.4,2 -> 140.0,2 [FreeBSD]

Number of packages to be upgraded: 3

The process will require 1 MiB more space.
199 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/3] Fetching chromium-137.0.7151.103.pkg: 100%  125 MiB   4.2MB/s
 00:31
[2/3] Fetching firefox-140.0,2.pkg: 100%   72 MiB   5.1MB/s    00:15
[3/3] Fetching curl-8.14.1.pkg: 100%    2 MiB   1.8MB/s    00:01
Checking integrity... done (0 conflicting)
[1/3] Upgrading chromium from 137.0.7151.55 to 137.0.7151.103...
[1/3] Extracting chromium-137.0.7151.103: 100%
[2/3] Upgrading curl from 8.14.0 to 8.14.1...
[2/3] Extracting curl-8.14.1: 100%
[3/3] Upgrading firefox from 139.0.4,2 to 140.0,2...
[3/3] Extracting firefox-140.0,2: 100%
==> Running trigger: gtk-update-icon-cache.ucl
Generating GTK icon cache for /usr/local/share/icons/hicolor
==> Running trigger: desktop-file-utils.ucl
Building cache database of MIME types
root@deepcool:~ # pkg install -r FreeBSD-kmods drm-61-kmod
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
FreeBSD-kmods is up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
root@deepcool:~ # pkg remove drm-kmod
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0
packages in the universe):

Installed packages to be REMOVED:
drm-kmod: 20220907_3

Number of packages to be removed: 1

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling drm-kmod-20220907_3...
[1/1] Deleting files for drm-kmod-20220907_3: 100%
root@deepcool:~ # pkg install drm-kmod
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
drm-kmod: 20220907_3 [FreeBSD]

Number of packages to be installed: 1

Proceed with this action? [y/N]: y
[1/1] Installing drm-kmod-20220907_3...
[1/1] Extracting drm-kmod-20220907_3: 100%
root@deepcool:~ # pkg install -r FreeBSD-kmods drm-61-kmod
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
FreeBSD-kmods is up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
root@deepcool:~ # pkg remove drm-kmod drm-61-kmod
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 2 packages (of 0
packages in the universe):

Installed packages to be REMOVED:
drm-61-kmod: 6.1.128.1403501_4
drm-kmod: 20220907_3

Number of packages to be removed: 2

The operation will free 17 MiB.

Proceed with deinstalling packages? [y/N]: y
[1/2] Deinstalling drm-kmod-20220907_3...
[1/2] Deleting files for drm-kmod-20220907_3: 100%
[2/2] Deinstalling drm-61-kmod-6.1.128.1403501_4...
[2/2] Deleting files for drm-61-kmod-6.1.128.1403501_4: 100%
root@deepcool:~ # pkg install -r FreeBSD-kmods drm-61-kmod
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
FreeBSD-kmods is up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
drm-61-kmod: 6.1.128.1403000_4 [FreeBSD-kmods]

Number of packages to be installed: 1

The process will require 17 MiB more space.
3 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching drm-61-kmod-6.1.128.1403000_4.pkg:   6%  240 KiB 245.4kB/s
 00:[1/1] Fetching drm-61-kmod-6.1.128.1403000_4.pkg:  56%    2 MiB
1.8MB/s    00:[1/1] Fetching drm-61-kmod-6.1.128.1403000_4.pkg:  99%    3
MiB   1.6MB/s    00:[1/1] Fetching drm-61-kmod-6.1.128.1403000_4.pkg: 100%
   3 MiB   1.2MB/s    00:03
Checking integrity... done (0 conflicting)
[1/1] Installing drm-61-kmod-6.1.128.1403000_4...
[1/1] Extracting drm-61-kmod-6.1.128.1403000_4: 100%
=====
Message from drm-61-kmod-6.1.128.1403000_4:

--
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.3.
If this is not your current running version, please rebuild
it from ports to prevent panics when loading the module.
root@deepcool:~ #


olivares@deepcool:~ $

Best Regards,



Antonio


>