<?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; Linux</title>
	<atom:link href="http://mjturner.net/blog/archives/category/open-source/linux/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>Cheaper international Linux Journal subscriptions</title>
		<link>http://mjturner.net/blog/archives/2009/06/11/cheaper-international-linux-journal-subscriptions/</link>
		<comments>http://mjturner.net/blog/archives/2009/06/11/cheaper-international-linux-journal-subscriptions/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 20:19:55 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://mjturner.net/blog/?p=286</guid>
		<description><![CDATA[I just received this in a mail from the publishers of Linux Journal:

For a limited time all international subscriptions to the print edition of Linux Journal will be reduced to the low price of $49.50 for 1 year (a savings of over 30% off the regular price) AND upgraded to include a free digital subscription. [...]]]></description>
			<content:encoded><![CDATA[<p>I just received this in a mail from the publishers of <a href="http://www.linuxjournal.com/">Linux Journal</a>:</p>
<blockquote><p>
For a limited time all international subscriptions to the print edition of Linux Journal will be reduced to the low price of $49.50 for 1 year (a savings of over 30% off the regular price) AND upgraded to include a free digital subscription. As a special bonus you will also receive Linux Journal&#8217;s System Administration Special Issue free of charge.
</p></blockquote>
<p>I&#8217;ve been a Linux Journal subscriber since the late 90s and can recommend it as one of the better general-interest computer publications. To take advantage of the special offer, visit the <a href="https://secure.linuxjournal.com/subs/newsub/print_intl?promo=M96INTL">Linux Journal site</a>. It seems the promo code to take part in this offer is <strong>M96INTL</strong>.</p>
<p>Update: Fixed the link to the subscription page, courtesy of Mark at Linux Journal. Whoops!</p>
<p><!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2009/06/cheaper-international-linux-journal-subscriptions--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2009/06/11/cheaper-international-linux-journal-subscriptions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Ubuntu 9.04 Upgrade on the HP Mini-Note 2133</title>
		<link>http://mjturner.net/blog/archives/2009/04/24/ubuntu-904-upgrade-on-the-hp-mini-note-2133/</link>
		<comments>http://mjturner.net/blog/archives/2009/04/24/ubuntu-904-upgrade-on-the-hp-mini-note-2133/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 15:12:07 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hp2133]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://mjturner.net/blog/?p=226</guid>
		<description><![CDATA[A few days ago I upgraded the Ubuntu partition on my HP Mini-Note 2133 from 8.10 to the release candidate of 9.04 (i386). The upgrade itself went very smoothly, for the most part &#8211; I ran Update Manager, answered a few questions and waited for the upgrade to complete. With the fairly pedestrian 1.2Ghz VIA [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago I upgraded the Ubuntu partition on my <a href="http://h40059.www4.hp.com/hp2133/">HP Mini-Note 2133</a> from 8.10 to the release candidate of <a href="http://www.ubuntu.com/getubuntu/releasenotes/904overview">9.04</a> (i386). The upgrade itself went very smoothly, for the most part &#8211; I ran <a href="http://www.ubuntu.com/getubuntu/upgrading">Update Manager</a>, answered a few questions and waited for the upgrade to complete. With the fairly pedestrian 1.2Ghz VIA C7 CPU the upgrade took around an hour and a half.</p>
<p>When I rebooted, I spotted the first problem &#8211; GRUB presented me with the kernels from 8.10 (2.6.27.*) but not the 9.04 kernel (2.6.28.*). During the installation I had elected not to overwrite GRUB&#8217;s menu.lst, thinking that it would still get updated when the kernel package was configured. Oddly, that didn&#8217;t happen. My solution was to edit /boot/grub/menu.lst and add entries for the 9.04 default kernel (doing a dpkg-reconfigure on the kernel package would probably also have fixed it).</p>
<p>Once I had booted the correct kernel, I tackled the second problem &#8211; X didn&#8217;t work. With 8.10 I had been using the proprietary <a href="https://wiki.ubuntu.com/LaptopTestingTeam/HP2133/DisplayConfig810">VIA DRM kernel module</a>, which enabled hardware-accelerated 3D on the 2133&#8217;s Chrome9 chipset, but it didn&#8217;t work with the updated 9.04 kernel. I moved my /etc/X11/Xorg.conf out of the way and restarted X, which then started correctly with sane defaults (newer releases of X.Org no longer require a configuration file). Rather pleasingly, the <a href="http://www.openchrome.org/">OpenChrome</a> driver being used by X.Org started with the correct 1280&#215;768 resolution. The one downside of not using the VIA module is that compiz et al. don&#8217;t work &#8211; not a big issue for now and one that should be rectified once VIA update their DRM kernel module for 9.04&#8217;s kernel. One possible workaround is to boot the most recent kernel from 8.10 (which is still installed), but I haven&#8217;t tried that yet.</p>
<p>The third problem, and the most annoying, relates to the 2133&#8217;s Broadcom wireless. With 8.10 I had been using <a href="https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx/Feisty_No-Fluff">ndiswrapper</a> and it worked perfectly. For some reason, as soon as I tried to connect to my home wireless network after upgrading to 9.04, WPA authentication failed (I kept getting prompted for my key and the key I entered was never saved). I then switched to using the Broadcom STA driver, which authenticates successfully, but exhibits a few problems of its own &#8211; it often looses the connection to my access point and sometimes doesn&#8217;t work correctly after resuming from a suspend. I&#8217;m going to switch back to using ndiswrapper to see if it&#8217;ll work with a bit more coaxing.</p>
<p>Overall, I&#8217;m reasonably happy with the upgrade &#8211; other than the issues mentioned above, it went smoothly and the system is working well. The only issue that&#8217;s really causing me pain at the moment is the wireless (but then it is Broadcom&#8230;).</p>
<p><!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2009/04/ubuntu-904-upgrade-on-the-hp-mini-note-2133--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2009/04/24/ubuntu-904-upgrade-on-the-hp-mini-note-2133/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>XFS and directory mtime updates</title>
		<link>http://mjturner.net/blog/archives/2008/09/03/xfs-and-directory-mtime-updates/</link>
		<comments>http://mjturner.net/blog/archives/2008/09/03/xfs-and-directory-mtime-updates/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 20:06:59 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[filesystems]]></category>
		<category><![CDATA[xfs]]></category>

		<guid isPermaLink="false">http://mjturner.net/blog/archives/2008/09/03/xfs-and-directory-mtime-updates/</guid>
		<description><![CDATA[A few months ago while working on a Linux system using XFS, I came across an interesting &#8220;feature&#8221;. When moving a directory such that its owner changed, the moved directory&#8217;s mtime was changed to the current date and time.
For example:

[0] mj@majestic:~/tmp$ mount &#124;grep home
/dev/mapper/data-home on /home type xfs (rw)
[0] mj@majestic:~/tmp$ mkdir test
[0] mj@majestic:~/tmp$ ls -ld [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago while working on a Linux system using <a href="http://oss.sgi.com/projects/xfs/">XFS</a>, I came across an interesting &#8220;feature&#8221;. When moving a directory such that its owner changed, the <em>moved</em> directory&#8217;s mtime was changed to the current date and time.</p>
<p>For example:<br />
<code><br />
[0] mj@majestic:~/tmp$ mount |grep home<br />
/dev/mapper/data-home on /home type xfs (rw)<br />
[0] mj@majestic:~/tmp$ mkdir test<br />
[0] mj@majestic:~/tmp$ ls -ld test<br />
drwxr-sr-x 2 mj mj 6 Jun 18 15:28 test<br />
[0] mj@majestic:~/tmp$ touch -t 200801011530 test<br />
[0] mj@majestic:~/tmp$ ls -ld test<br />
drwxr-sr-x 2 mj mj 6 Jan  1 15:30 test<br />
[0] mj@majestic:~/tmp$ stat test<br />
  File: `test'<br />
  Size: 6               Blocks: 0          IO Block: 4096   directory<br />
Device: fd00h/64768d    Inode: 951267331   Links: 2<br />
Access: (2755/drwxr-sr-x)  Uid: ( 1000/      mj)   Gid: ( 1000/      mj)<br />
Access: 2008-01-01 15:30:00.000000000 +0000<br />
Modify: 2008-01-01 15:30:00.000000000 +0000<br />
Change: 2008-06-18 15:29:08.173750666 +0100<br />
[0] mj@majestic:~/tmp$ mv test test1<br />
[0] mj@majestic:~/tmp$ ls -ld test1<br />
drwxr-sr-x 2 mj mj 6 Jan  1 15:30 test1<br />
[0] mj@majestic:~/tmp$ mv test1 ..<br />
[0] mj@majestic:~/tmp$ ls -ld ../test1<br />
drwxr-sr-x 2 mj mj 6 Jun 18 15:30 ../test1<br />
  File: `../test1'<br />
  Size: 6               Blocks: 0          IO Block: 4096   directory<br />
Device: fd00h/64768d    Inode: 951267331   Links: 2<br />
Access: (2755/drwxr-sr-x)  Uid: ( 1000/      mj)   Gid: ( 1000/      mj)<br />
Access: 2008-01-01 15:30:00.000000000 +0000<br />
Modify: 2008-06-18 15:30:02.814078187 +0100<br />
Change: 2008-06-18 15:30:02.814078187 +0100<br />
</code></p>
<p>I&#8217;d never seen this happen before, so I tried to reproduce the behaviour on systems using ext3, UFS and HFS+ filesystems. None of them updated the moved directory&#8217;s mtime when the parent directory changed, which is what one would expect. XFS does have an active mailing list, so I <a href="http://oss.sgi.com/archives/xfs/2008-06/msg00198.html">reported</a> my findings and was quickly provided with a <a href="/blog/misc/xfs_mtime.patch">patch</a> that fixed the problem. Kudos to the XFS developers for providing a fix so quickly.</p>
<p>Rather odd that no-one had spotted this behaviour in the past though&#8230;<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2008/09/xfs-and-directory-mtime-updates--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2008/09/03/xfs-and-directory-mtime-updates/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>Linux kernel 2.6.18 &#8211; Suspend2 much more stable</title>
		<link>http://mjturner.net/blog/archives/2006/10/23/linux-kernel-2618-suspend2-much-more-stable/</link>
		<comments>http://mjturner.net/blog/archives/2006/10/23/linux-kernel-2618-suspend2-much-more-stable/#comments</comments>
		<pubDate>Mon, 23 Oct 2006 04:53:27 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2006/10/23/linux-kernel-2618-suspend2-much-more-stable/</guid>
		<description><![CDATA[I upgraded my notebook to Linux kernel 2.6.18 about a month ago, shortly it was released. One thing that is greatly improved is the stability of suspending to disk. I use Suspend 2 and with various patchlevels of 2.6.17 it would sometimes not suspend properly, necessitating a reboot. Things seem a lot better after the [...]]]></description>
			<content:encoded><![CDATA[<p>I upgraded my notebook to Linux kernel 2.6.18 about a month ago, shortly it was released. One thing that is greatly improved is the stability of suspending to disk. I use <a href="http://www.suspend2.net">Suspend 2</a> and with various patchlevels of 2.6.17 it would sometimes not suspend properly, necessitating a reboot. Things seem a lot better after the upgrade &#8211; I haven&#8217;t yet had a suspend fail, touch wood. </p>
<p>Sadly, my laptop still generates spurious ACPI overheating events, which cause an unwanted shutdown. That&#8217;s something I&#8217;ll probably have to fix with a new DSDT or by patching the kernel myself to ignore nonsensical temperatutes (783 degrees!).<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2006/10/linux-kernel-2618-suspend2-much-more-stable--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2006/10/23/linux-kernel-2618-suspend2-much-more-stable/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>VMware Workstation 5.5.2 hangs on startup</title>
		<link>http://mjturner.net/blog/archives/2006/10/22/vmware-workstation-552-hangs-on-startup/</link>
		<comments>http://mjturner.net/blog/archives/2006/10/22/vmware-workstation-552-hangs-on-startup/#comments</comments>
		<pubDate>Sun, 22 Oct 2006 18:04:38 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2006/10/22/vmware-552-hangs-on-startup/</guid>
		<description><![CDATA[Today I upgraded to VMware Workstation 5.5.2 on my notebook, which runs Debian testing. When I started VMware, I got the following in a terminal window, but the VMware window didn&#8217;t appear:

/usr/local/lib/vmware/bin/vmware: /usr/local/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
/usr/local/lib/vmware/bin/vmware: /usr/local/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)

After a bit of judicious Googling, it seems [...]]]></description>
			<content:encoded><![CDATA[<p>Today I upgraded to <a href="http://www.vmware.com">VMware</a> Workstation 5.5.2 on my notebook, which runs <a href="http://www.debian.org">Debian</a> testing. When I started VMware, I got the following in a terminal window, but the VMware window didn&#8217;t appear:<br />
<code><br />
/usr/local/lib/vmware/bin/vmware: /usr/local/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)<br />
/usr/local/lib/vmware/bin/vmware: /usr/local/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)<br />
</code></p>
<p>After a bit of judicious Googling, it seems that the above libpng errors are red herrings and that the problem is caused by an incorrect libdbus being loaded by VMware. The solution is to preload the correct version of libdbus. For more information, including a solution, see <a href="http://www.vmware.com/community/thread.jspa?messageID=470367">this thread</a> on the VMware forums. Apparently newer versions of Ubuntu exhibit the same problem.<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2006/10/vmware-workstation-552-hangs-on-startup--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2006/10/22/vmware-workstation-552-hangs-on-startup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Support your local LUG</title>
		<link>http://mjturner.net/blog/archives/2006/09/21/support-your-local-lug/</link>
		<comments>http://mjturner.net/blog/archives/2006/09/21/support-your-local-lug/#comments</comments>
		<pubDate>Thu, 21 Sep 2006 11:39:47 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[South Africa]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/archives/2006/09/21/support-your-local-lug/</guid>
		<description><![CDATA[As Rafiq says, our local LUG is in need of sponsorship for its stand at this year&#8217;s Futurex exhibition. About half the money needed (R10,000 &#8211; about US$ 1,250) has been collected so far, but we still need every donation we can get. For more info on donating, see the sponsorship page on the CLUG [...]]]></description>
			<content:encoded><![CDATA[<p>As <a href="http://www.rafiq.za.net/blog">Rafiq</a> <a href="http://www.rafiq.za.net/blog/2006/09/21/clug-cape-linux-user-group-donate/">says</a>, our <a href="http://www.clug.org.za">local LUG</a> is in need of sponsorship for its stand at this year&#8217;s <a href="http://www.futurexcape.co.za/">Futurex</a> exhibition. About half the money needed (R10,000 &#8211; about US$ 1,250) has been collected so far, but we still need every donation we can get. For more info on donating, see the <a href="http://wiki.clug.org.za/wiki/Futurex/Sponsors">sponsorship</a> page on the CLUG site.</p>
<p>I&#8217;ve made my donation (guess who I am on the list <img src='http://mjturner.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  &#8211; have you?<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2006/09/support-your-local-lug--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2006/09/21/support-your-local-lug/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Porting NetBSD to CoolThreads</title>
		<link>http://mjturner.net/blog/archives/2006/04/18/porting-netbsd-to-coolthreads/</link>
		<comments>http://mjturner.net/blog/archives/2006/04/18/porting-netbsd-to-coolthreads/#comments</comments>
		<pubDate>Mon, 17 Apr 2006 22:09:32 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[*BSD]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Sun Microsystems and SPARC]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/?p=127</guid>
		<description><![CDATA[I see that Sun were offering a reward for the porting of Linux to their CoolThreads-based systems (a reward I&#8217;m sure has been claimed now that  David S. Miller has Linux booting multi-user on such systems). Come on Sun &#8211; why not offer the same reward for porting NetBSD to CoolThreads? After all, SunOS [...]]]></description>
			<content:encoded><![CDATA[<p>I see that <a href="http://www.sun.com">Sun</a> were offering a <a href="http://www.sun.com/servers/coolthreads/overview/faq.jsp#q_14">reward</a> for the porting of Linux to their <a href="http://www.sun.com/servers/coolthreads/overview/">CoolThreads</a>-based systems (a reward I&#8217;m sure has been claimed now that  <a href="http://vger.kernel.org/~davem/cgi-bin/blog.cgi/index.html">David S. Miller</a> has Linux booting multi-user on such systems). Come on Sun &#8211; why not offer the same reward for porting NetBSD to CoolThreads? After all, SunOS releases prior to 5.x were based on BSD and Sun has made <a href="http://www.netbsd.org/Foundation/press/sun-donation.html">past donations</a> to <a href="http://www.netbsd.org/Foundation/">The NetBSD Foundation</a>.</p>
<p><!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2006/04/porting-netbsd-to-coolthreads--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2006/04/18/porting-netbsd-to-coolthreads/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Xgl and Kororaa live CD</title>
		<link>http://mjturner.net/blog/archives/2006/04/11/xgl-and-kororaa-live-cd/</link>
		<comments>http://mjturner.net/blog/archives/2006/04/11/xgl-and-kororaa-live-cd/#comments</comments>
		<pubDate>Tue, 11 Apr 2006 21:21:32 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/?p=122</guid>
		<description><![CDATA[There&#8217;s been quite a bit of buzz over the past few months about Xgl, the X server architecture layered on OpenGL. Although still in the early stages of development, some code has been released and there are numerous guides explaining how to get Xgl running on a Linux system (the Gentoo Wiki has a good [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s been quite a bit of buzz over the past few months about <a href="http://www.freedesktop.org/wiki/Software_2fXgl">Xgl</a>, the X server architecture layered on OpenGL. Although still in the early stages of development, some code has been released and there are numerous guides explaining how to get Xgl running on a Linux system (the <a href="http://gentoo-wiki.com">Gentoo Wiki</a> has a good <a href="http://gentoo-wiki.com/HOWTO_XGL">run down</a> of what to do). </p>
<p>Until quite recently, Xgl was only supported on machines that could use the proprietary <a href="http://www.ati.com">ATI</a> or <a href="http://www.nvidia.com">NVidia</a> X drivers, which excluded me, as <a href="http://weblogs.turner.org.za/mj/archives/2006/02/25/new-laptop-hp-compaq-nc6220/">my laptop</a> has an Intel 915DM display subsystem (one of those horrible shared memory systems). This has since changed and the 915DM is now <a href="http://gentoo-wiki.com/HARDWARE_Video_Card_Support_Under_XGL">supported</a>. Rather fortuitously, today Jonathan kindly passed along a copy of the latest Gentoo-based <a href="http://kororaa.org/">Kororaa</a> Xgl Live CD 0.2. When I booted it on my laptop, I was very impressed with what I saw &#8211; the performance was good (much better than, for example, the composite extension of <a href="http://www.x.org">X.org</a> 6.9, as I&#8217;m using currently) and the eye candy certainly is purrty <img src='http://mjturner.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  </p>
<p><!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2006/04/xgl-and-kororaa-live-cd--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2006/04/11/xgl-and-kororaa-live-cd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>GRUB considered harmful?</title>
		<link>http://mjturner.net/blog/archives/2006/03/10/grub-considered-harmful/</link>
		<comments>http://mjturner.net/blog/archives/2006/03/10/grub-considered-harmful/#comments</comments>
		<pubDate>Fri, 10 Mar 2006 05: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/?p=100</guid>
		<description><![CDATA[After my post a few days ago about GRUB, and a boot loader discussion on the mailing lists of our local LUG, I&#8217;m reminded of Thor Lancelot Simon&#8217;s post to the NetBSD port-xen list about GRUB. He makes quite a convincing argument that GRUB is less than ideal:

The code is revolting, the user interface is [...]]]></description>
			<content:encoded><![CDATA[<p>After <a href="http://weblogs.turner.org.za/mj/archives/2006/03/06/booting-netbsd-with-grub/">my post</a> a few days ago about GRUB, and <a href="http://lists.clug.org.za/pipermail/clug-tech/2006-March/030915.html">a boot loader discussion</a> on the mailing lists of our local <a href="http://www.clug.org.za">LUG</a>, I&#8217;m reminded of Thor Lancelot Simon&#8217;s <a href="http://mail-index.netbsd.org/port-xen/2005/08/16/0002.html">post</a> to the <a href="http://www.NetBSD.org">NetBSD</a> port-xen list about GRUB. He makes quite a convincing argument that GRUB is less than ideal:</p>
<blockquote><p>
The code is revolting, the user interface is opaque and highly buggy, it exhibits the &#8220;I know better than the user&#8221; interface paradigm as much as almost any system utility I&#8217;ve ever seen (note how it&#8217;s impossible to run &#8220;grub-install&#8221; on a root-on-RAID netbsd system because it *ignores* the &#8220;impossible&#8221; values in the disk map even if the correct values were hand-entered there), it is poorly documented, it doesn&#8217;t know how to pass arguments to a modern NetBSD kernel, and, even worse, the support for booting BSD kernels *at all* relies on header files copied directly from an old version of FreeBSD with their copyrights stripped off in blatant violation of the BSD license.
</p></blockquote>
<p><!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2006/03/grub-considered-harmful--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2006/03/10/grub-considered-harmful/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Booting NetBSD with GRUB</title>
		<link>http://mjturner.net/blog/archives/2006/03/06/booting-netbsd-with-grub/</link>
		<comments>http://mjturner.net/blog/archives/2006/03/06/booting-netbsd-with-grub/#comments</comments>
		<pubDate>Mon, 06 Mar 2006 04:03:06 +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/?p=98</guid>
		<description><![CDATA[On Sunday I installed NetBSD 3.0 on my laptop, an HP Compaq nc6220. I didn&#8217;t have a recent copy of -current available, so my plan was to install 3.0 and then upgrade once I&#8217;d downloaded a fresh -current. As GRUB was already installed in the MBR, I decided to use it as my bootloader.
The NetBSD [...]]]></description>
			<content:encoded><![CDATA[<p>On Sunday I installed <a href="http://www.NetBSD.org/">NetBSD</a> 3.0 on <a href="http://weblogs.turner.org.za/mj/archives/2006/02/25/new-laptop-hp-compaq-nc6220/">my laptop</a>, an HP Compaq nc6220. I didn&#8217;t have a recent copy of -current available, so my plan was to install 3.0 and then upgrade once I&#8217;d downloaded a fresh -current. As GRUB was already installed in the MBR, I decided to use it as my bootloader.</p>
<p>The NetBSD installation went very smoothly, and I installed into a primary partition that I&#8217;d left empty when installing <a href="http://www.debian.org">Debian GNU/Linux</a> (/dev/hda3 in Linux terminology). Once the installation was complete, I booted into Linux and edited my /boot/grub/menu.list to add NetBSD. I added the following entries:<br />
<blockquote>
title NetBSD 3.0<br />
root (hd0,2,a)<br />
rootnoverify (hd0,2,a)<br />
chainloader +1
</p></blockquote>
<p>Once that was done, NetBSD appeared in my GRUB menu and booted like a charm. More on my NetBSD laptop experiences in a later post&#8230;<br />
<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2006/03/booting-netbsd-with-grub--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2006/03/06/booting-netbsd-with-grub/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Debian and a hardware clock set to local time</title>
		<link>http://mjturner.net/blog/archives/2006/03/01/debian-and-a-hardware-clock-set-to-local-time/</link>
		<comments>http://mjturner.net/blog/archives/2006/03/01/debian-and-a-hardware-clock-set-to-local-time/#comments</comments>
		<pubDate>Wed, 01 Mar 2006 14:21:49 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/?p=95</guid>
		<description><![CDATA[For some reason, I&#8217;ve always set the  hardware clocks on my systems to local time, rather than UTC. Although I know this isn&#8217;t the recommended approach, it&#8217;s never been a problem as we don&#8217;t have daylight savings time in South Africa. Since I upgraded my laptop from Debian GNU/Linux 3.1 to testing, however, after [...]]]></description>
			<content:encoded><![CDATA[<p>For some reason, I&#8217;ve always set the  hardware clocks on my systems to local time, rather than UTC. Although I know this isn&#8217;t the recommended approach, it&#8217;s never been a problem as we don&#8217;t have daylight savings time in South Africa. Since I upgraded my laptop from <a href="http://www.debian.org/">Debian</a> GNU/Linux 3.1 to testing, however, after every reboot the system time has been out of sync with the hardware time. The two differed by the difference between local time and UTC. </p>
<p>After much Googling, I discovered that the cause of the problem is the init script that sets the system clock. It is called before /usr is mounted, which means that /etc/localtime (which points to the correct timezone in /usr/share/zoneinfo) is a dangling symlink. To work around the problem, I copied the correct timezone file to /etc/localtime, thereby making it available before /usr is mounted. An ugly workaround, but it seems to have solved the problem.</p>
<p>For more information, see <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342887">bug #342887</a>.<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2006/03/debian-and-a-hardware-clock-set-to-local-time--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2006/03/01/debian-and-a-hardware-clock-set-to-local-time/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>New laptop &#8211; HP Compaq nc6220</title>
		<link>http://mjturner.net/blog/archives/2006/02/25/new-laptop-hp-compaq-nc6220/</link>
		<comments>http://mjturner.net/blog/archives/2006/02/25/new-laptop-hp-compaq-nc6220/#comments</comments>
		<pubDate>Sat, 25 Feb 2006 19:02:54 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/?p=93</guid>
		<description><![CDATA[On Tuesday I collected my new laptop from our IT department and surrendered my trusty Compaq Evo N620c. Due to a mixup I didn&#8217;t get the machine I was supposed to (a big HP desktop replacement, the model number of which escapes me), but instead got a &#8220;standard issue&#8221; machine with an additional 1GiB RAM. [...]]]></description>
			<content:encoded><![CDATA[<p>On Tuesday I collected my new laptop from our IT department and surrendered my trusty Compaq Evo N620c. Due to a mixup I didn&#8217;t get the machine I was supposed to (a big HP desktop replacement, the model number of which escapes me), but instead got a &#8220;standard issue&#8221; machine with an additional 1GiB RAM. The machine I received is an <a href="http://h10010.www1.hp.com/wwpc/us/en/sm/WF05a/321957-64295-89315-321838-f33-447371.html">HP Compaq nc6220</a> with 2GHz Pentium M CPU, 2GiB RAM, 80GiB disk, 1400&#215;1050 display, DVD/CD writer, Bluetooth and <a href="http://ipw2200.sourceforge.net/">Intel IPW2200</a> wireless.</p>
<p>I had backed up the N620c (which was running <a href="http://www.debian.org">Debian GNU/Linux</a> 3.1) and my plan was to partition and format the 6220&#8217;s disk and untar the backups onto it. Sadly, things didn&#8217;t go according to plan&#8230; I managed to stuff up /lib, which meant I couldn&#8217;t sync(1) and had to power off the machine to boot from a rescue CD. When I fixed /lib, it seemed /dev had been corrupted by the unclean shutdown. I started again and, after reformatting, extracted my backups a second time. All went well this time and the machine booted fine first time. </p>
<p>Once the backup had been restored, it was fairly straightforward getting everything configured for the new hardware. I built a 2.6.15 kernel and got <a href="http://www.x.org">X.Org</a> 6.9 working on the Intel 915GM graphics at 1400&#215;1050 (see the links below for detailed instructions). The Intel wireless is supported by the vanilla 2.6.15, which made setup trivial (I just needed to grab the <a href="http://ipw2200.sourceforge.net/firmware.php">firmware</a>).</p>
<p>Some useful links:</p>
<ul>
<li><a href="/mj/misc/config-nc6220">My vanilla 2.6.15 kernel .config file</a></li>
<li><a href="/mj/misc/mjturner_dmesg_20060225.txt">My 2.6.15 dmesg</a></li>
<li><a href="http://gentoo-wiki.com/HARDWARE_Gentoo_on_HP_Compaq_nc6220">Gentoo on the nc6220</a></li>
<li><a href="http://astibharath.org/blog/ubuntu-breezy-on-hp-nc6220/">Ubuntu Breezy on the nc6220</a>
</li>
<li><a href="http://www.hp.com/wwsolutions/linux/products/clients/nc6220-cert.html">HP information on Linux on the nc6220</a> (it&#8217;s even Linux certified!)
</li>
</ul>
<p>I&#8217;m pretty happy with the machine &#8211; peformance is good (even the X11 composite extension is usable) and it&#8217;s a fair amount thinner and lighter than my N620c. My only complaint is that the vesafb framebuffer console doesn&#8217;t support 1400&#215;1050 and so I have to use a 1024&#215;768 console (1280&#215;1024 has the wrong aspect ratio and suffers from some strange visual artifacts). I haven&#8217;t installed <a href="http://www.suspend2.net/">Suspend 2</a> yet, but will do so in the next day or two.</p>
<p>Now that my Debian installation (since upgraded from 3.1 to &#8220;testing&#8221;) is working well, it&#8217;s time to install my operating system of choice, <a href="http://www.NetBSD.org">NetBSD</a>&#8230;  <!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2006/02/new-laptop-hp-compaq-nc6220--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2006/02/25/new-laptop-hp-compaq-nc6220/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>SAP GUI for Java 6.40r6</title>
		<link>http://mjturner.net/blog/archives/2006/02/15/sap-gui-for-java-640r6/</link>
		<comments>http://mjturner.net/blog/archives/2006/02/15/sap-gui-for-java-640r6/#comments</comments>
		<pubDate>Wed, 15 Feb 2006 15:50:34 +0000</pubDate>
		<dc:creator>Michael-John Turner</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[SAP]]></category>

		<guid isPermaLink="false">http://weblogs.turner.org.za/mj/?p=90</guid>
		<description><![CDATA[Spotted this morning that revision 6 of the SAP GUI for Java 6.40 is available. See the release notes for info on what&#8217;s new.
You can grab it from ftp://ftp.sap.com/pub/sapgui/java/640r6/.
]]></description>
			<content:encoded><![CDATA[<p>Spotted this morning that revision 6 of the SAP GUI for Java 6.40 is available. See the <a href="https://websmp103.sap-ag.de/~sapidb/011000358700003767082000E">release notes</a> for info on what&#8217;s new.</p>
<p>You can grab it from <a href="ftp://ftp.sap.com/pub/sapgui/java/640r6">ftp://ftp.sap.com/pub/sapgui/java/640r6/</a>.<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2006/02/sap-gui-for-java-640r6--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2006/02/15/sap-gui-for-java-640r6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>GConf and local locking</title>
		<link>http://mjturner.net/blog/archives/2006/02/07/gconf-and-local-locking/</link>
		<comments>http://mjturner.net/blog/archives/2006/02/07/gconf-and-local-locking/#comments</comments>
		<pubDate>Tue, 07 Feb 2006 20:33:19 +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/?p=84</guid>
		<description><![CDATA[For some time I&#8217;ve been having issues with GConf (part of the GNOME suite) and locking. Although I don&#8217;t use a GNOME desktop, a number of applications have support for GNOME and need to interact with GConf, which is  used to store application preferences. 
In my environment I have a home directory that is [...]]]></description>
			<content:encoded><![CDATA[<p>For some time I&#8217;ve been having issues with <a href="http://www.gnome.org/projects/gconf/">GConf</a> (part of the <a href="http://www.gnome.org/">GNOME</a> suite) and locking. Although I don&#8217;t use a GNOME desktop, a number of applications have support for GNOME and need to interact with GConf, which is  used to store application preferences. </p>
<p>In my environment I have a home directory that is exported via NFS from a server, running <a href="http://www.debian.org">Debian GNU/Linux</a>, to various clients, running a mixture of operating systems. GConf, being an application that needs to accept configuration updates from a number of applications running concurrently, needs to lock its data files, which are stored in a user&#8217;s home directory. Of course, having an NFS mounted home directory tends to complicate things, particularly because <a href="http://www.NetBSD.org/">NetBSD</a> doesn&#8217;t support NFS locking. The nasty thing is that when GConf cannot lock a file, it just blocks indefinitely, waiting to obtain the lock. As you can imagine, any application using GConf hangs while GConf waits for the lock to succeed. Great design&#8230;</p>
<p>It&#8217;s taken me quite a lot of fiddling, but I seem to have found a workable solution to this annoyance. The key is to get GConf to lock to a local filesystem, rather than to one mounted via NFS. To do this, set <code>GCONF_LOCAL_LOCKS=1</code> in the appropriate shell rc file. When using local locking, GConf creates lock files in /var/tmp/gconfd-$USER instead of ~/.gconfd. </p>
<p>Sheesh, why can&#8217;t it do this automagically?<!--pp-thumb-start--><!--PictPress found no dir /home/www/weblogs.turner.org.za/mj/images//2006/02/gconf-and-local-locking--><!--pp-thumb-end--></p>
]]></content:encoded>
			<wfw:commentRss>http://mjturner.net/blog/archives/2006/02/07/gconf-and-local-locking/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
	</channel>
</rss>
