Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8051

Troubleshooting • Re: Pi Zero W rebooting itself

$
0
0
OK, up and at it. A little bit of scripting gets me the first line of the journal for each available boot:

Code:

pi@pi0w7:~/bin $ for i in `seq -6 1 0`; do journalctl -b $i --no-pager | awk 'NR==1 {print} END {}'; doneNo journal boot entry found for the specified boot (-6).No journal boot entry found for the specified boot (-5).No journal boot entry found for the specified boot (-4).Dec 19 11:52:39 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 19 14:58:19 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 19 16:25:31 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 19 20:22:29 pi0w7 kernel: Booting Linux on physical CPU 0x0
What I notice is that the rebooting happened every few hours during the day, when I was trying to keep that Python code going, and not at all after 9PM when I stopped doing so.

I had tried printing the last line too with "END {print}" but that didn't seem informative.

Statistics: Posted by tinker2much — Sat Dec 20, 2025 2:07 pm



Viewing all articles
Browse latest Browse all 8051

Trending Articles