View previous topic :: View next topic |
Author |
Message |
sinecure n00b
Joined: 23 May 2002 Posts: 9
|
Posted: Fri Aug 23, 2002 11:31 pm Post subject: Locks on boot at 'Setting system clock to hardware clock...' |
|
|
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 |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Sat Aug 24, 2002 12:09 am Post subject: |
|
|
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 |
|
|
sinecure n00b
Joined: 23 May 2002 Posts: 9
|
Posted: Sat Aug 24, 2002 6:46 pm Post subject: |
|
|
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 |
|
|
sinecure n00b
Joined: 23 May 2002 Posts: 9
|
Posted: Sun Aug 25, 2002 8:42 am Post subject: |
|
|
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 |
|
|
sinecure n00b
Joined: 23 May 2002 Posts: 9
|
Posted: Sun Aug 25, 2002 9:33 pm Post subject: |
|
|
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!
Now, on to X. |
|
Back to top |
|
|
thegarbageman n00b
Joined: 28 Apr 2002 Posts: 74 Location: Overland Park, KS
|
Posted: Tue Nov 05, 2002 9:31 pm Post subject: |
|
|
Thank you for giving back - I was trying to figure that one out for hours.
|
|
Back to top |
|
|
Gerk Retired Dev
Joined: 07 May 2002 Posts: 435
|
Posted: Wed Nov 06, 2002 3:53 pm Post subject: |
|
|
This part is clearly documented in the install guide
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 |
|
|
thegarbageman n00b
Joined: 28 Apr 2002 Posts: 74 Location: Overland Park, KS
|
Posted: Wed Nov 06, 2002 5:58 pm Post subject: |
|
|
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 |
|
|
Gerk Retired Dev
Joined: 07 May 2002 Posts: 435
|
Posted: Wed Nov 06, 2002 6:09 pm Post subject: |
|
|
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 |
|
|
thegarbageman n00b
Joined: 28 Apr 2002 Posts: 74 Location: Overland Park, KS
|
Posted: Wed Nov 06, 2002 7:46 pm Post subject: |
|
|
BTW my Hardware is an Strawberry iMac, 333mhz |
|
Back to top |
|
|
|