lkml.org 
[lkml]   [1999]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Clock not reset
Date
Riley,

> Hi there.
>
> > While I'm mailing the list, Daylight saving's time just came
> > about. Linux automatically updated the time (or perhaps a daemon
> > I'm unaware of), however when I rebooted the time went back an
> > hour (e.g. the system clock wasn't changed). This happened on
> > both of my Linux boxes. When I used date --set to set the time,
> > the time went back an hour when I rebooted (both boxes). My
> > question is, is this a date problem, a Linux problem, or a BIOS
> > problem?
>
> Sounds like you have your system set so the hardware clock runs in
> non-UTC mode, possibly because you also have Win9x present and it
> requires that?
>
> My fix was to add the following command to the shutdown script:
>
> Q> hwclock --systohc
>
> This has the effect of resetting the hardware clock to the system
> clock time at that point, so avoids such problems...
My system runs Win 95 + Redhat 5.0 and the clock shows EDT in both OS's. I
haven't checked the scripts, so RH might preset something like what you
show.

Matthew D. Pitts
mpitts@suite224.net


-
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:51    [W:0.035 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site