<?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>joe crobak&#039;s website &#187; Apple</title>
	<atom:link href="http://www.crobak.org/category/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.crobak.org</link>
	<description>sharing what I find</description>
	<lastBuildDate>Sun, 04 Dec 2011 23:18:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Silently broken Gmail</title>
		<link>http://www.crobak.org/2011/04/silently-broken-gmail/</link>
		<comments>http://www.crobak.org/2011/04/silently-broken-gmail/#comments</comments>
		<pubDate>Sat, 02 Apr 2011 22:52:04 +0000</pubDate>
		<dc:creator>joecrow</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.crobak.org/?p=60</guid>
		<description><![CDATA[At work, we have google apps, which comes with several gigs of gmail storage. For email, though, we use outlook server with a low quota. Rather than deleting email, I &#8220;archive&#8221; to gmail via IMAP. One day, though, gmail IMAP &#8230; <a href="http://www.crobak.org/2011/04/silently-broken-gmail/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>At work, we have google apps, which comes with several gigs of gmail storage. For email, though, we use outlook server with a low quota.  Rather than deleting email, I &#8220;archive&#8221; to gmail via IMAP.</p>
<p>One day, though, gmail IMAP silently stopped syncing.  I could login, but no mail was being transfered.  I tried everything &#8212; synchronizing accounts, rebuilding the mailbox, but nothing worked.  I was hoping to enable some more verbose logging, when I came across an old article from eriklabs.com about <a href="http://erikslab.com/2007/07/16/os-x-mailapp-logging/" target="_blank">Mail.app Logging</a>.</p>
<p>After learning the magic incantation, I started up Mail.app to log all operations on port 993 (the SSL port that gmail IMAP uses).  A message in the logs immediately stood out:</p>
<blockquote><p>5.1 BAD [ALERT] Message too large. http://mail.google.com/support/bin/answer.py?answer=8770</p></blockquote>
<p>The prior message logged the timestamp of the offending email, which was over 25MB in size (the max size for Gmail).  Unfortunately, Mail.app had created a large number of copies of this email (over 1,000) and placed them in the &#8220;Recovered Items&#8221; folder.</p>
<p>Even after deleting all of these &#8220;recovered item&#8221; copies, Mail kept making new one.  I tracked down a copy of this file in the .OfflineBackups directory. After removing the file that gmail rejects (see <a href="http://automatica.com.au/2010/01/mail-app-and-its-offline-cache/">http://automatica.com.au/2010/01/mail-app-and-its-offline-cache/</a> &#8212; I chose the file with the large file size in that directory), I was finally able to resync with gmail!</p>
<p>Unfortunately, mail.app was not happy that I removed a file from .OfflineBackups, and it refused to process the rest of the files in that directory.  I wrote the following python script to convert the unprocessed files in .OfflineBackups into a single .mbox file suitable for import into Mail.app.</p>
<p><script src="https://gist.github.com/899970.js"> </script></p>
<p>Thankfully, in the end, everything is back to normal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crobak.org/2011/04/silently-broken-gmail/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JAVA_HOME on Mac OS X</title>
		<link>http://www.crobak.org/2009/10/java_home-on-mac-os-x/</link>
		<comments>http://www.crobak.org/2009/10/java_home-on-mac-os-x/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 00:57:50 +0000</pubDate>
		<dc:creator>joecrow</dc:creator>
				<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://crobak.org/?p=28</guid>
		<description><![CDATA[I was working on configuring HBase to run on my Mac OS X machine, and I ran into a hiccup setting up the JAVA_HOME environment variable. Eventually, I determined that there&#8217;s a &#8220;Home&#8221; directory inside of each Java Framework. So, &#8230; <a href="http://www.crobak.org/2009/10/java_home-on-mac-os-x/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was working on configuring HBase to run on my Mac OS X machine, and I ran into a hiccup setting up the <code>JAVA_HOME</code> environment variable.  Eventually, I determined that there&#8217;s a &#8220;Home&#8221; directory inside of each Java Framework. So, the full command is is:</p>
<blockquote><p><code>export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.crobak.org/2009/10/java_home-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Globetrotter Connect for Option PCI Express card and Mac OS X 10.5.7</title>
		<link>http://www.crobak.org/2009/06/globetrotter-connect-for-option-pci-express-card-and-mac-os-x-1057/</link>
		<comments>http://www.crobak.org/2009/06/globetrotter-connect-for-option-pci-express-card-and-mac-os-x-1057/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 22:53:00 +0000</pubDate>
		<dc:creator>joecrow</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[commute]]></category>
		<category><![CDATA[globetrotter connect]]></category>
		<category><![CDATA[mac os x]]></category>

		<guid isPermaLink="false">http://crobak.org/?p=8</guid>
		<description><![CDATA[Edit: I may have jumped the gun.  After a few more days of use, it seems like the Globetrotter Connect software is no more buggy than it was before the 10.5.7 update.  The multiple kernel panics must have been a &#8230; <a href="http://www.crobak.org/2009/06/globetrotter-connect-for-option-pci-express-card-and-mac-os-x-1057/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Edit:</strong> <em>I may have jumped the gun.  After a few more days of use, it seems like the Globetrotter Connect software is no more buggy than it was before the 10.5.7 update.  The multiple kernel panics must have been a coincidence.</em></p>
<p>Warning! I installed the Mac OS X 10.5.7 update this past weekend, and I&#8217;ve had a lot of problems today with the Globetrotter Connect software.  It has caused 2 kernel panics in under an hour of use <img src='http://www.crobak.org/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> .  If you use this software, I&#8217;d strongly suggest waiting for a new version before upgrading to Mac OS X 10.5.7.</p>
<p>In a few days, I&#8217;ll give an update on if the KPs continue, or if it&#8217;s a transient error.</p>
<p>Here&#8217;s the lovely KP back trace that I&#8217;ve seen a numer of times:</p>
<pre>Mon Jun  8 08:48:18 2009
panic(cpu 1 caller 0x003A04EC): "m_free: freeing an already freed mbuf"@/SourceCache/xnu/xnu-1228.12.14/bsd/kern/uipc_mbuf.c:3574
Backtrace (CPU 1), Frame : Return Address (4 potential args on stack)
0x3b13b7f8 : 0x12b4c6 (0x45ec20 0x3b13b82c 0x13355c 0x0)
0x3b13b848 : 0x3a04ec (0x498e5c 0x467ae00 0x3b13b878 0x3f0864)
0x3b13b8c8 : 0x34a2bff2 (0x3072c200 0x3072c200 0x0 0x5a95fb)
0x3b13b8f8 : 0x5a21cb (0x5cb3c00 0x0 0xe00002eb 0x3e)
0x3b13b968 : 0x811489 (0x43c6000 0x4679500 0xe0004050 0x3e)
0x3b13b9d8 : 0x80f17e (0x43c6000 0x4671d00 0xe0004050 0x4673c00)
0x3b13ba38 : 0x80f1f1 (0x43c6000 0x2 0x3 0x0)
0x3b13ba68 : 0x4268e5 (0x43c6000 0x2 0x3 0x0)
0x3b13bab8 : 0x5a2472 (0x464d4c0 0x59e99a 0x2 0x3)
0x3b13bae8 : 0x5a6d08 (0x43c6000 0x2 0x4991ccc 0x4996d40)
0x3b13bb08 : 0x34a2bb6b (0x4991cc0 0x49eef0c 0x3b13bb38 0x5cb3c00)
0x3b13bb28 : 0x34a2bdec (0x5cb3c00 0x0 0x0 0x0)
0x3b13bb58 : 0x5e605e (0x5cb3c00 0x5e84800 0x5809e20 0x0)
0x3b13bb88 : 0x5e5e88 (0x5cb3c00 0x2 0x5e84800 0x0)
0x3b13bbc8 : 0x4268e5 (0x5cb3c00 0x3b13bc40 0x0 0x0)
0x3b13bc18 : 0x5e5f04 (0x498dd80 0x5e5e46 0x3b13bc40 0x0)
	Backtrace continues...
      Kernel loadable modules in backtrace (with dependencies):
         com.option.driver.OptionQC(1.1.18)@0x34a26000-&gt;0x34a30fff
            dependency: com.apple.iokit.IOSerialFamily(9.4)@0x69e000
            dependency: com.apple.iokit.IONetworkingFamily(1.6.1)@0x5de000
            dependency: com.apple.iokit.IOUSBFamily(3.4.3)@0x59d000
         com.apple.driver.AppleUSBUHCI(3.3.5)@0x80b000-&gt;0x818fff
            dependency: com.apple.iokit.IOPCIFamily(2.6)@0x5cd000
            dependency: com.apple.iokit.IOUSBFamily(3.4.3)@0x59d000
         com.apple.iokit.IOUSBFamily(3.4.3)@0x59d000-&gt;0x5c5fff
         com.apple.iokit.IONetworkingFamily(1.6.1)@0x5de000-&gt;0x5f3fff

BSD process name corresponding to current thread: kernel_task

Mac OS version:
9J61</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.crobak.org/2009/06/globetrotter-connect-for-option-pci-express-card-and-mac-os-x-1057/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

