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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-30-2006, 07:26 PM
|
#1
|
|
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:
|
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.
|
|
|
|
09-30-2006, 07:29 PM
|
#2
|
|
Member
Registered: Mar 2004
Location: Sydney
Distribution: Yoper 3.0
Posts: 87
Rep:
|
X Crush? or perhaps crash?
|
|
|
|
09-30-2006, 08:38 PM
|
#3
|
|
Member
Registered: Sep 2005
Location: US
Distribution: Gentoo AMD64 Testing
Posts: 129
Rep:
|
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.
|
|
|
|
09-30-2006, 10:36 PM
|
#4
|
|
Senior Member
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 1,546
Rep: 
|
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).
|
|
|
|
09-30-2006, 10:42 PM
|
#5
|
|
Senior Member
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 1,546
Rep: 
|
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.
|
|
|
|
10-01-2006, 04:29 AM
|
#6
|
|
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:
|
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.
|
|
|
|
10-01-2006, 08:59 AM
|
#7
|
|
Member
Registered: Sep 2005
Location: US
Distribution: Gentoo AMD64 Testing
Posts: 129
Rep:
|
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.
|
|
|
|
10-01-2006, 11:46 AM
|
#8
|
|
Senior Member
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 1,546
Rep: 
|
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.
|
|
|
|
10-02-2006, 01:00 PM
|
#9
|
|
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:
|
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
|
|
|
|
10-02-2006, 01:24 PM
|
#10
|
|
Senior Member
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 1,546
Rep: 
|
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)".
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:19 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|