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

> routr# rdate -s
> 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
Please read the FAQ at

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