Re: help with kmods

From: Antonio Olivares <olivares14031_at_gmail.com>
Date: Thu, 19 Jun 2025 18:51:58 UTC
On Wed, Jun 18, 2025 at 2:28 PM Antonio Olivares
<olivares14031@gmail.com> wrote:
>
> On Wed, Jun 18, 2025 at 2:33 AM Alexey Vyskubov <alexey@pentode.fi> wrote:
> >
> > On Tue, Jun 17, 2025 at 10:54:32PM -0500, Antonio Olivares wrote:
> > > 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
> >
> >
> > I had the same problem when I upgraded to FreeBSD 14.3-RELEASE. I have
> > solved it by getting the system sources (releng/14.3 branch) into
> > /usr/src, getting the ports tree and recompiling/reinstalling the kmod.
> >
> > --
> I got the src and extracted it and then ran make install clean in
> /usr/src/graphics/drm-kmod
> and still get the error
>
> 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
>
>
>
> > Alexey
> > I cannot receive HTML mail at this account.
> > Hi, I am a signature virus. Add me to your signature to help me spread.
> >

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
root@rosewill:~ # pkg info drm-kmod
drm-kmod-20220907_3
Name           : drm-kmod
Version        : 20220907_3
Installed on   : Fri Oct 11 13:56:57 2024 CDT
Origin         : graphics/drm-kmod
Architecture   : FreeBSD:14:*
Prefix         : /usr/local
Categories     : graphics
Licenses       : NA
Maintainer     : x11@FreeBSD.org
WWW            : https://github.com/freebsd/drm-kmod
Comment        : Metaport of DRM modules for the linuxkpi-based KMS components
Annotations    :
    build_timestamp: 2024-10-02T19:09:01+0000
    built_by       : poudriere-git-3.4.2
    port_checkout_unclean: no
    port_git_hash  : 854c13714
    ports_top_checkout_unclean: no
    ports_top_git_hash: 2f11ca479
    repo_type      : binary
    repository     : FreeBSD
Flat size      : 243B
Description    :
amdgpu, i915, and radeon DRM modules for the linuxkpi-based KMS components on
amd64, i915 and radeonkms DRM modules from the former base DRM component on
other architectures.
Metaport for different versions of Linux DRM based on the FreeBSD version
in use. This port encompasses the recommendations of the FreeBSDDesktop team
of DRM versions for FreeBSD versions based on the last update to the LinuxKPI
in that code base. In general, the most recent supported stable DRM for a give
FreeBSD version will be installed. CURRENT receives the most recent development
DRM.
This port does not however hinder the expert user to make other decisions and
continue to install DRM ports directly.
root@rosewill:~ #

pkg says drm-kmod repository is availabe but no cigar.

root@rosewill:~ # 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.
Checking for upgrades (287 candidates): 100%
Processing candidates (287 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
root@rosewill:~ #

Any thing else to try?

Regards.


Antonio