I'm running 32 bit Fedora 30 on a ASUS laptop, with xfce4, systemd, etc. Sometimes, the system freezes, the mouse has no more influence. I cannot switch to a console using Crtl-Alt-F#. I'm not sure if this is related to a mouse mouving. No message on the screen. I'm only able to shutdown after a long pressing of the power-on button.
After rebooting in the single user mode, I cannot find anything in the /var/log directory which can give me any information about an occured error. When examining the log using journalctl, I can see the last entries of the previous boot: "systemd-logind []: Power key pressed" resulting from my short pressing of this key in the attempt to get the attention of the system. I conclude that the system was not completly dead, but nothing was accepted from the keybord. On this laptop, nearly everything is entered via the keyboard, the power key is the only exception.
Because of the lack of information about this situation, I wish to collect a good amount of information when this bad situation will occur again. I my opinion, I think that the pressing of the power should be used to trigger a system status dump into a diskfile. I will probably have to replace temporarilly the /etc/acpi/actions/power.sh by a special file which should trigger this status request.
What do you suggest me to include in this file ? What is your opinion about this way ? Do you have a better suggestion ?
ssh
into the machine when it "freezes"?ssh
into the laptop from another machine... the laptop's keyboard would be irrelevant and you may be able to diagnose the problem.sudo dnf upgrade