Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Problema con la data
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)
View previous topic :: View next topic  
Author Message
Spiros
Apprentice
Apprentice


Joined: 11 Mar 2008
Posts: 189
Location: Zurich

PostPosted: Sun Mar 28, 2010 4:30 pm    Post subject: [RISOLTO] Problema con la data Reply with quote

Sul mio computer l'orologio hardware è impostato sull'orario locale (Europe/Zurich). Preferirei, se possibile, che continuasse ad esserlo. Nel file /etc/conf.d/clock ho le seguenti righe:
Code:

CLOCK="local"
TIMEZONE="Europe/Zurich"


Ora, all'avvio il servizio clock ha dei problemi per cui non riesce ad accedere all'orologio, e lo stesso mi dice se provoa riavviarlo durante la sessione:
Code:

 * Setting system clock using the hardware clock [Local Time] ...
 * Cannot access the Hardware Clock via any known method.
Usare l'opzione --debug per vedere i dettagli della ricerca di un metodo di accesso.Cannot access the Hardware Clock via any known method.
Usare l'opzione --debug per vedere i dettagli della ricerca di un metodo di accesso.
 * Failed to set clock You will need to set the clock yourself


Ad avviarlo con --debug esce una quantità spaventosa di righe di output che non sto qui a leggere... Ad ogni modo il problema è che l'ora è sbagliata: invece di segnare, per esempio, le 6 e mezza indica le 7 e mezza (parlo dell'output del comando date, ovviamente, ma anche degli orologi dei miei desktop). Il problema è che gentoo non è l'unico sistema sul mio computer, per cui avrei bisogno che si regolasse correttamente.

E tra l'altro anche modificando il valore di CLOCK nel file /etc/conf.d/clock non cambia niente. Che problema può esserci? Forse qualcosa che manca nel kernel?
_________________
Spiros


Last edited by Spiros on Mon Mar 29, 2010 1:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


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

PostPosted: Sun Mar 28, 2010 4:36 pm    Post subject: Reply with quote

guarda l'output del kernel se ti può essere d'aiuto (/var/log/messages)
hai il dispostivo di rtc? (/dev/rtc*) ?
_________________
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
Spiros
Apprentice
Apprentice


Joined: 11 Mar 2008
Posts: 189
Location: Zurich

PostPosted: Sun Mar 28, 2010 9:53 pm    Post subject: Reply with quote

Ciao, e grazie per la risposta.
L'unico log del kernel che ho è /var/log/dmesg, mentre messages non l'ho. Ad ogni modo ho dato un'occhiata a quello, più che altro usando grep per trovare parole clock, date, rtc o simili, ma non ho trovato niente.

Quanto al device /dev/rtc*, non ho niente del genere. Dovrei dunque cercare qualcosa nel kernel?
_________________
Spiros
Back to top
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 617
Location: Milano

PostPosted: Mon Mar 29, 2010 8:42 am    Post subject: Reply with quote

probabilmente non hai installato e/o avviato syslog-ng o equivalente, per quello non hai /var/log/messages che in questo caso può esserti d'aiuto
Back to top
View user's profile Send private message
danydany
n00b
n00b


Joined: 13 Jul 2007
Posts: 22
Location: Italy

PostPosted: Mon Mar 29, 2010 8:44 am    Post subject: Reply with quote

Questo aiuta?

http://www.garyshood.com/systemclock/
_________________
Dany :-)
Back to top
View user's profile Send private message
Spiros
Apprentice
Apprentice


Joined: 11 Mar 2008
Posts: 189
Location: Zurich

PostPosted: Mon Mar 29, 2010 1:38 pm    Post subject: Reply with quote

Grazie mille per l'aiuto, siamo riusciti a risolvere il problema. Era proprio il kernel, a cui mancava il supporto rtc. Ho installato quello generico, che ora funziona bene. L'errore all'avvio non c'è più e l'ora è tornata a essere quella giusta.

Ad ogni modo, sì, mi sono dimenticato di far avviare il logger durante il boot, anche perché finora non ne avevo avuto bisogno.
_________________
Spiros
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
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