Unix Technical Forum

Gentoo Screwing with My Clock?

This is a discussion on Gentoo Screwing with My Clock? within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hey all, I'm at my wit's end. I c an't figure out why everytime I boot Gentoo (Linux, I'm ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 05:58 AM
Jordan T. Cox
 
Posts: n/a
Default Gentoo Screwing with My Clock?

Hey all,

I'm at my wit's end. I c an't figure out why everytime I boot Gentoo
(Linux, I'm not necessarily saying it's somehting in the Gentoo
distribution!) my clock gets changed! It's always weird-ass random
changes too. Once I rebooted into Windows, and everything got confused
because it was 12:30 AM on Janurary 16th of 2037! Hmm. I've checked
for errant NTP servers, nada... I've checked to ensure that I set the
proper timezone (why this should matter? It's beyond me)... but it
appears as though I did. Does anyone else have any suggestions? Thank
you very much for any input!


Regards and thanks,
Jordan T. Cox
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 05:58 AM
lgeoff
 
Posts: n/a
Default Re: Gentoo Screwing with My Clock?

if you are dual-booting Windows this is what I did...

make sure /etc/rc.conf has "local" not "UTC" under the clock section

and then recompile the kernel with RTC CLOCK USES GMT
(CONFIG_APM_RTC_IS_GMT) unchecked/undefined (in the Advanced Power
Management section) cause Windows likes the localtime

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 05:58 AM
Jan (geen email)
 
Posts: n/a
Default Re: Gentoo Screwing with My Clock?

Jordan T. Cox wrote:

> Hey all,
>
> I'm at my wit's end. I c an't figure out why everytime I boot Gentoo
> (Linux, I'm not necessarily saying it's somehting in the Gentoo
> distribution!) my clock gets changed! It's always weird-ass random
> changes too. Once I rebooted into Windows, and everything got confused
> because it was 12:30 AM on Janurary 16th of 2037! Hmm. I've checked
> for errant NTP servers, nada... I've checked to ensure that I set the
> proper timezone (why this should matter? It's beyond me)... but it
> appears as though I did. Does anyone else have any suggestions? Thank
> you very much for any input!


If you dual boot Windows/Gentoo, you need
CLOCK="local"
in your /etc/rc.conf

It helped for me anyway ;-)

Jan.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 05:58 AM
Brett Holcomb
 
Posts: n/a
Default Re: Gentoo Screwing with My Clock?

It isn't Gentoo -it's windows. It thinks local time so you need to set the
/etc/rc.conf time variable to local and then set you clock.

Jordan T. Cox wrote:

> Hey all,
>
> I'm at my wit's end. I c an't figure out why everytime I boot Gentoo
> (Linux, I'm not necessarily saying it's somehting in the Gentoo
> distribution!) my clock gets changed! It's always weird-ass random
> changes too. Once I rebooted into Windows, and everything got confused
> because it was 12:30 AM on Janurary 16th of 2037! Hmm. I've checked
> for errant NTP servers, nada... I've checked to ensure that I set the
> proper timezone (why this should matter? It's beyond me)... but it
> appears as though I did. Does anyone else have any suggestions? Thank
> you very much for any input!
>
>
> Regards and thanks,
> Jordan T. Cox


--
Brett I. Holcomb
brettholcomb@R777charter.net
AKA Grunt <><
Registered Linux User #188143
Remove R777 to email
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 05:58 AM
Marques LaMaistres
 
Posts: n/a
Default Re: Gentoo Screwing with My Clock?

On Mon, 22 Dec 2003 21:19:12 -0500, Brett Holcomb wrote:

> It isn't Gentoo -it's windows. It thinks local time so you need to set the
> /etc/rc.conf time variable to local and then set you clock.
>
> Jordan T. Cox wrote:
>
>> Hey all,
>>
>> I'm at my wit's end. I c an't figure out why everytime I boot Gentoo
>> (Linux, I'm not necessarily saying it's somehting in the Gentoo
>> distribution!) my clock gets changed! It's always weird-ass random
>> changes too. Once I rebooted into Windows, and everything got confused
>> because it was 12:30 AM on Janurary 16th of 2037! Hmm. I've checked
>> for errant NTP servers, nada... I've checked to ensure that I set the
>> proper timezone (why this should matter? It's beyond me)... but it
>> appears as though I did. Does anyone else have any suggestions? Thank
>> you very much for any input!
>>
>>
>> Regards and thanks,
>> Jordan T. Cox



I think it's Gentoo. I only run Gentoo and If I set my clock to UTC my
time and date gets real screwy after rebooting. I notice this about a year
later from installing Gentoo. I was getting these paypal.com pop-up
messages from websites stating their certificate expired. The year was 2017.

--
Marquez LaMaistres
Email:lamaistres(at)charter(dot)net
http://webpages.charter.net/lamaistres
Gentoo user from Seattle.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 05:58 AM
Jon Portnoy
 
Posts: n/a
Default Re: Gentoo Screwing with My Clock?

On 2003-12-23, Marques LaMaistres <lamaistres@garter.foo> wrote:
> On Mon, 22 Dec 2003 21:19:12 -0500, Brett Holcomb wrote:
>
>> It isn't Gentoo -it's windows. It thinks local time so you need to set the
>> /etc/rc.conf time variable to local and then set you clock.
>>
>> Jordan T. Cox wrote:
>>
>>> Hey all,
>>>
>>> I'm at my wit's end. I c an't figure out why everytime I boot Gentoo
>>> (Linux, I'm not necessarily saying it's somehting in the Gentoo
>>> distribution!) my clock gets changed! It's always weird-ass random
>>> changes too. Once I rebooted into Windows, and everything got confused
>>> because it was 12:30 AM on Janurary 16th of 2037! Hmm. I've checked
>>> for errant NTP servers, nada... I've checked to ensure that I set the
>>> proper timezone (why this should matter? It's beyond me)... but it
>>> appears as though I did. Does anyone else have any suggestions? Thank
>>> you very much for any input!
>>>
>>>
>>> Regards and thanks,
>>> Jordan T. Cox

>
>
> I think it's Gentoo. I only run Gentoo and If I set my clock to UTC my
> time and date gets real screwy after rebooting. I notice this about a year
> later from installing Gentoo. I was getting these paypal.com pop-up
> messages from websites stating their certificate expired. The year was 2017.
>


Your BIOS is storing time as local rather than UTC.

We don't throw any weird screw-up-everyone's-clock patches in.


--
Jon Portnoy
avenj/irc.freenode.net #gentoo, irc.oftc.net #cola
Opinions expressed are my own, not those of Gentoo Linux or any
other entity I am associated with unless stated otherwise.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 05:58 AM
Bill Unruh
 
Posts: n/a
Default Re: Gentoo Screwing with My Clock?

"Jordan T. Cox" <none@none.com> writes:

]Hey all,

]I'm at my wit's end. I c an't figure out why everytime I boot Gentoo
](Linux, I'm not necessarily saying it's somehting in the Gentoo
]distribution!) my clock gets changed! It's always weird-ass random
]changes too. Once I rebooted into Windows, and everything got confused
]because it was 12:30 AM on Janurary 16th of 2037! Hmm. I've checked
]for errant NTP servers, nada... I've checked to ensure that I set the
]proper timezone (why this should matter? It's beyond me)... but it
]appears as though I did. Does anyone else have any suggestions? Thank
]you very much for any input!

Well, the battery on your cmos could be going, and the cmos clock is
getting scrambled on a reboot.

Otherwise more information will be needed.


]Regards and thanks,
]Jordan T. Cox
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-21-2008, 05:58 AM
Bill Unruh
 
Posts: n/a
Default Re: Gentoo Screwing with My Clock?

Jon Portnoy <avenj@gentoo.org> writes:

]On 2003-12-23, Marques LaMaistres <lamaistres@garter.foo> wrote:
]> On Mon, 22 Dec 2003 21:19:12 -0500, Brett Holcomb wrote:
]>
]>> It isn't Gentoo -it's windows. It thinks local time so you need to set the
]>> /etc/rc.conf time variable to local and then set you clock.
]>>
]>> Jordan T. Cox wrote:
]>>
]>>> Hey all,
]>>>
]>>> I'm at my wit's end. I c an't figure out why everytime I boot Gentoo
]>>> (Linux, I'm not necessarily saying it's somehting in the Gentoo
]>>> distribution!) my clock gets changed! It's always weird-ass random
]>>> changes too. Once I rebooted into Windows, and everything got confused
]>>> because it was 12:30 AM on Janurary 16th of 2037! Hmm. I've checked
]>>> for errant NTP servers, nada... I've checked to ensure that I set the
]>>> proper timezone (why this should matter? It's beyond me)... but it
]>>> appears as though I did. Does anyone else have any suggestions? Thank
]>>> you very much for any input!
]>>>
]>>>
]>>> Regards and thanks,
]>>> Jordan T. Cox
]>
]>
]> I think it's Gentoo. I only run Gentoo and If I set my clock to UTC my
]> time and date gets real screwy after rebooting. I notice this about a year
]> later from installing Gentoo. I was getting these paypal.com pop-up
]> messages from websites stating their certificate expired. The year was 2017.
]>

]Your BIOS is storing time as local rather than UTC.

]We don't throw any weird screw-up-everyone's-clock patches in.

Except he is claiming that the clock is being reset somewhere to give
wildly screwy dates. That is NOT a local-time/GMT problem (unless he
lives somewhere and sometime none of us has ever seen )
Now, it could be that somehow his gentoo box has screwy entries in
/etc/adjtime and those are being used to progressively destroy his time
on each reboot.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-21-2008, 05:58 AM
Jan Schubert
 
Posts: n/a
Default Re: Gentoo Screwing with My Clock?

The same on my laptop all the time. And of course i'm _not_ dual
booting. This problem is very common on my friends laptops also...

Jan

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-21-2008, 05:58 AM
Marques LaMaistres
 
Posts: n/a
Default Re: Gentoo Screwing with My Clock?


>> I think it's Gentoo. I only run Gentoo and If I set my clock to UTC my
>> time and date gets real screwy after rebooting. I notice this about a year
>> later from installing Gentoo. I was getting these paypal.com pop-up
>> messages from websites stating their certificate expired. The year was 2017.
>>

>
> Your BIOS is storing time as local rather than UTC.


No, my bios time is UTC. I don't know what causes this. I've had it set to
local for about a month now and the time hasn't jumped ahead as before.

> We don't throw any weird screw-up-everyone's-clock patches in.


I never claimed you did.

--
Marquez LaMaistres
Email:lamaistres(at)charter(dot)net
http://webpages.charter.net/lamaistres
Gentoo user from Seattle.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:50 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com