RPi 4B doesn't reboot

Help with Raspberry Pi Foundation Boards (Raspberry Pi, Pi Zero, Pi Zero W, Pi A, Pi B, Pi B+, Pi2 B, Pi3 B, Pi 3 B+)
User avatar
KE0FHS
Posts: 1122
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

RPi 4B doesn't reboot

Post by KE0FHS »

FYI, just a little thing:

The Pi-Star Power > Reboot command works fine for my RPi Zero W and 3A+ based hotspots, but doesn't work for my 4B based hotspots.

For the RPi 4B hotspots: In the Pi-Star UI, it remains on the reboot message for awhile (probably 90 secs):
Reboot command has been sent to your Pi, please wait up to 90 secs for it to reboot.
You will be re-directed back to the dashboard automatically in 90 seconds.
Then it times out and cycles to a Server Not Found browser message:
The connection has timed out
The server at pi-star.local is taking too long to respond.

In the hotspot itself, the Nextion display reads: MMDVM STOPPED. And there it remains (have walked away and returned much later to no change) until I power off and back on manually.
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm
KE7FNS
Pi-Star Team
Posts: 1947
Joined: Wed Apr 17, 2019 11:11 pm

Re: RPi 4B doesn't reboot

Post by KE7FNS »

KE0FHS wrote: Fri Mar 12, 2021 7:43 pm The server at pi-star.local is taking too long to respond.

In the hotspot itself, the Nextion display reads: MMDVM STOPPED. And there it remains (have walked away and returned much later to no change) until I power off and back on manually.
Weird. I'm not getting that on a Pi 4 Model B Rev 1.2.

You've got some of the very early ones right?

Whats the result of this?

Code: Select all

grep 'Hardware\|Revision\|Model' /proc/cpuinfo
I opened PuTTY and when I click reboot and answer yes, about 5 seconds later I get a DING, and PuTTY reports the connection was closed.
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:
KE7FNS
Pi-Star Team
Posts: 1947
Joined: Wed Apr 17, 2019 11:11 pm

Re: RPi 4B doesn't reboot

Post by KE7FNS »

Another thing what kernel version are you on?
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:
User avatar
KE0FHS
Posts: 1122
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: RPi 4B doesn't reboot

Post by KE0FHS »

Thanks for the reply. Yes, an earlier version:
Hardware : BCM2711
Revision : a03111
Model : Raspberry Pi 4 Model B Rev 1.1

Kernel: 5.10.17-v7l+ Pi
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm
User avatar
KE0FHS
Posts: 1122
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: RPi 4B doesn't reboot

Post by KE0FHS »

I just thought of something: I'm using a Pimoroni Fan SHIM on both of my 4B hotspots (https://shop.pimoroni.com/products/fan-shim).

I wonder if that's interfering with the reboot?

If it is, it's worth the loss of the reboot functionality.

EDIT: Scratch that. Removed the Fan SHIM and same issue persists.
Last edited by KE0FHS on Fri Mar 12, 2021 11:05 pm, edited 1 time in total.
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm
KE7FNS
Pi-Star Team
Posts: 1947
Joined: Wed Apr 17, 2019 11:11 pm

Re: RPi 4B doesn't reboot

Post by KE7FNS »

KE0FHS wrote: Fri Mar 12, 2021 10:30 pm I wonder if that's interfering with the reboot?
I don't think it would be causing a conflict. It seems to be something to do with the OS itself. There are a few posts about the issue over on the official RPi forums.

I wonder if you could open a PuTTY terminal, and type "sudo shutdown -r now" and see what it does? If you lose the terminal connection then the RPi rebooted so it must be failing when it tries to boot. So at that point I'd power things off, and try again however this time plug in a microHDMI
cable and see what the eeprom reports.

Also, whats the result of

Code: Select all

sudo rpi-eeprom-update
You could also check the ACT led, it might be spitting out a code:

Code: Select all

LED warning flash codes
If a Pi fails to boot for some reason or has to shut down, in many cases an LED will be flashed a specific number of times to indicate what happened. The LED will blink for a number of long flashes (0 or more), then short flashes, to indicate the exact status. In most cases, the pattern will repeat after a 2-second gap.

Long flashes	Short flashes	Status
0	3	Generic failure to boot
0	4	start*.elf not found
0	7	Kernel image not found
0	8	SDRAM failure
0	9	Insufficient SDRAM
0	10	In HALT state
2	1	Partition not FAT
2	2	Failed to read from partition
2	3	Extended partition not FAT
2	4	File signature/hash mismatch - Pi 4
4	4	Unsupported board type
4	5	Fatal firmware error
4	6	Power failure type A
4	7	Power failure type B
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:
User avatar
KE0FHS
Posts: 1122
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: RPi 4B doesn't reboot

Post by KE0FHS »

1) Right, removing the Fan SHIM didn't make a difference.

2) sudo rpi-eeprom-update
BCM2711 detected
Dedicated VL805 EEPROM detected
Checking for updates in /lib/firmware/raspberrypi/bootloader/default
Use raspi-config to select either the default-production release or latest update.
BOOTLOADER: up-to-date
CURRENT: Thu 03 Sep 2020 12:11:43 PM UTC (1599135103)
LATEST: Thu 03 Sep 2020 12:11:43 PM UTC (1599135103)
RELEASE: default
VL805: up-to-date
CURRENT: 000138a1
LATEST: 000138a1

3) sudo shutdown -r now
If I understand correctly, I do lose the terminal connection (my SSH command terminal stops functioning).
Pi-Star doesn't boot up again.

4) I'm not getting an ACT LED error code.

5) Don't understand this one: plug in a microHDMI cable and see what the eeprom reports
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm
KE7FNS
Pi-Star Team
Posts: 1947
Joined: Wed Apr 17, 2019 11:11 pm

Re: RPi 4B doesn't reboot

Post by KE7FNS »

KE0FHS wrote: Fri Mar 12, 2021 11:23 pm 1) Right, removing the Fan SHIM didn't make a difference.
Yeah, I didn't think it would.
KE0FHS wrote: Fri Mar 12, 2021 11:23 pm 2) sudo rpi-eeprom-update
BCM2711 detected
Dedicated VL805 EEPROM detected
Checking for updates in /lib/firmware/raspberrypi/bootloader/default
Use raspi-config to select either the default-production release or latest update.
BOOTLOADER: up-to-date
CURRENT: Thu 03 Sep 2020 12:11:43 PM UTC (1599135103)
LATEST: Thu 03 Sep 2020 12:11:43 PM UTC (1599135103)
RELEASE: default
VL805: up-to-date
CURRENT: 000138a1
LATEST: 000138a1
Thats interesting, that version matches mine so that crosses that off the list. There is also a "latest" release that you could possibly test and see if theres a difference. Let me know if you want instructions on how to update that.
KE0FHS wrote: Fri Mar 12, 2021 11:23 pm 3) sudo shutdown -r now
If I understand correctly, I do lose the terminal connection (my SSH command terminal stops functioning).
Pi-Star doesn't boot up again.
Yeah, so the RPi has actually rebooted, but something is preventing it from booting when it already has power applied. Whats odd is when its a cold boot it boots fine.
KE0FHS wrote: Fri Mar 12, 2021 11:23 pm 4) I'm not getting an ACT LED error code.
Interesting.
KE0FHS wrote: Fri Mar 12, 2021 11:23 pm 5) Don't understand this one: plug in a microHDMI cable and see what the eeprom reports
Heh. You'll need to plug in a monitor to see the terminal where the eeprom is displaying its error report since there aren't any LED flashes.

Image

That terminal will also show the processes/services being stopped when you click the reboot button on the dashboard, to confirm that the reboot is actually taking place.
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:
User avatar
KE0FHS
Posts: 1122
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: RPi 4B doesn't reboot

Post by KE0FHS »

Okay, thanks, I'll tackle that HDMI test another day. May not be until next week as we have a massive snowstorm headed our way tonight through Sunday night. Power lines down is possible, tons of snow shoveling is certain!
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm
User avatar
KE0FHS
Posts: 1122
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: RPi 4B doesn't reboot

Post by KE0FHS »

After swapping in a new RPi 4B and then a microSD card from a hotspot that did reboot with no luck, I finally swapped in a different radio/modem board. That turned out to be the issue. It's possible I messed it up when I soldered on the connector pins for the Nextion. Anyway, nice to have a fully working hotspot again. Thanks again for your help.
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm
Post Reply