View previous topic :: View next topic |
Author |
Message |
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Mon Sep 13, 2004 2:29 pm Post subject: [risolto] failed to set system clock to hardware clock |
|
|
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 |
|
|
shev Bodhisattva
Joined: 03 Feb 2003 Posts: 4084 Location: Italy
|
Posted: Mon Sep 13, 2004 4:10 pm Post subject: |
|
|
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 |
|
|
soulfire n00b
Joined: 09 Apr 2004 Posts: 70 Location: Italy
|
Posted: Mon Sep 13, 2004 4:37 pm Post subject: |
|
|
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 |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Mon Sep 13, 2004 5:31 pm Post subject: |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30966 Location: here
|
Posted: Mon Sep 13, 2004 5:35 pm Post subject: |
|
|
E' settato?
Code: | $ cat .config | grep RTC
CONFIG_RTC=y |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Mon Sep 13, 2004 6:17 pm Post subject: |
|
|
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 |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Mon Sep 13, 2004 6:28 pm Post subject: |
|
|
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 |
|
|
soulfire n00b
Joined: 09 Apr 2004 Posts: 70 Location: Italy
|
Posted: Tue Sep 14, 2004 5:28 am Post subject: |
|
|
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 |
|
|
Ty[L]eR Apprentice
Joined: 18 May 2004 Posts: 190 Location: it
|
Posted: Tue Sep 14, 2004 7:10 am Post subject: |
|
|
in rc.conf hai messo CLOCK="local" anzichè UTC? |
|
Back to top |
|
|
|