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

problem with "cold boot" (and possible fix) #11

Open
pjritee opened this issue Dec 3, 2016 · 1 comment
Open

problem with "cold boot" (and possible fix) #11

pjritee opened this issue Dec 3, 2016 · 1 comment

Comments

@pjritee
Copy link

pjritee commented Dec 3, 2016

I tried both the new installation script and the old one (and other variants from googling) and I always get the same problem. If I have the Raspberry Pi turned off for some time and boot it up then /dev/rtc does not exist before pifacertc is run. However if I reboot then everything is OK.
After even more googling I came across
https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=16218
I purged fake-hwclock but that didn't fix the problem. However the suggestion to change hwclock.sh to
have

Required-Start: mountdevsubfs kmod

X-Start-Before:

Note: it was

X-Start-Before: checkroot

but that gives a loop when running update-rc.d hwclock.sh enable

Knock on wood but I have tried a cold boot twice now and it succeeded both times whereas it used to fail all the time.

Maybe worth considering modifying the install script to do these edits in hwclock.sh if you manage to reconstruct the problem (and this solution works).

@pjritee
Copy link
Author

pjritee commented Dec 3, 2016

Spoke too soon - I booted it this morning after the night turned off and it failed. I didn't have the WiFi dongle plugged in though (for the first time).

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

No branches or pull requests

1 participant