<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>unsigned long geek = random(); &#187; *BSD</title>
	<atom:link href="http://mjturner.net/blog/archives/category/open-source/bsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://mjturner.net/blog</link>
	<description>Michael-John Turner: Musings from a random UNIX geek</description>
	<lastBuildDate>Fri, 12 Jun 2009 22:28:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
		<item>
		<title>NetBSD 5.0 released</title>
		<link>http://mjturner.net/blog/archives/2009/04/30/netbsd-50-released/</link>
		<comments>http://mjturner.net/blog/archives/2009/04/30/netbsd-50-released/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 12:01:35 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[netbsd]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://mjturner.net/blog/?p=273</guid>
		<description><![CDATA[For those who may have missed yesterday&#8217;s announcement, after a long beta and release candidate period, NetBSD 5.0 is finally available.
Andrew Doran has prepared a presentation (PDF) giving a high level overview of changes in 5.0 . Some highlights include:

Journaling enhancements to FFS (WAPBL)
Finer-grained locking on SMP systems
A new kernel module system
Vastly improved ACPI support
Many [...]]]></description>
			<content:encoded><![CDATA[<p>For those who may have missed yesterday&#8217;s <a href="http://www.netbsd.org/releases/formal-5/NetBSD-5.0.html">announcement</a>, after a long beta and release candidate period, <a href="http://www.NetBSD.org/">NetBSD</a> 5.0 is finally available.</p>
<p>Andrew Doran has prepared a <a href="http://www.netbsd.org/~ad/50/">presentation</a> (<a href="http://www.netbsd.org/~ad/50.pdf">PDF</a>) giving a high level overview of changes in 5.0 . Some highlights include:</p>
<ul>
<li>Journaling enhancements to FFS (<a href="http://www.daemon-systems.org/man/wapbl.4.html">WAPBL</a>)</li>
<li>Finer-grained locking on SMP systems</li>
<li>A new kernel module system</li>
<li>Vastly improved ACPI support</li>
<li>Many ports using <a href="http://www.x.org/">X.Org</a> instead of<a href="http://www.xfree86.org/">XFree86</a></li>
</ul>
<p>All in all, this is probably one of the most significant releases in the project&#8217;s history &#8211; kudos to all involved.<br />
<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2009/04/netbsd-50-released--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2009/04/30/netbsd-50-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Build a better mail server with NetBSD, part 2</title>
		<link>http://mjturner.net/blog/archives/2007/07/18/build-a-better-mail-server-with-netbsd-part-2/</link>
		<comments>http://mjturner.net/blog/archives/2007/07/18/build-a-better-mail-server-with-netbsd-part-2/#comments</comments>
		<pubDate>Wed, 18 Jul 2007 08:06:45 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/07/18/build-a-better-mail-server-with-netbsd-part-2/</guid>
		<description><![CDATA[In the first part of this short series, I detailed the reasoning behind my need for a new mail server. In this second part, I&#8217;m going to detail my mail architecture as well as the software choices I made and why.
All mail for my various domains is delivered to the primary MX, which is a [...]]]></description>
			<content:encoded><![CDATA[<p>In the <a href="http://weblogs.turner.org.za/mj/archives/2007/05/14/build-a-better-mail-server-with-netbsd-part-1/">first part</a> of this short series, I detailed the reasoning behind my need for a new mail server. In this second part, I&#8217;m going to detail my mail architecture as well as the software choices I made and why.</p>
<p>All mail for my various domains is delivered to the primary MX, which is a hosted server sitting in the US running <a href="http://www.debian.org">Debian GNU/Linux</a> (unfortunately my hosting provider doesn&#8217;t support NetBSD). It runs <a href="http://www.postfix.org">postfix</a> and makes use of a variety of checks within postfix itself as well as <a href="http://postgrey.schweikert.ch/">postgrey</a> for greylisting. I use a fairly conservative list of RBLs and, in conjunction with greylisting, they stop most spam from being accepted. Why postfix? Well, I stopped using sendmail over ten years ago, and although I&#8217;ve had good results with <a href="http://www.exim.org">Exim</a> in the past, these days I&#8217;m just most comfortable with postfix and it suits my needs perfectly.</p>
<p>The RBLs I use:</p>
<ul>
<li>zen.spamhaus.org</li>
<li>cbl.abuseat.org</li>
<li>list.dsbl.org</li>
</ul>
<p>Once mail has been received by my primary MX, it is delivered to local mailboxes, one per user. None of the users read their mail from the US server, however. All the mail is downloaded to the local mail server via SSL-secured POP3 and accessed here, either locally or via IMAP. The local mail server is a Sun Ultra 2 running NetBSD/sparc64 3.1_STABLE.</p>
<p>Software I&#8217;m using on the local mail server:</p>
<ul>
<li>postfix</li>
<li><a href="http://www.dovecot.org">dovecot</a> for IMAP (over SSL) access. There are a number of IMAP/POP3 servers available, but I chose Dovecot because of its clean design, good security record and flexible support for mail storage, amongst other things.</li>
<li><a href="http://www.ijs.si/software/amavisd/">amavisd-new</a> with <a href="http://spamassassin.apache.org/">spamassasin</a> (with razor and Bayesian filtering enabled) and <a href="http://www.clamav.net/">clamav</a> for content filtering</li>
<li><a href="http://pyropus.ca/software/getmail/">getmail</a> to download mail from the US server</li>
<li><a href="http://mailgraph.schweikert.ch/">mailgraph</a> for simple reporting</li>
</ul>
<p>All of the above are available in pkgsrc. As I have already done any RBL-based checks on the MX, I don&#8217;t do any of them locally.<br />
<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/07/build-a-better-mail-server-with-netbsd-part-2--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/07/18/build-a-better-mail-server-with-netbsd-part-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>pkgsrc on FreeBSD/sparc64 6.2</title>
		<link>http://mjturner.net/blog/archives/2007/07/16/pkgsrc-on-freebsdsparc64-62/</link>
		<comments>http://mjturner.net/blog/archives/2007/07/16/pkgsrc-on-freebsdsparc64-62/#comments</comments>
		<pubDate>Mon, 16 Jul 2007 17:49:44 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[pkgsrc]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/07/16/pkgsrc-on-freebsdsparc64-62/</guid>
		<description><![CDATA[Although FreeBSD is a platform supported by pkgsrc, only i386 supported is explicitly mentioned and the most recent bootstrap binaries are for FreeBSD/i386 5.3. Being the adventurous chap I am, I decided to bootstrap from source on my dual CPU Ultra 60 running FreeBSD/sparc64 6.2. In true pkgsrc style, it Just Worked. Since bootstrapping, I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>Although <a href="http://www.FreeBSD.org">FreeBSD</a> is a platform supported by <a href="http://www.pkgsrc.org/">pkgsrc</a>, only i386 supported is explicitly mentioned and the most recent bootstrap binaries are for FreeBSD/i386 5.3. Being the adventurous chap I am, I decided to bootstrap from source on my dual CPU Ultra 60 running FreeBSD/sparc64 6.2. In true pkgsrc style, it Just Worked. Since bootstrapping, I&#8217;ve build a number of fairly large packages without problem: zsh, ncurses, vim, postfix, perl.</p>
<p>Why pkgsrc and not <a href="http://www.freebsd.org/ports/">ports</a> on a FreeBSD system? Well, I have a finely tuned pkgsrc environment that builds packages with my set of defaults (MIT Kerberos support, for example), so I decided to stick with what works well for me.<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/07/pkgsrc-on-freebsdsparc64-62--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/07/16/pkgsrc-on-freebsdsparc64-62/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Slides from last night&#8217;s *BSD CLUG talk</title>
		<link>http://mjturner.net/blog/archives/2007/06/13/slides-from-last-nights-bsd-clug-talk/</link>
		<comments>http://mjturner.net/blog/archives/2007/06/13/slides-from-last-nights-bsd-clug-talk/#comments</comments>
		<pubDate>Wed, 13 Jun 2007 09:26:07 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/06/13/slides-from-last-nights-bsd-clug-talk/</guid>
		<description><![CDATA[I&#8217;ve uploaded the slides from last night&#8217;s *BSD talk to the CLUG wiki &#8211; grab &#8216;em here. Content licensed under a  Creative Commons Attribution Share Alike license.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve uploaded the slides from last night&#8217;s *BSD talk to the <a href="http://www.clug.org.za">CLUG</a> wiki &#8211; grab &#8216;em <a href="http://wiki.clug.org.za/images/7/70/BSD_Introduction.pdf">here</a>. Content licensed under a  Creative Commons <a href="http://creativecommons.org/licenses/by-sa/3.0/">Attribution Share Alike</a> license.<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/06/slides-from-last-nights-bsd-clug-talk--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/06/13/slides-from-last-nights-bsd-clug-talk/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Network booting FreeBSD on sparc64 systems</title>
		<link>http://mjturner.net/blog/archives/2007/06/13/network-booting-freebsd-on-sparc64-systems/</link>
		<comments>http://mjturner.net/blog/archives/2007/06/13/network-booting-freebsd-on-sparc64-systems/#comments</comments>
		<pubDate>Wed, 13 Jun 2007 04:25:57 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Sun Microsystems and SPARC]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/06/13/network-booting-freebsd-on-sparc64-systems/</guid>
		<description><![CDATA[I&#8217;ve been network booting SPARC systems for a while now, ever since my last run in with a faulty floppy drive on a SPARCstation 2. NetBSD makes it easy &#8211; the standard installation includes a diskless client filesystem which can simply be extracted onto the boot server. It wasn&#8217;t quite so straightforward with FreeBSD, so [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been network booting SPARC systems for a while now, ever since my last run in with a faulty floppy drive on a SPARCstation 2. <a href="http://www.NetBSD.org">NetBSD</a> makes it easy &#8211; the standard installation includes a diskless client filesystem which can simply be extracted onto the boot server. It wasn&#8217;t quite so straightforward with <a href="http://www.FreeBSD.org">FreeBSD</a>, so here are a few pointers&#8230;</p>
<p>My boot server is running NetBSD 3.1 and I booted FreeBSD 6.2, so if you&#8217;re using different software you may need to make some adjustments. YMMV.
<ol>
<li>On the boot server, configure rarpd(8) as usual, adding the entry for your machine&#8217;s MAC address to /etc/ethers. For example (for a machine called test02):<br />
<code>08:00:20:b2:2f:b6 test02</code>
</li>
<li>Extract the FreeBSD base fileset to the appropriate location on your boot server (for example, /export/install/fb62_sp64).</li>
<li>Extract the FreeBSD GENERIC kernel fileset to boot/ in your diskless filesystem.</li>
<li>Within your diskless root, symlink boot/GENERIC to boot/kernel (boot/GENERIC is a directory that contains the kernel and its modules).</li>
<li>Put boot/loaders from the diskless filesystem into your tftp root directory and symlink it to your machine&#8217;s IP address in hex. For example, the filename for 192.168.1.92 is C0A8015C.</li>
<li>Export your diskless root filesystem via NFS and add the necessary dhcpd.conf stanza. For example:<code><br />
host test02.pimp.org.za {<br />
  hardware ethernet 08:00:20:b2:2f:b6;<br />
  fixed-address 192.168.1.92;<br />
  option host-name "test02";<br />
  option root-path "/export/install/fb62_sp64";<br />
}</code>
</li>
<li>Boot your machine &#8211; &#8220;boot net&#8221; from the PROM should do it.</li>
</ol>
<p>A few tips:</p>
<ul>
<li>It&#8217;s normally a good idea to update the machine&#8217;s OpenBoot PROM to the latest release. Old PROMs often have subtle bugs.</li>
<li>Extracting FreeBSD filesets is simple:<code><br />
  cat 6.2-RELEASE/base/base.* > /tmp/base.tar.gz<br />
  tar -xzvpf /tmp/base.tar.gz -C /export/install/fb62_sp4<br />
</code>
</ul>
<p>Update: Fixed incorrect command to extract sets (thanks John Messenger!)</p>
<p><!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/06/network-booting-freebsd-on-sparc64-systems--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/06/13/network-booting-freebsd-on-sparc64-systems/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Tonight&#8217;s CLUG talk &#8211; BSD Unix</title>
		<link>http://mjturner.net/blog/archives/2007/06/12/tonights-clug-talk-bsd-unix/</link>
		<comments>http://mjturner.net/blog/archives/2007/06/12/tonights-clug-talk-bsd-unix/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 04:29:48 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/06/12/tonights-clug-talk-bsd-unix/</guid>
		<description><![CDATA[Just a quick reminder about the topic of tonight&#8217;s CLUG talk &#8211; BSD Unix, given by, er, yours truly. The talk starts at 6:30pm, at the UCT Chemical Engineering Lecture Theatre. 
]]></description>
			<content:encoded><![CDATA[<p>Just a quick reminder about the topic of tonight&#8217;s <a href="http://www.clug.org">CLUG</a> talk &#8211; BSD Unix, given by, er, yours truly. The talk starts at 6:30pm, at the <a href="http://wiki.clug.org.za/wiki/Venue_UCT_ChemEng_Lecture_Theatre">UCT Chemical Engineering Lecture Theatre</a>. <!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/06/tonights-clug-talk-bsd-unix--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/06/12/tonights-clug-talk-bsd-unix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>More Ultra 60s arrive</title>
		<link>http://mjturner.net/blog/archives/2007/06/10/more-ultra-60s-arrive/</link>
		<comments>http://mjturner.net/blog/archives/2007/06/10/more-ultra-60s-arrive/#comments</comments>
		<pubDate>Sun, 10 Jun 2007 16:42:00 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Sun Microsystems and SPARC]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/06/10/more-ultra-60s-arrive/</guid>
		<description><![CDATA[Thanks to a lead from Mark, I now have even more Sun Ultra 60s &#8211; another five, for the princely total of R450 (about $60). They are of varying hardware specification, but I have 1&#215;300Mhz CPU, 2&#215;360Mhz CPUs and 2&#215;450Mhz CPUs, somewhere in the region of 2.5GiB RAM and a few 4 and 9GiB disks. [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to a lead from <a href="http://www.itbox.co.za">Mark</a>, I now have even more <a href="http://sunsolve.sun.com/handbook_pub/Systems/U60/U60.html">Sun Ultra 60s</a> &#8211; another five, for the princely total of R450 (about $60). They are of varying hardware specification, but I have 1&#215;300Mhz CPU, 2&#215;360Mhz CPUs and 2&#215;450Mhz CPUs, somewhere in the region of 2.5GiB RAM and a few 4 and 9GiB disks. All the machines have dual width Elite3D framebuffers. All in all, a pretty good deal <img src='http://mjturner.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>My plan is to put together at least two dual CPU machines, one running <a href="http://www.freebsd.org">FreeBSD</a> and another probably running <a href="http://www.opensolaris.org/">OpenSolaris</a>. *sigh* If only <a href="http://www.NetBSD.org">NetBSD</a> supported SMP on 64-bit SPARC systems.<br />
<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/06/more-ultra-60s-arrive--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/06/10/more-ultra-60s-arrive/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Build a better mail server with NetBSD, part 1</title>
		<link>http://mjturner.net/blog/archives/2007/05/14/build-a-better-mail-server-with-netbsd-part-1/</link>
		<comments>http://mjturner.net/blog/archives/2007/05/14/build-a-better-mail-server-with-netbsd-part-1/#comments</comments>
		<pubDate>Mon, 14 May 2007 10:31:31 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/05/14/build-a-better-mail-server-with-netbsd-part-1/</guid>
		<description><![CDATA[I&#8217;ve been using basically the same approach for my personal mail for over twelve years &#8211; a curses-based client (currently ]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using basically the same approach for my personal mail for over twelve years &#8211; a curses-based <a href="http://en.wikipedia.org/wiki/Mail_user_agent">client</a> (currently <a href="http://www.mutt.org"/">mutt</a>), mail storage in <a href="http://en.wikipedia.org/wiki/Mbox">mbox</a> format and reading my mail on the mail server itself, logged in via ssh. As can well be imagined, it&#8217;s starting to get a little long in the tooth:</p>
<ul>
<li>The mbox format has a number of limitations (locking, performance, etc), although it is convenient to have a mail folder housed in a single file. Using mbox format also prevents me from using a client that doesn&#8217;t support it.</li>
<li>I have no convenient external access to my mail &#8211; if I&#8217;m not with a laptop, trying to read mail via an ssh connection from a mobile phone is rather uncomfortable.</li>
</ul>
<p>To finally move into the 21st century, over the past few weeks I&#8217;ve put in place a new <a href="http://sunsolve.sun.com/handbook_pub/Systems/U2/U2.html">Sun Ultra 2</a> mail server, running <a href="http://www.netbsd.org">NetBSD</a>/<a href="http://www.netbsd.org/Ports/sparc64/">sparc64</a>. Over the next few days I&#8217;ll be discussing the configuration of the new server, focusing in particular on some of the challenges faced when using a slightly, er, unusual platform.</p>
<p><!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/05/build-a-better-mail-server-with-netbsd-part-1--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/05/14/build-a-better-mail-server-with-netbsd-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Panix NetBSD virtual servers</title>
		<link>http://mjturner.net/blog/archives/2007/05/08/panix-netbsd-virtual-servers/</link>
		<comments>http://mjturner.net/blog/archives/2007/05/08/panix-netbsd-virtual-servers/#comments</comments>
		<pubDate>Tue, 08 May 2007 11:10:35 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/05/08/panix-netbsd-virtual-servers/</guid>
		<description><![CDATA[I&#8217;ve obviously been living in a cave for a while, but I only recently discovered that Panix are offering &#8220;virtual colocation&#8221; via Xen virtual machines. One very nice feature &#8211; they offer NetBSD in addition to the customary Linux. Pricing is competitive and they also offer a free backup service, which is a nice addition. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve obviously been living in a cave for a while, but I only recently discovered that <a href="http://www.panix.com/">Panix</a> are offering <a href="http://www.panix.com/corp/v-colo/">&#8220;virtual colocation&#8221;</a> via Xen virtual machines. One very nice feature &#8211; they offer <a href="http://www.NetBSD.org">NetBSD</a> in addition to the customary <a href="http://www.linux.org">Linux</a>. Pricing is competitive and they also offer a free backup service, which is a nice addition. Not quite sure why their default NetBSD virtual machine includes X11 though?<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/05/panix-netbsd-virtual-servers--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/05/08/panix-netbsd-virtual-servers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>The long path to NetBSD build success</title>
		<link>http://mjturner.net/blog/archives/2007/01/02/the-long-path-to-netbsd-build-success/</link>
		<comments>http://mjturner.net/blog/archives/2007/01/02/the-long-path-to-netbsd-build-success/#comments</comments>
		<pubDate>Tue, 02 Jan 2007 21:21:56 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2007/01/02/the-long-path-to-netbsd-build-success/</guid>
		<description><![CDATA[I&#8217;ve been having some problems with my workstation lately, some of which I&#8217;ve attributed to running bleeding edge software on a non-mainstream platform. Yes, NetBSD-current on a sparc64 machine is not always a recipe for success. The major problems were bus errors when running certain X applications (primarily fluxbox) and some X applications not building [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been having some problems with my workstation lately, some of which I&#8217;ve attributed to running bleeding edge software on a non-mainstream platform. Yes, NetBSD-current on a sparc64 machine is not always a recipe for success. The major problems were bus errors when running certain X applications (primarily fluxbox) and some X applications not building shared libraries. </p>
<p>Before possibly wasting time on issues that had already been resolved, I decided to install a new build. Unfortunately releng haven&#8217;t released any new builds since early December, which meant I&#8217;d have to build a release myself. No problem, except my regular build system (an SMP i386 NetBSD system) has been overheating of late, so I decided to resort to a native build. Not the fastest (none of my sparc64 systems is particularly fast by modern standards), but at least it&#8217;d work.</p>
<p>My first build failed with the following error:<code><br />
*** Failed target:  cp-name-parser.c<br />
*** Failed command: /usr/obj/build/tools/4.99/sparc64/bin/nbyacc -o /nfs/src/export/src/netbsd/current/usr/src/gnu/dist/gdb6/gdb/cp-name-parser.c /nfs/src/export/src/netbsd/current/usr/src/gnu/dist/gdb6/gdb/cp-name-parser.y<br />
</code></p>
<p>Hmm&#8230; Not too meaningful. Reasoning that my source tree was out of sync, I updated it and kicked off the build again. Same error.</p>
<p>After much head scratching, I guessed that the paths to the input and output files were possibly too long. The long paths are a result of my slightly convoluted filesystem layout as a result of multiple NFS servers. After a failed attempt to use a null mount (which worked, but for some reason the build still used the underlying location), I resorted to mounting the source tree directly in /usr/src and building from it. </p>
<p>Success!<code><br />
NetBSD enigma.pimp.org.za 4.99.7 NetBSD 4.99.7 (ENIGMA_499) #1: Sun Dec 31 17:52:25 SAST 2006  root@enigma.pimp.org.za:/usr/obj/sys/compile/ENIGMA_499 sparc64<br />
</code><!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2007/01/the-long-path-to-netbsd-build-success--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2007/01/02/the-long-path-to-netbsd-build-success/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Dual head X11 with NetBSD/sparc64</title>
		<link>http://mjturner.net/blog/archives/2006/12/27/dual-head-x11-with-netbsdsparc64/</link>
		<comments>http://mjturner.net/blog/archives/2006/12/27/dual-head-x11-with-netbsdsparc64/#comments</comments>
		<pubDate>Wed, 27 Dec 2006 06:25:59 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2006/12/27/dual-head-x11-with-netbsdsparc64/</guid>
		<description><![CDATA[Yesterday I finally got around to adding a second head and setting up Xinerama on my dual Creator3D Sun Ultra 60 running NetBSD/sparc64 -current (4.99.4). Setup was fairly straighforward &#8211; I started with a fresh XF86Config generated by X -configure and added the necessary stanzas for the second video card and monitor. 
The only slight [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I finally got around to adding a second head and setting up <a href="http://en.wikipedia.org/wiki/Xinerama">Xinerama</a> on my dual Creator3D Sun <a href="http://sunsolve.sun.com/handbook_pub/Systems/U60/U60.html">Ultra 60</a> running <a href="http://www.NetBSD.org">NetBSD</a>/sparc64 -current (4.99.4). Setup was fairly straighforward &#8211; I started with a fresh XF86Config generated by <code>X -configure</code> and added the necessary stanzas for the second video card and monitor. </p>
<p>The only slight problem I had was a missing fb1 node in <code>/dev</code>, with the result that XFree86 didn&#8217;t even find the second card. After much hair-pulling, I realised what the problem was and ran <code>MAKEDEV std_sparc64</code> in <code>/dev</code> to fix it. The reason for the missing device node was that my machine had been upgraded from 3.1 to -current and I had neglected to update <code>/dev</code> during the upgrade. Oh well, all&#8217;s well that ends well <img src='http://mjturner.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Dual Creator3Ds are only supported by 4.0 and later &#8211; if you try and boot 3.1 and earlier on a machine with a pair of them, you may find your console &#8220;disappearing&#8221; when the second card is initalised. To get around that, remove the second card, upgrade and then reinstall the card.</p>
<p>Some useful resources:</p>
<ul>
<li>My working <a href="/mj/misc/XF86Config_dual_Creator3D">XF86Config</a></li>
<li>The <a href="http://www.sunhelp.org/faq/FrameBuffer.html">Sun Frame Buffer FAQ</a></li>
<li>A guide to <a href="http://ftp.slackware.pl/pub/people/jason/ffb-secondary-resolution.html">setting Sun frame buffer resolution</a></li>
</ul>
<p>Update: fixed the broken link to my XF86Config<br />
<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2006/12/dual-head-x11-with-netbsdsparc64--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2006/12/27/dual-head-x11-with-netbsdsparc64/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>South African pkgsrc distfiles mirror</title>
		<link>http://mjturner.net/blog/archives/2006/12/26/south-african-pkgsrc-distfiles-mirror/</link>
		<comments>http://mjturner.net/blog/archives/2006/12/26/south-african-pkgsrc-distfiles-mirror/#comments</comments>
		<pubDate>Tue, 26 Dec 2006 10:11:05 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[pkgsrc]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2006/12/26/south-african-pkgsrc-distfiles-mirror/</guid>
		<description><![CDATA[A few weeks ago I contacted Internet Solutions and they are now kindly hosting a local pkgsrc distfiles mirror. To use it, simply add the following to your /etc/mk.conf:
MASTER_SITE_OVERRIDE=ftp://ftp.is.co.za/NetBSD/packages/distfiles/
If a file isn&#8217;t found at the local mirror, the pkgsrc fetch Makefile target will fetch it from another (non-local) mirror.

]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I contacted <a href="http://www.is.co.za">Internet Solutions</a> and they are now kindly hosting a local <a href="http://www.pkgsrc.org">pkgsrc</a> distfiles mirror. To use it, simply add the following to your <code>/etc/mk.conf</code>:<br />
<code>MASTER_SITE_OVERRIDE=ftp://ftp.is.co.za/NetBSD/packages/distfiles/</code></p>
<p>If a file isn&#8217;t found at the local mirror, the pkgsrc <em>fetch</em> Makefile target will fetch it from another (non-local) mirror.<br />
<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2006/12/south-african-pkgsrc-distfiles-mirror--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2006/12/26/south-african-pkgsrc-distfiles-mirror/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Ultra 60s arrive</title>
		<link>http://mjturner.net/blog/archives/2006/12/13/ultra-60s-arrive/</link>
		<comments>http://mjturner.net/blog/archives/2006/12/13/ultra-60s-arrive/#comments</comments>
		<pubDate>Wed, 13 Dec 2006 04:06:37 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Sun Microsystems and SPARC]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2006/12/13/ultra-60s-arrive/</guid>
		<description><![CDATA[A few weeks ago I collected some more Sun hardware from a friend of mine who seems to know the location of the best dumpsters in town. It was quite a collection: a pair of Ultra 60s, a Ultra 2, a pair of Ultra 1s, a Sun 8mm tape drive and a StorEdge L280 DLT [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I collected some more Sun hardware from a friend of mine who seems to know the location of the best dumpsters in town. It was quite a collection: a pair of <a href="http://sunsolve.sun.com/handbook_pub/Systems/U60/U60.html">Ultra 60s</a>, a <a href="http://sunsolve.sun.com/handbook_pub/Systems/U2/U2.html">Ultra 2</a>, a pair of <a href="http://www.sun.com/products-n-solutions/hardware/docs/Workstation_Products/Workstations/UltraSPARC_Workstations/Sun_Ultra_1/index.html">Ultra 1s</a>, a Sun 8mm tape drive and a <a href="http://sunsolve.sun.com/handbook_pub/Systems/L280/L280.html">StorEdge L280</a> DLT changer.</p>
<p>One of the Ultra 60s had a single 360Mhz CPU, 1GiB RAM, a 9GiB disk, gigabit Ethernet and a pair of Creator3Ds. The other had a single 360Mhz CPU, 512MiB RAM, a pair of 18GiB drives and a single Creator3D. The Ultra 2 only had a single 200Mhz CPU, but had 512MiB RAM. The Ultra 1s were pretty low end &#8211; both had 143Mhz CPUs, 64MiB RAM and a quad fast ethernet and one had a 2GiB disk, the other being diskless.</p>
<p>I&#8217;ve given the one Ultra 60 and the Ultra 2 to Jonathan Groll and the Ultra 1s will probably be given to some deserving homes amongst <a href="http://www.clug.org.za">CLUG</a> members. My Ultra 60 is already running <a href="http://www.NetBSD.org">NetBSD</a>-current (currently 4.99.4 kernel and userland) and working well, but more on that in a later post.</p>
<p>It&#8217;s incredible, but a few years ago it was impossible to get any moderately decent Sun hardware locally, but these days it seems to be falling from the sky. At rough count I currently have 13 unused Sun machines (6&#215;32-bit, 7&#215;64-bit). Now I just need to get myself a nice Blade <a href="http://sunsolve.sun.com/handbook_pub/Systems/SunBlade1000/SunBlade1000.html">1000</a>, <a href="http://sunsolve.sun.com/handbook_pub/Systems/SunBlade2000/SunBlade2000.html">2000</a> or <a href="http://sunsolve.sun.com/handbook_pub/Systems/SunBlade2500S/SunBlade2500S.html">2500</a> and I&#8217;ll be a very happy camper. Of course NetBSD still needs to get working sparc64 SMP and UltraSPARC-III CPU support, but that&#8217;s minor stuff <img src='http://mjturner.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> <!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2006/12/ultra-60s-arrive--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2006/12/13/ultra-60s-arrive/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Goodbye SGI, hello Suns</title>
		<link>http://mjturner.net/blog/archives/2006/11/02/goodbye-sgi-hello-suns/</link>
		<comments>http://mjturner.net/blog/archives/2006/11/02/goodbye-sgi-hello-suns/#comments</comments>
		<pubDate>Thu, 02 Nov 2006 04:18:01 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[IRIX]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Silicon Graphics]]></category>
		<category><![CDATA[Sun Microsystems and SPARC]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2006/11/02/goodbye-sgi-hello-suns/</guid>
		<description><![CDATA[On Saturday I got two Sun UltraSPARC systems from a friend, in exchange for my unused SGI O2. Although the O2 was a great little machine, I hadn&#8217;t used it for about a year and SGI&#8217;s poor support for IRIX (ie no easy way for me to get patches) meant it would probably have languished [...]]]></description>
			<content:encoded><![CDATA[<p>On Saturday I got two Sun UltraSPARC systems from a friend, in exchange for my unused <a href="http://weblogs.turner.org.za/mj/archives/2005/03/02/this-is-a-unix-system-i-know-this/">SGI O2</a>. Although the O2 was a great little machine, I hadn&#8217;t used it for about a year and SGI&#8217;s poor support for IRIX (ie no easy way for me to get patches) meant it would probably have languished in my pile of unused systems for a while longer.</p>
<p>The two systems I got were an Ultra 10, 333Mhz, 256MiB, 9GiB IDE, Creator3D and an Ultra 2, 300Mhz, 256MiB, Creator3D and no disks. I&#8217;ve already stripped my Ultra 5 and put its RAM, SCSI controller, disk and USB 2.0 card into the Ultra 10 and it seems noticeably faster &#8211; probably a combination of the Creator3D and the extra cache on the 333Mhz CPU (2MiB vs the 256KiB on the Ultra 5&#8217;s 360Mhz). </p>
<p>The Ultra 10 is running <a href="http://www.netbsd.org">NetBSD</a>-current (4.99.1) and once <a href="http://www.cuddletech.com/blog/pivot/entry.php?id=754">Solaris 10 Update 3</a> has been released, I&#8217;ll be installing it on the Ultra 2.<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2006/11/goodbye-sgi-hello-suns--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2006/11/02/goodbye-sgi-hello-suns/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Firefox 2.0 slower than Firefox 1.5</title>
		<link>http://mjturner.net/blog/archives/2006/11/01/firefox-20-slower-than-firefox-15/</link>
		<comments>http://mjturner.net/blog/archives/2006/11/01/firefox-20-slower-than-firefox-15/#comments</comments>
		<pubDate>Wed, 01 Nov 2006 09:24:00 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Alpha]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2006/11/01/firefox-20-slower-than-firefox-15/</guid>
		<description><![CDATA[Yep, it&#8217;s true &#8211; it takes longer to build Firefox 2.0 than it does to build 1.5. Timings on a 500Mhz EV56 AlphaServer 800 running NetBSD:
real    612m43.097s
user    534m11.005s
sys     80m52.159s

Contrast those with my previous results and you&#8217;ll see that it takes about 4 minutes longer to [...]]]></description>
			<content:encoded><![CDATA[<p>Yep, it&#8217;s true &#8211; it takes longer to build Firefox 2.0 than it does to build 1.5. Timings on a 500Mhz EV56 AlphaServer 800 running <a href="http://www.netbsd.org">NetBSD</a>:<code><br />
real    612m43.097s<br />
user    534m11.005s<br />
sys     80m52.159s<br />
</code><br />
Contrast those with <a href="http://weblogs.turner.org.za/mj/archives/2006/04/17/firefox-is-not-bloated/">my previous results</a> and you&#8217;ll see that it takes about 4 minutes longer to build 2.0. It&#8217;s bloat I tell you <img src='http://mjturner.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2006/11/firefox-20-slower-than-firefox-15--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2006/11/01/firefox-20-slower-than-firefox-15/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
	</channel>
</rss>
