On Tue, 19 Jan 2021 13:06:37 -0800 Pete Wright <pete_at_nomadlogic.org> wrote: > > > On 1/19/21 12:18 PM, Pete Wright wrote: > > > > > > On 1/19/21 12:11 PM, Emmanuel Vadot wrote: > >> On Tue, 19 Jan 2021 11:40:04 -0800 > >> Pete Wright <pete_at_nomadlogic.org> wrote: > >> > >>> > >>> On 1/19/21 11:33 AM, Pete Wright wrote: > >>>> > >>>> On 1/19/21 6:26 AM, Thomas Laus wrote: > >>>>> I perform a CURRENT build weekly on a more powerful build machine and > >>>>> then export /usr/src and /usr/obj via NFS to other slower PC's. The > >>>>> 'installkernel' phase failed with 'linuxkpi_gplv2.ko' not found. It > >>>>> looks like this file is not installed before the rest of the > >>>>> 'drm-current-kmod' files. This causes the 'installkernel' over NFS > >>>>> to fail. > >>>>> > >>>>> My fis was to un-install drm-current-kmod, install the kernel and > >>>>> then > >>>>> re-install drm-current-kmod. > >>>> hrm, i'm not sure this is specifically an NFS issue. I am > >>>> building/installing locally on my workstation but am getting similar > >>>> errors trying to load drm-devel-kmod's amdgpu mod. at this point even > >>>> uninstalling drm-devel-kmod, make installkernel, install > >>>> drm-devel-kmod pkg results in the same problem. > >>>> > >>> forgot to include dmesg error: > >>> KLD drm.ko: depends on linuxkpi_gplv2 - not available or version > >>> mismatch > >>> linker_load_file: /boot/modules/drm.ko - unsupported file type > >>> KLD amdgpu.ko: depends on drmn - not available or version mismatch > >>> linker_load_file: /boot/modules/amdgpu.ko - unsupported file type > >>> > >>> -pete > >>> > >>> -- > >>> Pete Wright > >>> pete_at_nomadlogic.org > >>> _at_nomadlogicLA > >> Sound like you have an old linuxkpi_gplv2.ko in /boot/kernel/ > >> > > > > Thanks Manu - so it looks like i don't have that file under > > /boot/kernel/ but in /boot/modules instead: > > $ find /boot/ -name '*linuxkpi*' -print > > /boot/modules/linuxkpi_gplv2.ko > > /boot/kernel/linuxkpi.ko > > /boot/kernel.old/linuxkpi.ko > > $ pkg which /boot/modules/linuxkpi_gplv2.ko > > /boot/modules/linuxkpi_gplv2.ko was installed by package > > drm-current-kmod-5.4.62.g20210118 > > $ > > > > above is after installing the current kmod to see if it behaved > > differently than the devel one. > > > > -pete > > > > > > interesting - so it seems like if i have drm-devel-kmod installed this > will fail (missing or wrong linuxkpi_gplv2.ko). this happens both if i > install the pkg and rebuild the kernel, and if i build the kernel w/o > the pkg installed. Don't use the package, always rebuild from the latest ports. > yet, if i have the drm-current-kmod pkg installed, then "make > buildkernel" it looks like the i915/amdgpu modules get build and an > "installkernel" drops the linuxkpi_gplv2.ko module under /boot/kernel. > at that point i am able to successfully load the amdgpu.ko. drm-current-kmod will also install its sources in /usr/local/sys/ and this will get built with buildkernel. The problem is that if the package is old (and it is right now) you might have sources that either don't compile or don't work correctly. > finally, i install the drm-current-pkg fresh (without doing the above > buildkernel/installkernel) i get the linuxkpi_gplv2 error as above. > > -pete > > -- > Pete Wright > pete_at_nomadlogic.org > _at_nomadlogicLA > -- Emmanuel Vadot <manu_at_bidouilliste.com>Received on Tue Jan 19 2021 - 20:18:06 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC