Re: Upgraded utils...
flat view
From: Martin Costabel <hidden>
Date: 2000-07-15 15:20:37
Franz Sirl wrote:
At 20:54 14.07.00, Martin Costabel wrote:quoted
Could be /sbin/hwclock is now a binary that was compiled with util-linux. This doesn't mean it works, though. Better put the old fake hwclock shell script there ("/sbin/clock -s"). Or is one now supposed to create /dev/rtc and use it as on any other architecture?Yes! That's why I did CONFIG_PPC_RTC, it's such simple code, but it helps a lot to bring us in line with the other architectures.
For the record: Yes, it works. (On a Pmac 6400, with a 2.2.17pre11 kernel from bitkeeper; 2.4.0-test4 still doesn't want to boot, so I can't test it). I was too timid and had compiled PPC_RTC only as a module. Apparently the kernel does not load this module automatically, but when I put a line /sbin/modprobe rtc just before the hwclock stuff in /etc/rc.sysinit, it works (yes /etc/rc.sysinit; this is initscripts-5.27 which has /etc/rc.d as symlink to /etc, so that all the rc* stuff now clutters /etc. Big progress...) /sbin/hwclock comes from util-linux-2.10k, compiled without problems from the RedHat SRPM. Thanks -- Martin ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/