Page 1 of 1

Mageia freezes frequently

PostPosted: Apr 3rd, '17, 03:02
by mrigs
Hi,

After the last set of updates, my Mageia install has been freezing regularly. Most of the times I am not able to log in after putting in my login information, and have to do a hard reboot. This last time it froze with the message that I have attached as a snapshot here. The only way out is a hard reboot. I am running Gnome.

Any advise how to go about solving this, please?

Thank you.

Re: Mageia freezes frequently

PostPosted: Apr 3rd, '17, 10:42
by doktor5000
This problem is with Mageia 5?

Well that message alone is not a freeze, it's just telling you that GDM (gnome display manager) couldn't start properly, usually that is due to missing compositing / hardware acceleration. At that point, can you try first via Ctrl+Alt+Backspace (you might have to hold Ctrl+Alt and push Backspace twice) to restart the X server. Does that work?

If it doesn't, then please try to switch to another tty via e.g. Ctrl+Alt+F2 and login as your regular user or root, and then issue the following commands as root, and redirect the output to a file which you can attach here later. You should also be able for the next reboot to select one of the older kernels in the bootloader and your system should start normally.

Code: Select all
lspcidrake -v | tee /tmp/log.txt
cat /var/log/Xorg.0.log | tee -a /tmp/log.txt
journalctl -ab -u prefdm | tee -a /tmp/log.txt
journalctl -ab -u gdm | tee -a /tmp/log.txt

Re: Mageia freezes frequently

PostPosted: Apr 4th, '17, 06:34
by mrigs
As always, thank you doktor5000. It seems to be working now, after I once tried the gnome xorg option during login, and installed some pending updates. Perhaps a bad update was causing this? Now I am back to using my system properly with the default gnome desktop.

doktor5000 wrote:This problem is with Mageia 5?

I think I may be on the latest sta-snapshot-2 now. I remember getting the snapshot 1 installed back when it was released last year.

Code: Select all
[mrigs@andromeda ~]$ uname -a
Linux andromeda 4.9.20-desktop-1.mga6 #1 SMP Fri Mar 31 19:32:31 UTC 2017 i686 i686 i686 GNU/Linux

Well that message alone is not a freeze, it's just telling you that GDM (gnome display manager) couldn't start properly, usually that is due to missing compositing / hardware acceleration. At that point, can you try first via Ctrl+Alt+Backspace (you might have to hold Ctrl+Alt and push Backspace twice) to restart the X server. Does that work?

None of those key combinations were working. And that message was only once. Most of the times it just froze.

If it doesn't, then please try to switch to another tty via e.g. Ctrl+Alt+F2 and login as your regular user or root, and then issue the following commands as root, and redirect the output to a file which you can attach here later. You should also be able for the next reboot to select one of the older kernels in the bootloader and your system should start normally.

Code: Select all
lspcidrake -v | tee /tmp/log.txt
cat /var/log/Xorg.0.log | tee -a /tmp/log.txt
journalctl -ab -u prefdm | tee -a /tmp/log.txt
journalctl -ab -u gdm | tee -a /tmp/log.txt

Attaching the log.txt here.

Re: Mageia freezes frequently

PostPosted: Apr 4th, '17, 12:02
by doktor5000
mrigs wrote:
doktor5000 wrote:This problem is with Mageia 5?

I think I may be on the latest sta-snapshot-2 now. I remember getting the snapshot 1 installed back when it was released last year.

Please submit cauldron questions in the cauldron subforum in the future, I've moved this thread there now.

Re: Mageia freezes frequently

PostPosted: Apr 4th, '17, 17:28
by doktor5000
The logs are looking fine, and you're using the nvidia340 proprietary driver. I only see a pretty big step in time but not causes for the freeze:
Code: Select all
[    61.135] (II) event12 - (II) Dell WMI hotkeys: (II) device is a keyboard
[    62.272] (II) NVIDIA(GPU-0): Display (Seiko/Epson (DFP-0)) does not support NVIDIA 3D
[    62.272] (II) NVIDIA(GPU-0):     Vision stereo.
[    71.325] (II) NVIDIA(GPU-0): Display (Seiko/Epson (DFP-0)) does not support NVIDIA 3D
[    71.325] (II) NVIDIA(GPU-0):     Vision stereo.
[    86.105] (**) Option "fd" "39"
[    86.106] (II) event1  - (II) Video Bus: (II) device removed
[    86.107] (**) Option "fd" "42"
[    86.107] (II) event3  - (II) Power Button: (II) device removed
[    86.107] (**) Option "fd" "43"
[    86.107] (II) event4  - (II) Sleep Button: (II) device removed
[    86.108] (**) Option "fd" "44"
[    86.108] (II) event8  - (II) Laptop Integrated Webcam: (II) device removed
[    86.108] (**) Option "fd" "45"
[    86.108] (II) event5  - (II) Logitech M510: (II) device removed
[    86.109] (**) Option "fd" "46"
[    86.109] (II) event6  - (II) Broadcom Corp: (II) device removed
[    86.109] (**) Option "fd" "47"
[    86.109] (II) event7  - (II) Broadcom Corp: (II) device removed
[    86.109] (**) Option "fd" "48"
[    86.110] (II) event0  - (II) AT Translated Set 2 keyboard: (II) device removed
[    86.110] (**) Option "fd" "49"
[    86.110] (II) event13 - (II) AlpsPS/2 ALPS GlidePoint: (II) device removed
[    86.110] (**) Option "fd" "50"
[    86.110] (II) event12 - (II) Dell WMI hotkeys: (II) device removed
[    87.855] (II) systemd-logind: got pause for 13:76
[    87.855] (II) systemd-logind: got pause for 13:71
[    87.856] (II) systemd-logind: got pause for 13:69
[    87.856] (II) systemd-logind: got pause for 226:0
[    87.856] (II) systemd-logind: got pause for 13:68
[    87.856] (II) systemd-logind: got pause for 13:65
[    87.856] (II) systemd-logind: got pause for 13:72
[    87.856] (II) systemd-logind: got pause for 13:77
[    87.856] (II) systemd-logind: got pause for 13:70
[    87.856] (II) systemd-logind: got pause for 13:64
[    87.856] (II) systemd-logind: got pause for 13:67


You probably need to attach a full journalctl -ab log for the boot where the freezes occur, otherwise we can't tell what the root cause might be.
Please also add the output as root of
Code: Select all
rpm -qa|sort|grep -iE "nvidia|kernel"
dkms status

Re: Mageia freezes frequently

PostPosted: Apr 5th, '17, 02:11
by mrigs
I will wait for the next freeze to get the logs updated here. Here are the output of the rest of the commands you requested, doktor5000 -

Code: Select all
[root@andromeda mrigs]# rpm -qa|sort|grep -iE "nvidia|kernel"
dkms-nvidia340-340.102-5.mga6.nonfree
kernel-desktop-4.6.3-1.mga6-1-1.mga6
kernel-desktop-4.9.20-1.mga6-1-1.mga6
kernel-desktop-devel-4.9.20-1.mga6-1-1.mga6
kernel-desktop-devel-latest-4.9.20-1.mga6
kernel-desktop-latest-4.9.20-1.mga6
kernel-firmware-20170217-1.mga6
kernel-firmware-nonfree-20170309-1.mga6.nonfree
kernel-userspace-headers-4.9.20-1.mga6
nvidia340-doc-html-340.102-5.mga6.nonfree
x11-driver-video-nvidia340-340.102-5.mga6.nonfree
[root@andromeda mrigs]# dkms status
nvidia340, 340.102-5.mga6.nonfree, 4.9.20-desktop-1.mga6, i586: installed

Re: Mageia freezes frequently

PostPosted: Apr 5th, '17, 13:10
by doktor5000
Seems you are missing the binary (precompiled) dkms module for nvidia340 or there may be a conflict with the dkms one, and it also seems you have manually cleaned up your installed kernel packages, or you have ran urpme --auto-orphans? You should have nvidia340-kernel-desktop-latest installed when you selected it via drakx11.

Best bet is to swich to some generic software driver via drakx11 (vesa or so), then remove all nvidia packages and then reinstall them bia selecting the proprietary nvidia driver again via drakx11.