Skip to content

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

@pjritee

Description

@pjritee

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions