X has crashed twice in the past two days

Posted:
Jun 23rd, '12, 02:21
by sglafata
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?
Re: X has crashed twice in the past two days

Posted:
Jun 23rd, '12, 11:41
by wintpe
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
Re: X has crashed twice in the past two days

Posted:
Jun 24th, '12, 10:59
by doktor5000
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.
Re: X has crashed twice in the past two days

Posted:
Jun 24th, '12, 14:52
by sglafata
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.
Re: X has crashed twice in the past two days

Posted:
Jun 24th, '12, 17:29
by doktor5000
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
Re: X has crashed twice in the past two days

Posted:
Jun 25th, '12, 14:42
by sglafata
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.
Re: X has crashed twice in the past two days

Posted:
Jun 25th, '12, 21:11
by doktor5000
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
Re: X has crashed twice in the past two days

Posted:
Jun 26th, '12, 16:36
by sglafata
I'll give the fglrx driver a try again.... what's the worst that can happen?
