Question:

How to view journal logs in case of complete system freeze?

Background:

I am trying to debug why my laptop has started freezing up.

I can boot the system and get login prompt if I boot it with the kernel parameter nomodeset or i915.nomodeset=0.

In case I boot it up without nomodeset the system freezes completely: blank screen and non-responsive keyboard.

When booting without nomodeset, I can see some stuff on screen from systemd startup scripts.

Following the freeze I have to hard reset the laptop (holding the power button for long).

If I boot up after the freeze with nomodeset, the logs from previous boot are missing.

journalctl --verify shows corrupted logs.

What I have tried:

I have added SyncIntervalSec=5 in /etc/systemd/journald.conf to force it to sync every 5 seconds.

But that doesn't seem to work.

I have enabled SysRq via kernel parameter sysrq_always_enabled=1 and Alt+SysRq+REISUB works when I boot up with nomodeset.

But without nomodeset Alt+SysRq+REISUB doesn't work.

Last edited by parantapa (2018-12-24 06:14:12)