[Bug 245702] x11-drivers/xf86-video-ati-legacy does not work under 12.1

Kevin Oberman rkoberman at gmail.com
Thu Apr 23 16:11:23 UTC 2020


On Thu, Apr 23, 2020 at 4:56 AM <bugzilla-noreply at freebsd.org> wrote:

> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245702
>
> --- Comment #3 from Anders Liljeborg <andlil9999 at gmail.com> ---
> (In reply to Greg V from comment #2)
>
> Thank you very much for the info, Greg_V.
>
> I removed /boot/kernel/drm2.ko and rebooted, but kldstat gives still that
> drm2.ko is in the kernel.
>
> 1001:SU:dataserv:anders> kldstat
> Id Refs Address        Size Name
>  1   60   0x800000  19a6b64 kernel
>  2    1 0x1f400000     7000 fdescfs.ko
>  3    1 0x1f407000     b000 linprocfs.ko
>  4    2 0x1f412000    50000 linux.ko
>  5    1 0x1f462000     7000 linsysfs.ko
>  6    1 0x1f469000     7000 nullfs.ko
>  7    1 0x1f470000    d2000 radeonkms.ko
>  8    1 0x1f542000    45000 drm2.ko
>  9    4 0x1f587000     7000 iicbus.ko
> 10    1 0x1f58e000     5000 iic.ko
> 11    1 0x1f593000     7000 iicbb.ko
> 12    1 0x1f59a000     4000 radeon_R520_cp_bin.ko
> 13    1 0x1f59e000     6000 uhid.ko
> 14    1 0x1f5a4000     7000 wmt.ko
> 15    1 0x1f5ab000     8000 ums.ko
> 16    1 0x1f5b3000    2f000 ipfw.ko
> 17    1 0x1f5e2000     4000 mac_ntpd.ko
> 1002:SU:dataserv:anders> cd /boot/kernel/
> 1003:SU:dataserv:kernel> lf drm*
> drm.ko*
>
> I cannot unload the drm2.ko:
>
> 1005:SU:dataserv:kernel> kldunload drm2.ko
> kldunload: can't unload file: Device busy
>
> And I still get the same error when running "startx".
>
> However, the error meesage of "drm2 deprecated code" has dissappeared from
> dmesg.
>
> I have tried with and without hw.syscons.disable=1 in /boot/loader.conf
> rebooted between each trial.
>
> Same error in /var/log/Xorg.0.log all the time:
> [  1768.060] (II) UnloadModule: "radeon"
> [  1768.060] (EE) Screen(s) found, but none have a usable configuration.
> [  1768.060] (EE)
> Fatal server error:
> [  1768.060] (EE) no screens found(EE)
> [  1768.060] (EE)
>
> Best wishes
> Anders
>

Have you tried "kldstat -v | grep drm2". That should tell you where the
module is being loaded from.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


More information about the freebsd-x11 mailing list