[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hwclock and time



Thanks, Laurent, for your suggestions. In my case, I had made
a foolish mistake. In the /etc/init.d/hwclock.sh, there are
two lines:

    hwclock --adjust $GMT
    hwclock --hctosys $GMT

Instead of just commenting out the first line, I had commented out
both lines. Once I put pack the 2nd line, deleted /etc/adjtime
and run hwclock to set the proper time, everything was OK.

Sebastian.

> On Thu, 02 Dec, 1999 _ 07:17:08AM -0500, Sebastian Canagaratna wrote:
> > I have been following the postings about hte inaccuracy of time
> > brought about by shutting down the machine.
> > 
> > The suggestions were: rem /etc/adjtime, run hwclock
> > and remove hwclock --adjust line from /etc/initd.hwclock.sh
> > 
> > I have done this, run hwclock to adjust the time and then run
> > hwclock --hctosys
> > 
> > but everytime I shutdown the machine, the next time I reboot
> > the time is wrong. I am running slink, and kernel 2.2.10.
> > 
> Just a suggestion : I think that you've enabled APM in your BIOS and not in
> your kernel. If you're using APM, it is important (for the clock) to have an
> APM aware kernel...
> 
> If my suggestion is wrong, could you let me know it please ?
> 
> -- 
>  ( >-   Laurent PICOULEAU                                      -< )
>  /~\       lcrpic@a2points.com                                  /~\
> |  \)    Linux : mettez un pingouin dans votre ordinateur !    (/  |
>  \_|_    Seuls ceux qui ne l'utilisent pas en disent du mal.   _|_/
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> 
> 


Reply to: