Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto] failed to set system clock to hardware clock
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
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Mon Sep 13, 2004 2:29 pm    Post subject: [risolto] failed to set system clock to hardware clock Reply with quote

quando si avvia gentoo mi viene segnalato l'errore

Code:
failed to set sytem clock to hardware clock


e...

Code:
# hwclock
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.



questo su un powerbook g4.

qualcuno sa propormi una qualche soluzione? grazie :)


Last edited by luna80 on Mon Sep 13, 2004 6:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Mon Sep 13, 2004 4:10 pm    Post subject: Reply with quote

Facendo ciò che ti dice, che ottieni (hwclock --debug)? Sicura che su ppc funzioni tale utility?
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
soulfire
n00b
n00b


Joined: 09 Apr 2004
Posts: 70
Location: Italy

PostPosted: Mon Sep 13, 2004 4:37 pm    Post subject: Reply with quote

allora, stesso identico problema solo che hwclock fuziona e dà come output

Code:
Mon Sep 13 16:35:03 2004        -0.657927 seconds


ovvero esattamente due ore di meno, il che mi fa supporre che sia impostato sull'oraio GMT. adesso, /etc/localtime è linkato a /usr/share/zoneinfo/Europe/Rome e in /etc/rc.conf l'opzione clock è impostata su UTC. è tutto corretto ?
_________________
I can divide by zero
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Mon Sep 13, 2004 5:31 pm    Post subject: Reply with quote

shev wrote:
Facendo ciò che ti dice, che ottieni (hwclock --debug)? Sicura che su ppc funzioni tale utility?


Code:
# hwclock --debug
hwclock from util-linux-2.12
hwclock: Open of /dev/rtc failed, errno=2: No such file or directory.
No usable clock interface found.
Cannot access the Hardware Clock via any known method.


non so, magari dovrei compilare il kernel cercando qualcosa inerente "rtc"?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Mon Sep 13, 2004 5:35 pm    Post subject: Reply with quote

E' settato?
Code:
$ cat .config | grep RTC
CONFIG_RTC=y

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Mon Sep 13, 2004 6:17 pm    Post subject: Reply with quote

fedeliallalinea wrote:
E' settato?
Code:
$ cat .config | grep RTC
CONFIG_RTC=y



no, settato, ricompilato e risolto (ora sono solo due ore indietro ma almeno non ho pi`u errori)


grazie
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Mon Sep 13, 2004 6:28 pm    Post subject: Reply with quote

soulfire wrote:
allora, stesso identico problema solo che hwclock fuziona e dà come output

Code:
Mon Sep 13 16:35:03 2004        -0.657927 seconds


ovvero esattamente due ore di meno, il che mi fa supporre che sia impostato sull'oraio GMT. adesso, /etc/localtime è linkato a /usr/share/zoneinfo/Europe/Rome e in /etc/rc.conf l'opzione clock è impostata su UTC. è tutto corretto ?



io ho linkato localtime a



Code:
 /usr/share/zoneinfo/Europe/Zurich



e l'ora è corretta


n.b.: anche il clock del mio rc.conf è settato su UTC
Back to top
View user's profile Send private message
soulfire
n00b
n00b


Joined: 09 Apr 2004
Posts: 70
Location: Italy

PostPosted: Tue Sep 14, 2004 5:28 am    Post subject: Reply with quote

il problema e` che "date" continua a darmi come output l-orario GMT nonostante localtime sia linkato correttamente :( [/img][/i]
_________________
I can divide by zero
Back to top
View user's profile Send private message
Ty[L]eR
Apprentice
Apprentice


Joined: 18 May 2004
Posts: 190
Location: it

PostPosted: Tue Sep 14, 2004 7:10 am    Post subject: Reply with quote

in rc.conf hai messo CLOCK="local" anzichè UTC?
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