Skip to content

hwclock displaying error on empty date with kernel openbmc-20151210-1 #33

@anoo1

Description

@anoo1

When AC cycle is applied, the RTC date is empty (issue been tracked separately to find out why the RTC is not persisting the date).
With kernel 201521202, issuing "hwclock" from the BMC command line displays the epoch time.
After updating to kernel openbmc-20151210-1, hwclock displays an error:

root@barreleye:~# hwclock
hwclock: RTC_RD_TIME: Invalid argument

After updating the RTC via "hwclock -w", the "hwclock" command will display the date, so the issue is only when the RTC is empty.

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