http://bugs.freedesktop.org/show_bug.cgi?id=17075
--- Comment #21 from Doron <[EMAIL PROTECTED]> 2008-09-09 01:42:58 PST ---
OK, better luck this time...
I read about no stripping and some compiler flags and re-compiled
X, DRM and xf86-video-ati (again...).
I also found the way to turn on the debug of the drm module.
So here it is, this is what gdb shows while X hangs:
(I caused the SIGINT with ctrl+c in order to see where X hangs...)
==============================================================================
Continuing.
Program received signal SIGINT, Interrupt.
0xb7f84424 in __kernel_vsyscall ()
#0 0xb7f84424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7b92fe9 in ioctl () from /lib/libc.so.6
No symbol table info available.
#2 0xb7a34af2 in drmCommandNone (fd=10, drmCommandIndex=4) at xf86drm.c:2247
No locals.
#3 0xb79d2534 in RADEONWaitForIdleCP (pScrn=0xa126fd0) at
radeon_commonfuncs.c:697
_ret = <value optimized out>
ret = -16
info = (RADEONInfoPtr) 0xa129f08
i = 186
__FUNCTION__ = "RADEONWaitForIdleCP"
#4 0xb7a162d3 in RADEONSyncCP (pScreen=0xa130048, marker=2462) at
radeon_exa_funcs.c:80
pScrn = (ScrnInfoPtr) 0xa126fd0
#5 0xb78ab803 in exaWaitSync (pScreen=0xa130048) at exa.c:1036
No locals.
#6 0xb78acaab in ExaDoPrepareAccess (pDrawable=0xa2b35f8, index=0) at
exa.c:495
pExaScr = (ExaScreenPrivPtr) 0xa12f008
pPixmap = (PixmapPtr) 0xa17dff8
offscreen = 1
#7 0xb78acbab in exaPrepareAccessReg (pDrawable=0xa2b35f8, index=0,
pReg=0xa17e0cc) at exa.c:520
pixmaps = {{as_dst = 1, as_src = 0, pPix = 0xa17dff8, pReg =
0xa17e0cc}}
#8 0xb78ad0a1 in exaImageGlyphBlt (pDrawable=0xa2b35f8, pGC=0xa32d320, x=2,
y=947, nglyph=6,
ppciInit=0xa326f18, pglyphBase=0x0) at exa_accel.c:895
pPriv = (FbGCPrivPtr) 0xa329a44
ppci = <value optimized out>
pci = <value optimized out>
pglyph = <value optimized out>
gWidth = <value optimized out>
gHeight = <value optimized out>
opaque = <value optimized out>
gx = <value optimized out>
gy = <value optimized out>
glyph = (void (*)(FbBits *, FbStride, int, FbStip *, FbBits, int,
int)) 0xb78bdba0 <fbGlyph32>
dst = <value optimized out>
dstStride = <value optimized out>
dstBpp = <value optimized out>
dstXoff = <value optimized out>
dstYoff = <value optimized out>
depthMask = <value optimized out>
pPixmap = (PixmapPtr) 0xa17dff8
pending_damage = (RegionPtr) 0xa17e0cc
xoff = 0
yoff = 0
#9 0x0816e0e6 in damageText (pDrawable=0xa2b35f8, pGC=0xa32d320, x=2, y=13,
count=6,
chars=0xa2aaa78 "", fontEncoding=TwoD16Bit, textType=3) at damage.c:1466
info = <value optimized out>
i = 6
n = 6
w = 0
imageblt = 1
#10 0x0816e18d in damageImageText16 (pDrawable=0xa2b35f8, pGC=0xa32d320, x=2,
y=13, count=6,
chars=0xa2aaa78) at damage.c:1547
pGCPriv = (DamageGCPrivPtr) 0xa32d38c
oldFuncs = (GCFuncs *) 0x81c99c0
#11 0x0808ba1b in doImageText (client=0xa2a4148, c=0xbf99d940) at
dixfonts.c:1561
err = <value optimized out>
lgerr = <value optimized out>
fpe = <value optimized out>
#12 0x0808bbb4 in ImageText (client=0xa2a4148, pDraw=0xa2b35f8, pGC=0x6444,
nChars=6,
data=0xa2aaa78 "", xorg=2, yorg=13, reqType=<value optimized out>,
did=10485784)
at dixfonts.c:1612
local_closure = {client = 0xa2a4148, pDraw = 0xa2b35f8, pGC =
0xa32d320,
nChars = 6 '\006', data = 0xa2aaa78 "", xorg = 2, yorg = 13, reqType = 77
'M',
imageText = 0x816e0f0 <damageImageText16>, itemSize = 2, did = 10485784,
slept = 0}
#13 0x08086803 in ProcImageText16 (client=0xa2a4148) at dispatch.c:2231
err = -16
pDraw = (DrawablePtr) 0x6444
pGC = (GC *) 0x0
#14 0x08089144 in Dispatch () at dispatch.c:454
result = <value optimized out>
client = <value optimized out>
nready = 0
start_tick = 27860
#15 0x0806f98b in main (argc=9, argv=0xbf99db04, envp=Cannot access memory at
address 0x644c
) at main.c:441
pScreen = <value optimized out>
i = 1
error = 134673718
xauthfile = <value optimized out>
alwaysCheckForInput = {0, 1}
The program is running. Quit anyway (and detach it)? (y or n) Detaching from
program: /usr/bin/X, process 9236
==============================================================================
As for drm kernel module, these are the debug messages I got:
a lot of these message loops-
==============================================================================
Sep 9 10:56:23 doronf [drm:drm_unlocked_ioctl] pid=9236, cmd=0x6444, nr=0x44,
dev 0xe200, auth=1
Sep 9 10:56:23 doronf [drm:radeon_cp_idle]
Sep 9 10:56:23 doronf [drm:radeon_do_cp_idle]
Sep 9 10:56:23 doronf [drm:drm_unlocked_ioctl] ret = -16
Sep 9 10:56:23 doronf [drm:drm_unlocked_ioctl] pid=9236, cmd=0x6444, nr=0x44,
dev 0xe200, auth=1
Sep 9 10:56:23 doronf [drm:radeon_cp_idle]
Sep 9 10:56:23 doronf [drm:radeon_do_cp_idle]
Sep 9 10:56:23 doronf [drm:drm_unlocked_ioctl] ret = -16
Sep 9 10:56:23 doronf [drm:drm_unlocked_ioctl] pid=9236, cmd=0x6444, nr=0x44,
dev 0xe200, auth=1
Sep 9 10:56:23 doronf [drm:radeon_cp_idle]
==============================================================================
(Here I rebooted).
How can we proceed from here ?
Thanks !
Doron
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel