Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Résolu][Kernel] Horloge système instable
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
KeKeSeB
n00b
n00b


Joined: 06 May 2008
Posts: 5

PostPosted: Tue May 06, 2008 7:41 am    Post subject: [Résolu][Kernel] Horloge système instable Reply with quote

Bonjour,

Depuis que j'ai passé un serveur en amd64, j'ai l'horloge système qui se dérègle de 1 sec par 10 min environ, à tel point que ntpd n'arrive pas a corriger. Il reste stratum 16. Auriez vous une idée d'ou est ce que ca peut venir ?

Merci :wink:


Last edited by KeKeSeB on Tue May 06, 2008 8:52 am; edited 1 time in total
Back to top
View user's profile Send private message
kopp
Advocate
Advocate


Joined: 09 Apr 2004
Posts: 2885
Location: Grenoble, France

PostPosted: Tue May 06, 2008 7:44 am    Post subject: Reply with quote

Qu'il y a t'il dans le fichier /etc/adjtime ? Si c'est pas des zero : supprime le.
Back to top
View user's profile Send private message
KeKeSeB
n00b
n00b


Joined: 06 May 2008
Posts: 5

PostPosted: Tue May 06, 2008 7:54 am    Post subject: Reply with quote

J'ai ca :
Code:
0.000000 1210012830 0.000000
1210012830
UTC


Je l'ai viré, j'ai redémarré mais ca ne change rien. :(
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Tue May 06, 2008 8:31 am    Post subject: Reply with quote

Salut,

Chez moi, je force la synchronisation (NTPD_OPTS="-s") au démarrage :
/etc/conf.d/ntpd:
# /etc/conf.d/ntpd: config file for openntpd's ntpd

NTPD_HOME=/var/empty

# See ntpd(8) man page ... some popular options:
#  -s   Set the time immediately at startup
NTPD_OPTS="-s"

_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
KeKeSeB
n00b
n00b


Joined: 06 May 2008
Posts: 5

PostPosted: Tue May 06, 2008 8:52 am    Post subject: Reply with quote

Moi, je lance ntp-client avant de lancer ntpd ce qui revient au meme il me semble.

J'ai résolu le problème en passant au kernel 2.6.25 (2.6.24 avant) et ca fonctionne... :D
Back to top
View user's profile Send private message
loopx
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2787
Location: Belgium / Liège

PostPosted: Tue May 06, 2008 9:07 am    Post subject: Reply with quote

pour reconfigurer l'heure, je fais comme suis :

- régler la zone (si pas fait)
- virer adjusttime
- régler avec "date"
- passer la date système vers la date hardware (hwclock --systohc)


après, faut soit redémarrer la machine, soit redémarrer le service (ce qui peut provoquer des plantages système de certain programme genre .. amarok :D)
_________________
Mon MediaWiki perso : http://pix-mania.dyndns.org
Back to top
View user's profile Send private message
sno35
Guru
Guru


Joined: 15 May 2004
Posts: 334
Location: Paris, France

PostPosted: Tue May 06, 2008 7:37 pm    Post subject: Reply with quote

S'il y a une pile pour sauver l'horloge, c'est peut-être elle qui a un coup de mou.
Tout le monde n'a pas la chance, comme moi, d'avoir un vieux Mac ... :?
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Tue May 06, 2008 7:56 pm    Post subject: Reply with quote

non, c'est linux qui foire. C'est pûrement logiciel :?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
El_Goretto
Moderator
Moderator


Joined: 29 May 2004
Posts: 3169
Location: Paris

PostPosted: Wed May 07, 2008 1:05 pm    Post subject: Reply with quote

Vous pouvez aussi choisir une "clocksource" différente, si une foire sur votre matériel. C'est une option au boot du noyal.
_________________
-TrueNAS & jails: µ-serv Gen8 E3-1260L, 16Go ECC + µ-serv N40L, 10Go ECC
-Réseau: APU2C4 (OpenWRT) + GS726Tv3 + 2x GS108Tv2 + Archer C5v1 (OpenWRT)
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