<?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>Off you go... into the purple yonder! &#187; Free Software/Open Source</title>
	<atom:link href="http://ward.vandewege.net/blog/category/free-software-open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://ward.vandewege.net/blog</link>
	<description></description>
	<lastBuildDate>Tue, 29 Jun 2010 19:11:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CF iPod conversion to FAT32</title>
		<link>http://ward.vandewege.net/blog/2010/01/cf-ipod-conversion-to-fat32/</link>
		<comments>http://ward.vandewege.net/blog/2010/01/cf-ipod-conversion-to-fat32/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 21:29:00 +0000</pubDate>
		<dc:creator>ward</dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=529</guid>
		<description><![CDATA[In order to install Rockbox on an iPod, it needs to be formatted in FAT32, not HFS+. The relevant wiki page over at the Rockbox site suggest either connecting the iPod to an iTunes install on Windows, or using one of the bootsectors they have available for download from that page.
Those boot sectors assume your [...]]]></description>
			<content:encoded><![CDATA[<p>In order to install <a href="http://rockbox.org">Rockbox</a> on an iPod, it needs to be formatted in FAT32, not HFS+. The <a href="http://www.rockbox.org/wiki/IpodConversionToFAT32">relevant wiki page</a> over at the Rockbox site suggest either connecting the iPod to an iTunes install on Windows, or using one of the bootsectors they have available for download from that page.</p>
<p>Those boot sectors assume your iPod has one of the factory disks installed. I&#8217;ve got an old 4th gen iPod that I <a href="http://www.instructables.com/id/Convert-your-4th-Gen-iPod-to-use-Flash-Memory/">converted to compact flash</a> after its disk died. It happens to have an 8G CF card in there.</p>
<p>Since I don&#8217;t do Windows, I downloaded the 20G 4th gen bootsector, put that on the iPod, and used fdisk to change the size of the FAT32 partition. And that worked fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://ward.vandewege.net/blog/2010/01/cf-ipod-conversion-to-fat32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DRAC5 source code available for download</title>
		<link>http://ward.vandewege.net/blog/2009/11/drac5-source-code-available-for-download/</link>
		<comments>http://ward.vandewege.net/blog/2009/11/drac5-source-code-available-for-download/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 15:31:51 +0000</pubDate>
		<dc:creator>ward</dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[drac]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[gpl]]></category>
		<category><![CDATA[source]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=516</guid>
		<description><![CDATA[Dell&#8217;s DRAC5 is based on free software. The source has been rumored to be available but hard to find &#8211; until today, when this helpful e-mail popped up on the linux-poweredge list.
Here&#8217;s the link to an ISO with the DRAC5 source:
  http://linux.dell.com/files/drac5/source/
]]></description>
			<content:encoded><![CDATA[<p>Dell&#8217;s <a href="http://en.wikipedia.org/wiki/Dell_DRAC">DRAC5</a> is based on free software. The source has been rumored to be available but hard to find &#8211; until today, when this <a href="http://lists.us.dell.com/pipermail/linux-poweredge/2009-November/040541.html">helpful e-mail</a> popped up on the linux-poweredge list.</p>
<p>Here&#8217;s the link to an ISO with the DRAC5 source:</p>
<p>  <a href="http://linux.dell.com/files/drac5/source/">http://linux.dell.com/files/drac5/source/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ward.vandewege.net/blog/2009/11/drac5-source-code-available-for-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jaunty&#8217;s stabilizing</title>
		<link>http://ward.vandewege.net/blog/2009/06/jauntys-stabilizing/</link>
		<comments>http://ward.vandewege.net/blog/2009/06/jauntys-stabilizing/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 14:25:42 +0000</pubDate>
		<dc:creator>ward</dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[intelvideo]]></category>
		<category><![CDATA[jauntyjackalope]]></category>
		<category><![CDATA[karmickoala]]></category>
		<category><![CDATA[ubuntu]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=438</guid>
		<description><![CDATA[A quick update on some of the bugs reported in my previous post bugs, bugs, bugs: upgrading to jaunty jackalope.
The two most serious problems were atrocious Intel video performance, and ongoing sound issues. Thankfully, the Intel issues have been addressed. Specifically, a really nice Troubleshooting Intel Performance document by Bryce Harrington has appeared. It lays [...]]]></description>
			<content:encoded><![CDATA[<p>A quick update on some of the bugs reported in my previous post <a href="http://ward.vandewege.net/blog/2009/04/bugs-bugs-bugs-upgrading-to-jaunty-jackalope/">bugs, bugs, bugs: upgrading to jaunty jackalope</a>.</p>
<p>The two most serious problems were atrocious Intel video performance, and ongoing sound issues. Thankfully, the Intel issues have been addressed. Specifically, a really nice <a href="https://wiki.ubuntu.com/X/Troubleshooting/IntelPerformance">Troubleshooting Intel Performance</a> document by Bryce Harrington has appeared. It lays out what is happening (in short: major driver refactoring), why it is affecting performance on some hardware, and specifically what to check and how to work around speed issues.</p>
<p>I ended up going back to the xserver-xorg-video-intel-2.4 package which fixes my main issue &#8211; really slow workspace switches. Looks like kernel and X.org fixes have already made it to Karmic Koala, but I&#8217;m happy to use the older driver until Karmic is released.</p>
<p>As for tor, Jaunty packages are now available so to install tor, just add</p>
<pre>
deb     http://mirror.noreply.org/pub/tor jaunty main
deb-src http://mirror.noreply.org/pub/tor jaunty main
</pre>
<p>to your</p>
<pre>
/etc/apt/sources.list
</pre>
<p>and apt-get install tor.</p>
<p>Finally &#8211; there&#8217;s a better way to reload the sound modules:</p>
<pre>
alsa force-reload
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ward.vandewege.net/blog/2009/06/jauntys-stabilizing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bugs, bugs, bugs: upgrading to jaunty jackalope</title>
		<link>http://ward.vandewege.net/blog/2009/04/bugs-bugs-bugs-upgrading-to-jaunty-jackalope/</link>
		<comments>http://ward.vandewege.net/blog/2009/04/bugs-bugs-bugs-upgrading-to-jaunty-jackalope/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 19:01:46 +0000</pubDate>
		<dc:creator>ward</dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>

	<!-- AutoMeta Start -->
	<category>jaunty</category>
	<category>jaunty jackalope</category>
	<category>ubuntu</category>
	<category>bugs</category>
	<category>upgrade</category>
	<category>sound</category>
	<category>intel</category>
	<category>cups pdf</category>
	<category>apparmor</category>
	<category>tor</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=413</guid>
		<description><![CDATA[I upgraded my laptop to Jaunty Jackalope. Here&#8217;s the list of issues (and solutions) I&#8217;ve run into:
1. Tor is not packaged anymore, apparently there is no Ubuntu maintainer. Upstream provides Ubuntu packages, but they have no jaunty package yet. So, we need to build from the intrepid source package. Add

  deb-src http://mirror.noreply.org/pub/tor intrepid main

to [...]]]></description>
			<content:encoded><![CDATA[<p>I upgraded my laptop to Jaunty Jackalope. Here&#8217;s the list of issues (and solutions) I&#8217;ve run into:</p>
<p>1. Tor is not packaged anymore, <a href="http://www.mail-archive.com/ubuntu-devel-discuss@lists.ubuntu.com/msg07257.html">apparently there is no Ubuntu maintainer</a>. Upstream provides Ubuntu packages, but they have no jaunty package yet. So, we need to build from the intrepid source package. Add</p>
<pre>
  deb-src http://mirror.noreply.org/pub/tor intrepid main
</pre>
<p>to your /etc/apt/sources.list, and </p>
<pre>
  apt-get update
  cd /usr/src
  apt-get build-dep tor
  apt-get source tor -b
</pre>
<p>2. <a href="https://bugs.edge.launchpad.net/bugs/270046">Bug 270046</a>: Apparmor *still* fights with cups-pdf. This one&#8217;s been around since the Hardy days. You&#8217;d think it would be fixed by now&#8230; Specifically, print jobs to the PDF printer will just vanish because apparmor does not allow cupsd to save them in ~/PDF. Solution: disable apparmor for cupsd:</p>
<pre>
  apparmor_parser -R /etc/apparmor.d/usr.sbin.cupsd
  /etc/init.d/apparmor restart
</pre>
<p>3. <a href="https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/339555">Bug 339555</a>: Intel video is really really really really slow. Case in point: workspace switching takes seconds. (Partial) fix: upgrade to a <a href="http://www.myubuntu.ca/?p=256">experimental 2.6.30rc3 kernel</a>. Even with that kernel, video performance on this GM965/GL960 based system is still not what it should be. To be continued, no doubt.</p>
<p>4. <a href="https://bugs.edge.launchpad.net/ubuntu/+source/qt4-x11/+bug/334657">Bug 334657</a>: Subpixel/Lcd mode with VRGB/VBGR makes fonts on qt4 applications unreadable. Really, really unreadable. Fix: use experimental <a href="https://edge.launchpad.net/~echidnaman/+archive/ppa">patched qt4-x11 packages</a>.</p>
<p>5. Sound has been an issue on this laptop from day one. It&#8217;s a Dell inspiron 1420N that shipped with Ubuntu preinstalled, but at the time a special Dell-supplied kernel was necessary to get working sound. The sound hardware is</p>
<pre>
$ lspci -vnn
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 02)
	Subsystem: Dell Device [1028:01f3]
	Flags: bus master, fast devsel, latency 0, IRQ 21
	Memory at fe9fc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
</access></pre>
<p>First of all I had to add my user to the pulse-rt group &#8211; pulseaudio was complaining loudly about that in /var/log/syslog. That&#8217;s a Jaunty upgrade bug.</p>
<p>Secondly, for some reason I can not get sound to work until I unload the snd_hda_intel module and reload it. Sadly, that means closing all applications that are using the sound hardware &#8211; mpd, firefox, pidgin, the gnome volume control applet, etc. I don&#8217;t know what&#8217;s causing this, but I had the same problem on Intrepid after the last kernel upgrade. Again, to be continued.</p>
]]></content:encoded>
			<wfw:commentRss>http://ward.vandewege.net/blog/2009/04/bugs-bugs-bugs-upgrading-to-jaunty-jackalope/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Drupal: disable caching for an entire module</title>
		<link>http://ward.vandewege.net/blog/2009/04/drupal-disable-caching-for-an-entire-module/</link>
		<comments>http://ward.vandewege.net/blog/2009/04/drupal-disable-caching-for-an-entire-module/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 15:35:54 +0000</pubDate>
		<dc:creator>ward</dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>

	<!-- AutoMeta Start -->
	<category>drupal</category>
	<category>cache</category>
	<category>disable</category>
	<category>module</category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=408</guid>
		<description><![CDATA[I have a legacy php application that had to be integrated into a Drupal site, so I wrapped it in a simple drupal module. The code needs to run for anonymous users.
The wrapping worked fine, but the Drupal cache really gets in the way sometimes. For instance, my legacy code does not use the drupal_set_message [...]]]></description>
			<content:encoded><![CDATA[<p>I have a legacy php application that had to be integrated into a Drupal site, so I wrapped it in a simple drupal module. The code needs to run for anonymous users.</p>
<p>The wrapping worked fine, but the Drupal cache really gets in the way sometimes. For instance, my legacy code does not use the drupal_set_message functions when a form submit fails. That means that the page that tells the user they made a mistake gets cached, leading to all sorts of unexpected results.</p>
<p>I looked around for a way to disable the Drupal cache for an entire module, but only found <a href="http://www.seo-expert-blog.com/blog/clearing-drupals-page-cache-after-adding-comments">some</a> <a href="http://drupal.org/node/49055">results</a> <a href="http://drupal.org/node/23797">that</a> didn&#8217;t quite do the trick. But then I stumbled across the <a href="http://drupal.org/project/cacheexclude">CacheExclude</a> module, which does exactly what I want. I didn&#8217;t want to include yet another module for something as simple as this, so just duplicated the &#8216;magic&#8217; lines in my module:</p>
<pre>
function your_module_name_init() {
  // We don't want caching for this module
  if (drupal_match_path($_GET['q'],'url_to_your_module/*')) {
    $GLOBALS['conf']['cache'] = FALSE;
  }
}
</pre>
<p>And that does the trick. Now, I&#8217;m by no means a Drupal expert, so there may well be a better way to do this. Feel free to leave a comment if you know how.</p>
]]></content:encoded>
			<wfw:commentRss>http://ward.vandewege.net/blog/2009/04/drupal-disable-caching-for-an-entire-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asterisk vs. Telemarketer: 1 &#8211; 0</title>
		<link>http://ward.vandewege.net/blog/2009/04/asterisk-vs-telemarketer-1-0/</link>
		<comments>http://ward.vandewege.net/blog/2009/04/asterisk-vs-telemarketer-1-0/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 00:41:07 +0000</pubDate>
		<dc:creator>ward</dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>
		<category><![CDATA[asterisk]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=400</guid>
		<description><![CDATA[We&#8217;ve been getting telephone spam from Affiliated Mortgage Protection 

Affiliated Mortgage Protection
292 Terminal Ave W,
Clark, NJ- 7066.
(732)-499-0700

We answered five of their calls the past three weeks, and each time asked them to stop calling. Apparently, they happily ignore these requests.
They called again this evening and the lady on the phone had the nerve to say [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been getting telephone spam from Affiliated Mortgage Protection </p>
<pre>
Affiliated Mortgage Protection
292 Terminal Ave W,
Clark, NJ- 7066.
(732)-499-0700
</pre>
<p>We answered five of their calls the past three weeks, and each time asked them to stop calling. Apparently, they happily ignore these requests.</p>
<p>They called again this evening and the lady on the phone had the nerve to say that she would have to put me on hold to get taken off their list, because I would have to talk to a supervisor. I hung up. We&#8217;re on the <a href="http://donotcall.gov">do not call</a> list, so I filed a complaint. </p>
<p>Anyway &#8211; no more. I decided to let <a href="http://asterisk.org">Asterisk</a> deal with them:</p>
<pre>
; Affiliated Mortgages.
exten => XXXXXXXXXX,n,GotoIf($["${CALLERID(num)}" = "7324990700"]?Telemarketer)

; Telemarketers. Let it ring for 5 minutes and then hang up on them.
exten => XXXXXXXXXX,n(Telemarketer),Ringing
exten => XXXXXXXXXX,n,Wait(300)
exten => XXXXXXXXXX,n,Hangup
</pre>
<p>Make sure you have</p>
<pre>
[general]
unanswered = yes
</pre>
<p>in your cdr.conf if you want to log the call attempts from frustrated telemarketers <img src='http://ward.vandewege.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ward.vandewege.net/blog/2009/04/asterisk-vs-telemarketer-1-0/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dell&#8217;s GNU/Linux support leaves to be desired</title>
		<link>http://ward.vandewege.net/blog/2008/10/dells-gnulinux-support-leaves-to-be-desired/</link>
		<comments>http://ward.vandewege.net/blog/2008/10/dells-gnulinux-support-leaves-to-be-desired/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 19:59:33 +0000</pubDate>
		<dc:creator>ward</dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>
		<category><![CDATA[Hardware]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=287</guid>
		<description><![CDATA[So I have a poweredge 2800 with some hardware issues (voltage sensors on the riser card seeing things they should not&#8230;). The Dell support folks wanted me to run a DSET report with this tool

http://support.euro.dell.com/support/downloads/download.aspx?c=uk&#038;l=en&#038;s=gen&#038;releaseid=R155882&#038;formatcnt=2&#038;libid=0&#038;fileid=208066

Man &#8211; what a pile of crap. This thing is a self-extracting archive for rpm-based systems (redhat/suse). Fine &#8211; except that [...]]]></description>
			<content:encoded><![CDATA[<p>So I have a poweredge 2800 with some hardware issues (voltage sensors on the riser card seeing things they should not&#8230;). The Dell support folks wanted me to run a DSET report with this tool</p>
<pre>
http://support.euro.dell.com/support/downloads/download.aspx?c=uk&#038;l=en&#038;s=gen&#038;releaseid=R155882&#038;formatcnt=2&#038;libid=0&#038;fileid=208066
</pre>
<p>Man &#8211; what a pile of crap. This thing is a self-extracting archive for rpm-based systems (redhat/suse). Fine &#8211; except that I run Debian on that machine. Anyway, you can run it with &#8211;extract to extract the contents:</p>
<pre>
./delldset_v1.4.0.8.bin --help

Command-line options for Dell System E-Support Tool (DSET)

Usage:
<package name> [options...]

Options:

-h,--help        : Display command-line usage help
-i,--install     : Install/upgrade the DSET application
-v,--version     : Display version information
--list           : Display contents of package (+)
--extract
<path> : Extract files to specified path (+)

Using no options will display the interactive user
interface which will guide you through using DSET.
</path></package></pre>
<p>These contents are basically an rpm file and some support files:</p>
<pre>
-r-xr-xr-x  1 ward ward     4133 Apr  2  2007 Dell_License*
-r-xr-xr-x  1 ward ward     9909 May  8  2007 README*
-r-xr-xr-x  1 ward ward       58 May  8  2007 Version.txt*
-r-xr-xr-x  1 ward ward 15200341 May  9  2007 delldset-1.4.0-8.i386.rpm*
-rw-r--r--  1 ward ward 15187240 Oct 27 15:57 delldset_1.4.0-9_i386.deb
-r-xr-xr-x  1 ward ward    10271 Apr  2  2007 install.sh*
-r-xr-xr-x  1 ward ward      472 Apr  2  2007 sphelp.txt*
-r-xr-xr-x  1 ward ward       24 May  4  2005 test.sh*
-r-xr-xr-x  1 ward ward     9877 Apr  2  2007 utility.sh*
</pre>
<p>The rpm can be transformed into a .deb with alien:</p>
<pre>
$ alien delldset-1.4.0-8.i386.rpm
Warning: Skipping conversion of scripts in package delldset: postinst postrm preinst prerm
Warning: Use the --scripts parameter to include the scripts.
delldset_1.4.0-9_i386.deb generated
$ alien delldset-1.4.0-8.i386.rpm --scripts
delldset_1.4.0-9_i386.deb generated
</pre>
<p>Which installs fine &#8211; but you really want to be using a kernel that has ipmi functionality compiled as modules; otherwise the package will not install properly until you add</p>
<pre>
hapi.allow.user.mode=yes
</pre>
<p>to /etc/omreg.cfg. In any case, you need to have ipmi as modules for the rest of this sequence of commands, so you might as well boot into a stock Debian kernel.</p>
<p>You&#8217;ll probably want to have installed Dell&#8217;s open manage before you run the DSET report. To do that, add </p>
<pre>
  deb ftp://ftp.sara.nl/pub/sara-omsa dell sara
</pre>
<p>to your /etc/apt/sources.list file and </p>
<pre>
  apt-get update
  apt-get install dellomsa
</pre>
<p>So, then you would be ready to run the dellsysteminfo command but WAIT &#8211; don&#8217;t do it yet. That script is dangerous. It does stuff like this, probing for the running services (from /opt/dell/dset/bin/dell-sysreport.sh):</p>
<pre>
#Dell: Extra OS stuff we want

echo "     Getting status of services ..." ${TEE2LOG}

#Dell: SuSE doesn't have a "service status" method so do it the manual way
#catifexec "/sbin/service" "--status-all" 

rm -f $ROOT/service > /dev/null 2>&#038;1 

SERVICEDIR=/etc/init.d 

#pushd ${SERVICEDIR} > /dev/null
          for SERVICE in `ls -1 ${SERVICEDIR}` ; do 

            case "${SERVICE}" in
#Skip over these "services" since they tend to hang some systems when requested for status
              functions | halt | killall | single| linuxconf| kudzu | bgpd | boot | reboot | single | nscd | \
                  halt.* | rc | boot.* | *rpmorig | *rpmnew | *rpmsave | *~ | *.orig)
      ;;
              *)
                if [ -x "${SERVICEDIR}/${SERVICE}" -a -f "${SERVICEDIR}/${SERVICE}" ]; then
        echo "Service Name: ${SERVICE}" >> $ROOT/service
                 /usr/bin/env -i LANG=$LANG PATH=$PATH TERM=$TERM "${SERVICEDIR}/${SERVICE}" status >> $ROOT/service 2>&#038;1
    echo >> $ROOT/service
    echo "---------------------------------------------------------------------------" >> $ROOT/service
               fi
                ;;
            esac
          done
#popd > /dev/null
</pre>
<p>That didn&#8217;t go over too well on my system &#8211; a bunch of things stopped working (like the &#8216;w&#8217; command), samba started segfaulting, etc. It&#8217;s clearly calling some init scripts that don&#8217;t deal well with being asked for a status.</p>
<p>So I commented out that part of the script, which made things a lot happier &#8211; but of course services are now not mentioned in the report.</p>
<p>The other problem with the dset package is that it is riddled with calls to awk, sort, etc <i>with absolute paths</i>. Seriously, this is not 1995. You&#8217;ll need to fix tons of calls &#8211; just grep for &#8216;/bin/awk&#8217;, &#8216;/bin/grep&#8217;, &#8216;/bin/sort&#8217; etc in /opt/dell/dset.</p>
<p>When all that&#8217;s done, you can generate the report</p>
<pre>
  dellsysteminfo
</pre>
<p>which will drop a zip file with a horribly long name (including the use of round brackets, sigh) in /root/ with the password &#8216;dell&#8217;. Awesome security guys. Why is there even a password if it&#8217;s so trivial?</p>
<p>The Dell tech I&#8217;m e-mailing with (who is very helpful btw, this post is not a criticism about Dell&#8217;s support people &#8211; only about their GNU/Linux tools) said I&#8217;d need to upgrade the system bios and the &#8216;ESM&#8217;, which is the &#8217;system firmware&#8217;. The former was easy with the help of <a href="http://www.ducea.com/2007/08/27/dell-bios-firmware-updates-on-debian/">this blog post</a>. In a nutshell:</p>
<pre>
aptitude install libsmbios-bin libsmbios1 libsmbiosxml1
getSystemId
</pre>
<p>That will print out your &#8216;System ID&#8217;. Look up the latest system bios for that System ID at</p>
<pre>
  http://linux.dell.com/repo/software/bios-hdrs/
</pre>
<p>and download it. Then</p>
<pre>
modprobe dell_rbu
dellBiosUpdate -u -f bios.hdr
</pre>
<p>and reboot, at which point your bios will be upgraded if all goes well. Note that if your cmos battery is dead, you can&#8217;t upgrade your bios anymore because all the command line tool does is load it into ram and flip a switch to tell the bios to upgrade itself on the next boot; without cmos battery either that switch or the bios in ram may not survive a reboot.</p>
<p>So that worked fine. The ESM update was a little trickier. I downloaded another .BIN file from </p>
<pre>
http://support.euro.dell.com/support/downloads/download.aspx?c=fr&#038;l=fr&#038;s=gen&#038;releaseid=R147948&#038;SystemID=PWE_PNT_2800&#038;servicetag=8YGYQ1J&#038;os=WNET&#038;osl=fr&#038;deviceid=5814&#038;devlib=0&#038;typecnt=0&#038;vercnt=7&#038;catid=-1&#038;impid=-1&#038;formatcnt=4&#038;libid=29&#038;fileid=196749
</pre>
<p>At least that thing didn&#8217;t try to do all sorts of rpm manipulations, it just runs a few scripts (again, you can verify with &#8211;extract).</p>
<p>The tricky thing here is that running the BIN file conflicts with the ipmi modules. Here&#8217;s what I did:</p>
<p>Boot into single user mode, and stop openmanage and ipmievd:</p>
<pre>
/etc/init.d/instsvcdrv stop
/etc/init.d/ipmievd stop
</pre>
<p>Then unload all ipmi modules:</p>
<pre>
rmmod ipmi_devintf
rmmod ipmi_si
rmmod ipmi_msghandler
</pre>
<p>Then start screen, and start the .BIN file. It will look around, cause the ipmi modules to be loaded again and if all is well ask you if you really want to update your ESM, [Y/N].</p>
<p>At this point, break out of screen with ctrl-a d, and unload the ipmi modules again (I kid you not!):</p>
<pre>
rmmod ipmi_devintf
rmmod ipmi_si
rmmod ipmi_msghandler
</pre>
<p>Now return to screen</p>
<pre>
screen -r
</pre>
<p>and press &#8216;Y&#8217;. Don&#8217;t worry, it&#8217;s going to load the ipmi modules yet again, and then starts printing dots on the screen as the upgrade progresses. It takes a while &#8211; at least 5 minutes on my system. So just wait until it is done.</p>
<p>Eventually the script said &#8216;update complete&#8217;. I read this trick with screen and the unloading of the ipmi modules somewhere on a dell wiki, but I can&#8217;t find the link now (sorry!) so I can&#8217;t give credit. </p>
<p>Anyway, and I was able to verify the upgrade with ipmitool (I upgraded to firmware revision 1.72):</p>
<pre>
# ipmitool -I open mc info
Device ID                 : 32
Device Revision           : 0
Firmware Revision         : 1.72
IPMI Version              : 1.5
Manufacturer ID           : 674
Manufacturer Name         : Unknown (0x2a2)
Product ID                : 0 (0x0000)
Device Available          : yes
Provides Device SDRs      : yes
Additional Device Support :
    Sensor Device
    SDR Repository Device
    SEL Device
    FRU Inventory Device
    IPMB Event Receiver
    Chassis Device
Aux Firmware Rev Info     :
    0x00
    0x00
    0x00
    0x00
</pre>
<p>So in the end I got almost everything to work (except for the dset output which is still partially missing). But seriously, this was way harder than it should be. </p>
<p>That DSET package is a total mess and needs some serious reworking.</p>
<p>The system bios upgrade procedure is elegant and simple &#8211; there Dell deserves credit.</p>
<p>The ESM upgrade&#8230; not so much. Seriously &#8211; what&#8217;s up with those ipmi modules getting in the way <i>twice</i>?</p>
<p>In a nutshell, I&#8217;d like Dell to hire some people to clean up the GNU/Linux tools they provide. But they have to be people who know about more than just rpm-based distros, and who are interested in truly cross-distribution solutions and want to work with all (popular) distributions. Basically, if Dell can get their tools into Debian, Fedora and OpenSuse, things will trickle down to almost every other popular flavor of GNU/Linux. There is a lot of work to do&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://ward.vandewege.net/blog/2008/10/dells-gnulinux-support-leaves-to-be-desired/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>25 years of GNU</title>
		<link>http://ward.vandewege.net/blog/2008/09/25-years-of-gnu/</link>
		<comments>http://ward.vandewege.net/blog/2008/09/25-years-of-gnu/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 19:44:02 +0000</pubDate>
		<dc:creator>ward</dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=253</guid>
		<description><![CDATA[The FSF has put out a 5 minute anniversary video celebrating 25 years of GNU.

It&#8217;s a pleasant, concise explanation of what free software is all about, why it&#8217;s important, and how the GNU project fits in to all this. Happy birthday GNU!
And if that&#8217;s not enough FSF-related news for you, you can read more about [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://fsf.org">The FSF</a> has put out a 5 minute <a href="http://www.gnu.org/fry/happy-birthday-to-gnu.html">anniversary video</a> celebrating 25 years of GNU.</p>
<p><a href='http://www.gnu.org/fry/happy-birthday-to-gnu.html' title='freedom-fry'><img src='https://ward.vandewege.net/blog/wp-content/photos/0003588w.png' alt='freedom-fry' width='298' height='298' class='centered' /></a></p>
<p>It&#8217;s a pleasant, concise explanation of what free software is all about, why it&#8217;s important, and how the GNU project fits in to all this. Happy birthday <a href="http://gnu.org">GNU</a>!</p>
<p>And if that&#8217;s not enough FSF-related news for you, you can <a href="http://www.linux.com/feature/145946">read more</a> about what it is we do on a day to day basis.</p>
]]></content:encoded>
			<wfw:commentRss>http://ward.vandewege.net/blog/2008/09/25-years-of-gnu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>price comparison: Dell XPS M1530 with Ubuntu vs. Windows</title>
		<link>http://ward.vandewege.net/blog/2008/08/price-comparison-dell-xps-m1530-with-ubuntu-vs-windows/</link>
		<comments>http://ward.vandewege.net/blog/2008/08/price-comparison-dell-xps-m1530-with-ubuntu-vs-windows/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 20:32:24 +0000</pubDate>
		<dc:creator>ward</dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>
		<category><![CDATA[Hardware]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=224</guid>
		<description><![CDATA[Dell announced that a few more models are now available pre-installed with Ubuntu: the XPS 1530n and the Studio 15n.
I configured an XPS 1530n with the following specs, which are available both with Ubuntu and Windows:


SYSTEM COLOR
Tuxedo Black


PROCESSOR
Intel® Core™ 2 Duo T5850 (2.16GHz/667Mhz FSB/2MB cache)


LCD AND CAMERA
Full Hi Definition, glossy widescreen 15.4 inch LCD (1920&#215;1200) [...]]]></description>
			<content:encoded><![CDATA[<p>Dell <a href="http://direct2dell.com/one2one/archive/2008/08/07/dell-xps-1530n-and-studio-15n-now-available-with-ubuntu-8-04.aspx">announced that a few more models</a> are now available pre-installed with <a href="http://www.ubuntu.com">Ubuntu</a>: the <a href="http://configure.us.dell.com/dellstore/config.aspx?oc=dydwhu1&#038;c=us&#038;l=en&#038;s=dhs&#038;cs=19&#038;kc=segtopic~linux_3x">XPS 1530n</a> and the <a href="http://configure.us.dell.com/dellstore/config.aspx?oc=dncwul1&#038;c=us&#038;l=en&#038;s=dhs&#038;cs=19&#038;kc=segtopic~linux_3x">Studio 15n</a>.</p>
<p>I configured an XPS 1530n with the following specs, which are available both with Ubuntu and Windows:</p>
<table>
<tr>
<td>SYSTEM COLOR</td>
<td>Tuxedo Black</td>
</tr>
<tr>
<td>PROCESSOR</td>
<td>Intel® Core™ 2 Duo T5850 (2.16GHz/667Mhz FSB/2MB cache)</td>
</tr>
<tr>
<td>LCD AND CAMERA</td>
<td>Full Hi Definition, glossy widescreen 15.4 inch LCD (1920&#215;1200) &amp; 2.0 M</td>
</tr>
<tr>
<td>MEMORY</td>
<td>4GB Shared Dual Channel DDR2 SDRAM at 667MHz (2 Dimms)</td>
</tr>
<tr>
<td>HARD DRIVE</td>
<td>Speed: 250GB 7200rpm SATA Hard Drive Free Fall Sensor</td>
</tr>
<tr>
<td>INTERNAL OPTICAL DRIVE</td>
<td>Slot Load DVD+/-RW (DVD/CD read/write)</td>
</tr>
<tr>
<td>VIDEO CARD</td>
<td>128MB NVIDIA® GeForce® 8400M GS</td>
</tr>
<tr>
<td>WIRELESS CARDS</td>
<td>Intel® 3945 802.11a/g Mini-card</td>
</tr>
<tr>
<td>BLUETOOTH AND WIRELESS USB</td>
<td>Dell Wireless 355 Bluetooth Internal (2.0+Enhanced Data Rate)</td>
</tr>
<tr>
<td>BATTERY OPTIONS</td>
<td>85 WHr 9-cell Lithium Ion Primary Battery</td>
</tr>
<tr>
<td>SOUND OPTIONS</td>
<td>High Definition Audio 2.0</td>
</tr>
<tr>
<td>FINGERPRINT SCANNER</td>
<td>Finger Print Reader XPS M1530</td>
</tr>
<tr>
<td>WARRANTY AND SERVICE</td>
<td>1Yr In-Home Service, Parts Labor,24&#215;7 Phone Support</td>
</tr>
</table>
<p>The Ubuntu version comes with:</p>
<table>
<tr>
<td>OPERATING SYSTEM</td>
<td>Ubuntu 8.04 with DVD Playback</td>
</tr>
<tr>
<td>ENVIRONMENTAL OPTIONS</td>
<td>Recycling Kit and Plant a Tree for Me</td>
</tr>
</table>
<p>The Windows version ships with:</p>
<table>
<tr>
<td>OPERATING SYSTEM</td>
<td>Genuine Windows Vista® Home Premium Edition SP1</td>
</tr>
<tr>
<td>PRODUCTIVITY</td>
<td>No Microsoft Office</td>
</tr>
</table>
<p>The only other configuration difference was that Windows users need to pay $25 extra for a recycle kit, and are not given the &#8216;plant a tree for me&#8217; option. I guess it costs extra to dispose of all that proprietary software <img src='http://ward.vandewege.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>There were a few options available on the Windows version that are not yet on the Ubuntu version &#8211; presumably because free software drivers are still missing for that hardware.</p>
<p>The verdict? Financially, the Ubuntu machine is a way better deal:</p>
<pre>
  XPS 1530 with Ubuntu: $1,518
  XPS 1530 with Windows: $1,788
</pre>
<p>On top of the substantial price difference, the Windows version comes with the cheapest, most basic version of Windows Vista pre-installed, as well as the <b>NO</b> office software option. This is a very basic setup, software-wise. You&#8217;ll also need to shell out extra bucks for antivirus software.</p>
<p>Compare that with the Ubuntu version which ships with a very powerful operating system and ton of extra software, including Open Office. And you get a major operating system release every 6 months for free!</p>
<p>Now if only Dell would start selling more of their systems without Windows around the world &#8211; they are still not available in large parts of Europe, for instance&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://ward.vandewege.net/blog/2008/08/price-comparison-dell-xps-m1530-with-ubuntu-vs-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>upgrading from dapper to hardy: &#8216;Hash Sum mismatch&#8217;</title>
		<link>http://ward.vandewege.net/blog/2008/07/upgrading-from-dapper-to-hardy-hash-sum-mismatch/</link>
		<comments>http://ward.vandewege.net/blog/2008/07/upgrading-from-dapper-to-hardy-hash-sum-mismatch/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 18:42:43 +0000</pubDate>
		<dc:creator>ward</dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=203</guid>
		<description><![CDATA[So you&#8217;ve done quite a few dapper to hardy upgrades, and you&#8217;re ready for the next one.
You

  apt-get update
  apt-get upgrade
  apt-get install update-manager-core

and then

  do-release-upgrade -d

You go get a cup of tea, and come back to

# do-release-upgrade -d
Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tool
Done downloading
extracting 'hardy.tar.gz'
authenticate [...]]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;ve done quite a few dapper to hardy upgrades, and you&#8217;re ready for the next one.</p>
<p>You</p>
<pre>
  apt-get update
  apt-get upgrade
  apt-get install update-manager-core
</pre>
<p>and then</p>
<pre>
  do-release-upgrade -d
</pre>
<p>You go get a cup of tea, and come back to</p>
<pre>
# do-release-upgrade -d
Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tool
Done downloading
extracting 'hardy.tar.gz'
authenticate 'hardy.tar.gz' against 'hardy.tar.gz.gpg' 

Reading cache

Checking package manager
Reading package lists: Done
...
...
Done http://archive.ubuntu.com hardy-updates/restricted Sources
Done http://archive.ubuntu.com hardy-updates/universe Sources
Done downloading            

Error during update 

A problem occurred during the update. This is usually some sort of
network problem, please check your network connection and retry. 

W:Failed to fetch
http://security.ubuntu.com/ubuntu/dists/hardy-security/main/binary-amd64/Packages.bz2
Hash Sum mismatch
, W:Failed to fetch
http://security.ubuntu.com/ubuntu/dists/hardy-security/restricted/binary-amd64/Packages.bz2
Hash Sum mismatch
, W:Failed to fetch
http://security.ubuntu.com/ubuntu/dists/hardy-security/universe/binary-amd64/Packages.bz2
Hash Sum mismatch
, W:Failed to fetch
http://security.ubuntu.com/ubuntu/dists/hardy-security/main/source/Sources.bz2
Hash Sum mismatch
, W:Failed to fetch
http://security.ubuntu.com/ubuntu/dists/hardy-security/restricted/source/Sources.bz2
Hash Sum mismatch
, W:Failed to fetch
http://security.ubuntu.com/ubuntu/dists/hardy-security/universe/source/Sources.bz2
Hash Sum mismatch
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/hardy/main/binary-amd64/Packages.bz2
Hash Sum mismatch
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/hardy/restricted/binary-amd64/Packages.bz2
Hash Sum mismatch
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/hardy/universe/binary-amd64/Packages.bz2
Hash Sum mismatch
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/hardy/multiverse/binary-amd64/Packages.bz2
Hash Sum mismatch
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/hardy/main/source/Sources.bz2
Hash Sum mismatch
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/hardy/restricted/source/Sources.bz2
Hash Sum mismatch
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/hardy/universe/source/Sources.bz2
Hash Sum mismatch
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/binary-amd64/Packages.bz2
Hash Sum mismatch
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/hardy-updates/restricted/binary-amd64/Packages.bz2
Hash Sum mismatch
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/hardy-updates/universe/binary-amd64/Packages.bz2
Hash Sum mismatch
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/hardy-updates/multiverse/binary-amd64/Packages.bz2
Hash Sum mismatch
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/source/Sources.bz2
Hash Sum mismatch
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/hardy-updates/restricted/source/Sources.bz2
Hash Sum mismatch
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/hardy-updates/universe/source/Sources.bz2
Hash Sum mismatch
, E:Some index files failed to download, they have been ignored, or
old ones used instead. 

Restoring original system state

Aborting
Reading package lists: Done
Building dependency tree: Done
Building dependency tree: Done
Building dependency tree: Done
</pre>
<p>So you check the documentation at <a href="http://www.ubuntu.com/getubuntu/upgrading">http://www.ubuntu.com/getubuntu/upgrading</a> and <a href="http://help.ubuntu.com/community/HardyUpgrades">http://help.ubuntu.com/community/HardyUpgrades</a>. Nothing different. You try a different mirror. Same problem. What&#8217;s going on?</p>
<p>You google around a bit until you stumble across <a href="https://bugs.launchpad.net/ubuntu/+source/update-manager-core/+bug/223741">https://bugs.launchpad.net/ubuntu/+source/update-manager-core/+bug/223741</a> with a comment from 2008-07-17:</p>
<p><i><br />
Using the &#8216;-d&#8217; flag now causes Packages.bz2 and Sources.bz2 Hash Sum mismatch&#8217;s. &#8220;sudo do-release-upgrade&#8221; by itself now works. Please modify the upgrade instructions on http://www.ubuntu.com/getubuntu/upgrading as this is causing considerable problems with folks trying to upgrade. I&#8217;ve just tested on a 6.04.2 (fresh) install and the following works:</p>
<p>sudo aptitude upgrade<br />
sudo aptitude dist-upgrade<br />
sudo aptitude install update-manager-core<br />
sudo do-release-upgrade<br />
</i></p>
<p>Ergo, drop the &#8216;-d&#8217; and all will be well. Would sure be nice if the docs could be updated&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://ward.vandewege.net/blog/2008/07/upgrading-from-dapper-to-hardy-hash-sum-mismatch/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
