Bug 21384 - [GM45 KMS] suspend/resume crashes with 2.7.0
Summary: [GM45 KMS] suspend/resume crashes with 2.7.0
Status: RESOLVED DUPLICATE of bug 21468
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Jesse Barnes
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2009-04-24 06:30 UTC by jeromepoulin@gmail.com
Modified: 2009-05-12 15:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.log (13.91 KB, text/plain)
2009-04-24 06:30 UTC, jeromepoulin@gmail.com
no flags Details
xorg-core-dump.txt (6.67 KB, text/plain)
2009-04-24 06:31 UTC, jeromepoulin@gmail.com
no flags Details
dmesg.log (148.68 KB, text/plain)
2009-04-24 06:33 UTC, jeromepoulin@gmail.com
no flags Details
xorg.conf (2.44 KB, text/plain)
2009-04-25 10:39 UTC, jeromepoulin@gmail.com
no flags Details

Description jeromepoulin@gmail.com 2009-04-24 06:30:56 UTC
Created attachment 25101 [details]
Xorg.log

Configuration:
Mesa 7.3
Xorg-server 1.6.0
libdrm 2.4.6
Intel Video driver 2.7.0

When I put my computer to standby and resume, the X server either crash, won't boot and freeze the computer or just works, randomly, I captured the Xorg.log and core dump when it crashes. If you need more informations from the core dump I kept it and can generate the symbols if needed.
Comment 1 jeromepoulin@gmail.com 2009-04-24 06:31:22 UTC
Created attachment 25102 [details]
xorg-core-dump.txt
Comment 2 jeromepoulin@gmail.com 2009-04-24 06:33:28 UTC
Created attachment 25103 [details]
dmesg.log

dmesg after some crashes and then it works
Comment 3 Gordon Jin 2009-04-25 05:23:27 UTC
What's the previous version working for you?
Comment 4 jeromepoulin@gmail.com 2009-04-25 10:39:07 UTC
I *was* 2.6.99.902 but since I updated this and libdrm, I downgraded (I had a binary backup) and I can't find how come it won't work anymore. I'm still investigating.
Comment 5 jeromepoulin@gmail.com 2009-04-25 10:39:50 UTC
Created attachment 25138 [details]
xorg.conf

I also updated my Xorg.conf but I'm sure I reverted all my changes.
Comment 6 jeromepoulin@gmail.com 2009-05-01 22:16:42 UTC
I can repeat the following backtrace, I have 4 of those core dump, always after resuming from suspend.

MobileCPU / # file core.12879 
core.12879: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style, from '/usr/bin/X -br -deferglyphs 16 -auth /var/run/slim.auth vt07'

#0  0xffffe424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7c6e09a in raise () from /lib/libc.so.6
No symbol table info available.
#2  0xb7c6f678 in abort () from /lib/libc.so.6
No symbol table info available.
#3  0xb7c6731c in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#4  0xb7b91f07 in i830_lvds_mode_valid (output=0xad14098, pMode=0xbf8bca28) at i830_lvds.c:597
    pScrn = (ScrnInfoPtr) 0xb7bc7ff4
    pI830 = (I830Ptr) 0x54f00006
    pFixedMode = (DisplayModePtr) 0x81e64d8
#5  0xb7b931b8 in i830_lvds_create_resources (output=0xad14098) at i830_lvds.c:1158
    pScrn = (ScrnInfoPtr) 0x81e64d8
    pI830 = (I830Ptr) 0x1200
    intel_output = (I830OutputPrivatePtr) 0x1200
    dev_priv = (struct i830_lvds_priv *) 0x1200
    backlight_range = {181485720, -1081357784}
    data = -1212599880
    err = 4608
    i = -1212383244
#6  0xb7ba4671 in i830_sdvo_get_mode_from_dtd (mode=0xad14098, dtd=0xad14098) at i830_sdvo.c:743
No locals.
#7  0xb7b4fa3a in fbCopyRegion () from /usr/lib/xorg/modules//libfb.so
No symbol table info available.
#8  0xb7ba4123 in i830_sdvo_set_timing (output=0xad26948, cmd=252 'ü', dtd=0xadfe2b8) at i830_sdvo.c:586
    status = 255 'ÿ'
...
#13 No symbols table info available.
Comment 7 Jesse Barnes 2009-05-11 11:21:51 UTC
Adjusting severity: crashes & hangs should be marked critical.
Comment 8 Jesse Barnes 2009-05-11 12:15:36 UTC
This is a pretty weird crash... are you sure your X and xf86-video-intel packages match up, ABI-wise?  Btw, 2.6.30-rc has a lot of fixes over 2.6.29, so you might want to try it anyway.
Comment 9 jeromepoulin@gmail.com 2009-05-11 14:02:03 UTC
I will give 2.6.30 a try before continuing with this bug then, I'll have to wait for final, I don't have that much time lately.
However I must add I recompiled my whole system 3 weeks ago, and I mean recompile with all the same version to be sure everything matches and the crash still appears.

Here is another backtrace I got, I don't know if it's the same, I found it in my / but don't have any log associated.

Core was generated by `/usr/bin/X -br -deferglyphs 16 -auth /var/run/slim.auth vt07'.
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) bt full
#0  0xffffe424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7bf509a in raise () from /lib/libc.so.6
No symbol table info available.
#2  0xb7bf6678 in abort () from /lib/libc.so.6
No symbol table info available.
#3  0xb7bee31c in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#4  0xb7b0644d in intel_batch_emit_dword (pI830=0x81e6628, dword=1425014790)
    at i830_batchbuffer.h:78
	__PRETTY_FUNCTION__ = "intel_batch_emit_dword"
#5  0xb7b069f9 in I830EXACopy (pDstPixmap=0xb760558, src_x1=1025, src_y1=0, 
    dst_x1=998, dst_y1=0, w=115, h=32) at i830_exa.c:387
	pScrn = (ScrnInfoPtr) 0x81cefe8
	pI830 = (I830Ptr) 0x81e6628
	cmd = 1425014790
	dst_x2 = 1113
	dst_y2 = 32
	dst_pitch = 4608
	src_pitch = 4608
	__FUNCTION__ = "I830EXACopy"
	__PRETTY_FUNCTION__ = "I830EXACopy"
#6  0xb7b22c49 in uxa_copy_n_to_n (pSrcDrawable=0xb760558, 
---Type <return> to continue, or q <return> to quit---
    pDstDrawable=0xb760558, pGC=0x0, pbox=0xbf94247c, nbox=0, dx=27, dy=0, 
    reverse=0, upsidedown=0, bitplane=0, closure=0x0) at uxa-accel.c:459
	screen = (ScreenPtr) 0x81ea668
	uxa_screen = (uxa_screen_t *) 0x81eb428
	src_off_x = 0
	src_off_y = 0
	dst_off_x = 0
	dst_off_y = 0
	pSrcPixmap = (PixmapPtr) 0xb760558
	pDstPixmap = (PixmapPtr) 0xb760558
	__FUNCTION__ = "uxa_copy_n_to_n"
#7  0xb7aa2a3a in fbCopyRegion () from /usr/lib/xorg/modules//libfb.so
No symbol table info available.
#8  0xb7b242ff in uxa_copy_window (pWin=0xac1c438, ptOldOrg={x = 1134, y = 0}, 
    prgnSrc=0xbd88cc8) at uxa-accel.c:844
	rgnDst = {extents = {x1 = 998, y1 = 0, x2 = 1113, y2 = 32}, data = 0x0}
	dx = 27
	dy = 0
	pPixmap = (PixmapPtr) 0xb760558
...
#13 0x00000000 in ?? () No symbol table info available.
(gdb) 
Comment 10 Eric Anholt 2009-05-12 15:40:42 UTC
OK, that first backtrace looks like your stack was just smashed.  The second one is what we pushed a fix for tracking #21468.

commit e54a23bff068416ccbdb75d538dc7dcd40a6c95c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 7 16:35:19 2009 -0700

    Fallback when VT inactive

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


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.