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

From: Pete Wright <pete_at_nomadlogic.org>
Date: Wed, 20 Jan 2021 09:47:28 -0800
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
Received on Wed Jan 20 2021 - 16:47:35 UTC

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