Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Problemi con l'orologio di sistema
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Sun Apr 04, 2010 7:10 am    Post subject: [RISOLTO] Problemi con l'orologio di sistema Reply with quote

Salve a tutti,

ho un problema con l'orologio di sistema sul mio notebook.
In pratica se imposto l'orologio tramite il comando date o con ntpdate (manualmente) al successivo riavvio mi trovo l'ora spostata.
Credo che sia un problema del fatto che la modifica dell'ora io non la stia facendo dal bios. Inoltre ho notato che se aggiustassi l'ora da windows, questo problema non si verificherebbe. È come se quando imposto l'ora da Linux, questa sia solo una cosa temporanea, mentre se la imposto da BIOS o da windows no.

Sul mio pc fisso utilizzo ntpdate che mi aggiorna l'ora ad ogni reboot (come minimo), ma qui sul portatile, dove non sempre ho a disposizione una connessione a internet, la cosa è pressoché impossibile. Allora da cosa dipende questa anomalia?

Grazie per l'aiuto
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered


Last edited by fbcyborg on Sun Apr 04, 2010 1:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
ago
Developer
Developer


Joined: 01 Mar 2008
Posts: 1527
Location: Milan, Italy

PostPosted: Sun Apr 04, 2010 8:42 am    Post subject: Reply with quote

qualche impostazione errata....hai anche windows su quel pc?
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Sun Apr 04, 2010 9:47 am    Post subject: Reply with quote

hai settato "clock_systohc" a YES in /etc/conf.d/hwclock?
hai guardato se il kernel ti sputa messaggi d'errore legati al dispositivo rtc? Se si controlla di aver almeno abilitato nel kernel il dispositivo rtc generico
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 619
Location: Milano

PostPosted: Sun Apr 04, 2010 10:04 am    Post subject: Reply with quote

prova a impostarla con

hwclock --set --date='HH:MM:SS'
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Sun Apr 04, 2010 1:52 pm    Post subject: Reply with quote

ago88 wrote:
qualche impostazione errata....hai anche windows su quel pc?

Si c'è windows ma non lo avvio mai, quindi non credo sia quello il problema, per questo menzionavo anche il bios.
Peach wrote:
hai settato "clock_systohc" a YES in /etc/conf.d/hwclock?
hai guardato se il kernel ti sputa messaggi d'errore legati al dispositivo rtc? Se si controlla di aver almeno abilitato nel kernel il dispositivo rtc generico

Ecco, l'opzione "clock_systohc" effettivamente era settata su NO. Ora l'ho messa su YES. Vediamo che succede.
Ad ogni modo nel log del kernel non c'è alcun messaggio relativo a rtc.
The Extremer wrote:
prova a impostarla con

hwclock --set --date='HH:MM:SS'


OK, intanto provo di nuovo con ntpdate, ora che ho messo su YES quell'opzione. Vediamo che succede, poi vi faccio sapere!

Per il momento grazie a tutti! :)

EDIT:
OK, risolto, era quell'opzione nel file /etc/conf.d/hwclock

Grazie ancora!!!
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Mon Apr 05, 2010 5:51 pm    Post subject: Reply with quote

visto che erano state proposte più soluzioni vorrei aggiungere che anche la seconda era altrettanto valida.
L'impostazione su YES fà soltanto sì che venga lanciato il comando

Code:
hwclock --systohc
ad ogni shutwodn del sistema :wink:
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Mon Apr 05, 2010 7:47 pm    Post subject: Reply with quote

Molte grazie per l'informazione! :)
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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