Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2021 13:29:12 -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:  <1922f880-1bd3-65d0-b816-73623fa62f33@nomadlogic.org>
In-Reply-To: <20210119221801.d397abc940082f21bf93a42c@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>

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


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1922f880-1bd3-65d0-b816-73623fa62f33>