Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2018 14:13:41 -0700
From:      Matthew Macy <mat.macy@gmail.com>
To:        Niclas Zeising <zeising@freebsd.org>
Cc:        Arrigo Marchiori <ardovm@yahoo.it>, Warner Losh <wlosh@bsdimp.com>, freebsd-stable@freebsd.org
Subject:   Re: Kernel modules and updates (problems with graphics/drm-stable-kmod)
Message-ID:  <CAPrugNozTsQL3BeUjpbVpN8XE1_Uo3Y_iL%2BipRLHwGMaASBxJA@mail.gmail.com>
In-Reply-To: <47be1338-40fa-ec15-0c97-4655ee39ab12@freebsd.org>
References:  <20181029112355.GA3887@nuvolo> <47be1338-40fa-ec15-0c97-4655ee39ab12@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 29, 2018 at 05:20 Niclas Zeising <zeising@freebsd.org> wrote:

> On 10/29/18 12:23 PM, Arrigo Marchiori via freebsd-stable wrote:
> > Dear All,
> >
> > I am encountering a strange problem with port graphics/drm-stable-kmod.
> > My system is a 11.2-STABLE amd64 with GENERIC kernel.
> >
> > I upgrade the base system every week or two from source.  My
> > /etc/make.conf lists graphics/drm-stable-kmod in PORTS_MODULES, in
> > order to have it recompiled with every kernel.
> >
> > When I install the new kernel, run mergemaster and reboot, however,
> > Xorg is unable to drive the video card: something goes wrong with DRM
> > and he tty belonging to Xorg remains black. The other tty's work
> > well.
> >
> > I tracked down the problem to the file /boot/kernel/radeonkms.ko
> >                                               ^^^^^^
> > If I delete that file and reboot, Xorg works fine.
> >
> > My question is: why is that file there? The port
> > graphics/drm-stable-kmod installs its module in
> > /boot/modules/radeonkms.ko but the other version from /boot/kernel/
> >        ^^^^^^^                                               ^^^^^^
> > seems to be loaded instead, and therefore Xorg does not work.
> >
> > Is this a bug of either installkernel, or the port? Or am I doing
> > anything wrong?
> >
> > Thank you in advance,
> >
>
> Hi!
> /boot/kernel/radeonkms.ko is part of the old drm driver that is in base
> on 11.2 and 12.  In order to load the module from drm-stable-kmod you
> need to specify the whole path, /boot/modules/radeonkms.ko when loading
> the module.
> Regards
> --
> Niclas Zeising
> __



This is why there was an effort to move the drivers from base in 12 and
they have now been marked deprecated.

Niclas - I=E2=80=99ve lost track of the work that=E2=80=99s been done there=
 - is this error
not possible on 12?

Thanks.




_____________________________________________
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPrugNozTsQL3BeUjpbVpN8XE1_Uo3Y_iL%2BipRLHwGMaASBxJA>