Re: DRM problem installing kernel on main-c561-gc3e75b6c1

2021-01-20 Thread Pete Wright




On 1/20/21 11:09 AM, Emmanuel Vadot wrote:

On Wed, 20 Jan 2021 09:47:28 -0800
Pete Wright  wrote:



On 1/19/21 11:55 PM, Emmanuel Vadot wrote:

i'm happy now running the current-kmod but let me know if it'd be
helpful to do any more tests or provide additional info.

   So what did you change ?


ok i think i spot the issue - in my checkout of the ports tree via the
github mirror at git://github.com/freebsd/freebsd-ports.git it looks
like the pkg-plist doesn't include the %%SOURCE%%KMODSRC%% statements:

$ cat pkg-plist
%%AMDGPU%%/%%KMODDIR%%/amdgpu.ko
%%AMDKFD%%/%%KMODDIR%%/amdkfd.ko
/%%KMODDIR%%/drm.ko
%%I915%%/%%KMODDIR%%/i915kms.ko
/%%KMODDIR%%/linuxkpi_gplv2.ko
/%%KMODDIR%%/radeonkms.ko
/%%KMODDIR%%/ttm.ko
$

on the drm-current-kmod plist things look as we would expect them i believe:
$ head pkg-plist
%%AMDGPU%%/%%KMODDIR%%/amdgpu.ko
/%%KMODDIR%%/drm.ko
%%I915%%/%%KMODDIR%%/i915kms.ko
/%%KMODDIR%%/linuxkpi_gplv2.ko
/%%KMODDIR%%/radeonkms.ko
/%%KMODDIR%%/ttm.ko
%%SOURCEKMODSRC%%/Makefile
%%SOURCEKMODSRC%%/kconfig.mk
%%SOURCEKMODSRC%%/amd/Makefile
%%SOURCEKMODSRC%%/amd/amdgpu/Makefile
$


I can file a PR with a patch later today if that's helpful, if this
isn't due to bad git workspace on my end.

cheers,
-pete

--
Pete Wright
p...@nomadlogic.org
@nomadlogicLA

  drm-devel-kmod doesn't install the sources on purpose.
  It never had and never will.

  So, did you "solve" the problem by switching to drm-current-kmod or to
drm-devel-kmod ?


ah i see, thanks for the clarification.

so as of now i'm using the drm-current-kmod on my amdgpu system. using 
the drm-devel-kmod throws the previously reported error trying to load 
linuxkpi_gplv2.ko:


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

-p

--
Pete Wright
p...@nomadlogic.org
@nomadlogicLA

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM problem installing kernel on main-c561-gc3e75b6c1

2021-01-20 Thread Emmanuel Vadot
On Wed, 20 Jan 2021 09:47:28 -0800
Pete Wright  wrote:

> 
> 
> On 1/19/21 11:55 PM, Emmanuel Vadot wrote:
> >
> >> i'm happy now running the current-kmod but let me know if it'd be
> >> helpful to do any more tests or provide additional info.
> >   So what did you change ?
> 
> 
> ok i think i spot the issue - in my checkout of the ports tree via the 
> github mirror at git://github.com/freebsd/freebsd-ports.git it looks 
> like the pkg-plist doesn't include the %%SOURCE%%KMODSRC%% statements:
> 
> $ cat pkg-plist
> %%AMDGPU%%/%%KMODDIR%%/amdgpu.ko
> %%AMDKFD%%/%%KMODDIR%%/amdkfd.ko
> /%%KMODDIR%%/drm.ko
> %%I915%%/%%KMODDIR%%/i915kms.ko
> /%%KMODDIR%%/linuxkpi_gplv2.ko
> /%%KMODDIR%%/radeonkms.ko
> /%%KMODDIR%%/ttm.ko
> $
> 
> on the drm-current-kmod plist things look as we would expect them i believe:
> $ head pkg-plist
> %%AMDGPU%%/%%KMODDIR%%/amdgpu.ko
> /%%KMODDIR%%/drm.ko
> %%I915%%/%%KMODDIR%%/i915kms.ko
> /%%KMODDIR%%/linuxkpi_gplv2.ko
> /%%KMODDIR%%/radeonkms.ko
> /%%KMODDIR%%/ttm.ko
> %%SOURCEKMODSRC%%/Makefile
> %%SOURCEKMODSRC%%/kconfig.mk
> %%SOURCEKMODSRC%%/amd/Makefile
> %%SOURCEKMODSRC%%/amd/amdgpu/Makefile
> $
> 
> 
> I can file a PR with a patch later today if that's helpful, if this 
> isn't due to bad git workspace on my end.
> 
> cheers,
> -pete
> 
> -- 
> Pete Wright
> p...@nomadlogic.org
> @nomadlogicLA

 drm-devel-kmod doesn't install the sources on purpose.
 It never had and never will.

 So, did you "solve" the problem by switching to drm-current-kmod or to
drm-devel-kmod ?

-- 
Emmanuel Vadot  
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM problem installing kernel on main-c561-gc3e75b6c1

2021-01-20 Thread Pete Wright




On 1/19/21 11:55 PM, Emmanuel Vadot wrote:



i'm happy now running the current-kmod but let me know if it'd be
helpful to do any more tests or provide additional info.

  So what did you change ?



ok i think i spot the issue - in my checkout of the ports tree via the 
github mirror at git://github.com/freebsd/freebsd-ports.git it looks 
like the pkg-plist doesn't include the %%SOURCE%%KMODSRC%% statements:


$ cat pkg-plist
%%AMDGPU%%/%%KMODDIR%%/amdgpu.ko
%%AMDKFD%%/%%KMODDIR%%/amdkfd.ko
/%%KMODDIR%%/drm.ko
%%I915%%/%%KMODDIR%%/i915kms.ko
/%%KMODDIR%%/linuxkpi_gplv2.ko
/%%KMODDIR%%/radeonkms.ko
/%%KMODDIR%%/ttm.ko
$

on the drm-current-kmod plist things look as we would expect them i believe:
$ head pkg-plist
%%AMDGPU%%/%%KMODDIR%%/amdgpu.ko
/%%KMODDIR%%/drm.ko
%%I915%%/%%KMODDIR%%/i915kms.ko
/%%KMODDIR%%/linuxkpi_gplv2.ko
/%%KMODDIR%%/radeonkms.ko
/%%KMODDIR%%/ttm.ko
%%SOURCEKMODSRC%%/Makefile
%%SOURCEKMODSRC%%/kconfig.mk
%%SOURCEKMODSRC%%/amd/Makefile
%%SOURCEKMODSRC%%/amd/amdgpu/Makefile
$


I can file a PR with a patch later today if that's helpful, if this 
isn't due to bad git workspace on my end.


cheers,
-pete

--
Pete Wright
p...@nomadlogic.org
@nomadlogicLA

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM problem installing kernel on main-c561-gc3e75b6c1

2021-01-20 Thread Thomas Laus
On 1/19/21 4:18 PM, Emmanuel Vadot wrote:
> 
>  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.
>
For years, I have been building world and kernel on a faster PC and just
exporting /usr/src and /usr/obj for installation on other computers.
Now it looks like it will require exporting /usr/local/sys as well to
allow a installation of the kernel on the slower PC's.  Does placing the
drm-current-kmod files in /usr/local/sys during the kernel build agree
with hier(7)layout ?

Tom


-- 
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM problem installing kernel on main-c561-gc3e75b6c1

2021-01-19 Thread Emmanuel Vadot
On Tue, 19 Jan 2021 13:29:12 -0800
Pete Wright  wrote:

> 
> 
> On 1/19/21 1:18 PM, Emmanuel Vadot wrote:
> >
> >> 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.
> see bellow
> >> 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.
> OK interesting, in both cases I was building the package from my local 
> ports tree (via "make package").  i should have better explained that in 
> previous emails.

 Ok

> i verified my checkout was up to date as well (it includes your latest 
> commits from Sunday and Monday).

 Ok

> i'm happy now running the current-kmod but let me know if it'd be 
> helpful to do any more tests or provide additional info.

 So what did you change ?

> cheers,
> -pete
> 
> >
> 
> -- 
> Pete Wright
> p...@nomadlogic.org
> @nomadlogicLA
> 
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


-- 
Emmanuel Vadot 
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM problem installing kernel on main-c561-gc3e75b6c1

2021-01-19 Thread Pete Wright



On 1/19/21 1:18 PM, Emmanuel Vadot wrote:



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.

see bellow

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.
OK interesting, in both cases I was building the package from my local 
ports tree (via "make package").  i should have better explained that in 
previous emails.


i verified my checkout was up to date as well (it includes your latest 
commits from Sunday and Monday).


i'm happy now running the current-kmod but let me know if it'd be 
helpful to do any more tests or provide additional info.


cheers,
-pete





--
Pete Wright
p...@nomadlogic.org
@nomadlogicLA

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM problem installing kernel on main-c561-gc3e75b6c1

2021-01-19 Thread Emmanuel Vadot
On Tue, 19 Jan 2021 13:06:37 -0800
Pete Wright  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  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
> >>> p...@nomadlogic.org
> >>> @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
> p...@nomadlogic.org
> @nomadlogicLA
> 


-- 
Emmanuel Vadot 
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM problem installing kernel on main-c561-gc3e75b6c1

2021-01-19 Thread Pete Wright



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  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
p...@nomadlogic.org
@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.


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.


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
p...@nomadlogic.org
@nomadlogicLA

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM problem installing kernel on main-c561-gc3e75b6c1

2021-01-19 Thread Pete Wright



On 1/19/21 12:11 PM, Emmanuel Vadot wrote:

On Tue, 19 Jan 2021 11:40:04 -0800
Pete Wright  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
p...@nomadlogic.org
@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


--
Pete Wright
p...@nomadlogic.org
@nomadlogicLA

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM problem installing kernel on main-c561-gc3e75b6c1

2021-01-19 Thread Emmanuel Vadot
On Tue, 19 Jan 2021 11:40:04 -0800
Pete Wright  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
> p...@nomadlogic.org
> @nomadlogicLA

 Sound like you have an old linuxkpi_gplv2.ko in /boot/kernel/

-- 
Emmanuel Vadot 
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM problem installing kernel on main-c561-gc3e75b6c1

2021-01-19 Thread Pete Wright



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
p...@nomadlogic.org
@nomadlogicLA

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: DRM problem installing kernel on main-c561-gc3e75b6c1

2021-01-19 Thread Pete Wright



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.


-pete

--
Pete Wright
p...@nomadlogic.org
@nomadlogicLA

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"