Annotation of embedaddon/ntp/html/hints/solaris-dosynctodr.html, revision 1.1.1.1

1.1       misho       1: 
                      2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
                      3: 
                      4: 
                      5: <!-- Sun Template V4.0 9/9/98 -->
                      6: <HTML>
                      7: <HEAD>
                      8: <TITLE>Symptoms and Resolutions Article 19195</title><link href="scripts/style.css" type="text/css" rel="stylesheet">
                      9: 
                     10: <META NAME="GENERATOR" CONTENT="Sun Microsystems, Inc.">
                     11: <META HTTP-EQUIV="content-type" CONTENT="text/html;charset=iso-8859-1">
                     12: 
                     13: <!-- INSERT YOUR META TAGS HERE -->
                     14: 
                     15: <META NAME="PUBLISHED_DATE" CONTENT="">
                     16: <META NAME="KEYWORDS" CONTENT="">
                     17: <META NAME="DESCRIPTION" CONTENT="">
                     18: 
                     19: <!-- END META TAGS -->
                     20: 
                     21: <LINK REL="Stylesheet" TYPE="text/css" HREF="/style.css" TITLE="Style">
                     22: 
                     23: </HEAD>
                     24: <!--stopindex-->
                     25: <BODY BGCOLOR="#FFFFFF" LINK="#666699" ALINK="#FFFFFF">
                     26: 
                     27: 
                     28: <TABLE WIDTH="623" BORDER="0" CELLSPACING="0" CELLPADDING="0">
                     29:         <TR>
                     30:                 <TD COLSPAN="2" VALIGN="TOP" WIDTH="623">
                     31:                 <IMG BORDER="0" SRC="/images/homebuy.gif" WIDTH="149" HEIGHT="32" ALT="Home * Buy * My Sun(sm)" USEMAP="#lefttop"><IMG BORDER="0" SRC="/images/globalnavbar.gif" WIDTH="474" HEIGHT="32" ALT="sun.com Global Sections" USEMAP="#topnav"></TD>
                     32:         </TR>
                     33:         <TR>
                     34:                 <TD COLSPAN="2" VALIGN="TOP" WIDTH="623">
                     35: 
                     36:         <!-- TITLEBAR IMAGE: INSERT CUSTOMIZED TITLEBAR IMAGE BELOW -->
                     37: 
                     38:         <A HREF="http://www.sun.com/"><IMG BORDER="0" SRC="/images/sunlogo.gif" WIDTH="149" HEIGHT="72" ALT="Sun Microsystems"></A><IMG BORDER="0" SRC="/images/titlebar/doc.title.gif" WIDTH="474" HEIGHT="72"></TD>
                     39:         </TR>
                     40:                        <!-- Begin Search Elements -->
                     41:         <TR VALIGN="top">
                     42:             <TD BGCOLOR="#666699">      
                     43:                         <TABLE BORDER="0" WIDTH="157" CELLSPACING="0" CELLPADDING="0">
                     44:                                 <TR>
                     45:                                     <TD BGCOLOR="#666699" COLSPAN="2" WIDTH="157" VALIGN="TOP"><IMG BORDER="0" SRC="/images/search/contract/search1.gif" WIDTH="157" HEIGHT="16" ALT="Search SunSolve"></TD>
                     46:                             </TR>
                     47:                                 <TR>
                     48:                                         <TD VALIGN="top" ALIGN="center" WIDTH="141" BGCOLOR="#666699"><FORM ACTION="search.pl" METHOD="POST"><FONT SIZE="2"><INPUT TYPE="text" NAME="zone_32" SIZE="14"></FONT><input type=hidden name=mode value=results><BR>
                     49: <INPUT TYPE="image" SRC="/images/search/contract/search5.gif" BORDER="0" NAME="Search"><IMG SRC="/images/cg_clear.gif" ALT="" WIDTH="2" HEIGHT="1" BORDER="0" HSPACE="29" VSPACE="0"><BR>
                     50: 
                     51: <A HREF="search.pl?mode=advanced"><IMG BORDER="0" SRC="/images/search/contract/search3.gif" WIDTH="144" HEIGHT="16" ALT="Advanced Search"></A><BR>
                     52: 
                     53: <A HREF="search.pl?mode=product"><IMG SRC="/images/search/contract/search4.gif" BORDER="0" ALT="Product Search" WIDTH="144" HEIGHT="19"></A><BR>
                     54: 
                     55: <A HREF="show.pl?target=help/search_tips"><IMG SRC="/images/search/contract/search6.gif" BORDER="0" ALT="Search Tips" WIDTH="144" HEIGHT="27"></A></TD>
                     56:                                         <TD ALIGN="right"><IMG SRC="/images/search/contract/search2.gif" ALT="" WIDTH="13" HEIGHT="117" BORDER="0"></TD>
                     57:                                 </TR>
                     58:     <!-- End Search Elements -->
                     59:                     <!-- Begin User Personalization (Must limit to 10 Characters)-->
                     60:                     <TR>
                     61:                         <TD COLSPAN="2"><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="157"><TR><TD COLSPAN="3" ALIGN="right"><IMG SRC="/images/home_con/welcom_1.gif" ALT="" WIDTH="156" HEIGHT="4" BORDER="0"></TD></TR>
                     62:                                         <TR><TD BGCOLOR="#333366"><IMG SRC="/images/home_con/welcom_2.gif" ALT="" WIDTH="17" HEIGHT="19" BORDER="0"></TD><TD BGCOLOR="#333366" VALIGN="middle"><NOBR><FONT FACE="Geneva, Helvetica, Arial, SunSans-Regular" COLOR="#99CC33" SIZE="-2">sopko</FONT></NOBR></TD><TD BGCOLOR="#333366" ALIGN="right"><A HREF="edit-user-form.pl?viewmode=contractuser"><IMG SRC="/images/home_con/welcom_3.gif" ALT="Edit" WIDTH="45" HEIGHT="19" BORDER="0"></A></TD></TR>
                     63:                                 </TABLE>
                     64:                                 </TD>
                     65:                                 </TR> 
                     66:                 <!-- End User Personalization -->
                     67: 
                     68:                                <TR>
                     69:                                         <TD COLSPAN="2" ALIGN="right" VALIGN="top" WIDTH="157" BGCOLOR="#666699"><IMG BORDER="0" SRC="/images/ssolvecontents.gif" WIDTH="157" HEIGHT="37" ALT="Contents Of SunSolve"><BR>
                     70: 
                     71:  
                     72: 
                     73: 
                     74: 
                     75:                <!-- PILLS: CHANGE THE PILL FOR CURRENT SECTION TO THE HIGHLIGHTED PILL -->
                     76:                <!-- Beginning of Nav area -->
                     77: <A HREF="show.pl?target=patches/patch-access" onmouseover="window.status='All Public Patches'; return true" onmouseout="window.status=''; return true">
                     78: <IMG BORDER="0" SRC="/images/nav/p1.gif" WIDTH="157" HEIGHT="19" ALT="All Public Patches"></A><BR>
                     79: <A HREF="suncourier.pl" onmouseover="window.status='Submit a Service Order'; return true" onmouseout="window.status=''; return true">
                     80: <IMG BORDER="0" SRC="/images/nav/p5.gif" WIDTH="157" HEIGHT="19" ALT="Submit a Service Order"></A><BR>
                     81: <A HREF="show.pl?target=resources/tools" onmouseover="window.status='Diagnostic Tools'; return true" onmouseout="window.status=''; return true">
                     82: <IMG BORDER="0" SRC="/images/nav/p4.gif" WIDTH="157" HEIGHT="19" ALT="Diagnostic Tools"></A><BR>
                     83: <A HREF="show.pl?target=help/collections" onmouseover="window.status='Support Docs.'; return true" onmouseout="window.status=''; return true">
                     84: <IMG BORDER="0" SRC="/images/nav/cp2.gif" WIDTH="157" HEIGHT="19" ALT="Support Docs."></A><BR>
                     85: <A HREF="show.pl?target=resources/y2k" onmouseover="window.status='Y2K Central'; return true" onmouseout="window.status=''; return true">
                     86: <IMG BORDER="0" SRC="/images/nav/p3.gif" WIDTH="157" HEIGHT="19" ALT="Y2K Central"></A><BR>
                     87: <A HREF="show.pl?target=security/sec" onmouseover="window.status='Security Information'; return true" onmouseout="window.status=''; return true">
                     88: <IMG BORDER="0" SRC="/images/nav/p2.gif" WIDTH="157" HEIGHT="19" ALT="Security Information"></A><BR>
                     89: <br><table cellpadding="0" cellspacing="0" border="0" width="157">
                     90: <tr><td width="8">&nbsp;</td><td width="149">
                     91: <table cellpadding="0" cellspacing="0" border="0">
                     92: <BR><tr><td><BR><img src="/images/line.gif" alt="------" width="140" height="11" border="0"><br>
                     93:                <A HREF="mark.pl" 
                     94:                        onmouseover="window.status='Marked Docs.';return true"
                     95:                        onmouseout="window.status='';return true">
                     96:                        <font class="locallink" color="#dddddd">Marked Docs.</FONT></A><BR>
                     97:                <A HREF="notify.pl" 
                     98:                        onmouseover="window.status='Notifications';return true"
                     99:                        onmouseout="window.status='';return true">
                    100:                        <font class="locallink" color="#dddddd">Notifications</FONT></A><BR>
                    101:                <A HREF="/plain-cgi/show.pl?target=home_con" 
                    102:                        onmouseover="window.status='Low Graphics';return true"
                    103:                        onmouseout="window.status='';return true">
                    104:                        <font class="locallink" color="#dddddd">Low Graphics</FONT></A><BR>
                    105:                <A HREF="show.pl?target=link" 
                    106:                        onmouseover="window.status='SunSolve Servers';return true"
                    107:                        onmouseout="window.status='';return true">
                    108:                        <font class="locallink" color="#dddddd">SunSolve Servers</FONT></A><BR>
                    109:                <A HREF="show.pl?target=about_sunsolve" 
                    110:                        onmouseover="window.status='About SunSolve';return true"
                    111:                        onmouseout="window.status='';return true">
                    112:                        <font class="locallink" color="#dddddd">About SunSolve</FONT></A><BR>
                    113:                <A HREF="feedback.pl" 
                    114:                        onmouseover="window.status='Contact Us';return true"
                    115:                        onmouseout="window.status='';return true">
                    116:                        <font class="locallink" color="#dddddd">Contact Us</FONT></A><BR>
                    117:                <A HREF="show.pl?target=help/sitemap" 
                    118:                        onmouseover="window.status='Site Map';return true"
                    119:                        onmouseout="window.status='';return true">
                    120:                        <font class="locallink" color="#dddddd">Site Map</FONT></A><BR>
                    121:                <A HREF="show.pl?target=article/article" 
                    122:                        onmouseover="window.status='Articles';return true"
                    123:                        onmouseout="window.status='';return true">
                    124:                        <font class="locallink" color="#dddddd">Articles</FONT></A><BR>
                    125:                <A HREF="show.pl?target=home_con" 
                    126:                        onmouseover="window.status='Home';return true"
                    127:                        onmouseout="window.status='';return true">
                    128:                        <font class="locallink" color="#dddddd">Home</FONT></A><BR>
                    129:                <A HREF="show.pl?target=help/faq" 
                    130:                        onmouseover="window.status='Help';return true"
                    131:                        onmouseout="window.status='';return true">
                    132:                        <font class="locallink" color="#dddddd">Help</FONT></A><BR>
                    133: <br></td></tr></table></td></tr></table>
                    134: <!-- End of Nav area -->
                    135: 
                    136:                </FORM>
                    137:                <br><br><!-- some spacers -->
                    138:                        </TD>
                    139:                 </TR>
                    140:                </TABLE>
                    141:                 </TD>
                    142:                 <TD VALIGN="TOP" WIDTH="466">
                    143: 
                    144:        
                    145:         <!--startindex-->
                    146:         <!-- ============  -->
                    147:         <!-- MAIN CONTENT  -->
                    148:         <!-- ============  -->
                    149: 
                    150: 
                    151: 
                    152: <table width=100% cellpadding=16 cellspacing=0 border=0>
                    153:   <tr>
                    154: <td width=100% valign=top>
                    155: <CENTER><FONT FACE="Geneva, Helvetica, Arial, SunSans-Regular" SIZE="2">
                    156: [&nbsp;<a href="retrieve.pl?type=0&doc=srdb%2F19195&display=plain">Printer Friendly Page</a>&nbsp;]
                    157: [&nbsp;<b>Was this document useful? <a href="retrieve.pl?type=0&doc=srdb/19195&vote=yes">Yes</a> or <a href="retrieve.pl?type=0&doc=srdb/19195&vote=no">No</a></b>&nbsp;]<br>[&nbsp;<a href="notify.pl?action=add&doc=srdb%2F19195&type=synopsis">Notify if Document Changes</a>&nbsp;]
                    158: [&nbsp;<a href="mark.pl?action=add&doc=srdb%2F19195&type=0">Mark Document for Download</a>&nbsp;]<br>[&nbsp;<a href="notify.pl">View/Edit Notifications</a>&nbsp;]
                    159: [&nbsp;<a href="mark.pl">View/Edit Marked Documents</a>&nbsp;]<br></FONT></CENTER><br>
                    160:                <SCRIPT Language="JavaScript">
                    161:                <!-- Hide javascript from older browsers
                    162:                function jump() 
                    163:                {
                    164:                        var ctl = document.docform.jumplist;
                    165:                        location.href = ctl.options[ctl.selectedIndex].value;
                    166:                }
                    167:                // End hiding contents -->
                    168:                </SCRIPT>
                    169: <a name="top">
                    170: <form name="docform"><div align=center><font size=2> Jump to <select name="jumplist" size=1 onchange="jump();"></font><option value="#Hardware">Hardware</option>
                    171: <option value="#Product">Product</option>
                    172: <option value="#Product-Area">Product Area</option>
                    173: <option value="#Synopsis">Synopsis</option>
                    174: <option value="#Problem-Description">Problem Description</option>
                    175: <option value="#Document-Content">Document Content</option>
                    176: <option value="#Problem-Solution">Problem Solution</option>
                    177: <option value="#SRDB-ID">SRDB ID</option>
                    178: <option value="#OS">OS</option>
                    179: </select></div></form>
                    180: <table width=100% cellpadding=2 cellspacing=0 border=0>
                    181: <tr bgcolor=#666699><td><font size=2 color=#ffffff><b>SRDB ID</b></font></td>
                    182: <td bgcolor=#ffffff><font size=2>&nbsp;</font></td>
                    183: <td><font size=2 color=#ffffff><b>Synopsis</b></font></td>
                    184: <td bgcolor=#ffffff><font size=2>&nbsp;</font></td>
                    185: <td><font size=2 color=#ffffff><b>Date</b></font></td>
                    186: </tr>
                    187: <tr bgcolor=#CCCCE7><td><font size=2><b>19195</b></font></td>
                    188: <td bgcolor=#ffffff><font size=2>&nbsp;</font></td>
                    189: <td><font size=2><b>Upgraded to 2.6, using xntpd, but the system clock is drifting. Worked fine</b></font></td>
                    190: <td bgcolor=#ffffff><font size=2>&nbsp;</font></td>
                    191: <td><font size=2><b>4 Sep 1999</b></font></td>
                    192: </tr>
                    193: </table><br clear>
                    194: <table width=100% cellpadding=2 cellspacing=0 border=0><tr bgcolor=#999999>
                    195: <td><font size=2 color=#ffffff><b><a name=Problem-Description>Problem Description</a></b></font></td>
                    196: <td align=right><b><a href="#top"><font size=2 color=#ffffff>Top</font></a></b></td></tr></table>
                    197: <pre>Ever since upgrading to Solaris 2.6, the system clock has been drifting and
                    198: there are messages like 'synchronisation lost', 'Previous time adjustment
                    199: didn''t complete' and 'time reset (step)' a lot in the /var/adm/messages 
                    200: file. The system either was previously working fine with the freeware
                    201: xntpd or the configuration was copied from another system that was 
                    202: using the freeware version.
                    203: -- 23-Apr-99 08:22 US/Eastern --</pre><table width=100% cellpadding=2 cellspacing=0 border=0><tr bgcolor=#999999>
                    204: <td><font size=2 color=#ffffff><b><a name=Problem-Solution>Problem Solution</a></b></font></td>
                    205: <td align=right><b><a href="#top"><font size=2 color=#ffffff>Top</font></a></b></td></tr></table>
                    206: <pre>The common lore for setting up xntpd on Solaris using
                    207: the freeware version included the warning to set the 
                    208: kernel variable <font color=red>dosynctodr</font> to 0 in the /etc/system 
                    209: file thus: set <font color=red>dosynctodr</font>=0
                    210: 
                    211: When using NTP on Solaris 2.6 or later, the kernel 
                    212: variable MUST be left at the default value of 1. Prior 
                    213: to 2.6 this variable controlled whether or not to rein  
                    214: in the softclock using the hardware clock, with the result 
                    215: that NTP and the hardware clock would fight for control of 
                    216: the soft clock; thus before 2.6 you had to set <font color=red>dosynctodr</font> 
                    217: to 0. At 2.6, every system call that adjusts the softclock 
                    218: also sets the hard clock, thus while NTP controls the soft 
                    219: clock, the hard clock is also controlled. Setting 
                    220: <font color=red>dosynctodr</font> to 0 reverts the behavior back to the pre 2.6 
                    221: defaulkt behavior, having exactly the opposite effect 
                    222: as that intended.
                    223: 
                    224: Do not set <font color=red>dosynctodr</font> to 0.</pre><table width=100% cellpadding=2 cellspacing=0 border=0>
                    225: <tr><td bgcolor=#999999 valign=top width=25%><font color=#ffffff size=2><b><a name=Product-Area>Product Area</a></b></font></td>
                    226: <td bgcolor=#cccccc valign=top width=75%><font size=2>Bundled Network</font></td></tr>
                    227: <tr><td bgcolor=#999999 valign=top width=25%><font color=#ffffff size=2><b><a name=Product>Product</a></b></font></td>
                    228: <td bgcolor=#cccccc valign=top width=75%><font size=2>NTP</font></td></tr>
                    229: <tr><td bgcolor=#999999 valign=top width=25%><font color=#ffffff size=2><b><a name=OS>OS</a></b></font></td>
                    230: <td bgcolor=#cccccc valign=top width=75%><font size=2>Solaris 2.6</font></td></tr>
                    231: <tr><td bgcolor=#999999 valign=top width=25%><font color=#ffffff size=2><b><a name=Hardware>Hardware</a></b></font></td>
                    232: <td bgcolor=#cccccc valign=top width=75%><font size=2>Ultra 2</font></td></tr>
                    233: <tr><td bgcolor=#999999 valign=top width=25%><font color=#ffffff size=2><b><a name=Document-Content>Document Content</a></b></font></td>
                    234: <td bgcolor=#cccccc valign=top width=75%><font size=2>with freeware xntpd.</font></td></tr>
                    235: </table><br clear>
                    236: <font size=2><a href="#top">Top</a></font><br><br>
                    237: </td></tr></table>
                    238: 
                    239:         <!-- ===================  -->
                    240:         <!-- END OF MAIN CONTENT -->
                    241:         <!-- ===================  -->
                    242:         <!--stopindex-->
                    243: 
                    244:         <!-- DON'T CHANGE INFORMATION OTHER THAN titlebar BELOW THIS LINE -->
                    245: 
                    246:         <!-- Altered Table Structure from Template to format properly with new design -->
                    247:         </TD>
                    248:     </TR>
                    249:     <TR>
                    250:         <TD>&nbsp;</TD>
                    251:         <TD VALIGN="top">
                    252:        <center>
                    253:         <IMG SRC="/images/cg_grey_line.gif" ALT="" WIDTH="466" HEIGHT="2" BORDER="0"><BR>
                    254:         <IMG SRC="/images/cg_clear.gif" ALT=""  WIDTH="1" HEIGHT="2" BORDER="0" HSPACE="0" VSPACE="4">
                    255:        </center>
                    256:         <CENTER>
                    257:         <FONT FACE="Geneva, Helvetica, Arial, SunSans-Regular" SIZE="2">
                    258:         [ <A HREF="edit-user-form.pl?viewmode=contractuser">Edit Account</A> ]
                    259:         [ <A HREF="show.pl?target=patches/patch-access">Patches</A> ]
                    260:         [ <A HREF="suncourier.pl">Submit a Service Order</A> ]<br>
                    261:         [ <A HREF="show.pl?target=resources/tools">Diagnostic Tools</A> ]  
                    262:         [ <A HREF="show.pl?target=help/collections">Support Docs.</A> ]
                    263:         [ <A HREF="show.pl?target=resources/y2k">Y2K Central</A> ] 
                    264:         [ <A HREF="show.pl?target=security/sec">Security Information</A> ] <br>
                    265:         [ <A HREF="show.pl?target=link">SunSolve Servers </A> ]
                    266:         [ <A HREF="show.pl?target=about_sunsolve">About SunSolve</A> ] 
                    267:         [ <A HREF="feedback.pl">Contact Us</A> ] 
                    268:         [ <A HREF="show.pl?target=help/sitemap">Site Map</A> ]
                    269:         [ <A HREF="show.pl?target=article/article">Articles</A> ]
                    270:         [ <A HREF="show.pl?target=home_con">Home</A> ]
                    271:         [ <A HREF="show.pl?target=help/faq">Help</A> ]
                    272:         </FONT>
                    273:         </CENTER>
                    274: 
                    275: <!-- MAPS -->
                    276: <MAP NAME="lefttop">
                    277: <AREA SHAPE="rect" HREF="http://www.sun.com/MySun/" ALT="My Sun" COORDS="89,0 149,32">
                    278: <AREA SHAPE="rect" HREF="show.pl?target=home_con" ALT="Home" COORDS="0,0 42,32">
                    279: <AREA SHAPE="rect" HREF="http://www.sun.com/sales/" ALT="Buy" COORDS="54,0 78,32">
                    280: </MAP>
                    281: 
                    282: 
                    283: <MAP NAME="topnav">
                    284: <AREA SHAPE="rect" HREF="http://www.sun.com/java/" ALT="Java Technologies" COORDS="4,0,67,32">
                    285: <AREA SHAPE="rect" HREF="http://www.sun.com/products-n-solutions/" ALT="Products and Solutions" COORDS="74,0,141,32">
                    286: <AREA SHAPE="rect" HREF="http://www.sun.com/service/" ALT="Support, Education, and Consulting" COORDS="148,0,249,32">
                    287: <AREA SHAPE="rect" HREF="http://www.sun.com/tech/" ALT="Technology and Research" COORDS="261,0,324,32">
                    288: <AREA SHAPE="rect" HREF="http://www.sun.com/developers/developers.html" ALT="For Developers" COORDS="334,0,396,32">
                    289: <AREA SHAPE="rect" HREF="http://www.sun.com/corporateoverview/" ALT="Corporate Information" COORDS="406,0,482,32">
                    290: </MAP>
                    291: 
                    292: <!-- INSERT titlebar HREFS BELOW -->
                    293: <MAP NAME="titlebar">
                    294: <!-- LINK TO SEC HOME Removed because no longer needed on this template -->
                    295: <AREA SHAPE="rect" HREF="/visual/home/" ALT="SunSolve Online(tm)" COORDS="0,21,215,51"> <!-- LINK TO CURRENT PILL HOME -->
                    296: </MAP>
                    297: 
                    298: 
                    299: <!-- begin copyright notice -->
                    300: 
                    301: <BR>
                    302: <CENTER>
                    303: <FONT FACE="Geneva, Helvetica, Arial, SunSans-Regular" COLOR="#999999" SIZE="2">
                    304: <br>
                    305: Copyright 1994-1999 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.
                    306: <br>
                    307: All rights reserved.
                    308: <a href="http://www.sun.com/share/text/SMICopyright.html">Legal Terms</a>. 
                    309: <a href="http://www.sun.com/privacy/">Privacy Policy</a>.
                    310: </font>
                    311: </CENTER>
                    312: 
                    313: <!-- end copyright notice -->
                    314:         
                    315:         </TD>
                    316:     </TR>
                    317: </TABLE>
                    318: 
                    319: </BODY>
                    320: </HTML>
                    321: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>