<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>kdmurray.blog &#187; bug</title>
	<atom:link href="http://kdmurray.net/tag/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://kdmurray.net</link>
	<description>The crossroads of life and tech</description>
	<lastBuildDate>Sun, 20 May 2012 21:42:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Subversion &#8211; Can&#8217;t move [file]. The file or directory has become corrupted and is unreadable</title>
		<link>http://kdmurray.net/2010/05/05/subversion-cant-move-the-file-or-directory-has-become-corrupted-and-is-unreadable/</link>
		<comments>http://kdmurray.net/2010/05/05/subversion-cant-move-the-file-or-directory-has-become-corrupted-and-is-unreadable/#comments</comments>
		<pubDate>Wed, 05 May 2010 07:48:34 +0000</pubDate>
		<dc:creator>kdmurray</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[ankhsvn]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[win7]]></category>
		<category><![CDATA[win7corrupt]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://kdmurray.net/?p=843</guid>
		<description><![CDATA[Update 2011-02-11: Since the post was originally published Microsoft has issued a hotfix for this issue, which is slated to be included in Windows 7 SP1. I recently ran into a problem on my fancy new machine while trying to commit a rather large number of files into an SVN repository. The error message stated [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><strong>Update 2011-02-11</strong>: Since the post was originally published <a href="http://support.microsoft.com/kb/982927/en-us" target="_blank">Microsoft has issued a hotfix</a> for this issue, which is slated to be included in Windows 7 SP1.</span></p>

<p><a href="http://kdmurray.net/wp-content/uploads/2010/05/svn11.png"><img class="alignleft size-full wp-image-845" style="border: 0pt none; margin: 4px;" title="svn" src="http://kdmurray.net/wp-content/uploads/2010/05/svn11.png" alt="" width="96" height="73" /></a>I recently ran into a problem on my fancy new machine while trying to commit a rather large number of files into an SVN repository. The error message stated that some of the files in the .svn control directory had become corrupted and unreadable.</p>

<p>After Googling around a bit I came across a post on <a href="http://ankhsvn.open.collab.net/issues/show_bug.cgi?id=614" target="_blank">the CollabNet issue log</a> which identified this as an issue with the NTFS stack on Windows 7. This post included another link to a <a href="http://social.technet.microsoft.com/Forums/en/w7itprogeneral/thread/df935a52-a0a9-4f67-ac82-bc39e0585148" target="_blank">Microsoft technet discussion about the issue</a>.</p>

<p>The long and the short of it is that this is an identified issue in the NTFS implementation in all editions of Windows 7 (both 32 and 64 bit versions). The indexing service is locking files which SVN is trying to move. This only appears to be a problem with large batch transactions. Smaller ones, for me at least, have been working just fine but YMMV.</p>

<p>In case you don&#8217;t want to read the whole discussion thread, here&#8217;s the response from the NTFS team developer who responded to the community reports:</p>

<blockquote>This is a known regression in Windows 7 in the NTFS file system.  It  occurs when doing a superceding rename over a file that has an atomic  oplock on it (atomic oplocks are a new feature in Windows 7).  The  indexer uses atomic oplocks which is why it helped when you disabled the  indexer.  Explorer also uses atomic oplocks which is why you are still  seeing the issue.  When this occurs STATUS_FILE_CORRUPT is incorrectly  returned and the volume is marked &#8220;dirty&#8221; which is a signal to the  system that chkdsk needs to be run.  No actual corruption has occured.

Neal  Christiansen
NTFS Development Lead</blockquote>

<p>The identified workaround for this issue is to stop the indexing service. If you don&#8217;t use search very often you can disable it. If you do, you can just stop the service and allow it to restart the next time you restart Windows.</p>

<p>The next trick, of course, is finding the indexing service.  In Windows 7 the service has been renamed &#8220;Windows Search&#8221;. It serves essentially the same functions as the old &#8220;Indexing Service&#8221;.</p>

<p><a href="http://kdmurray.net/wp-content/uploads/2010/05/Services11.png"><img class="alignnone size-full wp-image-844" title="Services" src="http://kdmurray.net/wp-content/uploads/2010/05/Services11.png" alt="" width="481" height="84" /></a></p>

<p>There have been some reports that this issue affects Windows Vista as well, but I don&#8217;t have a Vista machine to test with.</p>
]]></content:encoded>
			<wfw:commentRss>http://kdmurray.net/2010/05/05/subversion-cant-move-the-file-or-directory-has-become-corrupted-and-is-unreadable/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Fixing Bootcamp Clock Issue on Windows 7</title>
		<link>http://kdmurray.net/2009/11/01/fixing-bootcamp-clock-issue-on-windows-7/</link>
		<comments>http://kdmurray.net/2009/11/01/fixing-bootcamp-clock-issue-on-windows-7/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 09:31:27 +0000</pubDate>
		<dc:creator>kdmurray</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[Bootcamp]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[clock]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://kdmurray.net/?p=788</guid>
		<description><![CDATA[For the longest time I simply lived with the fact that my system clock didn&#8217;t behave properly in my Windows partition when I had BootCamp setup on the macbook. It didn&#8217;t matter what I did, I couldn&#8217;t seem to find a way to keep the clock properly synchronized.  The problem stems from how Apple decided [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://kdmurray.net/wp-content/uploads/2009/11/win7transparent11.png"><img class="alignleft size-full wp-image-792" title="win7transparent" src="http://kdmurray.net/wp-content/uploads/2009/11/win7transparent11.png" alt="win7transparent" width="128" height="114" /></a>For the longest time I simply lived with the fact that my system clock didn&#8217;t behave properly in my Windows partition when I had BootCamp setup on the macbook. It didn&#8217;t matter what I did, I couldn&#8217;t seem to find a way to keep the clock properly synchronized.  The problem stems from how Apple decided to implement the system clock which is different from the way that most PC manufacturers do.</p>

<p>Apple&#8217;s hardware always returns time in UTC, most PCs update the system clock to local time and won&#8217;t require a conversion of that time so of course the default Windows settings aren&#8217;t really set up for BootCamp (though you&#8217;d think the BootCamp installer could correct this&#8230;)</p>

<p>The solution, as it turns out, is a simple registry key change to tell Windows that the system&#8217;s clock is using UTC time.  One value in one key, that&#8217;s all it takes:</p>

<p><code>Windows Registry Editor Version 5.00</code></p>

<p><code>[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001</code></p>

<p><strong>BootcampUtcClockFix.reg</strong></p>

<p>Another solution that I found over at <a href="http://superuser.com/questions/11150/clock-on-my-mac-gets-altered-when-i-boot-into-windows" target="_blank">superuser.com</a> is to modify OS X to change the time at startup and at shutdown. To me, this seems like more of a hack than the &#8220;unsupported&#8221; registry key. Windows 7 has been working well under this configuration and has even successfully interpreted the daylight saving time change.</p>
]]></content:encoded>
			<wfw:commentRss>http://kdmurray.net/2009/11/01/fixing-bootcamp-clock-issue-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 379/384 objects using disk: basic

Served from: kdmurray.net @ 2012-05-23 08:18:49 -->
