Xorg-6.9.0 crashes under DRI
Posted: Wed Feb 01, 2006 10:52 am
I seem to have Xorg-6.9.0 compiled on a hardened linux from scratch box. This distro has pax, grsecurity, arc4random, & ssp patching, and you compile everything on the box. DRI has the assembler patched out (see bug 4197 on freedesktop.org)
Now glxinfo tells me I have dri.
glxgears would run while I had no dri and gave me 335 fps. Now that I have dri modules in the kernel, (for a radeon card) glxgears gets a swift knee in the privates from the kernel, and anything else using dri does also. Here's the log
Jan 30 04:27:21 genius kernel: PAX: execution attempt in: <anonymous mapping>, 0349c000-034bc000 0349c000
Jan 30 04:27:21 genius kernel: PAX: terminating task: /usr/X11R6/bin/glxgears(glxgears):16889, uid/euid: 0/0, PC: 0349c400, SP: b196c3ec
Jan 30 04:27:21 genius kernel: PAX: bytes at PC: 55 56 33 c9 8b 6c 24 10 3b e9 0f 84 64 00 00 00 8b 44 24 14
Jan 30 04:27:21 genius kernel: PAX: bytes at SP-4: b196c448 03359eb4 1619c688 00000052 a2a1b000 03359cc0 031e8188 03408844 00000002 a2a1b000 1619c688 00000000 16255e08 16254940 1ca6c8cc 00000000 00000000 0327f33e 03453120 00000004 00010000
Jan 30 04:27:21 genius kernel: grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/X11R6/bin/glxgears[glxgears:16889] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:23761] uid/euid:0/0 gid/egid:0/0
It seems both Pax and grsec jumped on it. This is all my fault of course jajvascript:emoticon(':oops:'). But where did I go wrong?
Now glxinfo tells me I have dri.
glxgears would run while I had no dri and gave me 335 fps. Now that I have dri modules in the kernel, (for a radeon card) glxgears gets a swift knee in the privates from the kernel, and anything else using dri does also. Here's the log
Jan 30 04:27:21 genius kernel: PAX: execution attempt in: <anonymous mapping>, 0349c000-034bc000 0349c000
Jan 30 04:27:21 genius kernel: PAX: terminating task: /usr/X11R6/bin/glxgears(glxgears):16889, uid/euid: 0/0, PC: 0349c400, SP: b196c3ec
Jan 30 04:27:21 genius kernel: PAX: bytes at PC: 55 56 33 c9 8b 6c 24 10 3b e9 0f 84 64 00 00 00 8b 44 24 14
Jan 30 04:27:21 genius kernel: PAX: bytes at SP-4: b196c448 03359eb4 1619c688 00000052 a2a1b000 03359cc0 031e8188 03408844 00000002 a2a1b000 1619c688 00000000 16255e08 16254940 1ca6c8cc 00000000 00000000 0327f33e 03453120 00000004 00010000
Jan 30 04:27:21 genius kernel: grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/X11R6/bin/glxgears[glxgears:16889] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:23761] uid/euid:0/0 gid/egid:0/0
It seems both Pax and grsec jumped on it. This is all my fault of course jajvascript:emoticon(':oops:'). But where did I go wrong?