Re: DRM: radeonkms … can not be unloaded (kernel panic)) …

Hans Petter Selasky hps at selasky.org
Sat Oct 20 07:52:02 UTC 2018


On 10/20/18 3:10 AM, Graham Perrin wrote:
> On 20/10/2018 00:01, Graham Perrin wrote:
> 
>> kldunload radeonkms
>>
>> – results in a kernel panic.
> 
> Found, at <https://github.com/FreeBSDDesktop/kms-drm/issues/90#issuecomment-415859021> under 'drm-devel-kmod g20180822 screen freeze':
> 
>>> … normally you never unload the graphics driver so we haven't spent time on proper cleanup. Also, the drm module will cause panic if you try load load it again after unload.
> 
> ----
> 
> Is the principle for -next- the same as for -devel-, should I simply _never_ attempt to unload the module?
> 
> $ date ; uname -v
> Sat 20 Oct 2018 02:06:21 BST
> FreeBSD 12.0-BETA1 r339438 GENERIC
> $ pkg query '%o %v %R' drm-kmod drm-next-kmod gpu-firmware-kmod
> graphics/drm-next-kmod 4.11.g20180822 poudriere
> graphics/gpu-firmware-kmod g20180825 FreeBSD

I recommend building these modules from source, /usr/src which match you 
currently installed kernel!

--HPS



More information about the freebsd-current mailing list