debian requires genrtc module
I'm running Debian Sarge/powerpc with a kernel I compiled myself. I keep the
hardware clock in UTC.
For the first few weeks of using this setup, every time I started up the
computer, Linux would have the wrong time, and I would have to manually
correct the clock.
It took me about an hour of investigation to figure out what the problem was.
As far as I can tell, the standard clock management system in Debian is for
/etc/init.d/hwclockfirst.sh and /etc/init.d/hwclock.sh to run on startup and
shutdown to sync the system clock and the hardware clock. Both of these
scripts use the hwclock application, which doesn't work on my system unless I
install the genrtc module.
I'm considering submitting a bug report/feature request for util-linux saying
that there should be documentation in /usr/share/doc/util-linux/ saying that
Debian requires the RTC driver on powerpc in order for the clock to work as
expected.
I would probably include in the report a patch containing my attempt to add
the documentation.
Do I understand the situation correctly? Is this documented somewhere else
that I overlooked? Is there a better way of solving this problem?
Reply to: