System hangs because of X Server crash

Hello,

About once a day, my system seems to hang (mouse can’t be moved, no keyboard input possible, screen stays unchanged)

After a restart I can find an error in /var/log/kdm.log:

X.Org X Server 1.9.3
Release Date: 2010-12-13
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux notebook.fritz.box 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 x86_64
Kernel command line: root=/dev/disk/by-id/ata-SAMSUNG_HM160HC_S12TJD0PB17708-part1 resume=/dev/disk/by-id/ata-SAMSUNG_HM160HC_S12TJD0PB17708-part5 splash=silent quiet vga=0x314
Build Date: 28 March 2011  08:35:28PM

Current version of pixman: 0.20.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 30 21:37:15 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"
(II) [KMS] Kernel modesetting enabled.
QFont::fromString: Invalid description 'Serif,20,5,0,50,0'
QFont::fromString: Invalid description 'Sans Serif,10,5,0,50,0'
QFont::fromString: Invalid description 'Sans Serif,10,5,0,75,0'
/etc/X11/xdm/Xsetup: Zeile 114: /usr/bin/hal-find-by-property: Datei oder Verzeichnis nicht gefunden
/etc/X11/xdm/Xstartup: Zeile 30: /usr/bin/hal-find-by-property: Datei oder Verzeichnis nicht gefunden

Backtrace:
0: /usr/bin/Xorg (xorg_backtrace+0x28) [0x470a38]
1: /usr/bin/Xorg (0x400000+0x6c209) [0x46c209]
2: /lib64/libc.so.6 (0x7fdd11849000+0x32b30) [0x7fdd1187bb30]
3: /lib64/libc.so.6 (0x7fdd11849000+0x75a05) [0x7fdd118bea05]
4: /lib64/libc.so.6 (__libc_malloc+0x79) [0x7fdd118c0d99]
5: /usr/lib64/xorg/modules/libexa.so (0x7fdd0f546000+0x8ec4) [0x7fdd0f54eec4]
6: /usr/lib64/xorg/modules/libexa.so (0x7fdd0f546000+0x14263) [0x7fdd0f55a263]
7: /usr/lib64/xorg/modules/libexa.so (0x7fdd0f546000+0x101cb) [0x7fdd0f5561cb]
8: /usr/bin/Xorg (0x400000+0xe481c) [0x4e481c]
9: /usr/lib64/xorg/modules/libexa.so (0x7fdd0f546000+0x11560) [0x7fdd0f557560]
10: /usr/bin/Xorg (0x400000+0xdc5d1) [0x4dc5d1] 
11: /usr/bin/Xorg (0x400000+0x38ac1) [0x438ac1]
12: /usr/bin/Xorg (0x400000+0x25ace) [0x425ace]
13: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7fdd11867bfd]
14: /usr/bin/Xorg (0x400000+0x25679) [0x425679]
Segmentation fault at address 0x287c998

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting

hwinfo --gfxcard

hwinfo --gfxcard
18: PCI 105.0: 0300 VGA compatible controller (VGA)             
  [Created at pci.318]
  Unique ID: ul7N.ndLezi0WBX6
  Parent ID: vSkL.4UFp5fHqms6
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:05.0
  SysFS BusID: 0000:01:05.0
  Hardware Class: graphics card
  Model: "ATI Radeon XPRESS 200M 5A62 (PCIE)"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x5a62 "Radeon XPRESS 200M 5A62 (PCIE)"
  SubVendor: pci 0x144d "Samsung Electronics Co Ltd"
  SubDevice: pci 0xc02b 
  Driver: "radeon"
  Driver Modules: "drm"
  Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
  I/O Ports: 0x9000-0x9fff (rw)
  Memory Range: 0xc0000000-0xc000ffff (rw,non-prefetchable)
  Memory Range: 0xc0020000-0xc003ffff (ro,non-prefetchable,disabled)
  IRQ: 17 (12455 events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00001002d00005A62sv0000144Dsd0000C02Bbc03sc00i00"
  Driver Info #0:
    XFree86 v4 Server Module: radeon
  Driver Info #1:
    XFree86 v4 Server Module: fglrx
    3D Support: yes
    Extensions: dri
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #9 (PCI bridge)

Primary display adapter: #18

System is openSUSE 11.4 with

Linux notebook.fritz.box 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux

What can I do, to debug this problem? Or is there an easy solution?

Thanks

I don’t have a definitive answer for you, but it might be useful to post the output of /var/log/Xorg.0.log

It can be a large file, so cut and paste to

SUSE Paste

then post the link to it here.

By chance, you didn’t try installing the proprietary ATI driver? (As the 200M is not supported by that any longer)

Hi,
I am getting a similar crash. The desktop freezes, the mouse still moves.

Output from /var/log/Xorg.0.log.old:
817.067] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
817.067]
Backtrace:
817.067] 0: /usr/bin/Xorg (xorg_backtrace+0x28) [0x463678]
817.067] 1: /usr/bin/Xorg (mieqEnqueue+0x1f4) [0x45e614]
817.067] 2: /usr/bin/Xorg (xf86PostMotionEventP+0xc4) [0x4762a4]
817.067] 3: /usr/lib64/xorg/modules/input/evdev_drv.so (0x7f520ed50000+0x4e05) [0x7f520ed54e05]
817.067] 4: /usr/bin/Xorg (0x400000+0x72d77) [0x472d77]
817.067] 5: /usr/bin/Xorg (0x400000+0x1178e3) [0x5178e3]
817.067] 6: /lib64/libc.so.6 (0x7f5212cd5000+0x32b30) [0x7f5212d07b30]
817.067] 7: /lib64/libc.so.6 (ioctl+0x7) [0x7f5212da0ce7]
817.067] 8: /usr/lib64/libdrm.so.2 (drmIoctl+0x28) [0x7f5211550918]
817.067] 9: /usr/lib64/libdrm.so.2 (drmCommandWrite+0x1b) [0x7f5211552c8b]
817.067] 10: /usr/lib64/libdrm_nouveau.so.1 (0x7f5210f0d000+0x31ad) [0x7f5210f101ad]
817.067] 11: /usr/lib64/libdrm_nouveau.so.1 (nouveau_bo_map_range+0xfe) [0x7f5210f107ce]
817.067] 12: /usr/lib64/libdrm_nouveau.so.1 (0x7f5210f0d000+0x22ba) [0x7f5210f0f2ba]
817.067] 13: /usr/lib64/libdrm_nouveau.so.1 (nouveau_pushbuf_flush+0x190) [0x7f5210f0f830]
817.067] 14: /usr/lib64/xorg/modules/libexa.so (0x7f521028d000+0x9155) [0x7f5210296155]
817.067] 15: /usr/lib64/xorg/modules/libexa.so (0x7f521028d000+0xbf19) [0x7f5210298f19]
817.067] 16: /usr/bin/Xorg (0x400000+0xddc51) [0x4ddc51]
817.067] 17: /usr/lib64/xorg/modules/libexa.so (0x7f521028d000+0xd586) 0x7f521

uname - a
Linux linux-3upb 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux

video driver
S | Name | Type | Version | Arch | Repository
–±------------------------------±--------±----------------------------±-------±-----------------
i | xorg-x11-driver-video-nouveau | package | 0.0.16_20110115_b795ca6-3.1 | x86_64 | openSUSE-11.4 OSS

I am going to try the nvidia driver instead, see how I get on.

Hi,

and I thought, I’m the only one suffering this error. I’m interested, if changing the driver will help you. But as I’m using radeon driver instead of nouveau, I think the problem is located somewhere else. When it crashes again and if I’m able to save xorg.0.log.org, I will post the file. Is it possible to get more debug information by installing …-debug package?

So,

it crashed again and I could save a few files:

xorg.0.log.old: SUSE Paste

kdm.log: SUSE Paste

messages (today): SUSE Paste

Would be nice, if someone could have a look at these files.

Thank you

This doesn’t look good:

#
  2589.700] Segmentation fault at address 0x29e5b48
#
  2589.700]
#
Fatal server error:
#
  2589.700] Caught signal 11 (Segmentation fault). Server aborting
#
  2589.700]
#
  2589.700]
#
Please consult the The X.Org Foundation support
#
         at http://wiki.x.org
#
 for help.
#
  2589.700] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
#
  2589.700]
#
  2596.522] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
#
  2596.522] 

along with the associated backtrace. I think you will need to take the advice in the logs and consult X.Org Wiki - Home and X.Org Foundation. The logs will be useful to them as a starter. Check for existing X.org bug reports as well.