Re: [bitfolk] Clock adjustment large on reboot

Αρχική Σελίδα

Reply to this message
Συντάκτης: Alastair Sherringham
Ημερομηνία:  
Προς: users
Αντικείμενο: Re: [bitfolk] Clock adjustment large on reboot
On 16 February 2010 19:03, Andy Smith <andy@???> wrote:

> The first thing I would try is having a kernel command line that
> looks like this:
>
> kernel /boot/vmlinuz-2.6.26-2-xen-686 root=UUID=d3249498-3e26-42c5-99a8-73fdd7ebcacb clocksource=jiffies ro console=hvc0
>
> along with /proc/sys/xen/independent_wallclock=1 and running ntpod,
> this works fine for hundreds of Debian and Ubuntu VPSes running
> 2.6.2x Xen kernels.


Andy,

It is still going wrong - 4th reboot - and this time, Dovecot died as
well - at least previously, Dovecot seemed to stay running.

OK
OK
OK
BAD

I had to do a "mknod" for xvda to update grub.

This is what I did :

1) /boot/grub/menu.lst :

Add "clocksource=jiffies" to kopt - run update-grub

Now :

/sys/devices/system/clocksource/clocksource0/current_clocksource

is "jiffies"

2) /etc/sysctl.conf

Add :
xen.independent_wallclock=1

/proc/sys/xen/independent_wallclock is 1

3) Re-enable ntpd

update-rd.d ntp defaults

I confirm all the above is set.



Very strange.


-- 
Alastair Sherringham