<?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>On the third side &#187; comp</title>
	<atom:link href="http://ingvar.blog.redpill-linpro.com/category/comp/feed/" rel="self" type="application/rss+xml" />
	<link>http://ingvar.blog.redpill-linpro.com</link>
	<description>Lamentation and praise - almost never in rhyme</description>
	<lastBuildDate>Fri, 11 May 2012 10:32:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Using a mysql replicate for backup: Remember to set log_slave_updates</title>
		<link>http://ingvar.blog.redpill-linpro.com/2012/05/07/using-a-mysql-replicate-for-backup-remember-to-set-log_slave_updates/</link>
		<comments>http://ingvar.blog.redpill-linpro.com/2012/05/07/using-a-mysql-replicate-for-backup-remember-to-set-log_slave_updates/#comments</comments>
		<pubDate>Mon, 07 May 2012 07:51:05 +0000</pubDate>
		<dc:creator>ingvar</dc:creator>
				<category><![CDATA[comp]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[replication]]></category>

		<guid isPermaLink="false">http://ingvar.blog.redpill-linpro.com/2012/05/07/</guid>
		<description><![CDATA[The other day I was setting up a mysql slave in a an application where we needed to daisy-chain one slave from another. With just adding the slave the standard way, the first slave kept happily replicating, but we got no updates on the second slave. After a bit of debugging, we found log_slave_updates in [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I was setting up a mysql slave in a an application where we needed to daisy-chain one slave from another. With just adding the slave the standard way, the first slave kept happily replicating, but we got no updates on the second slave. After a bit of debugging, we found log_slave_updates in <a href="http://dev.mysql.com/doc/refman/5.0/en/replication-options-binary-log.html#sysvar_log_slave_updates">the documentation</a>. This makes the slave actually binlog changes from the master. Without this, only <i>changes done one the slave</i> is added to the binlog. Adding log_slave_updates to my.cnf on the first slave, the second in the chain started replicating as well.</p>
<p>So far, so good. But considering using replication for backup purposes, which is something I guess is quite common, the binlog of changes to the database is necessary to be able to do a point in time recovery. To get that binlog, you <i>have to add log_slave_updates</i>. Unless you have backup of the binlog files from the master, of course, but the point was using the replicate for backup, wasn&#8217;t it?</p>
<p>If you are unsure, compare the size of the binlog files on the master and the backup replicate slave.</p>
]]></content:encoded>
			<wfw:commentRss>http://ingvar.blog.redpill-linpro.com/2012/05/07/using-a-mysql-replicate-for-backup-remember-to-set-log_slave_updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>varnish-3.0.2 for fedora</title>
		<link>http://ingvar.blog.redpill-linpro.com/2012/03/08/varnish-3-0-2-for-fedora/</link>
		<comments>http://ingvar.blog.redpill-linpro.com/2012/03/08/varnish-3-0-2-for-fedora/#comments</comments>
		<pubDate>Thu, 08 Mar 2012 08:22:08 +0000</pubDate>
		<dc:creator>ingvar</dc:creator>
				<category><![CDATA[comp]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[varnish]]></category>

		<guid isPermaLink="false">http://ingvar.blog.redpill-linpro.com/2012/03/08/</guid>
		<description><![CDATA[I finally got around to wrap up varnish-3.0.2 for fedora 17 and rawhide. Please test and report karma. In this release, I have merged changes from the upstream rpm, and added native systemd support for f17 and rawhide. It also builds nicely for epel5 and epel6, providing packages quite similar to those available from the [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got around to wrap up varnish-3.0.2 for fedora 17 and rawhide. Please test and <a href="https://admin.fedoraproject.org/updates/FEDORA-2012-3246/varnish-3.0.2-1.fc17">report karma</a>.</p>
<p>In this release, I have merged changes from the upstream rpm, and added native systemd support for f17 and rawhide. It also builds nicely for epel5  and epel6, providing packages quite similar to those available from the <a href="https://www.varnish-cache.org/installation/redhat">varnish project repo</a>.</p>
<p>As epel does not allow changes in a package API after release, varnish-3.0.2 won&#8217;t be available through epel5 or epel6, so use the <a href="https://www.varnish-cache.org/installation/redhat">varnish project repo</a>, or my precompiled packages for epel 4, 5 and 6 <a href="http://users.linpro.no/ingvar/varnish/3.0.2/">available here</a>.</p>
<p>As always, feedback is very welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://ingvar.blog.redpill-linpro.com/2012/03/08/varnish-3-0-2-for-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding what binaries to restart</title>
		<link>http://ingvar.blog.redpill-linpro.com/2012/01/19/finding-what-binaries-to-restart/</link>
		<comments>http://ingvar.blog.redpill-linpro.com/2012/01/19/finding-what-binaries-to-restart/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 21:39:06 +0000</pubDate>
		<dc:creator>ingvar</dc:creator>
				<category><![CDATA[comp]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://ingvar.blog.redpill-linpro.com/2012/01/19/</guid>
		<description><![CDATA[When I started working with Linux system administration a few years ago, restarting services after a package upgrade was fairly easy. If the package didn&#8217;t restart itself, one could always ask lsof for help: lsof +L1 &#124; egrep 'bin/&#124;lib/' Now, on later Linux distributions, the usage of prelink has changed this, so one usually gets [...]]]></description>
			<content:encoded><![CDATA[<p>When I started working with Linux system administration a few years ago, restarting services after a package upgrade was fairly easy. If the package didn&#8217;t restart itself, one could always ask lsof for help:</p>
<pre>
lsof +L1 | egrep 'bin/|lib/'
</pre>
<p>Now, on later Linux distributions, the usage of <a href="http://en.wikipedia.org/wiki/Prelink">prelink</a> has changed this, so one usually gets a lot of false positives, and could never trust the result of that good old lsof output.</p>
<p>Finding running executables is possible using some perl magic (Yes, I&#8217;m pretty sure you perl guys can write this more compressed) along the lines of this, at least on RHEL5:</p>
<pre>
perl -e ' for $i (glob "/proc/[1-9]*/exe") { $f=readlink $i; if ( $f=~ /([^&#092;0]+)&#092;0.*deleted/ ) { print "$1\n" }} ' | sort | uniq
</pre>
<p>But this won&#8217;t help us finding what service to restart after a dependency library was updated. So I finally wrote this script to help me. My boxes are mostly Fedora and RHEL, so it uses the fact that installed binaries on Red Hat based systems have installation time stored in the rpm database (rpm tag %{INSTALLTIME} ). This script abuses rpm heavily, and may use some time to finish on a busy system.</p>
<p><a href="http://users.linpro.no/ingvar/check_newlibs">http://users.linpro.no/ingvar/check_newlibs</a></p>
<p>Test run:</p>
<pre>
[root]# /home/ingvar/check_newlibs
Warning: Needs restart: /sbin/agetty, pids 6067
Warning: Needs restart: /usr/bin/tail, pids 7315
Warning: Needs restart: /usr/bin/vim, pids 19759
Warning: Needs restart: /usr/sbin/sendmail.sendmail, pids 10645 10637
Warning: Needs restart: /usr/sbin/acpid, pids 5259
Warning: Needs restart: /usr/sbin/crond, pids 5567
Warning: Needs restart: /bin/bash, pids 26074 17731 16848 15718 30753 6120 32704
Warning: Needs restart: /sbin/mingetty, pids 6071 6069 6076 6068 6072 6070
Warning: Needs restart: /sbin/portmap, pids 5082
Warning: Needs restart: /usr/sbin/smartd, pids 20948
Warning: Needs restart: /sbin/multipathd, pids 20170
Warning: Needs restart: /usr/sbin/atd, pids 5969
Warning: Needs restart: /usr/sbin/sshd, pids 19863
Warning: Needs restart: /usr/libexec/mysqld, pids 17775
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ingvar.blog.redpill-linpro.com/2012/01/19/finding-what-binaries-to-restart/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Unquiet Ubuntu&#8217;s grub</title>
		<link>http://ingvar.blog.redpill-linpro.com/2011/12/14/unquiet-ubuntus-grub/</link>
		<comments>http://ingvar.blog.redpill-linpro.com/2011/12/14/unquiet-ubuntus-grub/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 07:47:12 +0000</pubDate>
		<dc:creator>ingvar</dc:creator>
				<category><![CDATA[comp]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Grub]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ingvar.blog.redpill-linpro.com/2011/12/14/</guid>
		<description><![CDATA[When working with servers or debugging a workstation, or even just out of curiosity, it&#8217;s geek friendly to make your linux kernel boot rather more than less verbose. In Ubuntu 8.04.4 LTS, and probably other Debian derivates as well, the default is to be rather quiet, and it&#8217;s a bit difficult to find how to [...]]]></description>
			<content:encoded><![CDATA[<p>When working with servers or debugging a workstation, or even just out of curiosity, it&#8217;s geek friendly to make your linux kernel boot rather more than less verbose. In Ubuntu 8.04.4 LTS, and probably other Debian derivates as well, the default is to be rather quiet, and it&#8217;s a bit difficult to find how to make it verbose, without hard coding changes to /boot/grub/menu.lst. Such changes will be overwritten by update-grub, so that&#8217;s probably a bad idea.</p>
<p>This fixes it:</p>
<pre>
# echo 'supports_quiet=false' &gt;&gt; /etc/default/grub
# update-grub
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ingvar.blog.redpill-linpro.com/2011/12/14/unquiet-ubuntus-grub/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting an address on the HP iLO from Linux</title>
		<link>http://ingvar.blog.redpill-linpro.com/2011/12/09/setting-the-ip-address-on-hp-ilo-from-linux/</link>
		<comments>http://ingvar.blog.redpill-linpro.com/2011/12/09/setting-the-ip-address-on-hp-ilo-from-linux/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 16:27:22 +0000</pubDate>
		<dc:creator>ingvar</dc:creator>
				<category><![CDATA[comp]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://ingvar.blog.redpill-linpro.com/2011/12/09/</guid>
		<description><![CDATA[So, we put this nice DL360 G7 in production, and found that networking on the iLO (integrated lights-out management) was not configured correctly. Now, the box was already running software, so it was a bit unpopluar to reboot it just to get iLO access again. Just for fun (sorry, I had not high hopes on [...]]]></description>
			<content:encoded><![CDATA[<p>So, we put this nice DL360 G7 in production, and found that networking on the iLO (integrated lights-out management) was not configured correctly. Now, the box was already running software, so it was a bit unpopluar to reboot it just to get iLO access again. Just for fun (sorry, I had not high hopes on their Linux support), I called HP support. They stated of course that this was not possible without rebooting the server and access the iLO setup through its BIOS.</p>
<p>Now, the HP iLO 3 should support IPMI, so after a bit of fiddling around, I came up with this, and it actually works. The following was executed on RHEL5.</p>
<p>First find the LAN channel</p>
<pre>
# for i in `seq 1 14`; do ipmitool lan print $i 2&gt;/dev/null | grep -q ^Set &amp;&amp; echo Channel $i; done

Channel 2
</pre>
<p>So, on this system, channel 2 is the LAN channel.</p>
<pre>
# ipmitool lan print 2

Set in Progress         : Set Complete
Auth Type Support       :
IP Address Source       : DHCP Address
IP Address              : 0.0.0.0
Subnet Mask             : 0.0.0.0
MAC Address             : c0:ff:ee:c0:ff:ee
BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Disabled
Default Gateway IP      : 0.0.0.0
802.1q VLAN ID          : Disabled
802.1q VLAN Priority    : 0
Cipher Suite Priv Max   : Not Available
</pre>
<p>Okay, so if you have a DHCP server on your management network, you may be content with this, and just give it an address by DHCP. I wanted to set a static address, though.</p>
<pre>
# ipmitool lan set 2 ipsrc static
# ipmitool lan set 2 ipaddr 192.168.42.36
# ipmitool lan set 2 netmask 255.255.255.0
# ipmitool lan set 2 defgw ipaddr 192.168.42.1
# ipmitool mc reset cold
</pre>
<p>That&#8217;s it actually. Exchange the LAN channel and network addresses with your own, of course. </p>
]]></content:encoded>
			<wfw:commentRss>http://ingvar.blog.redpill-linpro.com/2011/12/09/setting-the-ip-address-on-hp-ilo-from-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Gingerbread AT-AT Walker</title>
		<link>http://ingvar.blog.redpill-linpro.com/2011/12/03/gingerbread-at-at-walker/</link>
		<comments>http://ingvar.blog.redpill-linpro.com/2011/12/03/gingerbread-at-at-walker/#comments</comments>
		<pubDate>Sat, 03 Dec 2011 19:21:58 +0000</pubDate>
		<dc:creator>ingvar</dc:creator>
				<category><![CDATA[comp]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[Advent]]></category>
		<category><![CDATA[AT-AT Walker]]></category>
		<category><![CDATA[Christmas]]></category>
		<category><![CDATA[Star Wars]]></category>

		<guid isPermaLink="false">http://ingvar.blog.redpill-linpro.com/2011/12/03/</guid>
		<description><![CDATA[Two years ago, we built the Gingerbread Millennium Falcon. Last year, we built the Gingerbread Vader&#8217;s Tie Fighter. What should we build this year? More Star Wars vehicles? After a bit heavy thinking, we came up with the emperial AT-AT Walker. Luckily, the web is full of pictures and sketches, so we found plenty of [...]]]></description>
			<content:encoded><![CDATA[<p>Two years ago, we built the <a href="/?p=365">Gingerbread Millennium Falcon</a>. Last year, we built the <a href="/?p=1047">Gingerbread Vader&#8217;s Tie Fighter</a>. What should we build this year? More Star Wars vehicles? After a bit heavy thinking, we came up with the emperial AT-AT Walker. Luckily, the web is full of pictures and sketches, so we found plenty of inspiration.</p>
<p>After four hours, the result exceeded all expectations! Happy advent everybody!</p>
<p>Update: The Friendly Fredrik <a href="http://bit.ly/tq6LpS">posted some more pictures</a> of the building process.</p>
<div id="attachment_1371" class="wp-caption aligncenter" style="width: 310px"><a href="http://ingvar.blog.redpill-linpro.com/files/DSC00510-1.jpg"><img src="http://ingvar.blog.redpill-linpro.com/files/DSC00510-1-300x225.jpg" alt="" width="300" height="225" class="size-medium wp-image-1371" /></a><p class="wp-caption-text">Parts ready for the oven</p></div>
<div id="attachment_1372" class="wp-caption aligncenter" style="width: 310px"><a href="http://ingvar.blog.redpill-linpro.com/files/DSC00518-1.jpg"><img src="http://ingvar.blog.redpill-linpro.com/files/DSC00518-1-300x225.jpg" alt="AT-AT Walker #7" width="300" height="225" class="size-medium wp-image-1372" /></a><p class="wp-caption-text">That&#039;s a lot of parts</p></div>
<div id="attachment_1374" class="wp-caption aligncenter" style="width: 310px"><a href="http://ingvar.blog.redpill-linpro.com/files/DSC00528.jpg"><img src="http://ingvar.blog.redpill-linpro.com/files/DSC00528-300x225.jpg" alt="Assembly of the AT-AT Walker" width="300" height="225" class="size-medium wp-image-1374" /></a><p class="wp-caption-text">Assembly by melted sugar. Hot stuff!</p></div>
<div id="attachment_1356" class="wp-caption aligncenter" style="width: 310px"><a href="http://ingvar.blog.redpill-linpro.com/files/IMG_2384.jpg"><img src="http://ingvar.blog.redpill-linpro.com/files/IMG_2384-300x225.jpg" alt="" width="300" height="225" class="size-medium wp-image-1356" /></a><p class="wp-caption-text">AT-AT Walker #1</p></div>
<div id="attachment_1357" class="wp-caption aligncenter" style="width: 310px"><a href="http://ingvar.blog.redpill-linpro.com/files/IMG_2385.jpg"><img src="http://ingvar.blog.redpill-linpro.com/files/IMG_2385-300x225.jpg" alt="" width="300" height="225" class="size-medium wp-image-1357" /></a><p class="wp-caption-text">AT-AT Walker #2</p></div>
<div id="attachment_1359" class="wp-caption aligncenter" style="width: 310px"><a href="http://ingvar.blog.redpill-linpro.com/files/IMG_2382.jpg"><img src="http://ingvar.blog.redpill-linpro.com/files/IMG_2382-300x225.jpg" alt="" width="300" height="225" class="size-medium wp-image-1359" /></a><p class="wp-caption-text">AT-AT Walker #3</p></div>
<div id="attachment_1360" class="wp-caption aligncenter" style="width: 310px"><a href="http://ingvar.blog.redpill-linpro.com/files/IMG_2383.jpg"><img src="http://ingvar.blog.redpill-linpro.com/files/IMG_2383-300x225.jpg" alt="" width="300" height="225" class="size-medium wp-image-1360" /></a><p class="wp-caption-text">AT-AT Walker #4</p></div>
<div id="attachment_1365" class="wp-caption aligncenter" style="width: 310px"><a href="http://ingvar.blog.redpill-linpro.com/files/IMG_2386.jpg"><img src="http://ingvar.blog.redpill-linpro.com/files/IMG_2386-300x225.jpg" alt="" width="300" height="225" class="size-medium wp-image-1365" /></a><p class="wp-caption-text">AT-AT Walker #5</p></div>
<div id="attachment_1369" class="wp-caption aligncenter" style="width: 310px"><a href="http://ingvar.blog.redpill-linpro.com/files/IMG_23891.jpg"><img src="http://ingvar.blog.redpill-linpro.com/files/IMG_23891-300x225.jpg" alt="" width="300" height="225" class="size-medium wp-image-1369" /></a><p class="wp-caption-text">AT-AT Walker #6</p></div>
]]></content:encoded>
			<wfw:commentRss>http://ingvar.blog.redpill-linpro.com/2011/12/03/gingerbread-at-at-walker/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>@ingvarha &#8211; that&#8217;s me</title>
		<link>http://ingvar.blog.redpill-linpro.com/2011/12/02/ingvarha-thats-me/</link>
		<comments>http://ingvar.blog.redpill-linpro.com/2011/12/02/ingvarha-thats-me/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 09:38:14 +0000</pubDate>
		<dc:creator>ingvar</dc:creator>
				<category><![CDATA[comp]]></category>

		<guid isPermaLink="false">http://ingvar.blog.redpill-linpro.com/2011/12/02/</guid>
		<description><![CDATA[So, I finally thought I should try this social media thingie, and got myself a twitter account. Who should have thought, after all these years&#8230; So if you wonder, @ingvarha &#8211; that&#8217;s me.]]></description>
			<content:encoded><![CDATA[<p>So, I finally thought I should try this social media thingie, and got myself a twitter account. Who should have thought, after all these years&#8230;</p>
<p>So if you wonder, <a href="http://twitter.com/#!/ingvarha">@ingvarha</a> &#8211; that&#8217;s me.</p>
]]></content:encoded>
			<wfw:commentRss>http://ingvar.blog.redpill-linpro.com/2011/12/02/ingvarha-thats-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jemalloc-2.2.5 released, updated packages for fedora and epel</title>
		<link>http://ingvar.blog.redpill-linpro.com/2011/11/21/jemalloc-2-2-5-released-updated-packages-for-fedora-and-epel/</link>
		<comments>http://ingvar.blog.redpill-linpro.com/2011/11/21/jemalloc-2-2-5-released-updated-packages-for-fedora-and-epel/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 12:07:36 +0000</pubDate>
		<dc:creator>ingvar</dc:creator>
				<category><![CDATA[comp]]></category>

		<guid isPermaLink="false">http://ingvar.blog.redpill-linpro.com/2011/11/21/</guid>
		<description><![CDATA[jemalloc is a general-purpose scalable concurrent malloc(3) implementation. I recently built jemalloc-2.2.5 for fedora and epel6. Updates are submitted to bodhi, and will trickle down to their respective test (and later stable) repos in a few days. Because of som ppc specific lacking functionality, jemalloc is still not updated for for epel5. epel5 supports ppc/ppc64 [...]]]></description>
			<content:encoded><![CDATA[<p>jemalloc is a general-purpose scalable concurrent malloc(3) implementation.</p>
<p>I recently built jemalloc-2.2.5 for fedora and epel6. Updates are submitted to bodhi, and will trickle down to their respective test (and later stable) repos in a few days.</p>
<p>Because of som ppc specific lacking functionality, jemalloc is still not updated for for epel5. epel5 supports ppc/ppc64 and needs those fixed to get a working update. For details, see <a href="http://www.canonware.com/pipermail/jemalloc-discuss/2011-April/000015.html">Jason&#8217;s answer in April</a>. As stated before, I have access to 32 and 64 bit ppc hardware, and would be happy to test that if the code appears.</p>
<p>Because of this, I have built x86_64 and i386 packages of jemalloc-2.2.5 for rhel5 and clones. The packages are available here:</p>
<p><a href="http://users.linpro.no/ingvar/jemalloc/2.2.5/el5/">http://users.linpro.no/ingvar/jemalloc/2.2.5/el5/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ingvar.blog.redpill-linpro.com/2011/11/21/jemalloc-2-2-5-released-updated-packages-for-fedora-and-epel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Fedora 16 on old ppc computers</title>
		<link>http://ingvar.blog.redpill-linpro.com/2011/09/28/running-fedora-16-on-old-ppc-computers/</link>
		<comments>http://ingvar.blog.redpill-linpro.com/2011/09/28/running-fedora-16-on-old-ppc-computers/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 21:19:34 +0000</pubDate>
		<dc:creator>ingvar</dc:creator>
				<category><![CDATA[comp]]></category>

		<guid isPermaLink="false">http://ingvar.blog.redpill-linpro.com/2011/09/28/</guid>
		<description><![CDATA[Fedora 16 on ppc and ppc64 is again up to full speed. Standing ovations to the ones making it happen. I found sharkcz&#8216; method to install fedora 16 on a ppc64 system running older versions of Fedora or RHEL, and was inspired to dig out two old 32bit ppc boxes from the attic. I started [...]]]></description>
			<content:encoded><![CDATA[<p>Fedora 16 on ppc and ppc64 is again up to full speed. Standing ovations to the ones making it happen.</p>
<p>I found <a href="http://sharkcz.livejournal.com/8649.html">sharkcz</a>&#8216; method to install fedora 16 on a ppc64 system running  older versions of Fedora or RHEL, and was inspired to dig out two old 32bit ppc boxes from the attic.</p>
<p>I started out with my good old <a href="http://www-03.ibm.com/systems/power/hardware/rs6000/entry/b50/index.html">IBM B50</a>. The 7046-B50 is a CHRP 604r (32bit ppc) running at blazing 375MHz. It has that 16MB-should-be-enough-for-everybody OpenFirmware limit, so it can&#8217;t boot newer Fedora install media. It may be able to boot Karsten&#8217;s Fedora 16 ISO image once he gets a 32bit version available :-)</p>
<p>The latest Fedora version that installs through normal media is Fedora 9. So I installed a minimum package set, and yum-upgraded through f10 and f11 to f12. From there I ran sharkcz&#8217; installroot trick, and got a working f16 environment using the <a href="http://ppc.koji.fedoraproject.org/mash/16/">mash package repo</a>.</p>
<p>To get a clean boot, better add lvm2 and e2fsprogs to the rootfs. Also, bind-mounting /sys, /boot, /dev and /proc into the installroot while installing makes it possible to chroot into it, and run yum self-hosted.</p>
<p>Not that hard, but it took a few hours to loop through the upgrade cycles. I had to run dracut with -H to get an initramfs small enough to boot. </p>
<p>Blinded by success, I took an Apple G3 iBook that I got for free. This white laptop is equipped with a 750FX CPU running at 700MHz and 384MB RAM. It had no PSU, but I found one at <a href="http://www.dealextreme.com">DX</a> that worked fine.</p>
<p>The iBook installed without problems with the standard f12 network installer CD. Booted again with the standard f12 CD1 in rescue mode, and shrinked the root lv to make place for another fedora instance. Then did the yum installroot trick again as described above. Finally found that the new root would not boot. After a lot of silly debugging, I found that the &#8220;pmac&#8221; IDE driver that I needed is not probed automatically via udev, as it does not support libata. So, how do you make dracut probe another driver? Via the boot option rdinsmodpost, and I guess you had never heard about that either. </p>
<p>After a bit of trying and failing, I got a working XFCE desktop. Now, if I only had an airport slot-in unit, I could have used this on the go. If you are content with epiphany for browsing and abiword and gnumeric for office apps (or just use emacs for everything), this is actually working.</p>
<p><a href="http://ingvar.blog.redpill-linpro.com/files/2011-09-29-00.01.22.jpg"><img src="http://ingvar.blog.redpill-linpro.com/files/2011-09-29-00.01.22-225x300.jpg" alt="iBook running Fedora 16" width="225" height="300" class="aligncenter size-medium wp-image-1306" /></a><br />
The iBook running Fedora 16</p>
]]></content:encoded>
			<wfw:commentRss>http://ingvar.blog.redpill-linpro.com/2011/09/28/running-fedora-16-on-old-ppc-computers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>rpm packages of varnish-3.0.0</title>
		<link>http://ingvar.blog.redpill-linpro.com/2011/08/26/rpm-packages-of-varnish-3-0-0/</link>
		<comments>http://ingvar.blog.redpill-linpro.com/2011/08/26/rpm-packages-of-varnish-3-0-0/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 09:24:49 +0000</pubDate>
		<dc:creator>ingvar</dc:creator>
				<category><![CDATA[comp]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[varnish]]></category>

		<guid isPermaLink="false">http://ingvar.blog.redpill-linpro.com/2011/08/26/</guid>
		<description><![CDATA[Varnish is a state of the art http accelerator, or frontside cache, if you like. varnish-3.0.0 was released some weeks ago. I have built packages for Fedora and epel4/5/6. Packages may be found at the usual http://users.linpro.no/ingvar/varnish/. The rhel packages require some dependencies pulled from epel. Varnish Software produces their own packages, based on the [...]]]></description>
			<content:encoded><![CDATA[<p>Varnish is a state of the art http accelerator, or frontside cache, if you like.</p>
<p>varnish-3.0.0 was released some weeks ago. I have built packages for Fedora and epel4/5/6. Packages may be found at the usual <a href="http://users.linpro.no/ingvar/varnish/">http://users.linpro.no/ingvar/varnish/</a>. The rhel packages require some dependencies pulled from epel.</p>
<p>Varnish Software produces <a href="http://repo.varnish-cache.org/">their own packages</a>, based on the specfile I maintain for Fedora. The changes from their rpm spec are mostly cosmetic to fit better to Fedora&#8217;s packaging standards.</p>
]]></content:encoded>
			<wfw:commentRss>http://ingvar.blog.redpill-linpro.com/2011/08/26/rpm-packages-of-varnish-3-0-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

