<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.16.1"> </HEAD> <BODY> Hello All, I have a problem with hwclock on centos 5.3. in xen guest environment<FONT COLOR="#000000">.</FONT><BR> <BR> # hwclock --debug<BR> hwclock from util-linux-2.13-pre7<BR> hwclock: Open of /dev/rtc failed, errno=19: No such device.<BR> No usable clock interface found.<BR> Cannot access the Hardware Clock via any known method.<BR> <BR> So, I'm afraid that I can not change my time by ntp.<BR> <BR> In CentOS mailing list I found a thread "hwclock and util-linux on 5.3"<FONT COLOR="#000000">,</FONT> but there is still no answer and discussion stopped. Maybe someone knows the solution of this problem. </BODY> </HTML>
Mintairov Mihail a ?crit :> Hello All, I have a problem with hwclock on centos 5.3. in xen guest > environment. > > # hwclock --debug > hwclock from util-linux-2.13-pre7 > hwclock: Open of /dev/rtc failed, errno=19: No such device. > No usable clock interface found. > Cannot access the Hardware Clock via any known method. > > So, I'm afraid that I can not change my time by ntp. > > In CentOS mailing list I found a thread "hwclock and util-linux on 5.3", > but there is still no answer and discussion stopped. Maybe someone knows > the solution of this problem.Maybe the clock is sync'd with the host?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.16.1"> </HEAD> <BODY>><FONT COLOR="#000000">></FONT> <BR> ><FONT COLOR="#000000">></FONT>> Maybe the clock is sync'd with the host? <BR> ><FONT COLOR="#000000">></FONT> <BR> ><FONT COLOR="#000000">></FONT> Correct, and it's even done automatically. <BR> ><FONT COLOR="#000000">></FONT> <BR> ><FONT COLOR="#000000">></FONT> Just run NTP on the dom0 and all domUs will have the correct time. <BR> ><FONT COLOR="#000000">></FONT> <BR><FONT COLOR="#000000">></FONT>Indeed. <BR> <FONT COLOR="#000000">></FONT>I usually replace /sbin/hwlcock with an empty shell script on domUs.<BR> <BR> <FONT COLOR="#000000">Thanks all for the help.</FONT> </BODY> </HTML>