[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: enable journal



On 2021-01-03 15:52, Felix Miata wrote:
David Christensen composed on 2021-01-03 15:41 (UTC-0800):

Again, not of much use (?).  How do I get information out of the systemd
journal?

sudo mkdir /var/log/journal

	or

turn it on in /etc/systemd/journald.conf.

STFW 'systemd journal':

https://wiki.archlinux.org/index.php/Systemd/Journal


Edit /etc/systemd/journald.conf:

Storage=persistent


Reboot.  Verify journal exists on disk:

2021-01-03 16:39:08 root@dipsy ~
# ls -l /var/log/journal/f1c6f007595c4c8c99bc5043ea75d9ac/system.journal
-rw-r-----+ 1 root systemd-journal 8388608 Jan 3 16:35 /var/log/journal/f1c6f007595c4c8c99bc5043ea75d9ac/system.journal


Look at journal:

2021-01-03 16:40:12 root@dipsy ~
# journalctl | tail
Jan 03 16:35:19 dipsy ntpd[708]: Soliciting pool server 138.68.201.49
Jan 03 16:35:20 dipsy ntpd[708]: Soliciting pool server 184.105.182.16
Jan 03 16:35:20 dipsy colord[701]: failed to get session [pid 633]: No data available
Jan 03 16:35:21 dipsy ntpd[708]: Soliciting pool server 163.123.152.89
Jan 03 16:35:22 dipsy ntpd[708]: Soliciting pool server 107.155.79.3
Jan 03 16:35:23 dipsy ntpd[708]: Soliciting pool server 66.85.78.80
Jan 03 16:35:24 dipsy ntpd[708]: receive: Unexpected origin timestamp 0xe39ce14d.26c92953 does not match aorg 0000000000.00000000 from server@3.217.79.242 xmt 0xe39ce14c.c2bde0d4 Jan 03 16:35:26 dipsy systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Jan 03 16:35:36 dipsy systemd[1]: systemd-fsckd.service: Succeeded.
Jan 03 16:35:36 dipsy systemd[1]: systemd-hostnamed.service: Succeeded.


Start Firefox. Browse to YouTube. Play "Relaxing Christmas Jazz Music 10 Hours". Minimize Firefox window. Wait. Look at systemd journal after crash:

2021-01-03 19:37:25 root@dipsy ~
# journalctl | tail
Jan 03 19:41:32 dipsy kernel: nouveau 0000:01:00.0: Xorg[724]: nv50cal_space: -16 Jan 03 19:41:32 dipsy kernel: nouveau 0000:01:00.0: Xorg[724]: nv50cal_space: -16 Jan 03 19:41:32 dipsy kernel: nouveau 0000:01:00.0: Xorg[724]: nv50cal_space: -16 Jan 03 19:41:32 dipsy kernel: nouveau 0000:01:00.0: Xorg[724]: nv50cal_space: -16 Jan 03 19:41:33 dipsy kernel: nouveau 0000:01:00.0: Xorg[724]: nv50cal_space: -16 Jan 03 19:41:33 dipsy kernel: nouveau 0000:01:00.0: Xorg[724]: nv50cal_space: -16 Jan 03 19:41:33 dipsy kernel: nouveau 0000:01:00.0: Xorg[724]: nv50cal_space: -16 Jan 03 19:41:33 dipsy kernel: nouveau 0000:01:00.0: Xorg[724]: nv50cal_space: -16 Jan 03 19:41:33 dipsy kernel: nouveau 0000:01:00.0: Xorg[724]: nv50cal_space: -16 Jan 03 19:41:33 dipsy kernel: nouveau 0000:01:00.0: Xorg[724]: nv50cal_space: -16


After reboot:

2021-01-03 19:56:21 root@dipsy ~
# journalctl --list-boots
-1 34a8ac614d574be5ae0258dffc462c15 Sun 2021-01-03 16:35:06 PST<E2><80><94>Sun 2 0 f5adb0073b924ecf8e3733c64acfba32 Sun 2021-01-03 19:54:27 PST<E2><80><94>Sun 2

2021-01-03 20:00:55 root@dipsy ~
# journalctl -b -1 | grep nouveau | tail
Jan 03 19:53:50 dipsy kernel:  ? nouveau_channel_idle+0x94/0xe0 [nouveau]
Jan 03 19:53:50 dipsy kernel: nouveau_abi16_chan_fini.isra.1+0xa0/0x110 [nouveau]
Jan 03 19:53:50 dipsy kernel:  nouveau_abi16_fini+0x2d/0x70 [nouveau]
Jan 03 19:53:50 dipsy kernel:  nouveau_drm_postclose+0x4c/0xf0 [nouveau]
Jan 03 19:53:50 dipsy kernel: nouveau 0000:01:00.0: fifo: channel 2 [Xorg[724]] kick timeout Jan 03 19:53:50 dipsy kernel: nouveau: Xorg[724]:00000000:0000906f: detach sw failed, -110
Jan 03 19:53:50 dipsy kernel: nouveau 0000:01:00.0: fifo: SCHED_ERROR 0d []
Jan 03 19:53:52 dipsy kernel: nouveau 0000:01:00.0: fifo: runlist update timeout Jan 03 19:53:52 dipsy kernel: nouveau 0000:01:00.0: fifo: INTR 00000001: 00000003 Jan 03 19:53:53 dipsy kernel: nouveau 0000:01:00.0: DRM: GPU lockup - switching to software fbcon


The systemd journal could prove to be useful.  Thank you.  :-)


David


Reply to: