Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reboot on Pi 3B not working #18

Closed
robynjayqueerie opened this issue May 22, 2018 · 13 comments
Closed

Reboot on Pi 3B not working #18

robynjayqueerie opened this issue May 22, 2018 · 13 comments
Labels
question Further information is requested

Comments

@robynjayqueerie
Copy link

robynjayqueerie commented May 22, 2018

Thank you for cleaning up this Pi Desktop. I was struggling with the original before I found your fork.
Just one issue that I can see. I started with a Pi 3B and the Desktop. Eventually I did get the latest Raspian Stretch installed on a SSD and got it booting up without SD card. I installed the pidesktop as instructed from the .deb file. Whenever I use Reboot from the GUI Shutdown menu, it goes through the exercise of 30 seconds of flashing then shuts down. If I replace the Pi 3B with a Pi 3B+ the reboot function works as expected. I am using a cheaper Vaseky 1.8" 32GB MSATA drive but I don't think that is the issue as the Pi 3B+ works fine. BTW a sudo reboot shows the same behaviour on both Pi's
Do you have any ideas?
Thanks

@hoopsurfer hoopsurfer added the question Further information is requested label May 24, 2018
@hoopsurfer
Copy link
Owner

Can you provide the output of pd-check? Reboot from the menu or the command line should work exactly the same. For me with a 3B or 3B+ reboot either way takes just seconds before the Pi Desktop top LED stops flashing.

First thing I would check is if you have the latest Raspian Stretch kernel and matching firmware via pd-check and you should see dates after March. If you see March or earlier you should:

sudo apt update
sudo apt full-upgrade

And try pd-check again to see the new dates.

@hoopsurfer
Copy link
Owner

Here is what I see:

OS & Firmware versions:

raspberrypi-firmware soc:firmware: Attached to firmware from 2018-04-16 18:16
Linux 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 GNU/Linux

@robynjayqueerie
Copy link
Author

robynjayqueerie commented May 25, 2018 via email

@hoopsurfer
Copy link
Owner

It looks like you have the correct firmware, I'm expecting when you say it works with the 3B+ you are using the same mSATA SSD with the exact same raspian image on it just changing the underlying board correct?

IF that is true, one possibility is you have /boot/config.txt setup to be board specific, check to make sure this line is in your config.txt and it is not specific to any one model using what are called section headers. You should see the gpio option in your config.txt and it must be executed to turn off the flashing from the power management controller (else it shuts the system down after ~30 seconds as you are seeing)

gpio=6=op,pn,dl

When this happens during boot (early stage boot), it causes the case top LED to stop flashing. I will do some retesting on a 3B myself when I get a chance.

@robynjayqueerie
Copy link
Author

robynjayqueerie commented May 26, 2018 via email

@robynjayqueerie
Copy link
Author

robynjayqueerie commented May 26, 2018 via email

@robynjayqueerie
Copy link
Author

robynjayqueerie commented May 27, 2018 via email

@hoopsurfer
Copy link
Owner

Are you seeing any LEDs blink on the Pi board? If that still won't boot, perhaps try:

sudo touch /forcefsck

And shutdown/start to repair a possible damaged boot partition. I have seen reboot failures from crashes and from my observations the 3B+ appears to be more sensitive.

@hoopsurfer
Copy link
Owner

hoopsurfer commented Jun 16, 2018

Another approach to force fsck at boot is to add the following to /boot/cmdline.txt. I have seen both the sudo touch /forcefsck and this approach fix a system that didn't boot.

...fsck.mode=force fsck.repair=yes

more info at: https://www.freedesktop.org/software/systemd/man/systemd-fsck@.service.html

@robynjayqueerie
Copy link
Author

robynjayqueerie commented Jun 16, 2018 via email

@hoopsurfer
Copy link
Owner

**NOTE: CHECK THAT FIRMWARE IN pd-check IS DATED 2018-06-29 OR NEWER! A needed firmware update that we requested has been made that dramatically improves reboot reliability. You can wait for the patch to make it into a formal release or if you do want to use the pre-release firmware you can run rpi-update to install the newest firmware build. Shutdown and restart and recheck that you have newer firmware with the pd-check command again.

@robynjayqueerie
Copy link
Author

robynjayqueerie commented Jul 1, 2018

after reboot the Version is 0.1.6 which is what it was before the upgrade, I think. I did not write it down though.
However the Pi3B is now rebooting reliably so something must have changed.
Thanks
robyn

@hoopsurfer
Copy link
Owner

If you updated to firmware dated 2018-06-29 or later then you have a specific reboot fix that would explain the improvement, otherwise what I've found is there are some Pi devices that tend to work on boot (without that new fix) and some that do not. Glad it is working for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants