Re: help with kmods
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Jun 2025 21:50:08 UTC
On Wed, Jun 18, 2025 at 3:49 PM <Wismos@proton.me> wrote:
>
> you are making the wrong port, do a pkg info drm and see if you have drm-61-kmod or drm-515-kmod, also considering that you are on 14.3 just do pkg remove drm-61/515-kmod and pkg install drm-61/515-kmod, it should install the 1403000 version
> -------- Original Message --------
> On 19/06/25 12:59 am, 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.
> > >
> >
> >
root@deepcool:~ # pkg info drm
pkg: No package(s) matching drm
root@deepcool:~ # pkg install drm-kmod
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
root@deepcool:~ # pkg info drm-kmod
drm-kmod-20220907_3
Name : drm-kmod
Version : 20220907_3
Installed on : Wed Jun 18 14:16:38 2025 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: 2025-04-14T20:58:49+0000
built_by : poudriere-git-3.4.2-9-g05a460dc
port_checkout_unclean: no
port_git_hash : 359bbf7fc
ports_top_checkout_unclean: no
ports_top_git_hash: 4764684db
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@deepcool:~ #
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.
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
Number of packages to be installed: 1
Proceed with this action? [y/N]: n
root@deepcool:~ #
Best Regards,
Antonio