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

Troubleshooting • Re: Pi Zero W rebooting itself

$
0
0
The SBC formerly known as pi0w7, which had been in the troublesome tree setup, and which has been driving the other tree for more than 48 hours, hasn't rebooted once.
The SBC formerly known as pi0w4, out of the never troubled tree setup, and which has been hanging with a bad crowd for more than 48 hours, has rebooted many times.

I have no idea what's wrong with either the Python code and/or the flat tree PCB its driving, but there's clearly a high chance of reboots when the code is running, and no chance of reboots when its not. Here are the times of the last 25 reboots. They always occur within the hours where the Python is to run, i.e., 08:00 to 21:00:

Code:

pi@pi0w7:~ $ for i in `seq -25 1 0`; do journalctl -b $i --no-pager | awk 'NR==1 {print}'; doneDec 21 08:36:07 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 21 10:51:58 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 21 11:11:43 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 21 14:05:04 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 21 15:06:27 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 21 16:04:14 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 21 16:29:52 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 21 17:27:32 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 22 08:04:53 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 22 08:57:34 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 22 09:57:55 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 22 10:20:53 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 22 15:09:57 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 22 17:51:19 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 22 20:35:01 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 23 08:48:57 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 24 12:03:51 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 24 13:04:55 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 24 20:25:47 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 25 09:09:32 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 25 12:01:28 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 25 15:16:18 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 25 17:28:42 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 25 18:18:42 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 25 18:57:35 pi0w7 kernel: Booting Linux on physical CPU 0x0Dec 26 08:41:24 pi0w7 kernel: Booting Linux on physical CPU 0x0

Since I can't figure out what could be wrong with the code or the PCB, and the only other piece I haven't swapped out is the micro SD card, (and because its easy) I'm going to do that: burn a new card, copy over the one directory, set up cron, and see what happens.
Edit: After swapping the SBCs back to where they were originally.

Statistics: Posted by tinker2much — Fri Dec 26, 2025 4:37 pm



Viewing all articles
Browse latest Browse all 8015

Trending Articles