<?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"
	>

<channel>
	<title>Chris Farris - Geeklog</title>
	<atom:link href="http://www.chrisfarris.com/geeklog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chrisfarris.com/geeklog</link>
	<description>My musings with technology</description>
	<pubDate>Thu, 21 Feb 2008 00:19:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>losetup and offsets</title>
		<link>http://www.chrisfarris.com/geeklog/2008/02/20/losetup-and-offsets/</link>
		<comments>http://www.chrisfarris.com/geeklog/2008/02/20/losetup-and-offsets/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 00:19:39 +0000</pubDate>
		<dc:creator>Chris Farris</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.chrisfarris.com/geeklog/2008/02/20/losetup-and-offsets/</guid>
		<description><![CDATA[How to mount a filesystem inside a harddrive image
# losetup /dev/loop0 /path/to/diskimage
# fdisk -l /dev/loop0
(example)
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1044 8385898+ c W95 FAT32 (LBA)
/dev/sdb2 1045 19457 147902422+ 83 Linux
suppose you want [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://http://readlist.com/lists/gentoo.org/gentoo-user/20/101871.html">How to mount a filesystem inside a harddrive image</a></p>
<blockquote><p># losetup /dev/loop0 /path/to/diskimage<br />
# fdisk -l /dev/loop0<br />
(example)<br />
Disk /dev/sdb: 160.0 GB, 160041885696 bytes<br />
255 heads, 63 sectors/track, 19457 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>Device Boot Start End Blocks Id System<br />
/dev/sdb1 * 1 1044 8385898+ c W95 FAT32 (LBA)<br />
/dev/sdb2 1045 19457 147902422+ 83 Linux</p>
<p>suppose you want to mount the partition on sdb2, the offset for that<br />
would be 8225280 * 1045 = 8595417600.</p>
<p>detach the disk image<br />
# losetup -d /dev/loop0<br />
and setup the loop for the partiion<br />
# losetup -o8595417600 /dev/loop0 /path/to/diskimage<br />
and mount it<br />
# mount -t fstype /dev/loop0 /path/to/mountdir</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisfarris.com/geeklog/2008/02/20/losetup-and-offsets/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Data Recovery Tools</title>
		<link>http://www.chrisfarris.com/geeklog/2007/11/08/data-recovery-tools/</link>
		<comments>http://www.chrisfarris.com/geeklog/2007/11/08/data-recovery-tools/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 01:34:00 +0000</pubDate>
		<dc:creator>Chris Farris</dc:creator>
		
		<category><![CDATA[strange horned toads]]></category>

		<guid isPermaLink="false">http://www.chrisfarris.com/geeklog/2007/11/08/data-recovery-tools/</guid>
		<description><![CDATA[The Coroner&#8217;s ToolKit
TSK (The sleuth kit)
FSDB
Scrounge-ntfs
Photorec can recover photo data
]]></description>
			<content:encoded><![CDATA[<p>The Coroner&#8217;s ToolKit<br />
TSK (The sleuth kit)</p>
<p>FSDB<br />
Scrounge-ntfs<br />
Photorec can recover photo data</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisfarris.com/geeklog/2007/11/08/data-recovery-tools/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Possible SuSE Hosting provider</title>
		<link>http://www.chrisfarris.com/geeklog/2007/04/24/possible-suse-hosting-provider/</link>
		<comments>http://www.chrisfarris.com/geeklog/2007/04/24/possible-suse-hosting-provider/#comments</comments>
		<pubDate>Tue, 24 Apr 2007 18:44:54 +0000</pubDate>
		<dc:creator>Chris Farris</dc:creator>
		
		<category><![CDATA[strange horned toads]]></category>

		<guid isPermaLink="false">http://www.chrisfarris.com/geeklog/2007/04/24/possible-suse-hosting-provider/</guid>
		<description><![CDATA[NetSonic - Linux Dedicated Server Hosting. Debian, CentOS, Fedora, Suse Servers.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.netsonic.net/servers/suse.php">NetSonic - Linux Dedicated Server Hosting. Debian, CentOS, Fedora, Suse Servers.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisfarris.com/geeklog/2007/04/24/possible-suse-hosting-provider/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing MythTV on SuSE 10.2</title>
		<link>http://www.chrisfarris.com/geeklog/2007/04/08/installing-mythtv-on-suse-102/</link>
		<comments>http://www.chrisfarris.com/geeklog/2007/04/08/installing-mythtv-on-suse-102/#comments</comments>
		<pubDate>Sun, 08 Apr 2007 15:17:46 +0000</pubDate>
		<dc:creator>Chris Farris</dc:creator>
		
		<category><![CDATA[MythTV]]></category>

		<guid isPermaLink="false">http://www.chrisfarris.com/geeklog/2007/04/08/installing-mythtv-on-suse-102/</guid>
		<description><![CDATA[My root filesystem died on my MythTV server while I was sick last week. After spending a good bit of time trying to recover the data, I lost my database and mythtv build.
Document I followed to get MythTV Installed and ivtv modules working using this document. This document has the package repository used: http://packman.iu-bremen.de/suse/10.2. 
This [...]]]></description>
			<content:encoded><![CDATA[<p>My root filesystem died on my MythTV server while I was sick last week. After spending a good bit of time trying to recover the data, I lost my database and mythtv build.</p>
<p>Document I followed to get MythTV Installed and ivtv modules working using this <a href="http://www.mythtv.org/wiki/index.php/Opensuse_10.2">document</a>. This document has the package repository used: http://packman.iu-bremen.de/suse/10.2. </p>
<p>This command worked to get the ivtv driver to load:<br />
<code>sudo rpm -Uhv http://jarpack.com/suse/noarch/ivtv-firmware-0.1-1.noarch.rpm</code> </p>
<p>ivtv-fb loaded without issues. It took a bit of googling to find a ivtv driver for xorg. Here it is:<br />
http://www.hellion.org.uk/ivtv/debian/ivtvdev_drv.so~i386</p>
<p>LIRC was the next issue. Here is a <a href="http://lists.opensuse.org/opensuse-bugs/2007-01/msg04267.html">bug</a> with LIRC in SuSE 10.2 that prevents /dev/lirc and /dev/lirc0 from being created.<br />
I compiled up the source and was able to copy just the kernel module to fix it.<br />
cp drivers/lirc_i2c/lirc_i2c.ko /lib/modules/2.6.18.2-34-default/updates/lirc_i2c</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisfarris.com/geeklog/2007/04/08/installing-mythtv-on-suse-102/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mailman performance issues</title>
		<link>http://www.chrisfarris.com/geeklog/2007/03/16/mailman-performance-issues/</link>
		<comments>http://www.chrisfarris.com/geeklog/2007/03/16/mailman-performance-issues/#comments</comments>
		<pubDate>Fri, 16 Mar 2007 18:50:29 +0000</pubDate>
		<dc:creator>Chris Farris</dc:creator>
		
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.chrisfarris.com/geeklog/2007/03/16/mailman-performance-issues/</guid>
		<description><![CDATA[So I run the Atlanta Linux Enthuisasts&#8217; list on mailman. Recently the server has been running loads between 5 and 8 - way more than it should be. Doing a top showed python using most of my CPU. I tracked it back to mailman and the config.pck file which as 50M.
The problem came about due [...]]]></description>
			<content:encoded><![CDATA[<p>So I run the Atlanta Linux Enthuisasts&#8217; list on mailman. Recently the server has been running loads between 5 and 8 - way more than it should be. Doing a top showed python using most of my CPU. I tracked it back to mailman and the config.pck file which as 50M.</p>
<p>The problem came about due to spam sent to the ale-* administrative addresses. Each time a spammer sent an email to that list, it would add an entry to the  hold_and_cmd_autoresponses variable in the config.pck file. Every time python needs to access the ale config, it had to decrypt the config.pck file which uses lots of CPU.</p>
<p>The solution is to overwrite that vaiable with a null. Its possible doing this could break someone trying to subscribe to the list, but eh, its a free list, they can re-try.</p>
<p>Create a file with the following in it:</p>
<p>hold_and_cmd_autoresponses={}<br />
then run the following command from your mailman root:</p>
<p>bin/config_list -i /tmp/foo ale</p>
<p>/tmp/foo is the file I created and ale is the list I needed to fix. It dropped my 50M config.pck to 1.8M and my load issues have gone down dramatically.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisfarris.com/geeklog/2007/03/16/mailman-performance-issues/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Geek to Live: Sync your address book via IMAP - Lifehacker</title>
		<link>http://www.chrisfarris.com/geeklog/2007/02/27/geek-to-live-sync-your-address-book-via-imap-lifehacker/</link>
		<comments>http://www.chrisfarris.com/geeklog/2007/02/27/geek-to-live-sync-your-address-book-via-imap-lifehacker/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 13:39:41 +0000</pubDate>
		<dc:creator>Chris Farris</dc:creator>
		
		<category><![CDATA[Productivity]]></category>

		<guid isPermaLink="false">http://www.chrisfarris.com/geeklog/2007/02/27/geek-to-live-sync-your-address-book-via-imap-lifehacker/</guid>
		<description><![CDATA[Geek to Live: Sync your address book via IMAP - Lifehacker
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.lifehacker.com/software/thunderbird/geek-to-live--sync-your-address-book-via-imap-239054.php">Geek to Live: Sync your address book via IMAP - Lifehacker</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisfarris.com/geeklog/2007/02/27/geek-to-live-sync-your-address-book-via-imap-lifehacker/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Junction Networks: Services: VoIP Calling</title>
		<link>http://www.chrisfarris.com/geeklog/2007/02/16/junction-networks-services-voip-calling/</link>
		<comments>http://www.chrisfarris.com/geeklog/2007/02/16/junction-networks-services-voip-calling/#comments</comments>
		<pubDate>Sat, 17 Feb 2007 01:19:54 +0000</pubDate>
		<dc:creator>Chris Farris</dc:creator>
		
		<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://www.chrisfarris.com/geeklog/2007/02/16/junction-networks-services-voip-calling/</guid>
		<description><![CDATA[Junction Networks: Services: VoIP Calling
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.junctionnetworks.com/voip_calling.php">Junction Networks: Services: VoIP Calling</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisfarris.com/geeklog/2007/02/16/junction-networks-services-voip-calling/feed/</wfw:commentRss>
		</item>
		<item>
		<title>mysqldiff &#8212; a utility for comparing MySQL database structures</title>
		<link>http://www.chrisfarris.com/geeklog/2007/02/13/mysqldiff-a-utility-for-comparing-mysql-database-structures/</link>
		<comments>http://www.chrisfarris.com/geeklog/2007/02/13/mysqldiff-a-utility-for-comparing-mysql-database-structures/#comments</comments>
		<pubDate>Tue, 13 Feb 2007 17:48:36 +0000</pubDate>
		<dc:creator>Chris Farris</dc:creator>
		
		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.chrisfarris.com/geeklog/2007/02/13/mysqldiff-a-utility-for-comparing-mysql-database-structures/</guid>
		<description><![CDATA[mysqldiff &#8212; a utility for comparing MySQL database structures
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.adamspiers.org/computing/mysqldiff/">mysqldiff &#8212; a utility for comparing MySQL database structures</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisfarris.com/geeklog/2007/02/13/mysqldiff-a-utility-for-comparing-mysql-database-structures/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ALE WordPress talking points</title>
		<link>http://www.chrisfarris.com/geeklog/2007/01/30/ale-wordpress-talking-points/</link>
		<comments>http://www.chrisfarris.com/geeklog/2007/01/30/ale-wordpress-talking-points/#comments</comments>
		<pubDate>Tue, 30 Jan 2007 15:26:00 +0000</pubDate>
		<dc:creator>Chris Farris</dc:creator>
		
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.chrisfarris.com/geeklog/2007/01/30/ale-wordpress-talking-points/</guid>
		<description><![CDATA[Title: World Domination with WordPress

What is WordPress
The joys of Plugins

antispam captcha
spell check
post rankings
Firestats 
iCal
Database management

WP-phpMyAdmin
Database Backup


The joys of Themes
Database nitty-gritty
How WP can help with your meglamanical schemes

Websites:

http://www.ale.org
http://www.gwinnettgop.org
http://www.gopliberty.org

Blogs:

http://www.vitalpowers.com/blog
http://www.chrisfarris.com/geeklog

Advanced stuff:

http://www.georgialegislativewatch.com/



]]></description>
			<content:encoded><![CDATA[<p>Title: World Domination with WordPress</p>
<ul>
<li>What is WordPress</li>
<li>The joys of Plugins</li>
<ul>
<li>antispam captcha</li>
<li>spell check</li>
<li>post rankings</li>
<li>Firestats </li>
<li>iCal</li>
<li>Database management</li>
<ul>
<li>WP-phpMyAdmin</li>
<li>Database Backup</li>
</ul>
</ul>
<li>The joys of Themes</li>
<li>Database nitty-gritty</li>
<li>How WP can help with your meglamanical schemes</li>
<ul>
<li>Websites:</li>
<ul>
<li>http://www.ale.org</li>
<li>http://www.gwinnettgop.org</li>
<li>http://www.gopliberty.org</li>
</ul>
<li>Blogs:</li>
<ul>
<li>http://www.vitalpowers.com/blog</li>
<li>http://www.chrisfarris.com/geeklog</li>
</ul>
<li>Advanced stuff:</li>
<ul>
<li>http://www.georgialegislativewatch.com/</li>
</ul>
</ul>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisfarris.com/geeklog/2007/01/30/ale-wordpress-talking-points/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MythTV Rebuild</title>
		<link>http://www.chrisfarris.com/geeklog/2007/01/27/mythtv-rebuild/</link>
		<comments>http://www.chrisfarris.com/geeklog/2007/01/27/mythtv-rebuild/#comments</comments>
		<pubDate>Sat, 27 Jan 2007 21:52:27 +0000</pubDate>
		<dc:creator>Chris Farris</dc:creator>
		
		<category><![CDATA[MythTV]]></category>

		<guid isPermaLink="false">http://www.chrisfarris.com/geeklog/2007/01/27/mythtv-rebuild/</guid>
		<description><![CDATA[Wow, MythTV is a pain in the ass to build. Luckly I found a site that had OpenSuSE 10.2 rpms. That made it easier. I still had to copy over my config files from the old MythTV build. 
http://packman.iu-bremen.de/suse/10.2
I had to manually alter the recording tables to copy the data from the old system to [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, MythTV is a pain in the ass to build. Luckly I found a site that had OpenSuSE 10.2 rpms. That made it easier. I still had to copy over my config files from the old MythTV build. </p>
<p>http://packman.iu-bremen.de/suse/10.2</p>
<p>I had to manually alter the recording tables to copy the data from the old system to the new database. </p>
<p>The following query was used to compare settings from the old settings table and the new settings table:<br />
<code>select mythconverg.settings.value, mythconverg.settings.data, mythOLD.settings.data from mythconverg.settings, mythOLD.settings WHERE mythconverg.settings.value=mythOLD.settings.value AND mythconverg.settings.data != mythOLD.settings.data INTO OUTFILE '/tmp/setting.diff';</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisfarris.com/geeklog/2007/01/27/mythtv-rebuild/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
