Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO FINALMENTE] il tempo di sistema corre!!!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Thu Sep 29, 2005 9:50 am    Post subject: [RISOLTO FINALMENTE] il tempo di sistema corre!!! Reply with quote

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........ 8O

Grazie in anticipo per ogni risposta..... :wink:

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
View user's profile Send private message
mrfree
Veteran
Veteran


Joined: 15 Mar 2003
Posts: 1303
Location: Europe.Italy.Sulmona

PostPosted: Thu Sep 29, 2005 10:50 am    Post subject: Reply with quote

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
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Thu Sep 29, 2005 12:32 pm    Post subject: Reply with quote

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.. :roll:
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Thu Sep 29, 2005 12:39 pm    Post subject: Reply with quote

[humour mode=ON]
Mi sa che il tuo portatile è affetto dalla sindrome del Bullet Time! :roll:
[/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 :P )
_________________
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
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Thu Sep 29, 2005 12:42 pm    Post subject: Reply with quote

Scen wrote:
[humour mode=ON]
Mi sa che il tuo portatile è affetto dalla sindrome del Bullet Time! :roll:
[/humour mode=OFF]


hehe :P

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 :P )


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
View user's profile Send private message
pava_rulez
Guru
Guru


Joined: 02 Mar 2005
Posts: 339
Location: Bologna -> Italy -> Europe

PostPosted: Thu Sep 29, 2005 7:04 pm    Post subject: Reply with quote

Anch'io ho problemi simili sul server Gentoo al lavoro. In media ogni giorno perde 2-3 minuti. Come posso fare?
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Thu Sep 29, 2005 7:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
pava_rulez
Guru
Guru


Joined: 02 Mar 2005
Posts: 339
Location: Bologna -> Italy -> Europe

PostPosted: Thu Sep 29, 2005 7:17 pm    Post subject: Reply with quote

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... :roll:
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Thu Sep 29, 2005 7:44 pm    Post subject: Reply with quote

Provate a cancellare questo file, dovrebbe andare ;)
Code:
rm /etc/adjtime

_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Thu Sep 29, 2005 7:48 pm    Post subject: Reply with quote

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'!!! 8O
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Thu Sep 29, 2005 7:48 pm    Post subject: Reply with quote

lavish wrote:
Provate a cancellare questo file, dovrebbe andare ;)
Code:
rm /etc/adjtime


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
View user's profile Send private message
pava_rulez
Guru
Guru


Joined: 02 Mar 2005
Posts: 339
Location: Bologna -> Italy -> Europe

PostPosted: Thu Sep 29, 2005 7:50 pm    Post subject: Reply with quote

lavish wrote:
Provate a cancellare questo file, dovrebbe andare ;)
Code:
rm /etc/adjtime


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... :evil:
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Thu Sep 29, 2005 7:52 pm    Post subject: Reply with quote

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... :evil:


Devi configurare ntp in modo che setti il tempo UTC, non il local ;)

[EDIT] SONO A >2000 posts e me ne accorgo SOLO ORA!?!?!?!?! 8O 8O 8O 8O
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
pava_rulez
Guru
Guru


Joined: 02 Mar 2005
Posts: 339
Location: Bologna -> Italy -> Europe

PostPosted: Thu Sep 29, 2005 8:10 pm    Post subject: Reply with quote

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... :evil:


Devi configurare ntp in modo che setti il tempo UTC, non il local ;)

[EDIT] SONO A >2000 posts e me ne accorgo SOLO ORA!?!?!?!?! 8O 8O 8O 8O



Beh, innanzitutto congratulazioni per il ragguardevole numero di post... :wink:
E inoltre, cosa devo mettere quindi in /etc/conf.d/clock?Local o UTC? E dove setto ntp per usare UTC?
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Thu Sep 29, 2005 8:29 pm    Post subject: Reply with quote

Ehm... io non uso ntp :P

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
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Thu Sep 29, 2005 8:33 pm    Post subject: Reply with quote

tipo questo http://www.gentoo.org/doc/it/hpc-howto.xml cerca la stringa ntp :wink:
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Fri Sep 30, 2005 7:23 am    Post subject: Reply with quote

niente.. ho cancellato il file ma nothing.... mh.. quindi sembra che il problema sia il kernel secondo voi? :roll:
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Fri Sep 30, 2005 8:50 am    Post subject: Reply with quote

neryo wrote:
niente.. ho cancellato il file ma nothing.... mh.. quindi sembra che il problema sia il kernel secondo voi? :roll:


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
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Fri Sep 30, 2005 9:18 am    Post subject: Reply with quote

lavish wrote:
neryo wrote:
niente.. ho cancellato il file ma nothing.... mh.. quindi sembra che il problema sia il kernel secondo voi? :roll:


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.... :roll:
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
pava_rulez
Guru
Guru


Joined: 02 Mar 2005
Posts: 339
Location: Bologna -> Italy -> Europe

PostPosted: Fri Sep 30, 2005 9:24 am    Post subject: Reply with quote

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
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Fri Sep 30, 2005 9:56 am    Post subject: Reply with quote

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
View user's profile Send private message
pava_rulez
Guru
Guru


Joined: 02 Mar 2005
Posts: 339
Location: Bologna -> Italy -> Europe

PostPosted: Fri Sep 30, 2005 10:22 am    Post subject: Reply with quote

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... :x
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Fri Sep 30, 2005 10:29 am    Post subject: Reply with quote

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
View user's profile Send private message
pava_rulez
Guru
Guru


Joined: 02 Mar 2005
Posts: 339
Location: Bologna -> Italy -> Europe

PostPosted: Fri Sep 30, 2005 10:35 am    Post subject: Reply with quote

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
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Fri Sep 30, 2005 11:02 am    Post subject: Reply with quote

è la mia esatta situazione (a parte l'output che da me è corretto)
nn so che dirti :o
_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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