lkml.org 
[lkml]   [1999]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux an my RTC don't get along
On Thu, Nov 25, 1999 at 10:23:47AM -0800, brian@worldcontrol.com wrote:

> routr# rdate -s time.nist.gov
> routr# setclock
> routr# date
> Thu Nov 25 10:18:12 PST 1999
>
> routr# shutdown -f -h now
>
> (power off)
> (power on)
>
> ....
>
> routr# date
> Thu Nov 4 11:41:48 PST 1999
>
>
> This behavior is completely repeatable.

Well, setclock is just a small wrapper around clock or hwclock.
So, you can use these programs to look for yourself.

(i) test the RTC before rebooting.
date is no good, it reads the system time, not the RTC.
Use clock -r, or hwclock --show.

(ii) test the RTC after rebooting.

In this way you can distinguish problems in hardware /
problems in kernel / problems in hwclock / problems in user.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.167 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site