[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#364253: xorg: Random crashes on SiS card when switching xsessions



Package: xorg
Severity: normal


Since a month or so,  I experience regular crashes of my Debian testing
machine. About one per week, if not more. The crash is related to the 
use of Xorg (so my report here), but usually break the whole system down.

Sorry for the length of this message, but I wanted to give you as much
information as I could.


SOME GENERIC REMARKS
====================

- CRASH NEVER OCCURS WHEN THE MACHINE IS UNATTENDED (mine is up 24/24)
or in remote text access (I do remote backups, have a CVS server on it,
and such: never crashed during that kind of operations). That even if
Xorg is running in whatever configuration.

- IT USUALLY CRASH WHEN OR JUST AFTER I SWITCH X SESSION.
I usually run 2 to 4 xsessions in parallel (CTRL-ALT-F7 to CTRL-ALT-F10)
and switch between them using the usual key commands.


SYMPTOMS BEFORE CRASHES
=======================

 - Text consoles becomes unreadable. Either the screen is black, only
   cursor shown, or strange graphics in black/gray/white filling the
   screen. In both case, except of the display, the terminal seems to
   be functional.

 - Pixmap under X11 are sometimes filled with random data found in
   memory. Eg. the KDE bar is filled with what looks like to be some
   Firefox page displayed some time ago, or simply random "noise".

 - When switching session (by alt-ctrl-Fn) a temporary black screen
   appears (not unusual) but there is blue-green dotted cursor as wide
   as the screen that can be moved with the mouse. Sometimes the crash
   occurs on that screen.

 -> Those symptoms can last pretty long before a crash occurs. They
    doesnt show up when only one session is openned (and swtiching 
    to text consoles). Usually opening a second session is enough to 
    render the text consoles unusable.


LOGS TRACES LEFT AFTER REBOOT
=============================

As the crash of the Xserver render the machine unusable (usually the
kernel is crashed too), there are not much info I have left. But there
are some logs that my be interesting. They are below:

  - From /var/log/Xorg.0.log.old
    Note: Last crash didnt left anything useful in this log file.
    So I pastle an older crash under the same conditions (but from
    06/03/04, so likely with a previous Xorg version):
------------------------------------------------------------------------
Backtrace:
0: /usr/X11R6/bin/X(xf86SigHandler+0x88) [0x80897b8]
1: [0xffffe420]
2: /usr/X11R6/bin/X(OtherClientGone+0x51) [0x80ccf61]
3: /usr/X11R6/bin/X(FreeClientResources+0x8c) [0x80d891c]
4: /usr/X11R6/bin/X(CloseDownClient+0x180) [0x80c8f90]
5: /usr/X11R6/bin/X(Dispatch+0x261) [0x80c9b61]
6: /usr/X11R6/bin/X(main+0x415) [0x80d6765]
7: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd0) [0xb7e20eb0]
8: /usr/X11R6/bin/X [0x8070131]

Fatal server error:
Caught signal 11.  Server aborting



  - From /var/log/Xorg.1.log.old
      Note:  This is from last crash.

------------------------------------------------------------------------
(II) SIS(0): Restoring by setting old mode 0x03
(II) Open ACPI successful (/var/run/acpid.socket)
(II) SIS(0): Setting standard mode 0x4d
    
      This is repeated a few times before EOF.



   - From /var/log/daemon.log
     Note: On last crash, the kernel didnt die completly but new
     processes seemed unable to start, so the "Cannot execute"
     and "abnormal terminaison" below, imho.
------------------------------------------------------------------------
Apr 22 09:22:56 garp kdm[6262]: X server for display :0 terminated
unexpectedly
Apr 22 09:23:00 garp kdm: :0[6301]: Cannot execute reset script
"/etc/kde3/kdm/Xreset"
Apr 22 09:23:03 garp kdm: :0[24093]: Abnormal termination of greeter for
display :0, code 0, signal 11
Apr 22 09:30:08 garp kdm[6262]: X server for display :1 terminated
unexpectedly
Apr 22 09:30:09 garp kdm: :1[28956]: Cannot execute reset script
"/etc/kde3/kdm/Xreset"
Apr 22 09:30:16 garp kdm: :1[24203]: Abnormal termination of greeter for
display :1, code 0, signal 11
Apr 22 09:31:26 garp kdm: :2[7400]: Cannot execute reset script
"/etc/kde3/kdm/Xreset"
Apr 22 09:35:01 garp dnsmasq[5646]: started, version 2.27 cachesize 150
Apr 22 09:35:01 garp dnsmasq[5646]: compile time options: IPv6
GNU-getopt RTNetlink ISC-leasefile no-DBus I18N



  - From /var/log/messages
    Note: I replaced "Apr 22 09:24:22 garp kernel:" by "kernel:" to
    reduce the line length.
------------------------------------------------------------------------
kernel: c015bc78
kernel: Modules linked in: nls_iso8859_1
nls_cp437 vfat fat binfmt_misc lp thermal fan button processor ac
battery ipv6 iptable_raw iptable_mangle ipt_ULOG ipt_TTL ipt_ttl
ipt_TOS ipt_tos ipt_TCPMSS ipt_tcpmss ipt_state ipt_sctp ipt_SAME
ipt_REJECT ipt_REDIRECT ipt_recent ipt_realm ipt_pkttype ipt_physdev
ipt_owner ipt_NOTRACK ipt_NETMAP ipt_multiport ipt_MASQUERADE ipt_MARK
ipt_mark ipt_mac ipt_LOG ipt_limit ipt_length ipt_iprange ipt_helper
ipt_hashlimit ipt_esp ipt_ECN ipt_ecn ipt_DSCP ipt_dscp ipt_conntrack
ipt_CONNMARK ipt_connmark ipt_comment ipt_CLUSTERIP ipt_CLASSIFY
ipt_ah ipt_addrtype ip_nat_irc ip_nat_tftp ip_nat_ftp iptable_nat
ip_nat ip_conntrack_irc ip_conntrack_tftp ip_conntrack_ftp
ip_conntrack nfnetlink iptable_filter ip_tables rsrc_nonstatic
pcmcia_core dm_mod w83627hf hwmon_vid eeprom i2c_isa snd_seq_dummy
snd_seq_oss snd_seq_midi snd_seq_midi_event snd_seq usbkbd ide_generic
sd_mod usb_storage scsi_mod joydev snd_mpu401 snd_mpu401_uart ns558
analog irtty_sir psmouse sn
kernel: _rawmidi snd_seq_device sir_dev gameport
serio_raw irda pcspkr rtc ide_cd cdrom ohci_hcd floppy crc_ccitt
parport_pc parport ehci_hcd usbcore snd_intel8x0 snd_ac97_codec
snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd shpchp
i2c_sis96x sis_agp agpgart i2c_core sis900 pci_hotplug ne2k_pci mii
8390 soundcore snd_page_alloc ext3 jbd mbcache ide_disk generic
sis5513 ide_core evdev mousedev
kernel: CPU:    0
kernel: EIP:    0060:[find_inode_fast+51/72]    Not tainted VLI
kernel: EFLAGS: 00210202   (2.6.15-1-k7) 
kernel: EIP is at find_inode_fast+0x33/0x48
kernel: eax: d1b31680   ebx: 000a73c0   ecx: 444b3531   edx: 444b3531
kernel: esi: c13de64c   edi: dac5e000   ebp: dac5e000   esp: d0241db8
kernel: ds: 007b   es: 007b   ss: 0068
kernel: Process updatedb (pid: 21191, threadinfo=d0240000 task=cfddc570)
kernel: Stack: 000a73c0 c13de64c 000a73c0 c015c19c dac5e000 c13de64c
000a73c0 000a73c0
kernel:        dac5e000 c7cec888 d0241e74 dc8a403a dac5e000 000a73c0
d154c378 c1ce4018
kernel:        fffffff4 c7cec888 c64dfcc0 c01523ff c64dfcc0 c7cec888
d0241f18 c64dfd30
kernel: Call Trace:
kernel:  [iget_locked+67/141] iget_locked+0x43/0x8d
kernel:  [pg0+475344954/1070257152] ext3_lookup+0x43/0x8e [ext3]
kernel:  [real_lookup+81/180] real_lookup+0x51/0xb4
kernel:  [do_lookup+75/124] do_lookup+0x4b/0x7c
kernel:  [__link_path_walk+1697/2677] __link_path_walk+0x6a1/0xa75
kernel:  [__find_get_block+139/165] __find_get_block+0x8b/0xa5
kernel:  [link_path_walk+73/187] link_path_walk+0x49/0xbb
kernel:  [pg0+475339938/1070257152] ext3_dirty_inode+0x5e/0x64 [ext3]
kernel:  [__mark_inode_dirty+40/315] __mark_inode_dirty+0x28/0x13b
kernel:  [update_atime+104/111] update_atime+0x68/0x6f
kernel:  [path_lookup+253/260] path_lookup+0xfd/0x104
kernel:  [__user_walk+35/58] __user_walk+0x23/0x3a
kernel:  [vfs_lstat+20/62] vfs_lstat+0x14/0x3e
kernel:  [pg0+475339938/1070257152] ext3_dirty_inode+0x5e/0x64 [ext3]
kernel:  [__mark_inode_dirty+40/315] __mark_inode_dirty+0x28/0x13b
kernel:  [update_atime+104/111] update_atime+0x68/0x6f
kernel:  [sys_lstat64+16/39] sys_lstat64+0x10/0x27
kernel:  [vfs_readdir+112/136] vfs_readdir+0x70/0x88
kernel:  [sys_getdents64+99/168] sys_getdents64+0x63/0xa8
kernel:  [filldir64+0/195] filldir64+0x0/0xc3
kernel:  [sys_getdents64+158/168] sys_getdents64+0x9e/0xa8
kernel:  [sysenter_past_esp+84/117] sysenter_past_esp+0x54/0x75
kernel: Code: 74 24 14 8b 5c 24 18 8b 16 eb 1c 39 ba 94 00 00 00 75 12
f6 82 2c 01 00 00 b0 74 20 52 e8 32 0a 00 00 58 eb e2 89 ca 85 d2 74
0f <8b> 0a 0f 18 01 90 39 5a 20 89 d0 75 ed eb d1 31 c0 5b 5e 5f c3




CONFIGURATION INFORMATION
=========================

# uname -a
Linux garp 2.6.15-1-k7 #2 Mon Mar 6 15:42:39 UTC 2006 i686 GNU/Linux

# lspci
0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS]
741/741GX/M741 Host (rev 03)
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port
(virtual PCI-to-PCI bridge)
0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL
Media IO] (rev 25)
0000:00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus
Controller
0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
0000:00:02.7 Multimedia audio controller: Silicon Integrated Systems
[SiS] Sound Controller (rev a0)
0000:00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
0000:00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
0000:00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0
Controller
0000:00:04.0 Ethernet controller: Silicon Integrated Systems [SiS]
SiS900 PCI Fast Ethernet (rev 90)
0000:00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8029(AS)
0000:01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]
661/741/760/761 PCI/AGP VGA Display Adapter

# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Sempron(tm) 2600+
stepping        : 1
cpu MHz         : 1840.049
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow
bogomips        : 3681.01

# debian configuration
I run a pretty uptodate and standard debian testing, with a few
unstable pkgs but nothing kernel/xorg related. 

Thanks for any help.

	Yannick


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (1001, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)



Reply to: