xorg-dev + intel driver + KMS

Kostik Belousov kostikbel at gmail.com
Sat Sep 3 08:30:36 UTC 2011


On Sat, Sep 03, 2011 at 11:04:31AM +0300, Andrey Kosachenko wrote:
> Hi, Konstantin,
> 
> On 24.08.2011 11:13, Kostik Belousov wrote:
> >>Anyway, if you consider the info above helpful, need to acquire more or
> >>smth. just let me know.
> >
> >Again, the backtrace is not useful. To make it useful, debugging symbols
> >must be compiled into the dso loaded into the process. I highly suspect
> >that the real backtrace ends at the frame 10.
> >
> >Try to start with compiling rtld/libc/libthr with debugging symbols.
> >It is enough to do
> >cd $SRC/libexec/rtld-elf
> >make obj&&  make all install DEBUG_FLAGS=-g
> >cd $SRC/lib/libc
> >make obj&&  make all install DEBUG_FLAGS=-g
> >cd $SRC/lib/libthr
> >make obj&&  make all install DEBUG_FLAGS=-g
> 
> I tried one more time to rebuild everything (xorg-dev, intel driver 
> (2.16), dependent libs, relevant system libs and so forth) with 
> debugging symbols. Unfortunately I didn't managed to obtain smth. useful 
> for you. To make sure that nothing were missed I reinstalled world with 
> DEBUG_FLAGS=-g (as build(7) and you suggested).
> 
> Just to prove that:
> > echo quit > /tmp/quit
> > sudo gdb /usr/local/bin/Xorg /a/cores/Xorg.core.6 -x /tmp/quit > 
> /tmp/gdb.out
> > sed -n -e '/Reading symbols/ { s/Reading symbols from //; 
> s/\.\.\.done.*//; p; }' /tmp/gdb.out | xargs -I % file % | awk 
> '{print($1, $(NF-1), $NF); }'
> /lib/libcrypto.so.6: not stripped
> /usr/local/lib/libpciaccess.so.0: not stripped
> /usr/local/lib/libpixman-1.so.9: not stripped
> /usr/local/lib/libXfont.so.1: not stripped
> /usr/local/lib/libfreetype.so.9: not stripped
> /usr/lib/libbz2.so.4: not stripped
> /usr/local/lib/libfontenc.so.1: not stripped
> /lib/libz.so.6: not stripped
> /usr/local/lib/libXau.so.6: not stripped
> /usr/local/lib/libXdmcp.so.6: not stripped
> /usr/lib/librpcsvc.so.5: not stripped
> /lib/libm.so.5: not stripped
> /lib/libthr.so.3: not stripped
> /lib/libc.so.7: not stripped
> /usr/local/lib/xorg/modules/input/synaptics_drv.so: not stripped
> /usr/local/lib/xorg/modules/extensions/libextmod.so: not stripped
> /usr/local/lib/xorg/modules/extensions/librecord.so: not stripped
> /usr/local/lib/xorg/modules/extensions/libdbe.so: not stripped
> /usr/local/lib/xorg/modules/extensions/libglx.so: not stripped
> /usr/local/lib/xorg/modules/extensions/libdri2.so: not stripped
> /usr/local/lib/libdrm.so.2: not stripped
> /usr/local/lib/xorg/modules/extensions/libdri.so: not stripped
> /usr/local/lib/xorg/modules/drivers/intel_drv.so: not stripped
> /usr/local/lib/libdrm_intel.so.1: not stripped
> /usr/local/lib/libpthread-stubs.so.0: not stripped
> /usr/local/lib/xorg/modules/input/kbd_drv.so: not stripped
> /usr/local/lib/xorg/modules/input/mouse_drv.so: not stripped
> /usr/local/lib/xorg/modules/libfb.so: not stripped
> /usr/local/lib/dri/i965_dri.so: not stripped
> /usr/local/lib/libexpat.so.6: not stripped
> /usr/lib/libstdc++.so.6: not stripped
> /lib/libgcc_s.so.1: not stripped
> /libexec/ld-elf.so.1: not stripped
> 
> Results are still seem to be not sufficient :(
> http://pastebin.com/4zSwxqDZ
> 
> So, I kindly ask you is there anything else I should try to obtain 
> useful info for you?
> thanks
> 
> PS:
> - all.8.2.patch was applied;
> - core file is newer then stuff that was rebuilt with debugging symbols.
Is the X server itself built and installed with the debugging symbols ?
I had no problems with debugging X server built from xorg-dev ports
using -DWITH_DEBUG make flag.

From the evidence sent to me in private, it seems that the gem page fault
handler might be responsible for the problem. Then, the request to use
and provide me the ktr dump is valid, see wiki for details.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20110903/fe7caebd/attachment.pgp


More information about the freebsd-x11 mailing list