Re: [gentoo-user] system time/hw clock

2003-11-24 Thread Lucas Sallovitz
Sorry, I don't know how to solve your problem, but you sure didn't solve 
it as your mail has a tiemstamp of 11/25 1:37 am being 11/24 8:46 here :)

Marianne Taylor wrote:

On November 19, 2003 18:12, David Friggens wrote:
 

* Thomas T. Veldhouse [EMAIL PROTECTED] [2003-11-19 09:39]:
   

Marianne Taylor wrote:
 

Does anyone know the answer to my original question.  Up until about
a month ago I was keeping good time both in windows and in gentoo
with my hwclock set to local.  Now for some reason everytime I boot
gentoo it thinks that the hwclock is set to UTC and corrects for that
ie) it sets the time 8 hrs earlier.  So where do I look other than
rc.conf to correct this??
   

If at some point in the past, you booted the system with UTC in
/etc/rc.conf and then switched it to LOCAL and shut your system down.  It
saved the offset time as the local time.  Essentially, your system clock
was set back 8 hours.  The only fix is to manually update the time
yourself using 'date'.
 

And then deleting /etc/adjusttime ?

--
[EMAIL PROTECTED] mailing list
   

I have sort of solved my problem, but not completely.
My link to my time zone at /etc/localtime had disappeared, when I re did that 
and deleted /etc/adjtime my system was back to normal.  After rebooting again 
today, however again the /etc/localtime link had disappeared.  Any 
suggestions as to why this keeps getting deleted?  Is there anyway to track 
what program is deleting it?

Thanks I am very close.

--
[EMAIL PROTECTED] mailing list
 



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] system time/hw clock

2003-11-24 Thread Marianne Taylor
On November 24, 2003 03:46, Lucas Sallovitz wrote:
 Sorry, I don't know how to solve your problem, but you sure didn't solve
 it as your mail has a tiemstamp of 11/25 1:37 am being 11/24 8:46 here :)

Well the e-mail that left here had the proper time on it, which was 20:37 last 
evening.  I don't have a local mail server for outgoing mail, so if the time 
is getting screwed up it is after it leaves here.




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system time/hw clock

2003-11-24 Thread Marianne Taylor
On November 25, 2003 08:03, Marianne Taylor wrote:
 On November 24, 2003 03:46, Lucas Sallovitz wrote:
  Sorry, I don't know how to solve your problem, but you sure didn't solve
  it as your mail has a tiemstamp of 11/25 1:37 am being 11/24 8:46 here :)

 Well the e-mail that left here had the proper time on it, which was 20:37
 last evening.  I don't have a local mail server for outgoing mail, so if
 the time is getting screwed up it is after it leaves here.


OOOps!! My bad.  Correct time on my system, but with all the changes and 
rebooting the date was one day ahead.  corrected now.  

I did notice when changing it with the kde tool kcmshell clock that it was 
changing the time zone to UTC -- I think this was likely causing my troubles 
yesterday.  I think someone else mentioned that on the list yesterday.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system time/hw clock

2003-11-23 Thread Marianne Taylor
On November 19, 2003 18:12, David Friggens wrote:
 * Thomas T. Veldhouse [EMAIL PROTECTED] [2003-11-19 09:39]:
  Marianne Taylor wrote:
   Does anyone know the answer to my original question.  Up until about
   a month ago I was keeping good time both in windows and in gentoo
   with my hwclock set to local.  Now for some reason everytime I boot
   gentoo it thinks that the hwclock is set to UTC and corrects for that
   ie) it sets the time 8 hrs earlier.  So where do I look other than
   rc.conf to correct this??
 
  If at some point in the past, you booted the system with UTC in
  /etc/rc.conf and then switched it to LOCAL and shut your system down.  It
  saved the offset time as the local time.  Essentially, your system clock
  was set back 8 hours.  The only fix is to manually update the time
  yourself using 'date'.

 And then deleting /etc/adjusttime ?

 --
 [EMAIL PROTECTED] mailing list

I have sort of solved my problem, but not completely.
My link to my time zone at /etc/localtime had disappeared, when I re did that 
and deleted /etc/adjtime my system was back to normal.  After rebooting again 
today, however again the /etc/localtime link had disappeared.  Any 
suggestions as to why this keeps getting deleted?  Is there anyway to track 
what program is deleting it?

Thanks I am very close.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system time/hw clock

2003-11-19 Thread Marianne Taylor
On November 18, 2003 09:43, A. Craig West wrote:
 On Tue, 18 Nov 2003, Javier Gostling wrote:
  Actually, Windows assumes the hw clock to be set to local time, so if you
  set Linux to UTC, then Linux will mess your time. I had this happen some
  time ago, and instructing Linux that the hw clock is in local time solved
  the issue.

 I've never really understood why it is that Microsoft does not allow a UTC
 hardware clock. Because of daylight savings time, having the hardware clock
 set to localtime causes the actual hardware clock to be reset twice a year.
 This can result in flakiness with any process that happened to be waiting
 for a time to occur at that instant.

 My solution, which isn't particularly good, is to run any dual boot
 machines in UTC and tell windows that my timezone is Greenwich Mean Time,
 and set it to not adjust the clock for daylight savings. I would rather
 have to deal with times in GMT than have random intermittent flakiness.

Now that we are done the debate on M$ vs. linux I hope? 

Does anyone know the answer to my original question.  Up until about a month 
ago I was keeping good time both in windows and in gentoo with my hwclock set 
to local.  Now for some reason everytime I boot gentoo it thinks that the 
hwclock is set to UTC and corrects for that ie) it sets the time 8 hrs 
earlier.  So where do I look other than rc.conf to correct this??


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system time/hw clock

2003-11-19 Thread brett holcomb
It wasn't a debate on MS vs Linux - someone gave wrong 
advice so several corrected that so you didn't go barking 
up the wrong tree.

You might try man hwclock (if I remember correctly as my 
Gentoo machine is not available) allows you to update the 
system clock with what you have set.  I had to do that on 
a machine that didn't keep time.

On Tue, 18 Nov 2003 23:20:11 -0800
 Marianne Taylor [EMAIL PROTECTED] wrote:
On November 18, 2003 09:43, A. Craig West wrote:
On Tue, 18 Nov 2003, Javier Gostling wrote:
 Actually, Windows assumes the hw clock to be set to 
local time, so if you
Now that we are done the debate on M$ vs. linux I hope? 

Does anyone know the answer to my original question.  Up 
until about a month 
ago I was keeping good time both in windows and in gentoo 
with my hwclock set 
to local.  Now for some reason everytime I boot gentoo it 
thinks that the 
hwclock is set to UTC and corrects for that ie) it sets 
the time 8 hrs 
earlier.  So where do I look other than rc.conf to 
correct this??

--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] system time/hw clock

2003-11-19 Thread Thomas T. Veldhouse
Marianne Taylor wrote:

 Does anyone know the answer to my original question.  Up until about
 a month ago I was keeping good time both in windows and in gentoo
 with my hwclock set to local.  Now for some reason everytime I boot
 gentoo it thinks that the hwclock is set to UTC and corrects for that
 ie) it sets the time 8 hrs earlier.  So where do I look other than
 rc.conf to correct this??

If at some point in the past, you booted the system with UTC in /etc/rc.conf
and then switched it to LOCAL and shut your system down.  It saved the
offset time as the local time.  Essentially, your system clock was set back
8 hours.  The only fix is to manually update the time yourself using 'date'.

Usage: date [MMDDhhmm[[CC]YY][.ss]]


Tom Veldhouse


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system time/hw clock

2003-11-19 Thread Peter Ruskin
On Wednesday 19 Nov 2003 07:20, Marianne Taylor wrote:
 Now that we are done the debate on M$ vs. linux I hope?

 Does anyone know the answer to my original question.  Up until about
 a month ago I was keeping good time both in windows and in gentoo
 with my hwclock set to local.  Now for some reason everytime I boot
 gentoo it thinks that the hwclock is set to UTC and corrects for that
 ie) it sets the time 8 hrs earlier.  So where do I look other than
 rc.conf to correct this??

$ grep RTC /usr/src/linux/.config
# CONFIG_APM_RTC_IS_GMT is not set
CONFIG_RTC=m

Peter
-- 
==
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 
2.4.23_pre8-gss)
i686 AMD Athlon(tm) XP 3200+
==


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system time/hw clock

2003-11-19 Thread Thomas T. Veldhouse
Peter Ruskin wrote:
 On Wednesday 19 Nov 2003 07:20, Marianne Taylor wrote:
 Now that we are done the debate on M$ vs. linux I hope?

 Does anyone know the answer to my original question. Up until about
 a month ago I was keeping good time both in windows and in gentoo
 with my hwclock set to local. Now for some reason everytime I boot
 gentoo it thinks that the hwclock is set to UTC and corrects for that
 ie) it sets the time 8 hrs earlier. So where do I look other than
 rc.conf to correct this??

 $ grep RTC /usr/src/linux/.config
 # CONFIG_APM_RTC_IS_GMT is not set
 CONFIG_RTC=m


Why would the real-time-clock have anything to do with the system date?
That is for another purpose altogether.

Tom Veldhouse


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system time/hw clock

2003-11-19 Thread mathieu perrenoud

  Does anyone know the answer to my original question. Up until about
  a month ago I was keeping good time both in windows and in gentoo
  with my hwclock set to local. Now for some reason everytime I boot
  gentoo it thinks that the hwclock is set to UTC and corrects for that
  ie) it sets the time 8 hrs earlier. So where do I look other than
  rc.conf to correct this??

sorry, I didn't follow the thread, but what is your /etc/localtime linking to?

-- 
mathieu

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system time/hw clock

2003-11-19 Thread gnu4u



On November 18, 2003,   Marianne Taylor wrote:
Does anyone know the answer to my original question.  Up until about a month 
ago I was keeping good time both in windows and in gentoo with my hwclock set 
to local.  Now for some reason everytime I boot gentoo it thinks that the 
hwclock is set to UTC and corrects for that ie) it sets the time 8 hrs 
earlier.  So where do I look other than rc.conf to correct this??

I didn't see your original mail so I'm not quite sure what it is you want but in case 
this is of any interest: on a multi-system box I got, the systems all have an ntp 
client to check the proper time, all from the same server. The local time has to be 
right of course, in my case it's:
# ln -sf /usr/share/zoneinfo/Europe/Stockholm /etc/localtime

Cheers,
Helgi Örn 




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system time/hw clock

2003-11-19 Thread David Friggens
* Thomas T. Veldhouse [EMAIL PROTECTED] [2003-11-19 09:39]:
 Marianne Taylor wrote:

  Does anyone know the answer to my original question.  Up until about
  a month ago I was keeping good time both in windows and in gentoo
  with my hwclock set to local.  Now for some reason everytime I boot
  gentoo it thinks that the hwclock is set to UTC and corrects for that
  ie) it sets the time 8 hrs earlier.  So where do I look other than
  rc.conf to correct this??

 If at some point in the past, you booted the system with UTC in /etc/rc.conf
 and then switched it to LOCAL and shut your system down.  It saved the
 offset time as the local time.  Essentially, your system clock was set back
 8 hours.  The only fix is to manually update the time yourself using 'date'.

And then deleting /etc/adjusttime ?

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system time/hw clock

2003-11-18 Thread Marianne Taylor
On November 17, 2003 21:57, Donnie Berkholz wrote:
 On Mon, 2003-11-17 at 16:10, Marianne Taylor wrote:
  My system ie hwclock is set to the local time.  But each time I reboot my
  system clock is set to 8 hrs before my hwclock.  Somewhere my system
  seems to be correcting for Greenwich time, but I can't figure out where. 
  In rc.conf I have the clock set to local time.  Where else can I look
  for this problem. I don't want to keep correcting this.

 Any chance it's a dual-boot w/ Windows? Windows doesn't treat time
 correctly.

Yes it is, but I am pretty sure until the last month that this system was 
keeping the correct time.  Perhaps it dates back to the last time I did an 
update of the baselayout?  


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system time/hw clock

2003-11-18 Thread Ric Messier
I've no idea what Windows doesn't treat time correctly means. I've been 
dual booting for years and only have problems when I do something dumb 
on the UNIX side (like not setting the /etc/localtime link) or 
sometimes under OpenBSD but I forget what the problem there is/was.

Ric

On 2003.11.17 23:57, Marianne Taylor wrote:
On November 17, 2003 21:57, Donnie Berkholz wrote:
 On Mon, 2003-11-17 at 16:10, Marianne Taylor wrote:
  My system ie hwclock is set to the local time.  But each time I
reboot my
  system clock is set to 8 hrs before my hwclock.  Somewhere my
system
  seems to be correcting for Greenwich time, but I can't figure out
where.
  In rc.conf I have the clock set to local time.  Where else can I
look
  for this problem. I don't want to keep correcting this.

 Any chance it's a dual-boot w/ Windows? Windows doesn't treat time
 correctly.
Yes it is, but I am pretty sure until the last month that this system
was
keeping the correct time.  Perhaps it dates back to the last time I
did an
update of the baselayout?
--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


RE: [gentoo-user] system time/hw clock

2003-11-18 Thread Mark Knecht


 -Original Message-
 From: Marianne Taylor [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 17, 2003 1:10 PM
 To: [EMAIL PROTECTED]
 Subject: [gentoo-user] system time/hw clock


 My system ie hwclock is set to the local time.  But each time I reboot my
 system clock is set to 8 hrs before my hwclock.  Somewhere my
 system seems to
 be correcting for Greenwich time, but I can't figure out where.
 In rc.conf I
 have the clock set to local time.  Where else can I look for
 this problem.
 I don't want to keep correcting this.

Marianne,
   I'm set up with UTC in /etc/rc.conf, have the right link to my time zone,
and then run ntpd using UCLA as a clock. It works great.

   Consider running the ntpd daemon to keep the time very accurate.

Mark



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system time/hw clock

2003-11-18 Thread Donnie Berkholz
On Tue, 2003-11-18 at 09:02, Ric Messier wrote:
 I've no idea what Windows doesn't treat time correctly means. I've been 
 dual booting for years and only have problems when I do something dumb 
 on the UNIX side (like not setting the /etc/localtime link) or 
 sometimes under OpenBSD but I forget what the problem there is/was.
 
 Ric

It means that in my experience, if you don't have time set to UTC in
Linux, every time you boot Windows it will mess your time up.

I believe this may be because Windows leaves the hardware clock as UTC
and sets its clock as an offset of that, while Linux sets the hardware
clock as local time if it's set to do so.


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] system time/hw clock

2003-11-18 Thread Ric Messier
On 2003.11.18 10:51, Donnie Berkholz wrote:
It means that in my experience, if you don't have time set to UTC in
Linux, every time you boot Windows it will mess your time up.
I've never set my time to UTC under linux and Windows never messes my 
time up. Windows NT, Windows 2000 and Windows XP have all been perfect 
for dual booting. I don't think Windows makes such an assumption about 
the hardware clock. Certainly hasn't been my experience and would be a 
bit out of the ordinary for them. They may well assume that the 
hardware clock is set to Pacific time, though. :-)

Ric

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] system time/hw clock

2003-11-18 Thread Javier Gostling
On Tue, Nov 18, 2003 at 12:08:51PM -0500, Ric Messier wrote:
 On 2003.11.18 10:51, Donnie Berkholz wrote:
 
 It means that in my experience, if you don't have time set to UTC in
 Linux, every time you boot Windows it will mess your time up.
 
 
 I've never set my time to UTC under linux and Windows never messes my 
 time up. Windows NT, Windows 2000 and Windows XP have all been perfect 
 for dual booting. I don't think Windows makes such an assumption about 
 the hardware clock. Certainly hasn't been my experience and would be a 
 bit out of the ordinary for them. They may well assume that the 
 hardware clock is set to Pacific time, though. :-)

Actually, Windows assumes the hw clock to be set to local time, so if you
set Linux to UTC, then Linux will mess your time. I had this happen some
time ago, and instructing Linux that the hw clock is in local time solved
the issue.

Cheers,
-- 
Javier Gostling D.
[EMAIL PROTECTED]

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system time/hw clock

2003-11-18 Thread A. Craig West
On Tue, 18 Nov 2003, Javier Gostling wrote:
 Actually, Windows assumes the hw clock to be set to local time, so if you
 set Linux to UTC, then Linux will mess your time. I had this happen some
 time ago, and instructing Linux that the hw clock is in local time solved
 the issue.

I've never really understood why it is that Microsoft does not allow a UTC
hardware clock. Because of daylight savings time, having the hardware clock
set to localtime causes the actual hardware clock to be reset twice a year.
This can result in flakiness with any process that happened to be waiting for
a time to occur at that instant.

My solution, which isn't particularly good, is to run any dual boot machines
in UTC and tell windows that my timezone is Greenwich Mean Time, and set it to
not adjust the clock for daylight savings. I would rather have to deal with
times in GMT than have random intermittent flakiness.

-- 
Craig West Ph: (416) 666-1645   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system time/hw clock

2003-11-18 Thread Senectus -
I get the same problem.. yes I'm dual booting with winxp..
and now it seems that if I try to fix the time in linux (KDE) The App 
crashes.. :-(

Senectus



Imagine a school with children that can read and write, but with teachers 
who cannot, and you have a metaphor of the Information Age in which we 
live.   - Peter Cochrane





From: Donnie Berkholz [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [gentoo-user] system time/hw clock
Date: Tue, 18 Nov 2003 00:57:23 -0500
MIME-Version: 1.0
Received: from gentoo.org ([204.126.2.42]) by mc1-f7.hotmail.com with 
Microsoft SMTPSVC(5.0.2195.6713); Mon, 17 Nov 2003 21:57:06 -0800
Received: (qmail 1031 invoked by uid 1002); 18 Nov 2003 05:56:25 -
Received: (qmail 15801 invoked from network); 18 Nov 2003 05:56:24 -
X-Message-Info: JGTYoYF78jG193Qw2Fpm5tnMPweeTZHA
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Post: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Id: Gentoo Linux mail gentoo-user.gentoo.org
X-BeenThere: [EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
In-Reply-To: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
Message-Id: [EMAIL PROTECTED]
X-Mailer: Ximian Evolution 1.4.5 X-MailScanner: Found to be clean
X-MailScanner-SpamxCheck: not spam, SpamAssassin (score=-35.5, required 
5,EMAIL_ATTRIBUTION, IN_REP_TO, PGP_SIGNATURE_2, 
REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_XIMIAN)
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 18 Nov 2003 05:57:06.0332 (UTC) 
FILETIME=[CBDBCDC0:01C3AD98]

On Mon, 2003-11-17 at 16:10, Marianne Taylor wrote:
 My system ie hwclock is set to the local time.  But each time I reboot 
my
 system clock is set to 8 hrs before my hwclock.  Somewhere my system 
seems to
 be correcting for Greenwich time, but I can't figure out where.  In 
rc.conf I
 have the clock set to local time.  Where else can I look for this 
problem.
 I don't want to keep correcting this.

Any chance it's a dual-boot w/ Windows? Windows doesn't treat time
correctly.
 signature.asc 
_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] system time/hw clock

2003-11-18 Thread brett holcomb
Windows doesn't use UTC for the hw clock.  You set the 
BIOS to local time and windows works from there.  Where 
things get messed up is when you set your hardware clock 
to UTC, tell Linux that and then dual boot.  The time 
get's messed up by Windows.  You might check the archives 
as there have been quite a few discussions on this very 
problem.  IIRC the solution is to set the hw clock to 
local, set rc.conf to show that - or dump windows on the 
box G.

On Tue, 18 Nov 2003 12:08:51 -0500
 Ric Messier [EMAIL PROTECTED] wrote:
On 2003.11.18 10:51, Donnie Berkholz wrote:
It means that in my experience, if you don't have time 
set to UTC in
Linux, every time you boot Windows it will mess your time 
up.

I've never set my time to UTC under linux and Windows 
never messes my time up. Windows NT, Windows 2000 and 
Windows XP have all been perfect for dual booting. I 
don't think Windows makes such an assumption about the 
hardware clock. Certainly hasn't been my experience and 
would be a bit out of the ordinary for them. They may 
well assume that the hardware clock is set to Pacific 
time, though. :-)

Ric

--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] system time/hw clock

2003-11-18 Thread Peter Ruskin
On Tuesday 18 Nov 2003 15:51, Donnie Berkholz wrote:
 It means that in my experience, if you don't have time set to UTC in
 Linux, every time you boot Windows it will mess your time up.

That's strange Donnie, my experience is the reverse of that.  I used to 
think it was the right thing to set time to UTC, but _that_ messed up 
my clock after booting Windows.

Now I have time set to local; in kernel config I unset RTC stores time 
as GMT (I think that's the wording); and my bootloader chooses between 
Gentoo, Mandrake, Windows 98 and Windows XP.  Time is always OK.

Peter
-- 
==
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 
2.4.23_pre8-gss)
i686 AMD Athlon(tm) XP 3200+
==


--
[EMAIL PROTECTED] mailing list