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

From: Pete Wright <pete_at_nomadlogic.org>
Date: Wed, 20 Jan 2021 11:16:25 -0800
On 1/20/21 11:09 AM, Emmanuel Vadot wrote:
> On Wed, 20 Jan 2021 09:47:28 -0800
> Pete Wright <pete_at_nomadlogic.org> 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
>> %%SOURCE%%%%KMODSRC%%/Makefile
>> %%SOURCE%%%%KMODSRC%%/kconfig.mk
>> %%SOURCE%%%%KMODSRC%%/amd/Makefile
>> %%SOURCE%%%%KMODSRC%%/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
>> pete_at_nomadlogic.org
>> _at_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
pete_at_nomadlogic.org
_at_nomadlogicLA
Received on Wed Jan 20 2021 - 18:16:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC