From: Andreas <aw...@sw...> - 2003-12-14 01:51:00
|
Hi Kulwant On Sat, 2003-12-13 at 17:08, Kulwant Bhogal wrote: > Yes, but I haven't been through all of the old kernels yet. I'm hoping to > give that a go this weekend. Will report my findings. > > > Btw., which kernel did you use to install the system? > > 2.4.20. Interesting. Since it fails during writing to the harware clock, this means you never got past the first phase of the installation? > > Maybe you want to turn off the /etc/init.d/hwclock.sh script to > > temporarily stop the system from writing to the clock registers during > > startup/shutdown. It gets called in rcS.d as well as in rc6.d if I'm > > right. > > Haven't got a clue how to do that - not even where to start. Could you post > step by step instructions please? Hmm, since normal booting doesn't work for you, boot with the install image: 1) go directly to the step of the installer where you can mount partitions. There, you choose your root partition. IIRC it gets mounted under /target/. 2) go to the step where you can open a shell. Then # cd /target/ # cd etc/rcS.d/ # mv S50hwclock.sh offS50hwclock.sh "S50hwclock.sh" is in fact a link to "../init.d/hwclock.sh". To prevent troubles during shutdown, do something similar for rc6.d: # cd ../rc6.d/ # mv K25hwclock.sh offK25hwclock.sh BTW: I have no idea why it tries to write to the clock at boot time at all. If it doesn't work yet, you could also rename the hwclockfirst.sh call, although it doesn't seem to write to the clock. # cd etc/rcS.6/ # mv S18hwclockfirst.sh offS18hwclockfirst.sh But I would heavily advise against it, because then nothing is setting the system clock (system clock != hardware clock), which could lead to strange behaviour of the system. -- Best wishes, Andi |