Bug 25552

Summary: [855] X freeze
Product: xorg Reporter: Pierre Fortin <pf>
Component: Driver/intelAssignee: Carl Worth <cworth>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: moikkis
Version: 7.3 (2007.09)Keywords: NEEDINFO
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg.conf as setup by distro
none
Xorg.0.log while X still frozen
none
lshw -- full output
none
syslog output minus unrelated output
none
user.log -- in case there is something herein which is not in other attachments none

Description Pierre Fortin 2009-12-09 16:39:51 UTC
Distro:  Mandriva 2010.0
HW:  IBM ThinkPad G40 (see attached lshw.txt)

1. fresh install of distro on virgin HD without mounting any user partitions comes up without video.  Attempting to switch to vtys fails.  This can be worked around by adding "nomodeset" to GRUB bootloader.

2. X works to the point of logging in (KDE4); but after a minute or two, X freezes -- no updates, not even clock display on taskbar.

Unlike bug 13308, this time, both LVDS and VGA give no video unless nomodeset is used.  

See logs for errors...
Comment 1 Pierre Fortin 2009-12-09 16:44:46 UTC
Created attachment 31906 [details]
xorg.conf as setup by distro
Comment 2 Pierre Fortin 2009-12-09 16:45:48 UTC
Created attachment 31907 [details]
Xorg.0.log while X still frozen
Comment 3 Pierre Fortin 2009-12-09 16:46:47 UTC
Created attachment 31908 [details]
lshw -- full output
Comment 4 Pierre Fortin 2009-12-09 16:47:56 UTC
Created attachment 31909 [details]
syslog output minus unrelated output
Comment 5 Pierre Fortin 2009-12-09 16:49:02 UTC
Created attachment 31910 [details]
user.log -- in case there is something herein which is not in other attachments
Comment 6 Pierre Fortin 2009-12-09 18:18:54 UTC
no idea if this gdb output is useful; but connecting to running process gives this each time:

(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb743b4e9 in ioctl () from /lib/i686/libc.so.6
#2  0xb722bd37 in drm_intel_gem_bo_map_gtt () from /usr/lib/libdrm_intel.so.1
#3  0xb71c31ee in ?? () from /usr/lib/xorg/modules/drivers//intel_drv.so
#4  0xb71d91c6 in uxa_prepare_access () from /usr/lib/xorg/modules/drivers//intel_drv.so
#5  0xb71da7c7 in uxa_get_image () from /usr/lib/xorg/modules/drivers//intel_drv.so
#6  0x08122e06 in ?? ()
#7  0x0808996d in ProcGetImage ()
#8  0x0808911f in Dispatch ()
#9  0x0806d395 in main ()
(gdb) info program                                                                                
        Using the running image of attached Thread 0xb72be6c0 (LWP 1141).                         
Program stopped at 0xffffe424.                                                                    
(gdb) info all-registers
eax            0xfffffe00       -512
ecx            0x400c645f       1074553951
edx            0xbff83bc4       -1074250812
ebx            0x8      8                  
esp            0xbff83b68       0xbff83b68 
ebp            0xbff83bc4       0xbff83bc4 
esi            0x8e44568        149177704  
edi            0x9670b60        157748064  
eip            0xffffe424       0xffffe424 <__kernel_vsyscall+16>
eflags         0x203246 [ PF ZF IF #12 #13 ID ]                  
cs             0x73     115                                      
ss             0x7b     123                                      
ds             0x7b     123                                      
es             0x7b     123                                      
fs             0x0      0                                        
gs             0x33     51                                       
st0            0.018264840182647290589557087514549494   (raw 0x3ff995a0256809500000)
st1            -inf     (raw 0xffff0000000000000000)                                
st2            0        (raw 0x00000000000000000000)                                
st3            -inf     (raw 0xffff0000000000000000)                                
st4            13       (raw 0x4002d000000000000000)                                
st5            -0.5     (raw 0xbffe8000000000000000)                                
st6            10       (raw 0x4002a000000000000000)                                
st7            0        (raw 0x00000000000000000000)                                
fctrl          0x37f    895                                                         
fstat          0x22     34                                                          
ftag           0xffff   65535                                                       
fiseg          0x73     115                                                         
fioff          0xb71c5996       -1222878826                                         
foseg          0x7b     123                                                         
fooff          0xbff822b4       -1074257228                                         
---Type <return> to continue, or q <return> to quit---                              
fop            0x753    1875                                                        
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0xb2, 0xb2, 
    0xb2, 0xb2, 0xaf, 0xaf, 0xaf, 0xaf, 0xab, 0xab, 0xab, 0xab, 0x9a, 0x9a, 0x9a, 0x9a},         
  v8_int16 = {0xb2b2, 0xb2b2, 0xafaf, 0xafaf, 0xabab, 0xabab, 0x9a9a, 0x9a9a}, v4_int32 = {      
    0xb2b2b2b2, 0xafafafaf, 0xabababab, 0x9a9a9a9a}, v2_int64 = {0xafafafafb2b2b2b2,             
    0x9a9a9a9aabababab}, uint128 = 0x9a9a9a9aababababafafafafb2b2b2b2}                           
xmm1           {v4_float = {0xe0000000, 0x95000000, 0x585a0000, 0x60606200}, v2_double = {       
    0x8000000000000000, 0x8000000000000000}, v16_int8 = {0xd9, 0xd9, 0xd9, 0xd9, 0xd6, 0xd6,     
    0xd6, 0xd6, 0xd3, 0xd3, 0xd3, 0xd3, 0xcf, 0xcf, 0xcf, 0xcf}, v8_int16 = {0xd9d9, 0xd9d9,     
    0xd6d6, 0xd6d6, 0xd3d3, 0xd3d3, 0xcfcf, 0xcfcf}, v4_int32 = {0xd9d9d9d9, 0xd6d6d6d6,         
    0xd3d3d3d3, 0xcfcfcfcf}, v2_int64 = {0xd6d6d6d6d9d9d9d9, 0xcfcfcfcfd3d3d3d3},                
  uint128 = 0xcfcfcfcfd3d3d3d3d6d6d6d6d9d9d9d9}                                                  
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,                
    0x8000000000000000}, v16_int8 = {0xe6, 0xe6, 0xe6, 0xe6, 0xe3, 0xe3, 0xe3, 0xe3, 0xe0, 0xe0, 
    0xe0, 0xe0, 0xdc, 0xdc, 0xdc, 0xdc}, v8_int16 = {0xe6e6, 0xe6e6, 0xe3e3, 0xe3e3, 0xe0e0,     
    0xe0e0, 0xdcdc, 0xdcdc}, v4_int32 = {0xe6e6e6e6, 0xe3e3e3e3, 0xe0e0e0e0, 0xdcdcdcdc},        
  v2_int64 = {0xe3e3e3e3e6e6e6e6, 0xdcdcdcdce0e0e0e0},                                           
  uint128 = 0xdcdcdcdce0e0e0e0e3e3e3e3e6e6e6e6}                                                  
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x8000000000000000,                
    0x8000000000000000}, v16_int8 = {0xf3, 0xf3, 0xf3, 0xf3, 0xf0, 0xf0, 0xf0, 0xf0, 0xed, 0xed, 
    0xed, 0xed, 0xea, 0xea, 0xea, 0xea}, v8_int16 = {0xf3f3, 0xf3f3, 0xf0f0, 0xf0f0, 0xeded,     
    0xeded, 0xeaea, 0xeaea}, v4_int32 = {0xf3f3f3f3, 0xf0f0f0f0, 0xedededed, 0xeaeaeaea},        
  v2_int64 = {0xf0f0f0f0f3f3f3f3, 0xeaeaeaeaedededed},                                           
  uint128 = 0xeaeaeaeaededededf0f0f0f0f3f3f3f3}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {
    0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {
    0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {
    0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {
    0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {
---Type <return> to continue, or q <return> to quit---
    0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {
    0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {
    0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {
    0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000}
mxcsr          0x1f80   [ IM DM ZM OM UM PM ]
mm0            {uint64 = 0x95a0256809500000, v2_int32 = {0x9500000, 0x95a02568}, v4_int16 = {
    0x0, 0x950, 0x2568, 0x95a0}, v8_int8 = {0x0, 0x0, 0x50, 0x9, 0x68, 0x25, 0xa0, 0x95}}
mm1            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm2            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm4            {uint64 = 0xd000000000000000, v2_int32 = {0x0, 0xd0000000}, v4_int16 = {0x0, 0x0,
    0x0, 0xd000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xd0}}
mm5            {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, v4_int16 = {0x0, 0x0,
    0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80}}
mm6            {uint64 = 0xa000000000000000, v2_int32 = {0x0, 0xa0000000}, v4_int16 = {0x0, 0x0,
    0x0, 0xa000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xa0}}
mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 0x0, 0x0}, v8_int8 = {
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
(gdb)
Comment 7 Chris Wilson 2010-03-02 08:37:54 UTC
The essential bit of information that is required after a gpu hang is the erroneous batch buffer. On recent kernels this information is captured in i915_error_state.

Most likely this is another dup of bug 26345, which can be confirmed by inspecting the above debug information to identify if the GPU is executing different instructions than written by the CPU.
Comment 8 Chris Wilson 2010-07-04 08:27:50 UTC
Timeout, this is extremely to be a duplicate of the cache coherency issues on i8xx.

*** This bug has been marked as a duplicate of bug 26345 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.