Re: help with kmods

From: Antonio Olivares <olivares14031_at_gmail.com>
Date: Wed, 18 Jun 2025 03:54:32 UTC
On Tue, Jun 17, 2025 at 10:47 PM Antonio Olivares
<olivares14031@gmail.com> wrote:
>
> Dear FreeBSD users,
>
> I have several machines recently updated from 14.2-RELEASE to 14.3-RELEASE.
> There is a new repository for kmods
>
> https://lists.freebsd.org/archives/freebsd-announce/2025-May/000190.html
>
> I have updated pkgs but the kmods do not get installed.
>
> # pkg query -x '[%R] (%a)  %n %v' '^drm(-|-515-|-61-)kmod'
> [FreeBSD] (1)  drm-61-kmod 6.1.128.1402000_2
> [FreeBSD] (0)  drm-kmod 20220907_3
>
> I have tried installing the repo but I get errors
>
> root@deepcool:~ # pkg upgrade
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up to date.
> Updating FreeBSD-kmods repository catalogue...
> pkg: Repository FreeBSD-kmods has a wrong packagesite, need to
> re-create database
> Unable to update repository FreeBSD-kmods
> Error updating repositories!
> root@deepcool:~ # pkg update
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up to date.
> Updating FreeBSD-kmods repository catalogue...
> pkg: Repository FreeBSD-kmods has a wrong packagesite, need to
> re-create database
> Unable to update repository FreeBSD-kmods
> Error updating repositories!
> root@deepcool:~ #
>
> I had to select enabled no to update.  The xorg file does not give
> errors, but it is not the correct display.  How do I fix it?
>
> Regards,
>
>
> Antonio

When running dmesg I could not get relevant lines.  I ran again
I get

link_elf_obj: symbol linux_kfree_async undefined
linker_load_file: /boot/modules/dmabuf.ko - unsupported file type
KLD drm.ko: depends on dmabuf - not available or version mismatch
linker_load_file: /boot/modules/drm.ko - unsupported file type
KLD radeonkms.ko: depends on drmn - not available or version mismatch
linker_load_file: /boot/modules/radeonkms.ko - unsupported file type

TIA(Thanks in Advance)


Antonio