Weblog entry #20 for e5z8652
#20
Lenny guest and Hyper-V
Posted by e5z8652 on Tue 17 Nov 2009 at 01:35
A Lenny guest that went through a "P2V" process to a Hyper-V guest (really just mclone from the physical box to the virtual one over the wire) was gaining time at the rate of a few minutes per day. NTP could not keep up and so eventually rejected any sources.
Various combinations of clock=pit, nohz=on, etc. had no effect.
SuSE boxes on the same Hyper-V host were not having the same issue, and the only major difference I could find was the kernel version. I was running the stock 2.6.26 kernel so grabbed the 2.6.30 kernel from backports.
The 2.6.30 kernel from backports resolved it, and now NTP is happy.
Note that I didn't install the stock kernel in the virtual environment, so it could have been an initrd issue. No time to test that theory though.
Various combinations of clock=pit, nohz=on, etc. had no effect.
SuSE boxes on the same Hyper-V host were not having the same issue, and the only major difference I could find was the kernel version. I was running the stock 2.6.26 kernel so grabbed the 2.6.30 kernel from backports.
The 2.6.30 kernel from backports resolved it, and now NTP is happy.
Note that I didn't install the stock kernel in the virtual environment, so it could have been an initrd issue. No time to test that theory though.