Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Résolu][TIMEZONE] Mon horloge déraille
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
zerros
Apprentice
Apprentice


Joined: 02 Jun 2010
Posts: 179

PostPosted: Mon Jun 28, 2010 8:36 am    Post subject: [Résolu][TIMEZONE] Mon horloge déraille Reply with quote

Bonjour,

Je viens d'installer une gentoo toute fraiche et j'ai un souci avec mon horloge. Avant de poster j'ai fureter sur le net et j'ai
suivi un thread qui traitait déjà de ça. J'ai ensuite laissé tourner tout le week end, et à mon retour aujourd'hui, je me rend compte
que mon horloge affiche 16:15 au lieu de 10:05

Un coup de ntpdate + hwclock la remet temporairement à l'heure.

Voilà ma conf :
Code:
ramscan etc # cat conf.d/clock
# /etc/conf.d/clock

# Set CLOCK to "UTC" if your hardware clock is set to UTC (also known as
# Greenwich Mean Time).  If that clock is set to the local time, then
# set CLOCK to "local".
# Note that if you dual boot with Windows, then you should set it to
# "local" because Windows always sets the hardware clock to local time.

#CLOCK="UTC"
CLOCK="local"

# Select the proper timezone.  For valid values, peek inside of the
# /usr/share/zoneinfo/ directory.  For example, some common values are
# "America/New_York" or "EST5EDT" or "Europe/Berlin".  If you want to
# manage /etc/localtime yourself, set this to "".

TIMEZONE="Europe/Paris"

# If you wish to pass any other arguments to hwclock during bootup,
# you may do so here.

CLOCK_OPTS=""

# If you want to set the Hardware Clock to the current System Time (software
# clock) during shutdown, then say "yes" here.

CLOCK_SYSTOHC="no"


### ALPHA SPECIFIC OPTIONS ###

# If your alpha uses the SRM console, set this to "yes".
SRM="no"

# If your alpha uses the ARC console, set this to "yes".
ARC="no"


Le hwclock et le date sont quai identique pcq je viens de les resynchroniser.

Code:
ramscan etc # hwclock
lun. 28 juin 2010 10:34:17 CEST  -0.672164 secondes


Code:
ramscan etc # date
lun. juin 28 10:34:31 CEST 2010


Auriez-vous une idée svp ? Merci d'avance pour votre aide.
_________________
- zerros -


Last edited by zerros on Wed Jun 30, 2010 8:23 am; edited 1 time in total
Back to top
View user's profile Send private message
Tony Clifton
l33t
l33t


Joined: 07 Jul 2004
Posts: 686
Location: Rennes

PostPosted: Mon Jun 28, 2010 7:00 pm    Post subject: Reply with quote

As-tu le module CONFIG_RTC d'activer dans ton noyau ?

Pour le trouver :
Device Drivers ---> Character devices ---> <*> Enhanced Real Time Clock Support (legacy PC RTC driver)

et un p'tit conseil pour /etc/conf.d/clock :
CLOCK_SYSTOHC="yes"
_________________
La seule certitude que j'ai, c'est d'être dans le doute ! P. Desproges
Back to top
View user's profile Send private message
nemo13
Veteran
Veteran


Joined: 08 Oct 2004
Posts: 1016
Location: France/Istres

PostPosted: Tue Jun 29, 2010 9:14 pm    Post subject: Reply with quote

bonsoir,
1) as-tu
Code:
 rc-status -a |grep hw
 hwclock                                                           [  started  ]
?
"chez moi" ce service est au niveau boot

2) je ne sais pas d'après quelle doc tu as monté ta babasse .

"chez moi" en gentoo ~ la conf de horloge système se trouve là :

Code:
/etc/conf.d/hwclock


ya peut-être à gratouiller vers là
A+:jlp
Back to top
View user's profile Send private message
Tony Clifton
l33t
l33t


Joined: 07 Jul 2004
Posts: 686
Location: Rennes

PostPosted: Wed Jun 30, 2010 6:26 am    Post subject: Reply with quote

nemo13 wrote:
"chez moi" en gentoo ~ la conf de horloge système se trouve là :

Code:
/etc/conf.d/hwclock


C'est à cause de baselayout 2 ;-)
_________________
La seule certitude que j'ai, c'est d'être dans le doute ! P. Desproges
Back to top
View user's profile Send private message
zerros
Apprentice
Apprentice


Joined: 02 Jun 2010
Posts: 179

PostPosted: Wed Jun 30, 2010 8:22 am    Post subject: Reply with quote

Merci pour vos réponses. Il semble que mon PC soit à l'heure et ne se décalle plus.

Je ne sais pas ce que j'ai fait, mais bon ... J'ai ajouter le CLOCK_SYSTOHC="yes"

Merci. je clos le topic ;)
_________________
- zerros -
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum