Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/init.d/clock failing on B &W iMac [SOLVED]
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
volumen1
Guru
Guru


Joined: 01 Mar 2003
Posts: 393
Location: Missoula, MT

PostPosted: Wed Aug 23, 2006 8:38 pm    Post subject: /etc/init.d/clock failing on B &W iMac [SOLVED] Reply with quote

You honestly don't want to hear how difficult it's been for me to get Gentoo on my 233 Blue and White iMac. So, let's move on.

I finally got it booting into Gentoo and I'm ready to get busy installing stuff. However, it's bugging me that the clock initscript is dying. I did some research into what that script does and it looks like it's not failing in reading the hardware clock, just in setting the system clock. Check it out:

Code:

merchbot2 ~ # hwclock --adjust --utc
merchbot2 ~ # hwclock --hctosys --utc
hwclock: settimeofday() failed, errno=22: Invalid argument.
Unable to set system clock.


Has anyone seen this before. Any ideas? It should be noted that maybe I have a permissions issue somewhere? I orginally built this sucker to use a 20G drive. However, I didn't see the 8G root partition limitation in the FAQ. So, I rsynced everything but /dev, /proc and /sys to another machine, repartitioned and then moved it all back. Then I created /proc and /sys by hand and /dev from the stage3 tarball.

But, I could have foobar'd something along the way.

Thanks in advance!

P.S. This system is called merchbot2 because it's the replacement for Volumen's merchbot 1.0, which you can see at http://www.volumen.net/
_________________
I was born with a freakin' dice bag on my belt.
-- www.howsyournetwork.com


Last edited by volumen1 on Wed Aug 23, 2006 9:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Wed Aug 23, 2006 8:45 pm    Post subject: Reply with quote

do you have this compiled into your kernel? Device Drivers -> Real Time Clock -> RTC class and the needed interfaces at the same location: sysfs/proc/dev

well.. just a guess ;-)

regards, corsair
Back to top
View user's profile Send private message
volumen1
Guru
Guru


Joined: 01 Mar 2003
Posts: 393
Location: Missoula, MT

PostPosted: Wed Aug 23, 2006 9:53 pm    Post subject: Reply with quote

That was a pretty great guess! Thanks much! I built those as modules and I notice that coldplug doesn't bring them in. Odd. I'll just build them into the kernel.

Thanks again!
_________________
I was born with a freakin' dice bag on my belt.
-- www.howsyournetwork.com
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