DRM problem installing kernel on main-c561-gc3e75b6c1

Pete Wright pete at nomadlogic.org
Wed Jan 20 17:47:35 UTC 2021



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
@nomadlogicLA



More information about the freebsd-current mailing list