Nihal Navath
Posts: 17
Joined: Tue Sep 21, 2021 6:14 pm

Raspberry pi 4 won't boot after a immediate restart/shutdown

Thu Sep 23, 2021 1:49 pm

Hey all,

So I am facing a weird problem, my raspberry pi 4 fails to boot immediately following a reboot or shutdown, if I try to reboot the rasp it shows solid red and green led, and I can't ssh or ping the raspberry pi, but if I wait for a hour or so and then reboot again it succesfully boots without any problem, tried searching online but I seem to be the only one facing the promblem any possible reasons why this is happening? could it be the temperature? (waiting cools it down), really frustrated and annoyed with raspberry pi



Other info that might be useful:-
No additial conneced devices (keyboard, mouse, etc)
I do have a tv monitor connected, but shows "no output"

Sd card - San disk 32 GB

GlowInTheDark
Posts: 2035
Joined: Sat Nov 09, 2019 12:14 pm

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Thu Sep 23, 2021 2:17 pm

Yes, that's been my experience.

Actually, what I've found is that after rebooting/shutting down, it takes a few reboots for it to come up right.
Your solution was to wait an hour, but have you tried just rebooting it again (and again, etc, as needed) without waiting?
Poster of inconvenient truths.

Linux zealot and proud of it.

"nokcid" wants to date me.

Nihal Navath
Posts: 17
Joined: Tue Sep 21, 2021 6:14 pm

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Thu Sep 23, 2021 2:56 pm

GlowInTheDark wrote:
Thu Sep 23, 2021 2:17 pm
Yes, that's been my experience.

Actually, what I've found is that after rebooting/shutting down, it takes a few reboots for it to come up right.
Your solution was to wait an hour, but have you tried just rebooting it again (and again, etc, as needed) without waiting?
Hmm, no haven't tried that

[EDIT]: NO, doesn't work

What should I do? Is the pi defective?

GlowInTheDark
Posts: 2035
Joined: Sat Nov 09, 2019 12:14 pm

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Thu Sep 23, 2021 3:05 pm

What should I do? Is the pi defective?
I don't think it is defective - in the sense of that replacing it would fix the problem.

I think it is just a design defect in the Pi 4. None of my other Pi's exhibit this behavior - when they reboot, they reboot.

The Pi4, whenever I need to reboot it, it usually takes a few reboots to get it to come up right. I've learned to live with it.
It's not that big of a deal, in the grand scheme of things.
Poster of inconvenient truths.

Linux zealot and proud of it.

"nokcid" wants to date me.

User avatar
B.Goode
Posts: 12973
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Thu Sep 23, 2021 3:14 pm

Nihal Navath wrote:
Thu Sep 23, 2021 1:49 pm
Hey all,

So I am facing a weird problem, my raspberry pi 4 fails to boot immediately following a reboot or shutdown, if I try to reboot the rasp it shows solid red and green led, and I can't ssh or ping the raspberry pi, but if I wait for a hour or so and then reboot again it succesfully boots without any problem, tried searching online but I seem to be the only one facing the promblem any possible reasons why this is happening? could it be the temperature? (waiting cools it down), really frustrated and annoyed with raspberry pi



Other info that might be useful:-
No additial conneced devices (keyboard, mouse, etc)
I do have a tv monitor connected, but shows "no output"

Sd card - San disk 32 GB


Other info that might be useful:-

Power Supply arrangements;

Operating System installed on the microSD card and any further configuration;

What do you mean by 'reboot' - is this a physical power cycle operation, or something initiated by software?




(Presumably this indicates progress from your previous query where the RPi4 apparently didn't boot at all? viewtopic.php?f=28&t=320109#p1916622 Could the random shutdown and the random boot failure have a common cause?)

Nihal Navath
Posts: 17
Joined: Tue Sep 21, 2021 6:14 pm

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Thu Sep 23, 2021 3:16 pm

GlowInTheDark wrote:
Thu Sep 23, 2021 3:05 pm
What should I do? Is the pi defective?
I don't think it is defective - in the sense of that replacing it would fix the problem.

I've learned to live with it.
It's not that big of a deal, in the grand scheme of things.
Wdym? It's really bugging me, I can't even reboot when I need it, I use it to host a website, and ever since that problem started occurring I can't predict when it would turn on, and I had to shift the host

Try changing the sd card? but really sure it's not with the sd card, does ALL raspberry pies have a 12-month warranty? or is it country/seller wise?

Nihal Navath
Posts: 17
Joined: Tue Sep 21, 2021 6:14 pm

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Thu Sep 23, 2021 3:21 pm

B.Goode wrote:
Thu Sep 23, 2021 3:14 pm
Nihal Navath wrote:
Thu Sep 23, 2021 1:49 pm
Hey all,

So I am facing a weird problem, my raspberry pi 4 fails to boot immediately following a reboot or shutdown, if I try to reboot the rasp it shows solid red and green led, and I can't ssh or ping the raspberry pi, but if I wait for a hour or so and then reboot again it succesfully boots without any problem, tried searching online but I seem to be the only one facing the promblem any possible reasons why this is happening? could it be the temperature? (waiting cools it down), really frustrated and annoyed with raspberry pi



Other info that might be useful:-
No additial conneced devices (keyboard, mouse, etc)
I do have a tv monitor connected, but shows "no output"

Sd card - San disk 32 GB


Other info that might be useful:-

Power Supply arrangements;

Operating System installed on the MicroSD card and any further configuration;

What do you mean by 'reboot' - is this a physical power cycle operation, or something initiated by software?




(Presumably, this indicates progress from your previous query where the RPi4 apparently didn't boot at all? viewtopic.php?f=28&t=320109#p1916622 Could the random shutdown and the random boot failure have a common cause?)


Power Supply arrangements -- Using the official raspberry pi power source

Operating System installed on the MicroSD card and any further configuration -- Using raspberry pi os, flashed sd card using Raspberry Pi imager

What do you mean by 'reboot' - is this a physical power cycle operation, or something initiated by software? -- Both, I face the issue if I try to reboot or shutdown then start or if I just switch the power source off

User avatar
rpdom
Posts: 19137
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Thu Sep 23, 2021 4:49 pm

Do you have any USB devices connected? In particular any USB powered hubs?

It is sometimes possible on the Pi 4 where a USB device can leak power back into the system which prevents the Pi Power Control chip (PMIC) from starting correctly.
Unreadable squiggle

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 6438
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Thu Sep 23, 2021 5:13 pm

@Nihal Navath when you shutdown do (have) you always waited until the green (ACTivity) LED has flashed 10 times before removing power? ("... or if I just switch the power source off" suggest's you haven't ...)
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B, B+, and a A+) but Buster on the P3B+, P4B's & P400. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

Nihal Navath
Posts: 17
Joined: Tue Sep 21, 2021 6:14 pm

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Thu Sep 23, 2021 5:55 pm

rpdom wrote:
Thu Sep 23, 2021 4:49 pm
Do you have any USB devices connected? In particular any USB powered hubs?

It is sometimes possible on the Pi 4 where a USB device can leak power back into the system which prevents the Pi Power Control chip (PMIC) from starting correctly.
No, I do not have any USB devices connected

Nihal Navath
Posts: 17
Joined: Tue Sep 21, 2021 6:14 pm

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Thu Sep 23, 2021 5:58 pm

FTrevorGowen wrote:
Thu Sep 23, 2021 5:13 pm
@Nihal Navath when you shut down do (have) you always waited until the green (ACTivity) LED has flashed 10 times before removing power? ("... or if I just switch the power source off" suggest's you haven't ...)
Trev.
Yes, I always wait and check for a long time (like 1 minute) to check if it does reboot succesfully, but no, if I shut it down then start it up again, I just get a solid red and green led.

"("... or if I just switch the power source off" suggests you haven't ...)", I was just saying I face the issue, no matter if I do it using "sudo shutdown" or switching it off.

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 14180
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Thu Sep 23, 2021 10:43 pm

@Nihal Navath This is the second time you posted about this same topic, I deleted one duplicate!

User avatar
HawaiianPi
Posts: 6513
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Thu Sep 23, 2021 11:55 pm

GlowInTheDark wrote:
Thu Sep 23, 2021 2:17 pm
Yes, that's been my experience.
Not my experience at all.

Never had a problem immediately rebooting either of my Pi4B models after a shutdown (or just a restart). Something is definitely off with your systems. A quick unplug and re-plug of the PSU, or toggling the outlet the PSU is connect to off/on will reboot mine.

One system is running Raspberry Pi OS with desktop, the other is on Ubuntu Server (64-bit). The RPiOS system has the official RPF PSU. The Ubuntu Server system is running from an old multi-outlet charger. And yes, I realize I'm the one who often tells others to not use chargers as a PSU. Been trying to get another RPF PSU but they seem to be out of stock in places I usually order from. I'm actually surprised that system is working well, since the charger is only rated for 2.1A and the Pi has a relatively power hungry SSD on it.

Anyway, the point is, booting problems are not "normal" in my experience.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups, and where is that annoying music coming from?

Nihal Navath
Posts: 17
Joined: Tue Sep 21, 2021 6:14 pm

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Fri Sep 24, 2021 5:27 am

[Update]: So I got the monitor to work properly, and on boot I get the following error:-
Rasp-Debug.jpg
Rasp-Debug.jpg (132.73 KiB) Viewed 520 times
Any reason why?

cleverca22
Posts: 4653
Joined: Sat Aug 18, 2012 2:33 pm

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Fri Sep 24, 2021 6:04 am

its failing to detect the SD card

while its looping like that, try taking the SD card out, and then put it back in?

Nihal Navath
Posts: 17
Joined: Tue Sep 21, 2021 6:14 pm

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Fri Sep 24, 2021 6:55 am

cleverca22 wrote:
Fri Sep 24, 2021 6:04 am
its failing to detect the SD card

while its looping like that, try taking the SD card out, and then put it back in?
It does detect the sd-card, just failed to read it right? any reason why? is it the bootloader, or with the sd card? I can read the sd card fine when reading my computer

cleverca22
Posts: 4653
Joined: Sat Aug 18, 2012 2:33 pm

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Fri Sep 24, 2021 7:07 am

ive seen very similar errors when the card is not even in the pi

i'm thinking its an issue with the sd card, and power-cycling JUST the card would fix it
hence removing it, and re-inserting it, while its looping

Nihal Navath
Posts: 17
Joined: Tue Sep 21, 2021 6:14 pm

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Fri Sep 24, 2021 8:03 am

cleverca22 wrote:
Fri Sep 24, 2021 7:07 am
ive seen very similar errors when the card is not even in the pi

i'm thinking its an issue with the sd card, and power-cycling JUST the card would fix it
hence removing it, and re-inserting it, while its looping
Hmm yes, it does work, while looping if I keep removing then reinserting after a couple of tries it does boot, sometimes it gives the error 'device sd-card could not be read' other times 'start.elf and recover4.elf and recovery.elf not found'.

Nonetheless, is there a reason for this? Is the raspberry or sd card bad? I will try installing everything on a new sd card and try if that helps.

Cloudcentric
Posts: 1277
Joined: Fri Sep 14, 2012 9:13 am

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Fri Sep 24, 2021 8:10 am

Nihal Navath wrote:
Fri Sep 24, 2021 8:03 am
cleverca22 wrote:
Fri Sep 24, 2021 7:07 am
ive seen very similar errors when the card is not even in the pi

i'm thinking its an issue with the sd card, and power-cycling JUST the card would fix it
hence removing it, and re-inserting it, while its looping
Hmm yes, it does work, while looping if I keep removing then reinserting after a couple of tries it does boot, sometimes it gives the error 'device sd-card could not be read' other times 'start.elf and recover4.elf and recovery.elf not found'.

Nonetheless, is there a reason for this? Is the raspberry or sd card bad? I will try installing everything on a new sd card and try if that helps.

Does it boot without issue when booting from a USB MSD ??
.
.

Nihal Navath
Posts: 17
Joined: Tue Sep 21, 2021 6:14 pm

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Fri Sep 24, 2021 9:24 am

Cloudcentric wrote:
Fri Sep 24, 2021 8:10 am
Nihal Navath wrote:
Fri Sep 24, 2021 8:03 am
cleverca22 wrote:
Fri Sep 24, 2021 7:07 am
ive seen very similar errors when the card is not even in the pi

i'm thinking its an issue with the sd card, and power-cycling JUST the card would fix it
hence removing it, and re-inserting it, while its looping
Hmm yes, it does work, while looping if I keep removing then reinserting after a couple of tries it does boot, sometimes it gives the error 'device sd-card could not be read' other times 'start.elf and recover4.elf and recovery.elf not found'.

Nonetheless, is there a reason for this? Is the raspberry or sd card bad? I will try installing everything on a new sd card and try if that helps.

Does it boot without issue when booting from a USB MSD ??
Never tried to boot using USB

LTolledo
Posts: 5972
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Fri Sep 24, 2021 10:33 am

Nihal Navath wrote:Never tried to boot using USB
if your system does successfully boot, plug in a known good USB thumbdrive (or whatever you call it in your area)
and run SD card copier to copy from microSD to USB...
(please take note of the source and target....also please do note that this process will delete whatever contents on the target drive)
once the process is completed,
power it OFF.... (sudo poweroff... then remove the power cord)
remove the microSD... and
plug in the power to power it ON

your RPi4 should be booting now via USB thumbdrive...
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

Nihal Navath
Posts: 17
Joined: Tue Sep 21, 2021 6:14 pm

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Fri Sep 24, 2021 12:17 pm

LTolledo wrote:
Fri Sep 24, 2021 10:33 am
Nihal Navath wrote:Never tried to boot using USB
if your system does successfully boot, plug in a known good USB thumbdrive (or whatever you call it in your area)
and run SD card copier to copy from microSD to USB...
(please take note of the source and target....also please do note that this process will delete whatever contents on the target drive)
once the process is completed,
power it OFF.... (sudo poweroff... then remove the power cord)
remove the microSD... and
plug in the power to power it ON

your RPi4 should be booting now via USB thumbdrive...
but I prefer using sd card to boot, maybe if we could debug the problem instead of finding alternative solutions?

jbudd
Posts: 1911
Joined: Mon Dec 16, 2013 10:23 am

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Fri Sep 24, 2021 12:31 pm

maybe if we could debug the problem instead of finding alternative solutions?
In order to eliminate a faulty SD card:
Get a new SD card and burn raspberry pi os to it.
Does the problem still occur with that card?

In order to eliminate a faulty SD card slot:
Copy your OS to a usb flash drive. Shutdown, remove the SD card and not from the usb stick.
Does the problem still occur?

For what it's worth, one of my Pies sometimes failed to restart with sudo reboot. The problem has not recurred since I switched to an SSD drive.
Last edited by jbudd on Fri Sep 24, 2021 12:33 pm, edited 2 times in total.

User avatar
B.Goode
Posts: 12973
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Fri Sep 24, 2021 12:31 pm

Nihal Navath wrote:
Fri Sep 24, 2021 12:17 pm
LTolledo wrote:
Fri Sep 24, 2021 10:33 am
Nihal Navath wrote:Never tried to boot using USB
if your system does successfully boot, plug in a known good USB thumbdrive (or whatever you call it in your area)
and run SD card copier to copy from microSD to USB...
(please take note of the source and target....also please do note that this process will delete whatever contents on the target drive)
once the process is completed,
power it OFF.... (sudo poweroff... then remove the power cord)
remove the microSD... and
plug in the power to power it ON

your RPi4 should be booting now via USB thumbdrive...
but I prefer using sd card to boot, maybe if we could debug the problem instead of finding alternative solutions?


The forum sub-section where this discussion is taking place is headed Troubleshooting.


Knowing whether your RPi4 board will boot a working Operating System is an important part of that diagnostic process.

LTolledo
Posts: 5972
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Raspberry pi 4 won't boot after a immediate restart/shutdown

Fri Sep 24, 2021 12:33 pm

another way....

put your microSD card in your USB microSD card reader
plug that reader to the USB slot
power up the RPi4

does your problem go away? or wants to stay?
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

Return to “Troubleshooting”