X has crashed twice in the past two days

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

X has crashed twice in the past two days

Postby sglafata » Jun 23rd, '12, 02:21

Not sure what is going on, but in the past two days, my X session has crashed. The screen goes to the black console (possibly Ctrl-Alt P7) because I see all the kernel messages, and I am unable to recover, keyboard does not respond, nothing.... I am left to do a hard reboot. When I try to check the logs, I am unable to find anything except one lone message in /var/log/daemons/errors.log that states "kdm[1712]: X server for display :0 terminated unexpectedly". It appears that no other logs have captured this message. Is there anything else I could do to get more debugging messages?

Yesterday, when it first happened, I thought it was a fluke, but it happened again today. And it also appears to have begun after the recent xml, java or cups packages update!?!? Not sure if that was a coincidence, or if there really is a problem. Cups doesn't make sense, so I doubt it's that...

Any ideas on what I could do? Anybody else having this problem?
sglafata
 
Posts: 83
Joined: Jun 4th, '11, 13:27

Re: X has crashed twice in the past two days

Postby wintpe » Jun 23rd, '12, 11:41

Hard rebooting could be loosing the logs if the file was open and could not recover, on hard reset.

I suggest you enable sshd and login via another pc and do a proper reboot, rather that a reset.

Then you may catch more in the logs, or at least be able to clear any hung x session that is grabbing the screen

Regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: X has crashed twice in the past two days

Postby doktor5000 » Jun 24th, '12, 10:59

A shot in the dark, which graphics driver are you currently using? Please post the output of
Code: Select all
grep -i driver /var/log/Xorg.0.log

Also please tell which desktop environment you're using.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: X has crashed twice in the past two days

Postby sglafata » Jun 24th, '12, 14:52

Hi dok... I am using KDE and am using an ATI card.

Code: Select all
[sam@ ~]$ grep -i driver /var/log/Xorg.0.log
[129034.509]    X.Org Video Driver: 11.0
[129034.509]    X.Org XInput driver : 13.0
[129034.512] (II) Loading /usr/lib64/xorg/modules/drivers/v4l_drv.so
[129034.512]    ABI class: X.Org Video Driver, version 11.0
[129034.517] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
[129034.517]    Module class: X.Org Video Driver
[129034.517]    ABI class: X.Org Video Driver, version 11.0
[129034.517] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[129034.518]    Module class: X.Org Video Driver
[129034.518]    ABI class: X.Org Video Driver, version 11.0
[129034.518] (II) v4l driver for Video4Linux
[129034.518] (II) RADEON: Driver for ATI Radeon chipsets:
[129034.522] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[129034.523]    ABI class: X.Org Video Driver, version 11.0
[129034.671] (II) RADEON(0): EXA: Driver will allow EXA pixmaps in VRAM
[129034.672] (II) RADEON(0): [DRI2]   DRI driver: r300
[129034.672] (II) RADEON(0): [DRI2]   VDPAU driver: r300
[129034.672] (II) EXA(0): Driver allocated offscreen pixmaps
[129034.672] (II) EXA(0): Driver registered support for the following operations:
[129034.758]    Module class: X.Org XInput Driver
[129034.758]    ABI class: X.Org XInput driver, version 13.0
[129034.758] (II) Using input driver 'evdev' for 'Power Button'
[129034.793] (II) Using input driver 'evdev' for 'Power Button'
[129034.794] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[129034.795] (II) No input driver specified, ignoring this device.
[129034.795] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[129034.796] (II) Using input driver 'evdev' for 'Microsoft Microsoft Wireless Optical Desktop® 2.10'
[129034.797] (II) Using input driver 'evdev' for 'Microsoft Microsoft Wireless Optical Desktop® 2.10'
[129034.798] (II) No input driver specified, ignoring this device.
[129034.799] (II) No input driver specified, ignoring this device.
sglafata
 
Posts: 83
Joined: Jun 4th, '11, 13:27

Re: X has crashed twice in the past two days

Postby doktor5000 » Jun 24th, '12, 17:29

You're using the free radeon driver, which could be problematic by itself or due to missing firmware.
Please post the output of
Code: Select all
rpm -qa | grep firmware
and maybe consider switching to fglrx driver via drakx11.
https://wiki.mageia.org/en/Setup_the_graphical_server
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: X has crashed twice in the past two days

Postby sglafata » Jun 25th, '12, 14:42

Here is the output of your command:

Code: Select all
[sam@ ~]$ rpm -qa | grep firmware
kernel-firmware-20120219-1.mga2
carl9170-firmware-1.9.4-1.mga2
radeon-firmware-20120322-3.mga2.nonfree


Also wanted to add that in Mageia 1, the fglrx driver did not work well for me, so I stuck with the radeon driver. This is an older machine and I do not intense graphics or game playing on it, so the radeon driver has been fine for me.
sglafata
 
Posts: 83
Joined: Jun 4th, '11, 13:27

Re: X has crashed twice in the past two days

Postby doktor5000 » Jun 25th, '12, 21:11

You could try the fglrx driver again, maybe it works better now?

Apart from that, maybe you want to have a look in your ~/.xsession-errors this could have some information about the crash
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: X has crashed twice in the past two days

Postby sglafata » Jun 26th, '12, 16:36

I'll give the fglrx driver a try again.... what's the worst that can happen? ;)
sglafata
 
Posts: 83
Joined: Jun 4th, '11, 13:27


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest