LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-30-2006, 07:26 PM   #1
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Rep: Reputation: 30
help me diagnose why the X crushes...


What shall I do to diagnose what cause the crash?


thanks

Last edited by itz2000; 10-01-2006 at 04:32 AM.
 
Old 09-30-2006, 07:29 PM   #2
lordtweety
Member
 
Registered: Mar 2004
Location: Sydney
Distribution: Yoper 3.0
Posts: 87

Rep: Reputation: 15
X Crush? or perhaps crash?
 
Old 09-30-2006, 08:38 PM   #3
chadl
Member
 
Registered: Sep 2005
Location: US
Distribution: Gentoo AMD64 Testing
Posts: 129

Rep: Reputation: 16
I am assuming mean crash, as I have never seen the term crush used in that way before.

First, we will need more information then that. Is there some type of error message? Does it freeze?

If you do not see an error message, your best bet is to stop X, switch to a terminal, by pressing ctrl+alt+F1, and then run the command
Code:
startx >Errorlog.log 2>&1
and then after it crashes, post what is in Errorlog.log.
 
Old 09-30-2006, 10:36 PM   #4
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,004

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
Quote:
Originally Posted by itz2000
What shall I do to diagnose what cause the crush?
If you're using Xorg, check it's logfile. That would be /var/log/Xorg.0.log on my system (a typical location). If you're using XFree, it's logfile would be /var/log/XFree86.0.log probably.

Inside those logfiles, looking for lines that begin with "(EE)" would be a good start. Those would be error lines.

Also check out your syslog for errors. On my system, this is /var/log/syslog, but the location can vary with different distros.

Try running "dmesg" as well (you'll need to page it's output with "pg" or "less" or "more" or whatever pager you prefer).
 
Old 09-30-2006, 10:42 PM   #5
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,004

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
If the cause of your crash is not evident in the logfiles I mentioned above, the first shot-in-the-dark step I'd take would be to configure X to use the generic vesa video driver.

The will be a "Device" section in your X configuration file for your video card. Comment out the current "Driver" line there if it's not vesa, and add "Driver vesa" in it's place. Your X configuration file should be either /etc/X11/xorg.conf or /etc/X11/XF86Config-4 depending on if you're running Xorg or XFree.
 
Old 10-01-2006, 04:29 AM   #6
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
it seems to happen when I try to switch languages, randomly...

dmesg shows nothing, so does /var/log/Xorg

blahhhh


Code:
[root@localhost log]# cat Xorg.0.log | grep EE
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) RADEON(0): [dri] RADEONDRIScreenInit failed because of a version mismatch.
(EE) RADEON(0): Setting pPriv->adjustment to 0
(EE) RADEON(0): Setting pPriv->adjustment to 0
(EE) RADEON(0): Setting pPriv->adjustment to 0
(EE) RADEON(0): Setting pPriv->adjustment to 0
[root@localhost log]# cat Xorg.0.log.old | grep EE
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) RADEON(0): [dri] RADEONDRIScreenInit failed because of a version mismatch.
(EE) RADEON(0): Setting pPriv->adjustment to 0
[root@localhost log]#
and no, it has nothing related to the radeon, cause if it did, it would have done this crash before...

Last edited by itz2000; 10-01-2006 at 04:35 AM.
 
Old 10-01-2006, 08:59 AM   #7
chadl
Member
 
Registered: Sep 2005
Location: US
Distribution: Gentoo AMD64 Testing
Posts: 129

Rep: Reputation: 16
Quote:
Originally Posted by itz2000
it seems to happen when I try to switch languages, randomly...

dmesg shows nothing, so does /var/log/Xorg

blahhhh


Code:
[root@localhost log]# cat Xorg.0.log | grep EE
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) RADEON(0): [dri] RADEONDRIScreenInit failed because of a version mismatch.
(EE) RADEON(0): Setting pPriv->adjustment to 0
(EE) RADEON(0): Setting pPriv->adjustment to 0
(EE) RADEON(0): Setting pPriv->adjustment to 0
(EE) RADEON(0): Setting pPriv->adjustment to 0
[root@localhost log]# cat Xorg.0.log.old | grep EE
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) RADEON(0): [dri] RADEONDRIScreenInit failed because of a version mismatch.
(EE) RADEON(0): Setting pPriv->adjustment to 0
[root@localhost log]#
and no, it has nothing related to the radeon, cause if it did, it would have done this crash before...
The error "RADEONDRIScreenInit failed because of a version mismatch." seems to indicate that some component was updated, while some component that it needs to work with was not.

Is there some language module that the ATI drivers are using that it would care about the version numbers on? That is the only thing that I can think of that would link changing the language and a version error with the ATI drivers.

I use an NVidia card, so I do not know much about the workings of ATI drivers, however.

Last edited by chadl; 10-01-2006 at 09:02 AM.
 
Old 10-01-2006, 11:46 AM   #8
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,004

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
Quote:
and no, it has nothing related to the radeon
I don't see how you can say this, given the log data you posted above.

The next step in my debugging would be to try that vesa driver. That is a diagnostic step to try and isolate the problem. If everything works with vesa, then you have an even bigger smoking gun pointing at your ATI video setup than before.
 
Old 10-02-2006, 01:00 PM   #9
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
I figured out what cause is to crash (the sequence CTRL+ALT+BACKSPACE) but I don't know why!

I've looked everywhere but there's no such a shortcut configured to crash X.


:S
 
Old 10-02-2006, 01:24 PM   #10
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,004

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
Quote:
Originally Posted by itz2000
I've looked everywhere but there's no such a shortcut configured to crash X.
I certainly hope you're joking with that statement. That is the standard shortcut to kill X! It's known as the "Ultimate Escape from X (tm)".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GAIM crushes snewp Slackware 7 07-18-2006 03:54 PM
Amule and Gaim Crushes :( itz2000 Linux - Newbie 2 01-26-2006 03:45 AM
kfind crushes!! spacetrooper Mandriva 5 01-03-2005 06:02 AM
KDE 3.1 crushes 24/7 sucram2g Linux - Newbie 5 12-22-2004 09:58 AM
Tux Crushes Microsoft SuseBoy General 3 07-25-2003 06:15 PM


All times are GMT -5. The time now is 06:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration