<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Clock skew detected</title>
	<atom:link href="http://kmandla.wordpress.com/2009/01/17/clock-skew-detected/feed/" rel="self" type="application/rss+xml" />
	<link>http://kmandla.wordpress.com/2009/01/17/clock-skew-detected/</link>
	<description>K.Mandla's blog of Linux experiences</description>
	<lastBuildDate>Mon, 11 Feb 2013 18:19:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: nightmorph</title>
		<link>http://kmandla.wordpress.com/2009/01/17/clock-skew-detected/#comment-38225</link>
		<dc:creator><![CDATA[nightmorph]]></dc:creator>
		<pubDate>Thu, 22 Jan 2009 07:28:30 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2009/01/17/clock-skew-detected/#comment-38225</guid>
		<description><![CDATA[That is indeed one possibility.

Or, if your built-in clock really &lt;em&gt;is&lt;/em&gt; unstable (which is common in both very old and new machines; some x86-64 chipsets are famous for having crap timers), then it could be just wobbling all over the place rapidly, jumping many hours at a stretch. I&#039;ve seen heavy CPU usage throw off the internal clock, too, which made me wonder just what timer was being used, for the CPU cycles to throw it off so much! Certain chipsets with buggy ACPI implementations can also throw off the timer, since the CPU speed shifts can do funny things to the cloc,.

You may want to take a look at your kernel configuration and see which timers or RTC you&#039;re using -- most computers have more than one. The kernel config options explain this a bit further in their help screens (press &lt;strong&gt;?&lt;/strong&gt;). If you have an HPET timer available, it&#039;s often a good idea to use this, as it&#039;s generally a very stable, high-resolution timer.]]></description>
		<content:encoded><![CDATA[<p>That is indeed one possibility.</p>
<p>Or, if your built-in clock really <em>is</em> unstable (which is common in both very old and new machines; some x86-64 chipsets are famous for having crap timers), then it could be just wobbling all over the place rapidly, jumping many hours at a stretch. I&#8217;ve seen heavy CPU usage throw off the internal clock, too, which made me wonder just what timer was being used, for the CPU cycles to throw it off so much! Certain chipsets with buggy ACPI implementations can also throw off the timer, since the CPU speed shifts can do funny things to the cloc,.</p>
<p>You may want to take a look at your kernel configuration and see which timers or RTC you&#8217;re using &#8212; most computers have more than one. The kernel config options explain this a bit further in their help screens (press <strong>?</strong>). If you have an HPET timer available, it&#8217;s often a good idea to use this, as it&#8217;s generally a very stable, high-resolution timer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K.Mandla</title>
		<link>http://kmandla.wordpress.com/2009/01/17/clock-skew-detected/#comment-38217</link>
		<dc:creator><![CDATA[K.Mandla]]></dc:creator>
		<pubDate>Thu, 22 Jan 2009 01:13:58 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2009/01/17/clock-skew-detected/#comment-38217</guid>
		<description><![CDATA[Thanks, that was exceptionally educational and very helpful, actually. That might explain why this machine in particular always seems to have clock issues, particularly when I try to compile things.

If you get the chance, may I ask one more thing? I have noticed that occasionally, if I pick up an exceptionally fresh upload from another time zone and try to compile it, I get occasional errors of the same nature. Is that a possibility too? Can the times stamped from someone else&#039;s source files trigger clock skew warnings on a machine in a different time zone? Perhaps I&#039;m reaching, but I could swear one time that was the case.]]></description>
		<content:encoded><![CDATA[<p>Thanks, that was exceptionally educational and very helpful, actually. That might explain why this machine in particular always seems to have clock issues, particularly when I try to compile things.</p>
<p>If you get the chance, may I ask one more thing? I have noticed that occasionally, if I pick up an exceptionally fresh upload from another time zone and try to compile it, I get occasional errors of the same nature. Is that a possibility too? Can the times stamped from someone else&#8217;s source files trigger clock skew warnings on a machine in a different time zone? Perhaps I&#8217;m reaching, but I could swear one time that was the case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nightmorph</title>
		<link>http://kmandla.wordpress.com/2009/01/17/clock-skew-detected/#comment-38201</link>
		<dc:creator><![CDATA[nightmorph]]></dc:creator>
		<pubDate>Wed, 21 Jan 2009 10:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2009/01/17/clock-skew-detected/#comment-38201</guid>
		<description><![CDATA[When you get multi-hour clock skew based on which OS you&#039;re booting, that&#039;s often a sign that one OS isn&#039;t using the hardware clock, as timezones are coming into play.

Often, the hardware manufacturer sets the hardware clock to UTC, and the operating system can either use that -- align itself to the UTC time -- or it&#039;s free to ignore it and go on &quot;local&quot; time. Local time is the time you set manually, either during installation or during normal desktop usage.

Machines that dual-boot Windows with Linux are famous for hitting this issue because Windows uses local time, while most Linuxes like using UTC. To avoid the issue, the Linux install has to be set to &quot;local&quot; in &lt;strong&gt;/etc/conf.d/clock&lt;/strong&gt;or equivalent.

I notice this happening on my dual-boot Gentoo/Ubuntu laptop. I have my clock in Gentoo set to &quot;local&quot;, as I&#039;m using the PST8PDT timezone. Ubuntu seems to be using something more UTC-like, like America/Los_Angeles, which is &lt;em&gt;not&lt;/em&gt; the same TZ. Thus, whenever I go to Gentoo from Ubuntu, I&#039;ve got disk errors and checking to do, as the OS thinks it&#039;s now in the future. Etc.

Normally, just syncing up timezone and clock configs between environments should fix the issue. If software fails, perhaps you&#039;ll have additional options in your BIOS? And if &lt;em&gt;that&lt;/em&gt; fails, perhaps you do, indeed, have hardware issues. :)]]></description>
		<content:encoded><![CDATA[<p>When you get multi-hour clock skew based on which OS you&#8217;re booting, that&#8217;s often a sign that one OS isn&#8217;t using the hardware clock, as timezones are coming into play.</p>
<p>Often, the hardware manufacturer sets the hardware clock to UTC, and the operating system can either use that &#8212; align itself to the UTC time &#8212; or it&#8217;s free to ignore it and go on &#8220;local&#8221; time. Local time is the time you set manually, either during installation or during normal desktop usage.</p>
<p>Machines that dual-boot Windows with Linux are famous for hitting this issue because Windows uses local time, while most Linuxes like using UTC. To avoid the issue, the Linux install has to be set to &#8220;local&#8221; in <strong>/etc/conf.d/clock</strong>or equivalent.</p>
<p>I notice this happening on my dual-boot Gentoo/Ubuntu laptop. I have my clock in Gentoo set to &#8220;local&#8221;, as I&#8217;m using the PST8PDT timezone. Ubuntu seems to be using something more UTC-like, like America/Los_Angeles, which is <em>not</em> the same TZ. Thus, whenever I go to Gentoo from Ubuntu, I&#8217;ve got disk errors and checking to do, as the OS thinks it&#8217;s now in the future. Etc.</p>
<p>Normally, just syncing up timezone and clock configs between environments should fix the issue. If software fails, perhaps you&#8217;ll have additional options in your BIOS? And if <em>that</em> fails, perhaps you do, indeed, have hardware issues. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K.Mandla</title>
		<link>http://kmandla.wordpress.com/2009/01/17/clock-skew-detected/#comment-38165</link>
		<dc:creator><![CDATA[K.Mandla]]></dc:creator>
		<pubDate>Sat, 17 Jan 2009 11:41:10 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2009/01/17/clock-skew-detected/#comment-38165</guid>
		<description><![CDATA[I might try that if the problem persists. Usually I try to avoid too many extras, but that might save me the trouble.

I should say though that these seem to crop up between booting into a live CD and chrooting into a system I&#039;m troubleshooting, and when I boot directly into the system.

Of course &lt;a href=&quot;http://kmandla.wordpress.com/hardware#a00-0003jp&quot; / rel=&quot;nofollow&quot;&gt;this machine&lt;/a&gt; is so old it might be having hardware problems too. :&#124;]]></description>
		<content:encoded><![CDATA[<p>I might try that if the problem persists. Usually I try to avoid too many extras, but that might save me the trouble.</p>
<p>I should say though that these seem to crop up between booting into a live CD and chrooting into a system I&#8217;m troubleshooting, and when I boot directly into the system.</p>
<p>Of course <a href="http://kmandla.wordpress.com/hardware#a00-0003jp" / rel="nofollow">this machine</a> is so old it might be having hardware problems too. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nightmorph</title>
		<link>http://kmandla.wordpress.com/2009/01/17/clock-skew-detected/#comment-38162</link>
		<dc:creator><![CDATA[nightmorph]]></dc:creator>
		<pubDate>Sat, 17 Jan 2009 05:25:41 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2009/01/17/clock-skew-detected/#comment-38162</guid>
		<description><![CDATA[Why not just run an initscript like ntpdate to set the initial time at boot, then ntpd to keep your time constantly updated while your system is running?

Your hardware must be having serious issues if it&#039;s getting that much clock skew while just compiling.]]></description>
		<content:encoded><![CDATA[<p>Why not just run an initscript like ntpdate to set the initial time at boot, then ntpd to keep your time constantly updated while your system is running?</p>
<p>Your hardware must be having serious issues if it&#8217;s getting that much clock skew while just compiling.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
