> "Michel" == Michel Dänzer writes:
Michel> On 2018-02-28 02:41 AM, peter.ch...@data61.csiro.au wrote:
Michel> Doing it like this breaks ABI. This is fixed in libpciaccess
Michel> 0.14 by
Michel>
https://cgit.freedesktop.org/xorg/lib/libpciaccess/commit/?id=a167bd6474522a709ff3cbb00476c0e43
The linux kernel treats PCI domains as 32 bit ints.
diff -ru libpciaccess-0.13.4/include/pciaccess.h
libpciaccess-0.13.4-fixed/include/pciaccess.h
--- libpciaccess-0.13.4/include/pciaccess.h 2015-05-01 14:44:47.0
+1000
+++ libpciaccess-0.13.4-fixed/include/pciaccess.h 2018-02-2
I built Xorg from source so I could get debugging symbols.
The crash is in xf86VGAarbiterInit(), when it calls
pci_device_vgaarb_init(). This function can read /dev/vga_arbiter
which ordinary users cannot.
# head -1 < /dev/vga_arbiter
count:1,PCI::65:00.0,decodes=io+mem,owns=none,locks=no
Package: xserver-xorg-core
Version: 2:1.19.6-1
Severity: important
Dear Maintainer,
I can start Xorg using startx as an ordinary user (it uses
the modesetting driver).
But when the display manager starts it (as root) it crashes.
The only `interesting' thing about this machine I'm aware of (apar
4 matches
Mail list logo