<?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>Some Assembly Required &#187; Fedora</title>
	<atom:link href="http://znark.com/blog/category/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://znark.com/blog</link>
	<description></description>
	<lastBuildDate>Sun, 05 Jul 2009 22:23:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Maemo SDK on Fedora 9</title>
		<link>http://znark.com/blog/2008/09/maemo-sdk-on-fedora-9/</link>
		<comments>http://znark.com/blog/2008/09/maemo-sdk-on-fedora-9/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 19:27:22 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maemo]]></category>

		<guid isPermaLink="false">http://znark.com/blog/?p=352</guid>
		<description><![CDATA[I got the Maemo SDK installed on Fedora 9. The instructions are pretty complete. First, Scratchbox needs the compat VDSO mode enabled. This is done by echo 0 &#62; /proc/sys/vm/vdso_enabled. Also, Qemu requires mmap_min_addr set to 4096. These can be set permanently by adding the following lines to /etc/sysctl.conf. # scratchbox support vm.vdso_enabled = 0 [...]]]></description>
			<content:encoded><![CDATA[<p>I got the <a href="http://maemo.org">Maemo</a> <a href="http://maemo.org/development/sdks/maemo-4-1-diablo-sdk/">SDK</a> 
installed on Fedora 9.  The instructions are pretty complete.</p>

<p>First, Scratchbox needs the compat VDSO mode enabled.  This is done by
<code>echo 0 &gt; /proc/sys/vm/vdso_enabled</code>.  Also, Qemu requires
<code>mmap_min_addr</code> set to 4096.  These can be set permanently by adding
the following lines to <code>/etc/sysctl.conf</code>.</p>

<pre><code># scratchbox support
vm.vdso_enabled = 0
vm.mmap_min_addr = 4096
</code></pre>

<p>On my desktop, which is x86_64, compat VDSO can only be set with the
<code>vdso32=0</code> kernel command-line option.  Also, the scratchbox installer
script checks for i386 architecture.  It needs to faked out like this:
 <code>setarch i386 ./maemo-scratchbox-install_4.1.sh</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://znark.com/blog/2008/09/maemo-sdk-on-fedora-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FC6 on MacBook</title>
		<link>http://znark.com/blog/2006/11/fc6-on-macbook/</link>
		<comments>http://znark.com/blog/2006/11/fc6-on-macbook/#comments</comments>
		<pubDate>Fri, 03 Nov 2006 03:59:51 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I am writing this on Fedora Core 6 running on my MacBook. In general, it works pretty well with a few problems. The wireless works great with the madwifi drivers from livna. The biggest problem is that suspend and hibernate don&#8217;t work. Suspend seems to work but does not restore. Hibernate suceeds with the most [...]]]></description>
			<content:encoded><![CDATA[<p>I am writing this on Fedora Core 6 running on my MacBook.  In general, it works pretty well with a few problems.  The wireless works great with the madwifi drivers from <a href="http://rpm.livna.org/fedora/6/">livna</a>.</p>

<p>The biggest problem is that suspend and hibernate don&#8217;t work.  Suspend seems to work but does not restore.  Hibernate suceeds with the most recent kernel but that kernel does not boot reliably.</p>

<p>I hadn&#8217;t noticed that I wasn&#8217;t running at the ideal resolution, 1280&#215;900.  1080&#215;768 looked a little squished. I had to switch to the &#8216;intel&#8217; driver for Xorg for the graphics to work at the ideal resolution.</p>

<p>I just installed the compiz compositing window manager. The flipping effect when changing desktops is a nice touch even though it is a little blurry and jumpy.I understand what people were talking about with the wobbly window effect.</p>

<p>The Mighty Mouse is not detected automatically by the Bluetooth system. I have to run &#8216;hidd &#8211;search&#8217; and occasionally restart the hidd daemon.  The scroll ball only works in one direction. Unfortunately, moving the scroll ball horizontally scrolls vertically.</p>
]]></content:encoded>
			<wfw:commentRss>http://znark.com/blog/2006/11/fc6-on-macbook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jigdo Files for Fedora Core 6</title>
		<link>http://znark.com/blog/2006/10/jigdo-files-for-fedora-core-6/</link>
		<comments>http://znark.com/blog/2006/10/jigdo-files-for-fedora-core-6/#comments</comments>
		<pubDate>Sun, 29 Oct 2006 00:42:58 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have produced Jigdo files files for Fedora Core 6. Jigdo is a program which can produce ISO images from the constituent files and a description. It uses a .template file which contains the description how to compose the image from the files and the missing pieces, and a .jigdo file which describes where to [...]]]></description>
			<content:encoded><![CDATA[<p>I have produced <a href="http://znark.com/fedora/jigdo/">Jigdo files</a> files for <a href="http://fedoraproject.org/wiki/FC6ReleaseSummary">Fedora Core 6</a>.  <a href="http://www.atterer.net/jigdo/">Jigdo</a> is a program which can produce ISO images from the constituent files and a description.  It uses a .template file which contains the description how to compose the image from the files and the missing pieces, and a .jigdo file which describes where to find the constituent files.</p>

<p>It allows downloading the packages from the mirrors which can be faster and easier than getting the images and producing the images from them.  It is also more useful to keep the package repository and then produce the images as needed.  I know some people keep the images and then mount them to get the files.</p>

<p>One thing I noticed is that the the disc1 and DVD templates are much larger than they should be.  The cause is the repodata directory in the images is different than the one on the mirrors.  My guess is that the output of createrepo is not deterministic; the contents seem to have different ordering but the input packages are the same.</p>
]]></content:encoded>
			<wfw:commentRss>http://znark.com/blog/2006/10/jigdo-files-for-fedora-core-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacBook Wireless on Linux</title>
		<link>http://znark.com/blog/2006/08/macbook-wireless-on-linux/</link>
		<comments>http://znark.com/blog/2006/08/macbook-wireless-on-linux/#comments</comments>
		<pubDate>Sat, 26 Aug 2006 19:30:59 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I got the wireless working on my MacBook under Fedora rawhide. The MacBook includes an Atheros chipset which needs the madwifi driver. The madwifi driver can&#8217;t be included in the base kernel or distribution because it includes a binary HAL which isn&#8217;t open-source. Unfortunately, the madwifi driver did not compile cleanly on the Fedora development [...]]]></description>
			<content:encoded><![CDATA[<p>I got the wireless working on my MacBook under Fedora rawhide.  The MacBook includes an Atheros chipset which needs the <a href="http://madwifi.org">madwifi</a> driver.  The madwifi driver can&#8217;t be included in the base kernel or distribution because it includes a binary HAL which isn&#8217;t open-source.</p>

<p>Unfortunately, the madwifi driver did not compile cleanly on the Fedora development kernel.  First, the Fedora kernels are currently 2.6.18-rc4 but they are versioned as 2.6.17. There is code in the driver which detects 2.6.18 but that doesn&#8217;t work with the mislabelled version. Also, madwifi uses the config.h header which was replaced by autoconf.h but is finally deprecated in 2.6.18.  I submitted a <a href="http://madwifi.org/ticket/845">ticket with patch</a> to get this fixed. </p>

<p>I wanted to install the kernel modules as RPMs instead of from source.  <a href="http://rpm.livna.org">livna.org</a> has madwifi packages for FC5.  With some patching, they are suitable for building with the <a href="http://fedoraproject.org/wiki/Packaging/KernelModules">kmod scheme</a>.  This involves building packages for each kernel release, variant, and architecture.  I only build for the i686 standard variant.  The command line looks like:</p>

<pre><code>rpmbuild -ba --target=i686 --define "kversion 2.6.17-1.2586.fc6" --define 'kvariants ""' madwifi-kmod.spec
</code></pre>

<p>I have put the packages I built at <a href="http://znark.com/fedora/">my Fedora package directory</a>. Installing the packages from the rpm command-line can be tricky because multiple versions are installed at once.  Doing an upgrade will remove the version for an old kernel.
 Upgrading the module versions requires installing the new version for installed kernels and then removing the old versions.  Yum is supposed to handle this.</p>

<p>Getting the wireless working once the module was installed was a snap. I used NetworkManager and it just worked. It detected the wireless network and switched to it when the Ethernet cable is removed. It prompts for the WPA password.</p>
]]></content:encoded>
			<wfw:commentRss>http://znark.com/blog/2006/08/macbook-wireless-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boot Camp, Try 2</title>
		<link>http://znark.com/blog/2006/08/boot-camp-try-2/</link>
		<comments>http://znark.com/blog/2006/08/boot-camp-try-2/#comments</comments>
		<pubDate>Fri, 25 Aug 2006 04:56:12 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I had an idea that the graphical Fedora installer would be okay (or could at least be used with a mouse) even if the keyboard at the console was duplicating keypresses. Instead of trying to do a network install, I burned the FC6 Test 2 DVD. I went quickly through the text dialogs. The graphical [...]]]></description>
			<content:encoded><![CDATA[<p>I had an idea that the graphical Fedora installer would be okay (or could at least be used with a mouse) even if the keyboard at the console was duplicating keypresses.  Instead of trying to do a network install, I burned the FC6 Test 2 DVD.  I went quickly through the text dialogs.  The graphical installer was fine, although the mouse was jumpy and slow probably because I used the &#8220;noapic&#8221; kernel parameter.</p>

<p>The install went smoothly.  Fedora booted up without any problems.  Lots of things just worked.  The display was autodetected to the right size.  The trackpad worked.  The Fn key works as modifier.  A few things didn&#8217;t work out of the box.  The wireless card will require third-party drivers.  The internal sound isn&#8217;t working.  It sleeps but doesn&#8217;t resume.  My Bluetooth Mighty Mouse works but only after restarting the hidd daemon.</p>
]]></content:encoded>
			<wfw:commentRss>http://znark.com/blog/2006/08/boot-camp-try-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boot Camp and Fedora</title>
		<link>http://znark.com/blog/2006/08/boot-camp-and-fedora/</link>
		<comments>http://znark.com/blog/2006/08/boot-camp-and-fedora/#comments</comments>
		<pubDate>Sun, 20 Aug 2006 23:26:40 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[To celebrate the release of Boot Camp 1.1 beta, I tried to install Fedora Core in the spare space on my drive. Boot Camp worked great to repartition the drive, shrink the Mac OS X partition, and create a 10 GB free space. First, I tried Fedora Core 5 DVD. The installer got to a [...]]]></description>
			<content:encoded><![CDATA[<p>To celebrate the release of <a href="http://www.apple.com/macosx/bootcamp/">Boot Camp 1.1 beta</a>, I tried to install <a href="http://fedora.redhat.com">Fedora Core</a> in the spare space on my drive.  Boot Camp worked great to repartition the drive, shrink the Mac OS X partition, and create a 10 GB free space.</p>

<p>First, I tried Fedora Core 5 DVD.  The installer got to a spot where it recognized that the drive was partitioned with GPT and asked if it could reformat it.  I have the suspicion that this would have invovled erasing the whole drive including Mac OS X.  This bug in anaconda was fixed in rawhide so that anaconda fully handles GPT drives.  My guess is that Windows doesn&#8217;t know anything about EFI or GPT and goes into a compability mode where it writes the MBR partition.</p>

<p>Next, I tried Fedora Rawhide.  It had a bug where every key entered was duplicated.  This made it impossible to use the installer.  I found a bugzilla entry and did some searching and it seems to be a recent kernel bug.  Hopefully, it wll be fixed soon and I can try again.  I wasn&#8217;t able to use the FC5 boot CD kernel to load the rawhide installer.</p>

<p>Then, I tried Ubuntu.  The LiveCD booted great.  And the installer&#8217;s gparted understood the GPT partitions. But it didn&#8217;t have any way to create an LVM partition. After I rebooted, the MacBook won&#8217;t boot because it couldn&#8217;t find a bootable partition. Luckily, booting with Option held gave to the boot selection menu with the Macintosh HD and that allowed booting to Mac OS X.  And the Startup Disk pane in System Preferences allowed changing the default boot disk back to Mac OS X.</p>
]]></content:encoded>
			<wfw:commentRss>http://znark.com/blog/2006/08/boot-camp-and-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SVK on Fedora Extras</title>
		<link>http://znark.com/blog/2006/07/svk-on-fedora-extras/</link>
		<comments>http://znark.com/blog/2006/07/svk-on-fedora-extras/#comments</comments>
		<pubDate>Wed, 12 Jul 2006 03:11:31 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Over the weekend, I got the SVK version control system included in Fedora Extras. It is in the perl-SVK package. I also packaged up a bunch of its required Perl modules. I actually used svk for the spec files for the packages. It was very handy for synchronizing and merging changes between home and work [...]]]></description>
			<content:encoded><![CDATA[<p>Over the weekend, I got the <a href="http://svk.elixus.org/">SVK</a> version control system included in <a href="http://fedoraproject.org/wiki/Extras">Fedora Extras</a>.  It is in the perl-SVK package.  I also packaged up a bunch of its required Perl modules.</p>

<p>I actually used svk for the spec files for the packages.  It was very handy for synchronizing and merging changes between home and work using the repository at my ISP.  My repository doesn&#8217;t allow public changes but you can work the same way with any Subversion repository.</p>

<p>Setup the mirror:</p>

<pre><code>svk mirror http://znark.com/svn/repos //mirror/znark
</code></pre>

<p>Sync the mirror to the svk depot.</p>

<pre><code>svk sync //mirror/znark
</code></pre>

<p>Copy the mirror to local directory</p>

<pre><code>svk copy //mirror/znark/cpanbuild //cpanbuild
</code></pre>

<p>Checkout the local directory</p>

<pre><code>svk co //cpanbuild
cd cpanbuild
</code></pre>

<p>Make some changes and commit:</p>

<pre><code>svk ci
</code></pre>

<p>Push the changes to the repository:</p>

<pre><code>svk push
</code></pre>

<p>At another location, or after somebody else has made changes, I can do:</p>

<pre><code>svk sync //mirror/znark
svk pull
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://znark.com/blog/2006/07/svk-on-fedora-extras/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Booting Fedora Installer from Disk</title>
		<link>http://znark.com/blog/2006/07/booting-fedora-installer-from-disk/</link>
		<comments>http://znark.com/blog/2006/07/booting-fedora-installer-from-disk/#comments</comments>
		<pubDate>Wed, 12 Jul 2006 03:01:05 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[If you already have Linux installed, it is possible to boot the Fedora installer to do installs or upgrades without a boot CD. In the images/pxeboot directory of the distribution repository, there is vmlinuz kernel and initrd.img ramdisk image. Download those and put them in /boot. Then edit /boot/grub/grub.conf and add the following entry: title [...]]]></description>
			<content:encoded><![CDATA[<p>If you already have Linux installed, it is possible to boot the Fedora installer to do installs or upgrades without a boot CD.</p>

<p>In the <a href="http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/images/pxeboot">images/pxeboot</a> directory of the <a href="http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/">distribution repository</a>, there is vmlinuz kernel and initrd.img ramdisk image.  Download those and put them in /boot.  Then edit /boot/grub/grub.conf and add the following entry:</p>

<pre><code>title Fedora Installer
    kernel /vmlinuz
    initrd /initrd.img
</code></pre>

<p>This assumes that you have a separate /boot partition.  If not, add /boot to the paths.</p>

<p>Then, reboot your machine and select the &#8220;Fedora Installer&#8221; entry from the grub menu.  Once the installer has booted, you can do a network or hard disk install or upgrade.</p>
]]></content:encoded>
			<wfw:commentRss>http://znark.com/blog/2006/07/booting-fedora-installer-from-disk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
