Andy Smith wrote:
Hello,
On Tue, Feb 16, 2010 at 06:57:08PM +0000, Joseph Heenan wrote:
I think I have exactly the same problem, though I
don't run dovecot,
hopefully Alastair doesn't mind me jumping in on his thread.
I don't seem to have clocksource=jiffies, and independent wallclock
seems to be 1:
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.
Thanks, I've made that change.
I'm not entirely sure I am seeing the same thing as Alistair. At least
one of the things I see is two 'Unable to set System clock' messages
whilst the VPS is booting - though I now see they're happening before
independent_wallclock gets set:
Waiting for /dev to be fully populated...done.
Setting the system clock.
Unable to set System Clock to: Tue Feb 16 19:47:36 UTC 2010 (warning).
Activating swap:swapon on /dev/xvda2
[ 13.620255] Adding 262136k swap on /dev/xvda2. Priority:-1 extents:1
across:262136k
.
Will now check root file system:fsck 1.41.3 (12-Oct-2008)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/xvda1
/: clean, 43871/2293760 files, 1914874/4587520 blocks
.
[ 14.529561] EXT3 FS on xvda1, internal journal
Setting the system clock.
Unable to set System Clock to: Tue Feb 16 19:47:40 UTC 2010 (warning).
Cleaning up ifupdown....
Will now check all file systems.
fsck 1.41.3 (12-Oct-2008)
Checking all file systems.
Done checking file systems. A log is being saved in
/var/log/fsck/checkfs if that location is writable..
Setting kernel variables (/etc/sysctl.conf)...kernel.core_pattern =
/var/tmp/cores/core.%e.%p
xen.independent_wallclock = 1
done.
Will now mount local filesystems:.
The odd thing is the time was 19:16ish when this happened; I have no
idea where the 19:47 is coming from, but the ~30 minute difference does
seem consistent.
Joseph