On Sat, 18 Oct 2008, Kolbjørn Barmen wrote:
On Sat, 18 Oct 2008, Riccardo wrote:
I don't know "how", but with 2.2 kernels I always had a correct date
at boot without any tricks. It is true though that with high CPU load
we had clockskew and that we didn't save back the date and hourtime to
the clock, thus any clock setting needed to be done from the mac side.
A compromoise, but better than the current situation.
The clockproblem is something I stumble upon every now and then on
various machinees - I really wish there was a kernel parameter where one
could set a date string, then the bootloader could pass it on.
It isn't a problem if you disable the time-stamp triggered fsck and set
the clock from the network (rdate or ntp).
Finn
Currently i use a /.timestamp file that I read from init=/sbin/init.noclock;
---
firda ~ # cat /sbin/init.noclock
#! /bin/bash
if test $(/bin/date +%Y) -lt 2008 ; then
/bin/date -s "1970-01-01 + $(($(/bin/stat -c %X /.timestamp) +3600)) seconds"
fi
exec /sbin/init
---
I make sure the .timestamp is touched regularly and on shutdown.
This trick I now use on quadra910, an old acer laptop, gumstix ... :P
-- kolla
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html