Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2021 07:09:34 -0500
From:      "Bryan St. Amour" <bryan@bryanstamour.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: drm-kmod kills FreeBSD
Message-ID:  <e437fbfc-3235-e943-1838-e00548228836@bryanstamour.com>
In-Reply-To: <CAN6yY1tqsSWbFggFpLfFtfaEoDUQqKdf6MLLuJi8ei=RV8YpBw@mail.gmail.com>
References:  <alpine.BSF.2.20.2101201919360.73682@tripel.monochrome.org> <CAM8r67D-TZ0ZrLO7=JWTQ5Ak2jcq%2B3P3pAXuu1HCnMrxQjG5Ow@mail.gmail.com> <alpine.BSF.2.20.2101202008490.73682@tripel.monochrome.org> <24584.64455.966459.479993@jerusalem.litteratus.org> <CAN6yY1tqsSWbFggFpLfFtfaEoDUQqKdf6MLLuJi8ei=RV8YpBw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/21/21 1:25 AM, Kevin Oberman wrote:

> On Wed, Jan 20, 2021 at 7:58 PM Robert Huff <roberthuff@rcn.com> wrote:
>
>> Chris Hill <chris@monochrome.org> writes:
>>
>>>    > You need to build and reinstall drm-kmod-g20190710 and
>>>    > drm-fbsd12.0-kmod-4.16.g20201016 manually from ports, so module
>>>    > gets 12.2 stuff in it, pkg installs binary that is built on 12.1
>>>    > and will not work on 12.2 properly. This is a known issue and
>>>    > fix :-)
>>>
>>>    Really! That's extremely helpful to know. Do I actually need both
>>>    of those? I'm not sure what the difference is.
>>          Short version:
>>          To do what they do, drm-kmods and gpu-firmware-kmod burrow _deep_
>> into the kernel; everything needs to be _perfectly_ in sync or
>> ... <hairball!>  On my systems I upgrade as a triplet:
>> {kernel+world,drm,gpu-firmware}.
>>
>>
>>                          Respectfully,
>>
>>
>>                                  Robert Huff
>>
> Easy way to make this "just work" is to add drm-fbsd12.0-kmod to
> PORTS_MODULES in /etc/src.conf. This probably should also be done for lsof
> and virtualbox-osf-kmod, as well, as both depend on unstable KBIs. I have:
> PORTS_MODULES= emulators/virtualbox-ose-kmod
> PORTS_MODULES+= sysutils/lsof
> PORTS_MODULES+= graphics/drm-kmod (or the appropriate port for your system)
> PORTS_MODULES+= graphics/gpu-firmware-kmod
>
> Ports listed in PORTS_MODULES are always rebuilt with kernel builds.

The man pages say that that flag should be set in /etc/make.conf, not 
/etc/src.conf. Is there a difference between putting it in one file or 
the other?

>
> I'll also mention that drm-kmod is just a wrapper that picks the correct
> port for your version of FreeBSD. If you install drm-kmod, you will see boh
> that port and the "real" drm-*-kmod port is installed.
> --
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: rkoberman@gmail.com
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e437fbfc-3235-e943-1838-e00548228836>