[Mesa-dev] [Bug 98563] Xorg segfaults with displaylink attached and mesa version >= 13.0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Nov 5 13:07:08 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98563

--- Comment #4 from Andrew Poelstra <freedesktop-bugzilla at wpsoftware.net> ---
(In reply to Emil Velikov from comment #3)
> The following libdrm commit should fix it. Please apply it locally and let
> me know if it works.
> 
> commit 677cd97dc4a930af508388713f5016baf664ed18
> Author: Rob Herring <robh at kernel.org>
> Date:   Fri Oct 21 10:07:59 2016 -0700
> 
>     Return an -ENODEV from drmGetDevice() when no device was found.
> 
> https://cgit.freedesktop.org/mesa/drm/commit/
> ?id=677cd97dc4a930af508388713f5016baf664ed18
> 
> Btw you can fetch the patch alone or just rebuild libdrm/master.
> 
> There is another pending fix in the drmDevice area, so as soon as we get a
> confirmation [from a few devs], I'll see that we get another libdrm release.

I also see this bug, my hardware is a UGA-4KDP DisplayLink HDMI device branded
"pluggable".

With Rob's patch, if X is running and I plug in the device (or if I plug it in
then start X), my kernel panics with "PAX: overwritten function pointer or
return address detected: 0000 [01] PREEMPT SMP".

(Actually this might not be the panic -- several lines down grsec says "Halting
the system due to suspicous kernel crash caused by root" so possibly with a
non-grsec kernel it would keep running. I'd prefer not to try :))

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161105/9fd38f65/attachment-0001.html>


More information about the mesa-dev mailing list