<?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>Butler Press &#187; FreeBSD</title>
	<atom:link href="http://butlerpress.com/category/freebsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://butlerpress.com</link>
	<description>Scott Willson's website. Professional software development and some non-professional bits, too.</description>
	<lastBuildDate>Tue, 15 Dec 2009 19:52:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Capistrano via Cron or FreeBSD Periodic</title>
		<link>http://butlerpress.com/2009/05/05/capistrano-via-cron-or-freebsd-periodic/</link>
		<comments>http://butlerpress.com/2009/05/05/capistrano-via-cron-or-freebsd-periodic/#comments</comments>
		<pubDate>Tue, 05 May 2009 18:58:24 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://butlerpress.com/2009/05/05/capistrano-via-cron-or-freebsd-periodic/</guid>
		<description><![CDATA[Running Capistrano from cron or FreeBSD&#8217;s periodic can be tricky—both (wisely) limit your environment. Scripts may run just fine in a SSH session, but fail when run by cron.A couple of standard gotchas:

Command not found: your PATH is usually chopped down. Either explicitly set PATH to include you commands, or execute commands with their full [...]]]></description>
			<content:encoded><![CDATA[<p>Running Capistrano from cron or FreeBSD&#8217;s periodic can be tricky—both (wisely) limit your environment. Scripts may run just fine in a SSH session, but fail when run by cron.A couple of standard gotchas:
<ul>
<li>Command not found: your PATH is usually chopped down. Either explicitly set PATH to include you commands, or execute commands with their full paths.</li>
<li>No terminal. On Linux, try sudo&#8217;s -i option.</li>
</ul>
<p>More puzzling:connection failed for: example.com (RuntimeError: can&#8217;t get terminal parameters (Inappropriate ioctl for device))I assumed this was a tty/SSH/login session problem. Turns out it was a permissions problem. The current user couldn&#8217;t login to the remote server via SSH, and the remote server was prompting for a password. Of course, it worked when running this script by hand.</p>
]]></content:encoded>
			<wfw:commentRss>http://butlerpress.com/2009/05/05/capistrano-via-cron-or-freebsd-periodic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dumb Thing I Did Recently With FreeBSD</title>
		<link>http://butlerpress.com/2007/10/30/dumb-thing-i-did-recently-with-freebsd/</link>
		<comments>http://butlerpress.com/2007/10/30/dumb-thing-i-did-recently-with-freebsd/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 18:57:33 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://butlerpress.com/2007/10/30/dumb-thing-i-did-recently-with-freebsd/</guid>
		<description><![CDATA[The point: if you have odd problems with your new computer, check for IRQ conflicts.
That&#8217;s been good advice for, what, twenty years? Anyway, I forgot it. Here&#8217;s what happened in case you&#8217;re as clueless as me.
I put together a new server for my &#8220;data center&#8221; &#8212; in the corner of the basement near the washer [...]]]></description>
			<content:encoded><![CDATA[<p>The point: if you have odd problems with your new computer, check for IRQ conflicts.</p>
<p>That&#8217;s been good advice for, what, twenty years? Anyway, I forgot it. Here&#8217;s what happened in case you&#8217;re as clueless as me.</p>
<p>I put together a new server for my &#8220;data center&#8221; &#8212; in the corner of the basement near the washer and the spare bicycle wheels. It&#8217;s spec&#8217;ed more or less from the Ars Technica mid-level system guide: Asus motherboard, AMD 64 CPU, SATA drives. I put FreeBSD on it.</p>
<p>Or, I tried to. Everything worked fine until I rsync&#8217;ed backup files from the old server, then boom! kernel panic and reboot. OK, I Googled about and learned that the &#8216;nfe&#8217; network driver is recommended over the default &#8216;nve&#8217; driver. Fair enough. That seemed to work better, though I still had many Ethernet transaction errors and watchdog timeouts. My connectivity was laggy and prone to drops.</p>
<p>My hub was 10BaseT only. I think I bought it right after I cancelled my Compuserve account. I replaced the hub with a nice Gigabit switch, and everything was great.</p>
<p>Well, better. It bugged me that my NIC only worked <em>without</em> the reccomended patch. I still saw an occasional warning in the log. And my SSH sessions dropped more than they should. I tried an old 100 MHz PCI NIC, and that worked, so I figured it was just bad hardware. I looked for something better than the onboard Intel NIC. Turns out, the onboard NIC is regarded as a good one, and when I tried another brand, it didn&#8217;t work at all.</p>
<p>At this point, I decided to live with the situation. That was OK until I installed Gnome so that I could run nightly Selenium tests. Boom. Panic every night when network backups started. I switched out the DSL router. I moved the server next to the router and replaced the 50-foot &#8220;data center&#8221; cable with a new short one. I removed all other computers from the wired network.</p>
<p>More panics. Hundreds of oversize frame errors n startup. Not just slightly above MTU size, but like 10,000. Huh?</p>
<p>At this point, I considered donating the motherboard and RAM to FreeGeek and just sucking it up and replacing all of it. I when through the messages log carefully and there it was: USB and NIC on the same IRQ.</p>
<p>My theory is that some Gnome-related daemons probe the USB ports, and this was interpreted as Ethernet traffic. I obvioulsy don&#8217;t really know crap about hardware though. In any case, I disabed USB in the BIOS and nary a problem now.</p>
]]></content:encoded>
			<wfw:commentRss>http://butlerpress.com/2007/10/30/dumb-thing-i-did-recently-with-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
