Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2021 09:47:28 -0800
From:      Pete Wright <pete@nomadlogic.org>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: DRM problem installing kernel on main-c561-gc3e75b6c1
Message-ID:  <a83fdfa4-b554-c3d9-857e-2275f826c858@nomadlogic.org>
In-Reply-To: <20210120085535.d3b6ccb33f9c8b111922b422@bidouilliste.com>
References:  <010001771b0a2c68-7bb71129-e451-4d4c-a3b4-d022c375a36e-000000@email.amazonses.com> <f1d46eb4-f5bd-b3eb-33b2-109410cb95f7@nomadlogic.org> <301b529c-6953-0e72-8da4-2e1c289df54e@nomadlogic.org> <20210119211159.d6395f9ed3b6e038f5f40b15@bidouilliste.com> <629d42c7-da2e-8285-09d6-b952b6556562@nomadlogic.org> <01b20079-1117-f51c-b78a-598d573403b9@nomadlogic.org> <20210119221801.d397abc940082f21bf93a42c@bidouilliste.com> <1922f880-1bd3-65d0-b816-73623fa62f33@nomadlogic.org> <20210120085535.d3b6ccb33f9c8b111922b422@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a83fdfa4-b554-c3d9-857e-2275f826c858>