Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot sync clock on boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
immolo
Tux's lil' helper
Tux's lil' helper


Joined: 11 Feb 2005
Posts: 76
Location: Portsmouth, UK

PostPosted: Fri Apr 22, 2005 3:27 am    Post subject: Cannot sync clock on boot Reply with quote

Hey,

I have a G3 iMac but I'm having a little problem with the clock init script it always comes up with the error "Cannot sync hardware clock to UTC" now I know it can do because my old 2004.1 install did work with it but now it seems not to want to play ball.

I have tried changing the kernel config a few times but still nothing

If anyone can point me in the right direction I would be greatful.

Ian
Back to top
View user's profile Send private message
Letscho
n00b
n00b


Joined: 27 Jan 2005
Posts: 17
Location: Dresden, Germany

PostPosted: Fri Apr 22, 2005 7:54 am    Post subject: Reply with quote

If you only need the right time, you can use a ntp (network time protocol) daemon.

To use it, you have to be online.

Sorry, but i have no idea, why this error occurs.
Maybe, you should take a look at the script (/etc/init.d/clock).
The man-page of the used commands for syncing the clocks may also help.
Back to top
View user's profile Send private message
immolo
Tux's lil' helper
Tux's lil' helper


Joined: 11 Feb 2005
Posts: 76
Location: Portsmouth, UK

PostPosted: Fri Apr 22, 2005 3:15 pm    Post subject: Reply with quote

Use ntp would work but becase most of the other init script depend on the clock one the system goes funny at boot.
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Fri Apr 22, 2005 3:39 pm    Post subject: Reply with quote

Anything strange in the behavious of hwclock from the command line?
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
immolo
Tux's lil' helper
Tux's lil' helper


Joined: 11 Feb 2005
Posts: 76
Location: Portsmouth, UK

PostPosted: Fri Apr 22, 2005 3:53 pm    Post subject: Reply with quote

Quote:
rachel root # hwclock --debug
hwclock from util-linux-2.12i
hwclock: Open of /dev/rtc failed, errno=19: No such device.
No usable clock interface found.
Cannot access the Hardware Clock via any known method.


So I guess that's the problem but how do you get start /dev/rtc in the kernel?
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Fri Apr 22, 2005 11:02 pm    Post subject: Reply with quote

Enable CONFIG_GEN_RTC (Device Drivers -> Character devices -> Generic /dev/rtc emulation) in your kernel (and last time I checked you need to disable CONFIG_GEN_RTC_X (Device Drivers -> Character devices -> Extended RTC operation) which does not work on PPC).
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
immolo
Tux's lil' helper
Tux's lil' helper


Joined: 11 Feb 2005
Posts: 76
Location: Portsmouth, UK

PostPosted: Sat Apr 23, 2005 2:48 am    Post subject: Reply with quote

CONFIG_NVRAM=y
CONFIG_GEN_RTC=y
# CONFIG_GEN_RTC_X is not set

That's taken from my current config and still not loading.
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Sat Apr 23, 2005 3:51 am    Post subject: Reply with quote

Hmm, weird, do you have /dev/rtc at all? It could be a udev issue, but I am not sure--the thing works well for me; sorry for not having any other idea.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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