20.04 System lockup

Two days in a row I have had my system completely lock up and require a power off/on.
What might I look for in the system logs to help understand the issue?

This is the recommended wiki X/Troubleshooting/Freeze - Ubuntu Wiki

the replacement for dmesg in later versions of Ubuntu is journalctl

journatctl -ae --full

Basically the latest logs are time-stamped - so scroll back and look at around the last time before the time resets on a reboot.

The last kernel update was on the 26th Jan - so if you haven’t updated since then it might be the kernel boot via grub using an older kernel https://launchpad.net/ubuntu/+source/linux

Similarly xorg-server (graphics) was updated at the end of Jan https://launchpad.net/ubuntu/+source/xorg-server

If you have been regularly updating since then you might want to consider what other changes (software/hardware) you may have done. If nothing comes to mind … failing hardware?

I think you mean journalctl -ae --full
It only has data from after the restart.

OK, I see what I was doing wrong. However, the log starts at 8:01 just after a reboot.

OK, figured it out. I use the Brave browser and it looks like an extension porked.

Feb 23 07:59:17 ub-desktop gnome-keyring-daemon[1323]: asked to register item /org/freedesktop/secrets/collection/login/1, but it’s already registered
Feb 23 07:59:17 ub-desktop plank.desktop[103414]: [103415:103415:0223/075917.244058:ERROR:profile_attributes_storage.cc(526)] Failed to PNG encode the image.
Feb 23 07:59:17 ub-desktop plank.desktop[103414]: [103415:103415:0223/075917.443478:ERROR:sharing_service.cc(218)] Device registration failed with fatal error
Feb 23 07:59:17 ub-desktop plank.desktop[103414]: [103415:103415:0223/075917.601701:ERROR:CONSOLE(1)] "[Shields]: Can’t request shields panel data. Error: No tab url specified", source: chrome-extension://mn>
Feb 23 07:59:17 ub-desktop kernel: nouveau 0000:02:00.0: fifo: fault 00 [READ] at 00000000031e0000 engine 00 [GR] client 05 [GPC0/PE_1] reason 02 [PTE] on channel 2 [003fb4b000 Xorg[863]]
Feb 23 07:59:17 ub-desktop kernel: nouveau 0000:02:00.0: fifo: channel 2: killed
Feb 23 07:59:17 ub-desktop kernel: nouveau 0000:02:00.0: fifo: runlist 0: scheduled for recovery
Feb 23 07:59:17 ub-desktop kernel: nouveau 0000:02:00.0: fifo: engine 0: scheduled for recovery
Feb 23 07:59:17 ub-desktop kernel: nouveau 0000:02:00.0: Xorg[863]: channel 2 killed!
Feb 23 07:59:42 ub-desktop dbus-daemon[634]: [system] Failed to activate service ‘org.bluez’: timed out (service_start_timeout=25000ms)
Feb 23 08:00:02 ub-desktop kernel: nouveau 0000:02:00.0: Xorg[863]: failed to idle channel 4 [Xorg[863]]
Feb 23 08:00:08 ub-desktop systemd-logind[668]: Power key pressed.

1 Like