<?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>BOLVERK - Tim&#039;s Lousy Blog &#187; OS X</title>
	<atom:link href="http://bolverk.net/tag/os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://bolverk.net</link>
	<description>A Personal Blog by Tim Oudin</description>
	<lastBuildDate>Wed, 20 Jan 2010 04:33:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>OS X and smb mount failure (error code -41)</title>
		<link>http://bolverk.net/24/os-x-and-smb-mount-failure/</link>
		<comments>http://bolverk.net/24/os-x-and-smb-mount-failure/#comments</comments>
		<pubDate>Thu, 23 Nov 2006 21:44:27 +0000</pubDate>
		<dc:creator>Tim Oudin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.bolverk.net/wordpress/24/os-x-and-smb-mount-failure/</guid>
		<description><![CDATA[I&#8217;ve suddenly started having an issue with a couple of shares on a Windows XP Pro machine and being able to mount them with the Mac. I&#8217;ve been actively using these shares for well over a year in exactly the same fashion and it just kind of stopped, I have no idea if there&#8217;s any [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve suddenly started having an issue with a couple of shares on a Windows XP Pro machine and being able to mount them with the Mac.  I&#8217;ve been actively using these shares for well over a year in exactly the same fashion and it just kind of stopped, I have no idea if there&#8217;s any action performed that would have caused this.</p>
<p>Basically, what I got from my Mac when I attempted to mount one of these problematic share is a &#8220;connecting to server sorry the operation could not be completed because an unexpected error occurred (error code -41)&#8221;.  When attempting to mount the share via command line the process hung.  In searching I found the following error on my XP machine Event Logs.</p>
<p>Product: Windows Operating System<br />
Event ID: 2011<br />
Source: Srv<br />
Version: 5.2<br />
Symbolic Name: EVENT_SRV_IRP_STACK_SIZE<br />
Message: The server&#8217;s configuration parameter &#8220;irpstacksize&#8221; is too small for the server to use a local device. Please increase the value of this parameter.</p>
<p>The times seemed to match my mount attempts.  Recall that this only occured on <em>some</em> of my shares, two out of 10+ on the machine.  Further research gave the following from Microsoft.</p>
<p><span id="more-24"></span></p>
<p><strong>Explanation</strong><br />
The server is configured with too many file system filter drivers (for example, Quota and anti-virus) and/or too many devices, or the irpstacksize parameter is set to less than the default of 15 stack frames. The irpstacksize represents the number of kernel modules that can store information in the input/output (I/O) Request Packet (IRP). The IRP is used to track I/O requests in the kernel.</p>
<p><strong>User Action</strong><br />
The irpstacksize parameter can be increased by changing the registry value.</p>
<p>To change the registry value</p>
<p>Using Regedit, open the following registry key:<br />
<strong> HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters\IRPStackSize</strong><br />
In the Value data box, type 15.</p>
<p>I didn&#8217;t have this key so I created it.  Microsoft recommended increasing the binary value of this key by a value of 5 until the error stopped.  Not wanting to waste time I set an initial value of 20, restarted the Server service and was immediately able to mount my problematic shares.</p>
<p>wtf?  I certainly don&#8217;t get&#8230;</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=OS+X+and+smb+mount+failure+%28error+code+-41%29+http%3A%2F%2Fbolverk.net%2Fu7qg" title="Post to Twitter"><img class="nothumb" src="http://bolverk.net/wp-content/plugins/tweet-this/icons/tt-twitter-micro3.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://bolverk.net/24/os-x-and-smb-mount-failure/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
