View previous topic :: View next topic |
Author |
Message |
neryo Veteran


Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Thu Sep 29, 2005 9:50 am Post subject: [RISOLTO FINALMENTE] il tempo di sistema corre!!! |
|
|
Ciao a tutti..
ho un problema, l'orologio di sistema del mio portatile corre al doppio della velocità.. non so a cosa sia dovuto, qualcuno potrebbe delucidarmi?
Il clock hardware funziona perfettamente tantè che su windows il problema non si pone.. altra cosa che mi sono accorto è che se eseguo xine, mplayer i filmati vanno al doppio della velocità appogiandosi evidentemente al clock di sistema........
Grazie in anticipo per ogni risposta.....
ciauz _________________ cache: a safe place for hiding or storing things..
D-link DWL-G650 AirPlus
Apache Php Mysql
Last edited by neryo on Sat Oct 15, 2005 2:00 pm; edited 1 time in total |
|
Back to top |
|
 |
mrfree Veteran


Joined: 15 Mar 2003 Posts: 1303 Location: Europe.Italy.Sulmona
|
Posted: Thu Sep 29, 2005 10:50 am Post subject: |
|
|
Quale kernel usi? patch/moduli particolari?
Da quando si presenta il problema? Magari è successivo a qualche modifica/aggiornamento particolare? _________________ Please EU, pimp my country!
ICE: /etc/init.d/iptables panic |
|
Back to top |
|
 |
neryo Veteran


Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Thu Sep 29, 2005 12:32 pm Post subject: |
|
|
mrfree wrote: | Quale kernel usi? patch/moduli particolari?
Da quando si presenta il problema? Magari è successivo a qualche modifica/aggiornamento particolare? |
kernel-2.6.12-gentoo-r10 nessun modulo particolare... il problema si presenta da qualche settimana quando ho installato..  _________________ cache: a safe place for hiding or storing things..
D-link DWL-G650 AirPlus
Apache Php Mysql |
|
Back to top |
|
 |
Scen Retired Dev


Joined: 29 Jul 2003 Posts: 2470 Location: Padova, Italy
|
Posted: Thu Sep 29, 2005 12:39 pm Post subject: |
|
|
[humour mode=ON]
Mi sa che il tuo portatile è affetto dalla sindrome del Bullet Time!
[/humour mode=OFF]
Tornando a noi, un problema simile (video riprodotti a velocità doppia rispetto al normale) l'ho riscontrato a volte guardando un DVD con Ogle! Comunque, controlla nella configurazione del kernel le opzioni relative a RealTime Clock e dintorni, e controlla di non aver effettuato qualche modifica al BIOS (non si sa mai ) _________________ I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny |
|
Back to top |
|
 |
neryo Veteran


Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Thu Sep 29, 2005 12:42 pm Post subject: |
|
|
Scen wrote: | [humour mode=ON]
Mi sa che il tuo portatile è affetto dalla sindrome del Bullet Time!
[/humour mode=OFF]
|
hehe
Scen wrote: |
Tornando a noi, un problema simile (video riprodotti a velocità doppia rispetto al normale) l'ho riscontrato a volte guardando un DVD con Ogle! Comunque, controlla nella configurazione del kernel le opzioni relative a RealTime Clock e dintorni, e controlla di non aver effettuato qualche modifica al BIOS (non si sa mai ) |
nel bios direi proprio di no.. anche perche' non credo che la velocita' del clock hw sia personalizzabile.. e poi questo influenzerebbe anche win.. cosa che non accade! _________________ cache: a safe place for hiding or storing things..
D-link DWL-G650 AirPlus
Apache Php Mysql |
|
Back to top |
|
 |
pava_rulez Guru


Joined: 02 Mar 2005 Posts: 339 Location: Bologna -> Italy -> Europe
|
Posted: Thu Sep 29, 2005 7:04 pm Post subject: |
|
|
Anch'io ho problemi simili sul server Gentoo al lavoro. In media ogni giorno perde 2-3 minuti. Come posso fare? |
|
Back to top |
|
 |
comio Advocate


Joined: 03 Jul 2003 Posts: 2191 Location: Taranto
|
Posted: Thu Sep 29, 2005 7:09 pm Post subject: |
|
|
pava_rulez wrote: | Anch'io ho problemi simili sul server Gentoo al lavoro. In media ogni giorno perde 2-3 minuti. Come posso fare? |
controllare DMA, e se state usando correttamente l'rtc. Problemi del genere nascono anche se avete la batteria della mb scarica.
ciao _________________ RTFM!!!!
e
http://www.comio.it
 |
|
Back to top |
|
 |
pava_rulez Guru


Joined: 02 Mar 2005 Posts: 339 Location: Bologna -> Italy -> Europe
|
Posted: Thu Sep 29, 2005 7:17 pm Post subject: |
|
|
comio wrote: | pava_rulez wrote: | Anch'io ho problemi simili sul server Gentoo al lavoro. In media ogni giorno perde 2-3 minuti. Come posso fare? |
controllare DMA, e se state usando correttamente l'rtc. Problemi del genere nascono anche se avete la batteria della mb scarica.
ciao |
Parlando di dma immagino intendi il comando hdparm...ti dico che fra l'altro da qualche parte nei messaggi di errore avevo letto il classico loosing many ticks e cmq l'rtc non è abilitato. A dire la verità non mi piacerebbe ricompilare il kernel su un server di produzione e inoltre vedo diecimila risposte diverse a questo problema (che mi sembra molto comune): cancellare /etc/adjtime, cambiare le impostazioni in /etc/conf.d/clock, usare ntp, abilitare il dma, ma non so bene quale possa fare al caso mio...  |
|
Back to top |
|
 |
lavish Bodhisattva

Joined: 13 Sep 2004 Posts: 4296
|
|
Back to top |
|
 |
neryo Veteran


Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Thu Sep 29, 2005 7:48 pm Post subject: |
|
|
pava_rulez wrote: | Anch'io ho problemi simili sul server Gentoo al lavoro. In media ogni giorno perde 2-3 minuti. Come posso fare? |
see magari perdere ogni ora 2 o 3 minuti.... IL MIO AVANZA AL DOPPIO DELLA VELOCITA'!!!  _________________ cache: a safe place for hiding or storing things..
D-link DWL-G650 AirPlus
Apache Php Mysql |
|
Back to top |
|
 |
neryo Veteran


Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Thu Sep 29, 2005 7:48 pm Post subject: |
|
|
lavish wrote: | Provate a cancellare questo file, dovrebbe andare
|
grazie, provo e ti so dire....  _________________ cache: a safe place for hiding or storing things..
D-link DWL-G650 AirPlus
Apache Php Mysql |
|
Back to top |
|
 |
pava_rulez Guru


Joined: 02 Mar 2005 Posts: 339 Location: Bologna -> Italy -> Europe
|
Posted: Thu Sep 29, 2005 7:50 pm Post subject: |
|
|
lavish wrote: | Provate a cancellare questo file, dovrebbe andare
|
Già cancellato migliaia di volte, inutile, metto l'ora giusta e poi l'orologio torna a rallentare. Se uso ntp invece mi torna indietro di due ore...  |
|
Back to top |
|
 |
lavish Bodhisattva

Joined: 13 Sep 2004 Posts: 4296
|
Posted: Thu Sep 29, 2005 7:52 pm Post subject: |
|
|
pava_rulez wrote: | Già cancellato migliaia di volte, inutile, metto l'ora giusta e poi l'orologio torna a rallentare. Se uso ntp invece mi torna indietro di due ore...  |
Devi configurare ntp in modo che setti il tempo UTC, non il local
[EDIT] SONO A >2000 posts e me ne accorgo SOLO ORA!?!?!?!?!  _________________ minimalblue.com | secgroup.github.io/ |
|
Back to top |
|
 |
pava_rulez Guru


Joined: 02 Mar 2005 Posts: 339 Location: Bologna -> Italy -> Europe
|
Posted: Thu Sep 29, 2005 8:10 pm Post subject: |
|
|
lavish wrote: | pava_rulez wrote: | Già cancellato migliaia di volte, inutile, metto l'ora giusta e poi l'orologio torna a rallentare. Se uso ntp invece mi torna indietro di due ore...  |
Devi configurare ntp in modo che setti il tempo UTC, non il local
[EDIT] SONO A >2000 posts e me ne accorgo SOLO ORA!?!?!?!?!  |
Beh, innanzitutto congratulazioni per il ragguardevole numero di post...
E inoltre, cosa devo mettere quindi in /etc/conf.d/clock?Local o UTC? E dove setto ntp per usare UTC? |
|
Back to top |
|
 |
lavish Bodhisattva

Joined: 13 Sep 2004 Posts: 4296
|
Posted: Thu Sep 29, 2005 8:29 pm Post subject: |
|
|
Ehm... io non uso ntp
Comunque, ti ho dato una soluzione "ad occhio". se hai l'ora +2, significa che il tuo orologio HW è settato sull'ora locale e il localtime (impostazioni sw) è esatto.
La situazione corretta sarebbe quella di avere il timer HW in UTC, quindi italia -2 (per ora )
Riguardo alla configurazione di ntp, non saprei darti la mia esperienza diretta, quindi e' meglio che ti affidi a qualche tutorial in caso
C ya _________________ minimalblue.com | secgroup.github.io/ |
|
Back to top |
|
 |
neryo Veteran


Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
|
Back to top |
|
 |
neryo Veteran


Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Fri Sep 30, 2005 7:23 am Post subject: |
|
|
niente.. ho cancellato il file ma nothing.... mh.. quindi sembra che il problema sia il kernel secondo voi?  _________________ cache: a safe place for hiding or storing things..
D-link DWL-G650 AirPlus
Apache Php Mysql |
|
Back to top |
|
 |
lavish Bodhisattva

Joined: 13 Sep 2004 Posts: 4296
|
Posted: Fri Sep 30, 2005 8:50 am Post subject: |
|
|
neryo wrote: | niente.. ho cancellato il file ma nothing.... mh.. quindi sembra che il problema sia il kernel secondo voi?  |
Argh... hai provato a cambiare la batteria del BIOS?
/me che prova a sparare qualsiasi possibile soluzione _________________ minimalblue.com | secgroup.github.io/ |
|
Back to top |
|
 |
neryo Veteran


Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Fri Sep 30, 2005 9:18 am Post subject: |
|
|
lavish wrote: | neryo wrote: | niente.. ho cancellato il file ma nothing.... mh.. quindi sembra che il problema sia il kernel secondo voi?  |
Argh... hai provato a cambiare la batteria del BIOS?
|
il portatile e' nuovo... e in win non lo fa' quindi il problema non e' del bios....  _________________ cache: a safe place for hiding or storing things..
D-link DWL-G650 AirPlus
Apache Php Mysql |
|
Back to top |
|
 |
pava_rulez Guru


Joined: 02 Mar 2005 Posts: 339 Location: Bologna -> Italy -> Europe
|
Posted: Fri Sep 30, 2005 9:24 am Post subject: |
|
|
Per quanto riguarda me invece, tre ore fa orologio hardware e di sistema erano sincronizzati, e ora
Code: | Orione ~ # date
Fri Sep 30 11:17:45 UTC 2005
Orione ~ # hwclock --show
Fri Sep 30 11:18:17 2005 -0.148198 seconds |
|
|
Back to top |
|
 |
X-Drum Advocate


Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Fri Sep 30, 2005 9:56 am Post subject: |
|
|
pava_rulez wrote: | Anch'io ho problemi simili sul server Gentoo al lavoro. In media ogni giorno perde 2-3 minuti. Come posso fare? |
usa un crond con rdate, trovi tutto sul forum _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
 |
pava_rulez Guru


Joined: 02 Mar 2005 Posts: 339 Location: Bologna -> Italy -> Europe
|
Posted: Fri Sep 30, 2005 10:22 am Post subject: |
|
|
X-Drum wrote: | pava_rulez wrote: | Anch'io ho problemi simili sul server Gentoo al lavoro. In media ogni giorno perde 2-3 minuti. Come posso fare? |
usa un crond con rdate, trovi tutto sul forum |
Niente, sia con rdate che con ntp quando mi sincronizzo con 1 server ntp italiano ottengo:
Code: | Orione ~ # date
Fri Sep 30 10:15:32 UTC 2005
|
E ora è mezzogiorno e quasi 20...  |
|
Back to top |
|
 |
X-Drum Advocate


Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Fri Sep 30, 2005 10:29 am Post subject: |
|
|
strano:
io ho il clock settato su UTC,
il timezone Europe/Rome (etc/locatime)
ed ogno volta che lancio Code: | rdate -s time.ien.it |
non fa un piega, sincronizza alla perfezione _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
 |
pava_rulez Guru


Joined: 02 Mar 2005 Posts: 339 Location: Bologna -> Italy -> Europe
|
Posted: Fri Sep 30, 2005 10:35 am Post subject: |
|
|
Code: | Orione ~ # vim /etc/conf.d/clock
# /etc/conf.d/clock
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/clock,v 1.2.4.1 2005/02/19 02:13:53 vapier Exp $
# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time). If your clock is set to the local time, then
# set CLOCK to "local".
####CLOCK="local"
CLOCK="UTC"
# If you wish to pass any other arguments to hwclock during bootup,
# you may do so here.
CLOCK_OPTS=""
# If you want to sync the system clock to the hardware clock during
# shutdown, then say "yes" here.
CLOCK_SYSTOHC="yes"
### 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"
|
Code: | Orione ~ # ls -la /etc/localtime
lrwxrwxrwx 1 root root 31 Aug 27 12:53 /etc/localtime -> /usr/share/zoneinfo/Europe/Rome
|
Code: | Orione ~ # rdate -s time.ien.it
Orione ~ # date
Fri Sep 30 10:30:25 UTC 2005
|
|
|
Back to top |
|
 |
X-Drum Advocate


Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Fri Sep 30, 2005 11:02 am Post subject: |
|
|
è la mia esatta situazione (a parte l'output che da me è corretto)
nn so che dirti  _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
 |
|