<?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>Allan McRae &#187; Arch</title>
	<atom:link href="http://allanmcrae.com/category/arch/feed/" rel="self" type="application/rss+xml" />
	<link>http://allanmcrae.com</link>
	<description>One day this will feature a witty tagline...</description>
	<lastBuildDate>Mon, 23 Aug 2010 11:15:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Arch on a Macbook Pro (5.5)</title>
		<link>http://allanmcrae.com/2010/04/installing-arch-on-a-macbook-pro-5-5/</link>
		<comments>http://allanmcrae.com/2010/04/installing-arch-on-a-macbook-pro-5-5/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 06:41:36 +0000</pubDate>
		<dc:creator>Allan</dc:creator>
				<category><![CDATA[Arch]]></category>

		<guid isPermaLink="false">http://allanmcrae.com/?p=402</guid>
		<description><![CDATA[I recently got a 13&#8243;  Macbook Pro (5.5) and of course need to install Arch Linux on it.  So here goes a log of my install experience. I am not going to cover everything, as there is already basic instructions on the Macbook page in the Arch Wiki and all over the net.
The [...]]]></description>
			<content:encoded><![CDATA[<p>I recently got a 13&#8243;  Macbook Pro (5.5) and of course need to install Arch Linux on it.  So here goes a log of my install experience. I am not going to cover everything, as there is already basic instructions on the <a href="http://wiki.archlinux.org/index.php/Macbook">Macbook</a> page in the Arch Wiki and all over the net.</p>
<p>The basic specs are:</p>
<ul>
<li>2.53GHz Intel Core 2 Duo</li>
<li>4GB (2&#215;2GB) 1066MHz DDR3 SDRAM</li>
<li>500GB Serial ATA; 5400 rpm</li>
</ul>
<p>More details as I deal with getting individual components working&#8230;</p>
<p><strong>Installation:</strong> The install went fine using the latest <a href="http://build.archlinux.org/isos/">test iso</a> (2010.04.19-core-i686).  The only &#8220;trick&#8221; was to change the partition table from GPT format (to msdos) before entering the installer.  Luckily, parted is included on the install CD so this was simple.  Also, install GRUB on the partition holding <tt>/boot</tt> instead of <tt>/dev/sda</tt>.  There was no need to do anything with <a href="http://refit.sourceforge.net/">rEFIt</a> as many guides prepared me for, but I think that is because I did not dual boot.</p>
<p>The final stage is to boot the OSX install CD and run:<br />
<code>bless --device /dev/disk0s2 --setBoot --legacy --verbose </code> to speed up the boot time before you get to GRUB (3s vs 20s).</p>
<p><strong>Video:</strong> This has a NVIDIA GeForce 9400M card, so a <tt>pacman -S nvidia</tt> and <tt>nvidia-xconfig</tt> then we are basically good to go.</p>
<p><strong>Screen Brightness:</strong> There is <tt>mbp_nvidia_bl</tt> in the kernel, so you think that would work but no&#8230;  Any changes made to the backlight level appear to be registered (and gnome-power-manager gives me a nice on-screen indicator that changes are being made) but the brightness stays the same.  The <a href="https://launchpad.net/~mactel-support/+archive/ppa/">Mactel PPA</a> for Ubuntu contains a <tt>nvidia-bl</tt> kernel module which does the job. Grab the PKGBUILD <a href="http://allanmcrae.com/packages/nvidia-bl-0.16.7-1.src.tar.gz">here</a>.</p>
<p><strong>Keyboard Backlight:</strong>  Using <a href="http://www.technologeek.org/projects/pommed/">pommed</a> is supposed to make this work and it did to an extent.  The only issue was roll over from almost completely dimmed to fully on that made disabling the keyboard backlight impossible.  Instead, I am just adjusting it manually using:<br />
<code>echo 255 > /sys/class/leds/smc\:\:kdb_backlight/brightness</code>(TODO: write a script using this to bind the adjustment keys to.)  In OSX, this would automatically come on in low light conditions but I have no idea how to approach that.</p>
<p><strong>Touchpad:</strong> This &#8220;works&#8221; out of the box, although is completely broken as far as I am concerned.  I quickly found out that a major touchpad use is to click with your thumb and then use a finger to select text or move/resize a window, etc. That does not work as touching your finger after the click with the thumb is interpreted as some sort of multitouch event.  A patched bcm5947 module fixes this (but is a hack and is unlikely to be included upstream&#8230;).  Grab the PKGBUILD <a href="http://allanmcrae.com/packages/bcm5974-2.6.33.3-1.src.tar.gz">here</a>.</p>
<p><strong>Wifi:</strong> It has a Broadcom BCM4322 802.11a/b/g/m wireless card.  That does not work with the b43 driver, so requires broadcom-wl driver.  Grab the PKGBUILD <a href="http://allanmcrae.com/packages/broadcom-wl-5.60.48.36-1.src.tar.gz">here</a>.</p>
<p><strong>Suspend to RAM:</strong> Worked out of the box.  I was only required to tell xfce4-power-manager to use it.</p>
<p><strong>Webcam:</strong> Used the <tt>isight-firmware-tools</tt> package to extract the firmware from the file that I remembered to grab from OSX before wiping (or perhaps used google to find&#8230;) and restart.</p>
<p><strong>Sound:</strong> Installed alsa, ran <tt>alsaconf</tt> and everything worked.  Shortcut keys required setting up.</p>
<p><strong>Keyboard:</strong> Ignoring the lack of Home/End/Page Up/Page Dn keys, the thing that most annoys me is that to by default the &#8220;action&#8221; functions take preference over F1-12.  I use F1-12 a lot more that the action keys. So these need to be swapped (TODO: do this&#8230;)</p>
<p><strong>Bluetooth:</strong> Untested. I have no real use for this at the moment&#8230;</p>
<p><strong>Apple Remote:</strong> TODO</p>
]]></content:encoded>
			<wfw:commentRss>http://allanmcrae.com/2010/04/installing-arch-on-a-macbook-pro-5-5/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Reader Mail: Contributing to Arch</title>
		<link>http://allanmcrae.com/2010/03/reader-mail-contributing-to-arch/</link>
		<comments>http://allanmcrae.com/2010/03/reader-mail-contributing-to-arch/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 12:13:05 +0000</pubDate>
		<dc:creator>Allan</dc:creator>
				<category><![CDATA[Arch]]></category>

		<guid isPermaLink="false">http://allanmcrae.com/?p=354</guid>
		<description><![CDATA[Long time reader Greg writes:
Why do you think that even though Arch’s userbase numbers have exploded during the last year, the number of contributors (not counting the AUR) remains almost the same?
Well Greg, here are my opinions on the issue.  I should point out that these are my opinions and do not necessarily reflect [...]]]></description>
			<content:encoded><![CDATA[<p>Long time reader Greg <a href="http://allanmcrae.com/2010/03/ubuntu-is-an-evil-dictatorship/#comment-466">writes</a>:</p>
<blockquote><p>Why do you think that even though Arch’s userbase numbers have exploded during the last year, the number of contributors (not counting the AUR) remains almost the same?</p></blockquote>
<p>Well Greg, here are my opinions on the issue.  I should point out that these are my opinions and do not necessarily reflect the opinion of Arch developers as a whole.</p>
<p>Firstly, I tend to agree with this sentiment.  Over the last six months to a year, there has only been one new person that has stood out to me as developer material based on the contributions they have made (and one who just will not accept the position no matter how much we ask &#8211; you know who you are!).</p>
<p>I think the primary reason for this is a very large change in userbase.  The earliest <a href="http://bbs.archlinux.org/viewtopic.php?pid=364793#p364793">comment</a> by me that I can find noting this change was in the middle of 2008. A lot has changed since then (I was not an Arch developer or forum moderator then and I am now getting a Mac&#8230;), but the change in userbase has continued over the years.  I think Arch has changed from what was a &#8220;Do It Yourself&#8221; distribution to one where people expect a lot of help. This is very evident on the forums, where very basic questions are asked on an hourly basis.  People think there is a lot of &#8220;RTFM&#8221; on the Arch forums these days, but ask those same questions on the forum three years ago and that would be considered a polite response. It seems that despite the large increase in the number of users, the number of people with the skills required to fix a problem that they notice has not increased at the same rate.</p>
<p>The second reason I see is that there are less things to be fixed in Arch. The only reason I started contributing to Arch is so that I could fix things that annoyed me and that continues to be my primary motivation.  I can imagine that the distribution as a whole runs rather smoothly from a users point of view, at least compared to historically. Also, a lot of the &#8220;easy&#8221; bugs in the user visible parts of the distribution have already been fixed, so the barrier to entry is higher. Saying that, I have made a couple of patches to pacman itself in the last few weeks and I still know next to nothing about the actual pacman codebase (I focus on makepkg).  So there are still reasonably easy pickings for motivated individuals to get themselves familiarised with the code before tackling harder issues.</p>
<p>Finally, I think there is becoming a gulf between developers and users. Perhaps this is an entirely unintended side-effect of the change in userbase. I know that many long term Arch users (including some developers) found the change in the types of questions being asked and demands being made on the forums quite demotivational and now spend far less time there. This means less interaction between users and developers, resulting in the developers being seen as quite a separate group. From a developer point of view, this could not be further from the truth.  Arch is a &#8220;community distro&#8221; and contributions from the community are strongly encouraged.  Remember that the x86_64 port started as a community project.  If a user comes up with a good idea, and more importantly provides some code or implementation to back it up, it will be considered by the development team just as it would if a developer suggested it. Equally, developers make suggestions that are not taken up (trust me&#8230; I have had ideas rejected, taken out the back and shot before being buried in a shallow grave in a forest).  But remember, talk is cheap.  There have been many, many threads about the importance of package signing in pacman, but no-one has but in a decent effort to get this completed.</p>
<p>In short, we need more community members to step up and help out wherever they can.  The core Arch development team is relatively small and our continued progress (beyond pure packaging) relies on contributions from the community.  Even packaging could use more people (and we do take applications to become a developer from known community members). I am sure that there is something that annoys every user about their system. Why not try and fix it?</p>
]]></content:encoded>
			<wfw:commentRss>http://allanmcrae.com/2010/03/reader-mail-contributing-to-arch/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Transparent x86_64 Kernel On An i686 Userland</title>
		<link>http://allanmcrae.com/2010/02/transparent-x86_64-kernel-on-an-i686-userland/</link>
		<comments>http://allanmcrae.com/2010/02/transparent-x86_64-kernel-on-an-i686-userland/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 07:17:06 +0000</pubDate>
		<dc:creator>Allan</dc:creator>
				<category><![CDATA[Arch]]></category>

		<guid isPermaLink="false">http://allanmcrae.com/?p=331</guid>
		<description><![CDATA[A while back, I wrote about using an x86_64 kernel on an i686 userland.  After using this setup for a while, I began to discover that it is not that user friendly to have to use linux32 in front many commands.  In particular, when building software the ./configure needs to be prefixed with [...]]]></description>
			<content:encoded><![CDATA[<p>A while back, I wrote about using an <a href="http://allanmcrae.com/2009/06/using-an-x86_64-kernel-on-an-i686-userland/">x86_64 kernel on an i686 userland</a>.  After using this setup for a while, I began to discover that it is not that user friendly to have to use <tt>linux32</tt> in front many commands.  In particular, when building software the <tt>./configure</tt> needs to be prefixed with it and <tt>bash</tt> can not handle creating an alias to transparently do that.  Also, I would need to make aliases for all build tools I could encounter (<tt>make</tt>, <tt>cmake</tt>, <tt>qmake</tt>, &#8230;), which is almost an impossible task.</p>
<p>In true <a href="http://en.wikipedia.org/wiki/Baldrick">Baldrick</a> style, I came up with a cunning plan&#8230;  What if I called my shell with a <tt>linux32</tt> prefix and then my system would think it was always an i686 one. I only need my system to think it is an x86_64 when I enter an x86_64 chroot, so that is much easier to create aliases to deal with.  The trick was to create a <tt>/bin/bash32</tt> file containing:</p>
<p><code>#!/bin/bash<br />
linux32 /bin/bash -l "$@"</code></p>
<p>Then add <tt>bash32</tt> to the list of shells in <tt>/etc/shells</tt> and use &#8220;<tt>chsh -s bash32</tt>&#8221; to start using it.</p>
<p>After using this setup for several weeks, the only issue I notice is that when using <tt>chroot</tt>, it will look for <tt>/bin/bash32</tt> in the chroot and likely fail.  That can be fixed by prefixing with the <tt>SHELL</tt> environmental variable pointing at an appropriate shell (more than likely <tt>/bin/bash</tt>). I am sure that creating a wrapper script to handle that would be easy but using chroots via the Arch devtools does not suffer from this problem so I have not looked into it further.</p>
]]></content:encoded>
			<wfw:commentRss>http://allanmcrae.com/2010/02/transparent-x86_64-kernel-on-an-i686-userland/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chakra Installer Review</title>
		<link>http://allanmcrae.com/2010/02/chakra-installer-review/</link>
		<comments>http://allanmcrae.com/2010/02/chakra-installer-review/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 14:40:12 +0000</pubDate>
		<dc:creator>Allan</dc:creator>
				<category><![CDATA[Arch]]></category>

		<guid isPermaLink="false">http://allanmcrae.com/?p=317</guid>
		<description><![CDATA[The Chakra Project is a &#8220;distrolet&#8221; based on Arch Linux and providing its own KDE packages (collectively called KDEmod). I really do not like KDE so I am only interested in how the install goes. I used QEMU with a 4GB image and 512MB RAM with the 2010-01-10 &#8220;Aesop&#8221; installer.
The installer is live CD based, [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://chakra-project.org/">Chakra Project</a> is a &#8220;<em>distrolet</em>&#8221; based on Arch Linux and providing its own <a href="http://www.kde.org/">KDE</a> packages (collectively called <a href="http://chakra-project.org/repos.html">KDEmod</a>). I really do not like KDE so I am only interested in how the install goes. I used QEMU with a 4GB image and 512MB RAM with the 2010-01-10 &#8220;Aesop&#8221; installer.</p>
<p>The installer is live CD based, so boots you into a nice looking desktop <a href="http://allanmcrae.com/images/chakra/chakra01.png">[01]</a>. Starting the installation takes you to a graphical install system <a href="http://allanmcrae.com/images/chakra/chakra02.png">[02]</a> with the prerequisite warning about being an alpha release and the issues it can cause your hamster. After reading some notes and agreeing to various EULAs <a href="http://allanmcrae.com/images/chakra/chakra03.png">[03]</a>, the install is all go.</p>
<p>Onto the preparation of your system.  The language and time settings looked quite ugly <a href="http://allanmcrae.com/images/chakra/chakra04.png">[04]</a>, but I have suspicions that QEMU was running this quite slow and maybe this was an artefact.  I found it good to know that despite the complexities of installing being hidden, there was options to go in deeper <a href="http://allanmcrae.com/images/chakra/chakra05.png">[05]</a> if needed. Partitioning <a href="http://allanmcrae.com/images/chakra/chakra06.png">[06]</a> was not particularly simple, but that is being <a href="http://chakra-project.org/bbs/viewtopic.php?id=2234">reworked</a> for the future.</p>
<p>The actual installation of packages <a href="http://allanmcrae.com/images/chakra/chakra07.png">[07]</a> proceeds with a montage of screenshot to whet your appetite for your new install.  Of course you probably have already seen what it looks like from the live CD&#8230; Then you create some new users <a href="http://allanmcrae.com/images/chakra/chakra08.png">[08]</a> (although I do not know what exactly an &#8220;Administrator&#8221; is), enter the root password and install the bootloader.  I have no idea what the &#8220;Configure System&#8221; item at the end of the installer sidebar does as after installing the bootloader I got a reboot dialog.</p>
<p>The booting system looks familiar <a href="http://allanmcrae.com/images/chakra/chakra09.png">[09]</a> to any Arch Linux user. I had expected a graphical boot-up as I had heard something about it using <a href="http://freedesktop.org/wiki/Software/Plymouth">Plymouth</a>, but I guess that is for the future. The login screen indicates that the <tt>/etc/hosts</tt> file has issues with setting the hostname <a href="http://allanmcrae.com/images/chakra/chakra10.png">[10]</a>. Other than that, I was left with a fully working KDE desktop with no obvious issues.  Looking at some configuration files to see how well the automatic set-up went found some interesting points.  The <tt>MODULES</tt> array in <tt>/etc/rc.conf</tt> both disables and enables the <tt>e1000</tt> module <a href="http://allanmcrae.com/images/chakra/chakra11.png">[11]</a>. Also, I noticed that kdm is started as a daemon rather than using the inittab method, which I guess is more in line with what Chakra wants to provide but I find that to be less flexible. The supplied <tt>pacman.conf</tt> has the repos listed in an interesting order <a href="http://allanmcrae.com/images/chakra/chakra12.png">[12]</a> (I think <tt>[core]</tt> should at least come before the KDEmod repos).</p>
<p>Overall, the installer does its job despite a few rough edges.  The install booted to the desktop with relatively few configuration issues that I could spot. Not bad for something labelled &#8220;alpha&#8221;. Is it the &#8220;Arch made easy&#8221; that is often touted on Distrowatch Weekly comments?  Maybe. But with a distro like Arch, that is not necessarily a good thing.</p>
<p>Screenshot index:</p>
<p style="padding-left: 30px;">
<a href="http://allanmcrae.com/images/chakra/chakra01.png">[01]</a> &#8211; Live CD Desktop<br />
<a href="http://allanmcrae.com/images/chakra/chakra02.png">[02]</a> &#8211; Installer start screen<br />
<a href="http://allanmcrae.com/images/chakra/chakra03.png">[03]</a> &#8211; EULAs<br />
<a href="http://allanmcrae.com/images/chakra/chakra04.png">[04]</a> &#8211; Language and timezone setup<br />
<a href="http://allanmcrae.com/images/chakra/chakra05.png">[05]</a> &#8211; Hidden &#8220;advanced&#8221; options<br />
<a href="http://allanmcrae.com/images/chakra/chakra06.png">[06]</a> &#8211; Partitioning<br />
<a href="http://allanmcrae.com/images/chakra/chakra07.png">[07]</a> &#8211; Package installation<br />
<a href="http://allanmcrae.com/images/chakra/chakra08.png">[08]</a> &#8211; User creation<br />
<a href="http://allanmcrae.com/images/chakra/chakra09.png">[09]</a> &#8211; Bootup<br />
<a href="http://allanmcrae.com/images/chakra/chakra10.png">[10]</a> &#8211; Login<br />
<a href="http://allanmcrae.com/images/chakra/chakra11.png">[11]</a> &#8211; /etc/rc.conf<br />
<a href="http://allanmcrae.com/images/chakra/chakra12.png">[12]</a> &#8211; /etc/pacman.conf</p>
]]></content:encoded>
			<wfw:commentRss>http://allanmcrae.com/2010/02/chakra-installer-review/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Big rebuild for libpng and libjpeg hits Arch</title>
		<link>http://allanmcrae.com/2010/02/big-rebuild-for-libpng-and-libjpeg-hits-arch/</link>
		<comments>http://allanmcrae.com/2010/02/big-rebuild-for-libpng-and-libjpeg-hits-arch/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 11:36:50 +0000</pubDate>
		<dc:creator>Allan</dc:creator>
				<category><![CDATA[Arch]]></category>

		<guid isPermaLink="false">http://allanmcrae.com/?p=301</guid>
		<description><![CDATA[Many Arch Linux users are hitting issues with the updates for libpng and libjpeg.  This update required us to rebuild about 15% of our packages so the mirrors are struggling to sync.  I&#8217;d recommend waiting for a day or two, or finding an up-to-date mirror.  Also, this update will require you to [...]]]></description>
			<content:encoded><![CDATA[<p>Many Arch Linux users are hitting issues with the updates for libpng and libjpeg.  This update required us to rebuild about 15% of our packages so the mirrors are struggling to sync.  I&#8217;d recommend waiting for a day or two, or finding an up-to-date mirror.  Also, this update will require you to rebuild any packages from the <a href="http://aur.archlinux.org/">AUR</a> or unofficial repos that link to those libraries. If you run into issues:</p>
<ul>
<li>Check the problem package is up to date (using the <a href="http://www.archlinux.org/packages/">package search</a> on the Arch Linux web-site)</li>
<li>Check the binary files in the package using <tt>readelf -d <em>file</em></tt>.  If that does not show libpng12.so.0 or libjpeg.so.7, that package is not the problem.</li>
<li>Try finding the problem package using the <tt>lddd</tt> script from the devtools package.</li>
<li>If you are certain this is because of a package in the Arch Linux repos, file a <a href="http://bugs.archlinux.org/">bug report</a>.</li>
</ul>
<p>Or you could just ignore all that and rebuild <a href="http://aur.archlinux.org/packages.php?ID=16459">cairo-lcd</a> as that is probably your issue&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://allanmcrae.com/2010/02/big-rebuild-for-libpng-and-libjpeg-hits-arch/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Kahel OS &#8211; A Review Without Booting</title>
		<link>http://allanmcrae.com/2010/01/kahel-os-a-review-without-booting/</link>
		<comments>http://allanmcrae.com/2010/01/kahel-os-a-review-without-booting/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 14:33:13 +0000</pubDate>
		<dc:creator>Allan</dc:creator>
				<category><![CDATA[Arch]]></category>

		<guid isPermaLink="false">http://allanmcrae.com/?p=268</guid>
		<description><![CDATA[There are becoming more and more distros that are based on Arch Linux, with some so heavily &#8220;based&#8221; that they actually use Arch packages.  This is fun for me as it means that I can now break multiple distros in one go, bringing &#8220;Allan broke it&#8221; to a whole new level.
One such distro is [...]]]></description>
			<content:encoded><![CDATA[<p>There are becoming more and more distros that are based on Arch Linux, with some so heavily &#8220;based&#8221; that they actually use Arch packages.  This is fun for me as it means that I can now break multiple distros in one go, bringing &#8220;Allan broke it&#8221; to a whole new level.</p>
<p>One such distro is <a href="http://www.kahelos.org/">Kahel OS</a>.  Breaking through the market-speak on their website, it basically claims to be a newbies distro that has all the features a guru expects.  It comes in Server, Desktop and Light Editions.  I decided to try the Desktop Edition using the installer released on 2009-12-25.  I installed using <a href="http://www.qemu.org/">QEMU</a> as I do not have a spare partition at the moment.</p>
<p>The install CD boots to a horrific orange screen <a href="http://allanmcrae.com/images/kahel/kahel01.png">[01]</a>.  After selecting the &#8220;install&#8221; option, you are greeted with bunch of kernel bootup text <a href="http://allanmcrae.com/images/kahel/kahel02.png">[02]</a>, followed by an Arch style boot process <a href="http://allanmcrae.com/images/kahel/kahel03.png">[03]</a>.  No graphical boot for this distro, so newbie friendly is a bit dicey already. Once booted, you are presented with a screen explaining why Kahel OS is good <a href="http://allanmcrae.com/images/kahel/kahel04.png">[04]</a>.  I suppose that was in case all that boot text was scaring us away.</p>
<p>Then we are actually installing.  The installer is what I call ascii-graphical <a href="http://allanmcrae.com/images/kahel/kahel05.png">[05]</a>, although reverts you to text based screens as needed <a href="http://allanmcrae.com/images/kahel/kahel06.png">[06]</a> (from that screenshot, you might notice that the answers are not necessarily intuitive&#8230;).  Partitioning is done in cfdisk <a href="http://allanmcrae.com/images/kahel/kahel07.png">[07]</a>, followed by reselecting what type of filesystem you really want <a href="http://allanmcrae.com/images/kahel/kahel08.png">[08]</a>.  I decided for a single partition taking up the whole 4GB image I created and selected <a href="http://btrfs.wiki.kernel.org/index.php/Main_Page">Btrfs</a> for something new and given support for new filesystems is one of Kahel&#8217;s claimed features.  I found it a bit strange that there was no warning about this filesystem still being experimental, but after some searching I found one hidden away on another TTY <a href="http://allanmcrae.com/images/kahel/kahel09.png">[09]</a>.</p>
<p>The &#8220;Install Packages&#8221; step goes straight to output from pacman <a href="http://allanmcrae.com/images/kahel/kahel10.png">[10]</a>, so there is no option to customize your install.  The default install uses 3GB of space <a href="http://allanmcrae.com/images/kahel/kahel11.png">[11]</a>.  The package list is certainly interesting&#8230;.  it installs the entire base, base-devel, xorg, xorg-video-drivers, gnome and gnome-extra groups.  These are supplemented with a variety of other software including banshee, brasero, gnote, firefox, go-openoffice, xsane, and lots of fonts.  I do not understand the use of gnote over Tomboy given mono is already installed for banshee.  The SVN version of gtkpacman is installed for graphical package management. Other software choices are plain strange, such as libgpod, which is not required by anything else and is fairly useless on its own.</p>
<p>Finally, the installer takes you through some basic setup <a href="http://allanmcrae.com/images/kahel/kahel12.png">[12]</a>.  This distinguishes three types of users; root, administrators and normal.  An &#8220;administrator&#8221; appears to have been given permissions to perform a variety of tasks via policy-kit.</p>
<p>Once you are done, you can reboot into your nice preconfigured desktop&#8230;  but I could not.  Those of you paying attention earlier would have noticed that I choose to have a single partition using btrfs. Of course, grub can not boot from that so that is a fail on my behalf.  But a newbie friendly distro should have stopped me from doing that.</p>
<p>So, here is what I found different form Arch Linux without actually booting the system.  There are a couple of extra repos enabled in pacman.conf.  The listed Kahel OS <a href="http://www.kahelos.org/repo/i686">repo</a> does not exist yet.  I did find a link to another Kahel repo, but it was <a href="http://www.kahelos.org/kaheldesktop/i686/">empty</a>.  As a non-working repo breaks gtkpacman, package management is broken out of the box.  Also the <a href="http://repo.archlinux.fr">archlinuxfr</a> repo is present but disabled, probably just so you can easily install yaourt.</p>
<p>Several packages are novel to Kahel OS.  These are mainly for automatic configuration of the desktop and fonts as well as providing nice icons.  The developers need to learn about <a href="http://wiki.archlinux.org/index.php/Makepkg.conf">makepkg.conf</a> as they have not set their PACKAGER variable.  Also, something strange is happening to their kahel-desktop-base-configurations package.  It has 22 files, but &#8220;pacman -Qk&#8221; show that 11 of them are missing from the system so some installer magic has occurred.  Not a great use of package management&#8230;</p>
<p>Overall, I am not sure what this distribution hopes to achieve.  It seems that that it wants to provide a fully functional desktop after install and maybe it achieved that (I can not comment).  But the installer is far from what is considered user-friendly, to the point that I do not think someone could achieve an install using it and not be able to do so with the Arch installer.  Looking at screenshots on their home page, I can not see a major improvement graphically from a standard GNOME install.  From all their &#8220;release announcements&#8221;, I am not sure that they know what they are trying to achieve either.</p>
<p>As an aside, of the 704 packages installed by Kahel OS, I built 80 (11%).  So there is a lot of scope for me to cause breakage for unsuspecting Kahel OS users!</p>
<p>Screenshot index:</p>
<p style="padding-left: 30px;">
<a href="http://allanmcrae.com/images/kahel/kahel01.png">[01]</a> &#8211; Bootscreen with lots of orange.<br />
<a href="http://allanmcrae.com/images/kahel/kahel02.png">[02]</a> &#8211; Boot text<br />
<a href="http://allanmcrae.com/images/kahel/kahel03.png">[03]</a> &#8211; Familiar boot-up from Arch<br />
<a href="http://allanmcrae.com/images/kahel/kahel04.png">[04]</a> &#8211; Market-speak<br />
<a href="http://allanmcrae.com/images/kahel/kahel05.png">[05]</a> &#8211; Ascii-graphical installer<br />
<a href="http://allanmcrae.com/images/kahel/kahel06.png">[06]</a> &#8211; Configuring timezone<br />
<a href="http://allanmcrae.com/images/kahel/kahel07.png">[07]</a> &#8211; Partitioning disk<br />
<a href="http://allanmcrae.com/images/kahel/kahel08.png">[08]</a> &#8211; Selecting filesystem type<br />
<a href="http://allanmcrae.com/images/kahel/kahel09.png">[09]</a> &#8211; Hidden Btrfs warning<br />
<a href="http://allanmcrae.com/images/kahel/kahel10.png">[10]</a> &#8211; Installing packages<br />
<a href="http://allanmcrae.com/images/kahel/kahel11.png">[11]</a> &#8211; 3Gb installed<br />
<a href="http://allanmcrae.com/images/kahel/kahel12.png">[12]</a> &#8211; Set-up</p>
]]></content:encoded>
			<wfw:commentRss>http://allanmcrae.com/2010/01/kahel-os-a-review-without-booting/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>OS News Interview</title>
		<link>http://allanmcrae.com/2010/01/os-news-interview/</link>
		<comments>http://allanmcrae.com/2010/01/os-news-interview/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 22:43:22 +0000</pubDate>
		<dc:creator>Allan</dc:creator>
				<category><![CDATA[Arch]]></category>

		<guid isPermaLink="false">http://allanmcrae.com/?p=263</guid>
		<description><![CDATA[OS News has published an interview with the Arch Linux team.  Its full of insightful comments from a fair portion of the developers (including me!).
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.osnews.com">OS News</a> has published an <a href="http://www.osnews.com/story/22692/Arch_Linux_Team">interview</a> with the <a href="http://www.archlinux.org/">Arch Linux</a> team.  Its full of insightful comments from a fair portion of the developers (including me!).</p>
]]></content:encoded>
			<wfw:commentRss>http://allanmcrae.com/2010/01/os-news-interview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arch Hurd?</title>
		<link>http://allanmcrae.com/2010/01/arch-hurd/</link>
		<comments>http://allanmcrae.com/2010/01/arch-hurd/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 13:28:08 +0000</pubDate>
		<dc:creator>Allan</dc:creator>
				<category><![CDATA[Arch]]></category>

		<guid isPermaLink="false">http://allanmcrae.com/?p=251</guid>
		<description><![CDATA[I have always been interested in the GNU Hurd.  This probably stems from the endless discussions on Slashdot about how (in my interpretation) microkernels should be full of awesome but none have really managed to obtain the greatness that they deserve.  I always thought the status of Hurd was so far off being [...]]]></description>
			<content:encoded><![CDATA[<p>I have always been interested in the <a href="http://www.gnu.org/software/hurd/">GNU Hurd</a>.  This probably stems from the endless discussions on Slashdot about how (in my interpretation) microkernels should be full of awesome but none have really managed to obtain the greatness that they deserve.  I always thought the status of Hurd was so far off being useful that there was no point in looking into it further.  However, I recently read the <a href="http://www.gnu.org/software/hurd/hurd/status.html">Hurd status</a> page and there was a picture of a GUI, doing useful spreadsheet type stuff.</p>
<p>My interest was piqued&#8230;  Combining that with the joys of building a cross-compiler for an operating system or architecture you do not actually have access too (yes, I am a sad, sad person) and you get a Hurd cross compiler.  I built a few packages and even managed to get (a slightly patched) pacman built.  Then, having wasted much time, I moved on.</p>
<p>Several months pass and there is a <a href="http://bbs.archlinux.org/viewtopic.php?pid=682472">post</a> on the Arch forums, with someone trying to compile a GNU operating system for themselves. I mentioned my previous endeavours and somewhat surprisingly others seem interested in the possibility of making a Hurd distro.  Well, Arch users are a weird bunch&#8230;</p>
<p>And so, Arch Hurd was born. There is a <a href="http://www.archhurd.org/">website</a>, so there is no stopping now!  The current status is a <a href="http://allanmcrae.com/hurd/">bunch of scripts</a> that create a quite up-to-date cross-compiling toolchain (glibc-2.10.1, binutils-2.19.1 and gcc-4.4.2), which can be used to build the GNU Mach kernel, the Hurd, coreutils and bash (the latter two being more updated than the versions in Arch!).  That is not far from a minimally bootable (but completely useless) system. Then we can all bask in the microkernally goodness.</p>
]]></content:encoded>
			<wfw:commentRss>http://allanmcrae.com/2010/01/arch-hurd/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Stupid SDL_mixer</title>
		<link>http://allanmcrae.com/2009/11/stupid-sdl_mixer/</link>
		<comments>http://allanmcrae.com/2009/11/stupid-sdl_mixer/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 11:49:47 +0000</pubDate>
		<dc:creator>Allan</dc:creator>
				<category><![CDATA[Arch]]></category>

		<guid isPermaLink="false">http://allanmcrae.com/?p=237</guid>
		<description><![CDATA[SDL_mixer is my least favourite piece of software today and is being very closely followed by SDL_image.  A few updates that should have taken me about half an hour today ended up taking over three hours due to bugs in these packages.
I had a bunch of SDL related packages (sdl_gfx, sdl_image, sdl_mixer, sdl_perl) to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.libsdl.org/projects/SDL_mixer/">SDL_mixer</a> is my least favourite piece of software today and is being very closely followed by <a href="http://www.libsdl.org/projects/SDL_image/">SDL_image</a>.  A few updates that should have taken me about half an hour today ended up taking over three hours due to bugs in these packages.</p>
<p>I had a bunch of SDL related packages (sdl_gfx, sdl_image, sdl_mixer, sdl_perl) to update.  These are usually fun, because they require extensive game playing for testing!  My first point of testing is always <a href="http://chromium-bsu.sourceforge.net/">Chromium B.S.U</a>.  Everything looked good there so I upload the updated sdl_gfx and sdl_image packages.  Now for the second line of testing: <a href="http://www.frozen-bubble.org/">Frozen Bubble</a>.  Interesting&#8230;  SDL_mixer has an soname bump despite being an update from 1.2.9 to 1.2.10.  Stranger things have happened (heimdal likes slipping soname bumps into minor version releases).  So a rebuild of many other packages is in order.   Rebuild frozen-bubble and try again&#8230;</p>
<p><code>FATAL: Couldn't load '/usr/share/frozen-bubble/gfx/loading.png' into a SDL::Surface.</code></p>
<p>Hmm&#8230; looks like an SDL_image issue.  I can confirm this using some other games too.  It turns out the SDL_image 1.2.9 release is very <a href="http://thread.gmane.org/gmane.comp.lib.sdl/44903/focus=44908">broken</a>; just not broken enough to break Chromium B.S.U. So much for my extensive testing&#8230; It appears fixed in upstream SVN, but I am feeling lazy and just downgrade it while waiting for the new release that appears to be due in the next day.</p>
<p>Now, try Frozen Bubble again.  Still no good&#8230;</p>
<p><code>[Graphics..........] [Sound Init]  at /usr/games/bin/frozen-bubble line 312<br />
</code></p>
<p>Looks like the SDL_mixer update is causing issues.  That may not be surprising given the soname bump.  This is confirmed by starting the game with the <tt>--no-sound</tt> option.  While searching for a fix, I discovered that the soname bump was an <a href="http://thread.gmane.org/gmane.comp.lib.sdl/44778/focus=44781">accident</a>.  Apparently, this has been <a href="http://thread.gmane.org/gmane.comp.lib.sdl/44778/focus=44886">fixed</a>, but either the source was missed or something else was going on. The good news is, I do not have to do a big rebuild now (but the rebuilds I had already done were a waste).  The bad new is, SDL_mixer is still broken&#8230;  The change-log in SVN lists this: </p>
<p><code>Fixed bug loading multiple music files</code></p>
<p>Pull that patch and we can all play games again!  Luckily, not all updates are that painful.</p>
<p>Edit: updates are now available for both SDL_mixer and SDL_image that fix these issues.</p>
]]></content:encoded>
			<wfw:commentRss>http://allanmcrae.com/2009/11/stupid-sdl_mixer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bugs Saving Us From Bigger Bugs</title>
		<link>http://allanmcrae.com/2009/10/ugs-saving-us-from-bigger-bugs/</link>
		<comments>http://allanmcrae.com/2009/10/ugs-saving-us-from-bigger-bugs/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 04:22:41 +0000</pubDate>
		<dc:creator>Allan</dc:creator>
				<category><![CDATA[Arch]]></category>

		<guid isPermaLink="false">http://allanmcrae.com/?p=219</guid>
		<description><![CDATA[With the toolchain rebuild for binutils-2.20, I decided it would be good idea to use package splitting to create the gcc and gcc-libs packages as that saved me a lot of build time.  While I was at it, I split gcc-fortran, gcc-objc and added a gcc-ada package.
That was when I ran into fun&#8230;  [...]]]></description>
			<content:encoded><![CDATA[<p>With the toolchain rebuild for binutils-2.20, I decided it would be good idea to use package splitting to create the gcc and gcc-libs packages as that saved me a lot of build time.  While I was at it, I split gcc-fortran, gcc-objc and added a gcc-ada package.</p>
<p>That was when I ran into fun&#8230;   Once I had built gcc with package splitting, I decided to attempt to rebuild it again with the new packages just to make sure everything was OK.  Turns out, that was not the case.  The C pre-processor was failing basic sanity checks and that falls into the category of &#8220;not a good thing&#8221;.</p>
<p>So I compared the list of files in the split packages to the originals as I made quite a few changes and could have plausibly &#8220;lost&#8221; some files.  Everything seemed as expected.  The only real difference was the &#8220;fixed&#8221; include headers were gone.  This was also expected as the previous PKGBUILD had this line:</p>
<p><code><br />
# Remove fixed includes, either no need for them, or they're not complete<br />
rm -rf ${pkgdir}/usr/lib/${CHOST}/${pkgver}/include-fixed/*<br />
</code></p>
<p>That comment is quite correct as the gcc packages are built in a minimal chroot and all headers in the packages within the chroot are in no need of fixing.  However, earlier in the package splitting process I noted that the fixed includes directory was actually in <tt>/usr/lib/gcc/$CHOST/...</tt> and not <tt>/usr/lib/$CHOST/...</tt>, so I fixed the PKGBUILD.  </p>
<p>And here was the problem&#8230;  As of GCC-4.3, the compiler installs a <tt>limits.h</tt> file into the private include-fixed directory and that directory is an absolute requirement.  So, the unnoticed bug in the PKGBUILD actually was saving us from a far more severe bug and had been for some time.  </p>
<p>The only conclusion I can draw from all of this is we should never strive for bug free code as some bugs are good!</p>
]]></content:encoded>
			<wfw:commentRss>http://allanmcrae.com/2009/10/ugs-saving-us-from-bigger-bugs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->
