Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Locks on boot at 'Setting system clock to hardware clock...'
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
sinecure
n00b
n00b


Joined: 23 May 2002
Posts: 9

PostPosted: Fri Aug 23, 2002 11:31 pm    Post subject: Locks on boot at 'Setting system clock to hardware clock...' Reply with quote

I've got the latest benh codes, and by using posts in this forum have gotten this far, but no further.

Trying to run linux on a Titanium Powerbook G4 500, and every time I boot from the compiled kernel, it locks at the:

'Setting system clock to hardware clock [Local Time]...'

section of the boot.

I've tried enabling and disabling the enhance RTC in the kernel, and am at a loss. Does anyone have a working kernel config for a TiPowerbook G4 500 that they could post, so that I could compare?
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sat Aug 24, 2002 12:09 am    Post subject: Reply with quote

what did you link /etc/local time to ?

and did you edit your rc.conf file? looks like you did, but just checking ;)
Back to top
View user's profile Send private message
sinecure
n00b
n00b


Joined: 23 May 2002
Posts: 9

PostPosted: Sat Aug 24, 2002 6:46 pm    Post subject: Reply with quote

taskara wrote:
what did you link /etc/local time to?


/etc/localtime points to /usr/share/zoneinfo/America/Anchorage

taskara wrote:
and did you edit your rc.conf file? looks like you did, but just checking ;)


Yep, got clock set to 'local'.

New info, if I press 'Ctrl-c' then the OS keeps booting, and the date is apparently correct. Also, when shutting down, it does the same thing, except I can't 'Ctrl-c' out of it. I end up having to 'Ctrl-Apple-Power' to restart the computer.

Hrmmmm... :?

Any suggestions?
Back to top
View user's profile Send private message
sinecure
n00b
n00b


Joined: 23 May 2002
Posts: 9

PostPosted: Sun Aug 25, 2002 8:42 am    Post subject: Reply with quote

Well, I got past the lock when setting the system clock, and local clock, on startup and shutdown, however I've had to disable '/dev/rtc' and 'Enhanced Real Time Clock' in the kernel config before compiling.

However, I assume this shouldn't be happening, anyone have a config from a similar machine (powerbook g4 type)?
Back to top
View user's profile Send private message
sinecure
n00b
n00b


Joined: 23 May 2002
Posts: 9

PostPosted: Sun Aug 25, 2002 9:33 pm    Post subject: Reply with quote

Just to give back to the forum, I figured out what the problem was:

If you set "CONFIG_PPC_RTC=y" in your kernel config, it locks (on my machine, haven't tested it elsewhere), however, if you set "CONFIG_PPC_RTC=m", then it works.

WOOHOO! :D

Now, on to X.
Back to top
View user's profile Send private message
thegarbageman
n00b
n00b


Joined: 28 Apr 2002
Posts: 74
Location: Overland Park, KS

PostPosted: Tue Nov 05, 2002 9:31 pm    Post subject: Reply with quote

Thank you for giving back - I was trying to figure that one out for hours.
:D
Back to top
View user's profile Send private message
Gerk
Retired Dev
Retired Dev


Joined: 07 May 2002
Posts: 435

PostPosted: Wed Nov 06, 2002 3:53 pm    Post subject: Reply with quote

This part is clearly documented in the install guide :P

enchanced RTC support does _NOT_ work on ppc kernels, never has and likely never will. Having it as a modules (M) is probably also a bad idea. Turning it right off is best. If anything tries to load that module your system will lock hard.
Back to top
View user's profile Send private message
thegarbageman
n00b
n00b


Joined: 28 Apr 2002
Posts: 74
Location: Overland Park, KS

PostPosted: Wed Nov 06, 2002 5:58 pm    Post subject: Reply with quote

Yes, I noticed that in the documentation, and I had "Enhanced RTC" disabled and "Support for /dev/rtc" enabled, but I compiled it into the kernel proper which was the source of the problem - and not mentioned in the documentation. And thats the "Support for /dev/rtc" from general setup that would not work if not compiled as a module, not "Enhanced rtc", just in case there is any confusion.
Back to top
View user's profile Send private message
Gerk
Retired Dev
Retired Dev


Joined: 07 May 2002
Posts: 435

PostPosted: Wed Nov 06, 2002 6:09 pm    Post subject: Reply with quote

ahh hmmm

the /dev/rtc shoud work compiled into kernel (in theory)... it has never given me problems, even on some of my more exotic hardware.

I'll have to keep that in mind, thanks
Back to top
View user's profile Send private message
thegarbageman
n00b
n00b


Joined: 28 Apr 2002
Posts: 74
Location: Overland Park, KS

PostPosted: Wed Nov 06, 2002 7:46 pm    Post subject: Reply with quote

BTW my Hardware is an Strawberry iMac, 333mhz
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