From: Robert Reif <reif@earthlink.net>
To: sparclinux@vger.kernel.org
Subject: Re: [PATHC 0/2] sparc32: convert to RTC subsystem
Date: Thu, 04 Sep 2008 02:15:21 +0000 [thread overview]
Message-ID: <48BF44B9.6030303@earthlink.net> (raw)
In-Reply-To: <20080903183232.b57f5a05.krzysztof.h1@wp.pl>
David Miller wrote:
> Older hwclock binaries won't look for /dev/rtc0, newer ones do.
> So the symlink is necessary for machines with the older binary.
>
>
>> Time read from Hardware Clock: 2108/09/04 01:30:25
>> Invalid values in hardware clock: 2108/09/04 01:30:25
>>
>
> Hmmm, 100 years too large, that looks familiar.
>
> Krzysztof?
>
>
With newer version and symlink removed:
ss20-1:~/hwclock-2.32# ./hwclock --debug
hwclock 2.32
Kernel IS in 11 minute mode
User did not specify a clock access method. Searching for one...
Found RTC device special file '/dev/rtc0'
Using rtc ioctl interface to clock via file '/dev/rtc0'.
Adjtime file contents:
drift factor = 0.021200, missed in last set = 0.000000
UTC (0 seconds west of GMT), epoch = -1
Last drift adjustment done Wed Sep 3 21:10:23 2008 (Time 1220490623)
+ 0.000000 secs
Last calibration done Wed Sep 3 21:10:23 2008 (Time 1220490623)
Correction: 0.000000
Not booted from MILO
Assuming hardware clock's zero year is 1900
Assuming hw clock is kept in UTC time with offset 0 mins.
At 1220494343.809750, waiting for clock tick...
RTC device does not have interrupt functions.
Waiting in loop for time from rtc device driver to change
...got clock tick at system time 1220494344.499652
Raw time read from Hardware Clock: Y!08 M=9 D=4 02:12:24
mktime_tz: TZ environment variable is not set.
mktime_tz: temporarily setting TZ to HWCLOCK_TEMP +00:00
Invalid values in hardware clock: 208/09/04 02:12:24
hwclock: The Hardware Clock registers contain values that are either
invalid (e.g. 50th day of month) or beyond the range we can handle (e.g.
Year 2095).
new timezone offset for hardware clock is 0
next prev parent reply other threads:[~2008-09-04 2:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-03 16:32 [PATHC 0/2] sparc32: convert to RTC subsystem Krzysztof Helt
2008-09-03 21:41 ` David Miller
2008-09-03 21:54 ` Andrew Morton
2008-09-03 22:12 ` David Miller
2008-09-04 1:42 ` Robert Reif
2008-09-04 1:49 ` David Miller
2008-09-04 2:15 ` Robert Reif [this message]
2008-09-08 3:50 ` Robert Reif
2008-09-08 4:26 ` Robert Reif
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48BF44B9.6030303@earthlink.net \
--to=reif@earthlink.net \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.