<?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>i summon one kim &#187; Ubuntu</title>
	<atom:link href="http://kimmo.suominen.com/archives/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://kimmo.suominen.com</link>
	<description>The website of Kimmo Suominen</description>
	<lastBuildDate>Thu, 15 Dec 2011 02:20:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<cloud domain='kimmo.suominen.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Fixes to VMware Tools</title>
		<link>http://kimmo.suominen.com/archives/2010/06/fixes-to-vmware-tools/</link>
		<comments>http://kimmo.suominen.com/archives/2010/06/fixes-to-vmware-tools/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 01:34:26 +0000</pubDate>
		<dc:creator>Kimmo Suominen</dc:creator>
				<category><![CDATA[patches]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://kimmo.suominen.com/?p=316</guid>
		<description><![CDATA[I just patched a couple of ESXi hosts to 4.0.0 build 256968 and found that VMware Tools were no longer loading after upgrading them. After some digging everything is more or less back to normal. Turns out that insserv(8) isn&#8217;t happy on Ubuntu 9.10 or 10.04, so now vmware-config-tools.pl falls back to using update-rc.d(8). However, [...]]]></description>
			<content:encoded><![CDATA[<p>I just patched a couple of ESXi hosts to 4.0.0 build 256968 and found that VMware Tools were no longer loading after upgrading them. After some digging everything is more or less back to normal.<span id="more-316"></span></p>

<p>Turns out that <code>insserv(8)</code> isn&#8217;t happy on Ubuntu 9.10 or 10.04, so now <code>vmware-config-tools.pl</code> falls back to using <code>update-rc.d(8)</code>. However, since old rc.d links have been left behind, <code>update-rc.d</code> won&#8217;t do anything at all. On top of that <code>vmware-config-tools.pl</code> calls it incorrectly.</p>

<p>Before running <code>vmware-config-tools.pl</code> or <code>vmware-tools-upgrader</code> first remove all the rc.d links:</p>

<blockquote>
<pre><code>cd /etc
rm -f rc?.d/*vmware-tools
</code></pre>
</blockquote>

<p>On one of my systems I had multiple links at each run level, with different priorities, left behind from earlier VMware Tools installations. I guess regular manual inspection of the state of the links is warranted.</p>

<p>You may also want to apply this patch to <code>vmware-config-tools.pl</code> before running it:</p>

<blockquote>
<pre><code>--- vmware-config-tools.pl.orig 2010-06-06 19:45:49.176241344 -0400
+++ vmware-config-tools.pl      2010-06-06 20:25:56.000000000 -0400
@@ -1495,7 +1495,7 @@
    if ($gHelper{'update-rc.d'} ne '') {
      if (0 == system(shell_string($gHelper{'update-rc.d'}) . " " . $service
                     . " start " . $S_level . " S ."
-                     . " start " . $K_level . " 0 6 .")) {
+                     . " stop " . $K_level . " 0 6 .")) {
        return;
      }
    }
</code></pre>
</blockquote>

<p>If your Linux kernel is 2.6.32 or later, the <code>vmci</code> module probably isn&#8217;t compiling for you either. Unpack the sources:</p>

<blockquote>
<pre><code>cd /tmp
tar -xvf /usr/lib/vmware-tools/modules/source/vmci.tar
</code></pre>
</blockquote>

<p>Then apply this patch:</p>

<blockquote>
<pre><code>--- vmci-only.old/vmciKernelIf.c        2010-05-07 00:11:18.000000000 -0400
+++ vmci-only/vmciKernelIf.c    2010-06-06 20:39:40.693377830 -0400
@@ -44,6 +44,7 @@
 #include "compat_page.h"
 #include "compat_mm.h"
 #include "compat_highmem.h"
+#include "compat_sched.h"
 #include "vm_basic_types.h"
 #include "pgtbl.h"
 #include &lt;linux/vmalloc.h&gt;
</code></pre>
</blockquote>

<p>Then replace the source tar with the patched files:</p>

<blockquote>
<pre><code>cd /tmp
tar -cvf /usr/lib/vmware-tools/modules/source/vmci.tar vmci-only
</code></pre>
</blockquote>

<p>Now run <code>vmware-config-tools.pl</code> and everything should compile fine and you should have good start and stop links in your rc.d directories. Note that a start link is only installed in run level <em>S</em>: that&#8217;s okay, as according to the documentation that level is always run on boot. Seems to hold true, as the tools are now loaded fine on my systems.</p>]]></content:encoded>
			<wfw:commentRss>http://kimmo.suominen.com/archives/2010/06/fixes-to-vmware-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu doesn&#8217;t like AMD?</title>
		<link>http://kimmo.suominen.com/archives/2009/06/ubuntu-doesnt-like-amd/</link>
		<comments>http://kimmo.suominen.com/archives/2009/06/ubuntu-doesnt-like-amd/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 08:55:26 +0000</pubDate>
		<dc:creator>Kimmo Suominen</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://kimmo.suominen.com/?p=300</guid>
		<description><![CDATA[I&#8217;ve been observing a really strange problem on Ubuntu Server 8.04: processes are sitting in limbo not doing anything. I first observed this as phones losing their SIP registrations periodically (but at random intervals). When debugging the issue, I saw that a ping running on the system would often just sit there, not sending more [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been observing a really strange problem on <a href="http://www.ubuntu.com/products/WhatIsUbuntu/serveredition">Ubuntu Server</a> 8.04: processes are sitting in limbo not doing anything. I first observed this as phones losing their SIP registrations periodically (but at random intervals).</p>

<p>When debugging the issue, I saw that a <code>ping</code> running on the system would often just sit there, not sending more packets, sometimes for seconds on end (I didn&#8217;t always wait to see if it would ever continue). Since hitting a key on the keyboard would immediately be echoed back, it wasn&#8217;t a problem with the terminal or ssh connection. Pinging the system from another would work without problems. Interrupting <code>ping</code> would report no packet loss (which was true &#8212; you can&#8217;t lose replies to packets you didn&#8217;t send).</p>

<p>My best guess is that the alternative scheduler chosen by the Ubuntu developers for the <a href="http://www.ubuntu.com/products/whatisubuntu/serveredition/features/kernel">server kernels</a> doesn&#8217;t work as intended on <a href="http://www.amd.com/">AMD</a> <acronym title="Central Processing Unit">CPU</acronym>s (or just the Athlon XP, or some other part of the hardware I&#8217;m using).</p>

<p>My &#8220;fix&#8221; was to switch to <a href="http://www.debian.org/">Debian</a> 5.0 (lenny), which doesn&#8217;t exhibit this problem at all.</p>

<p>I could have tried with the desktop edition of Ubuntu, but can&#8217;t really spare the time right now. Especially since I now have something that works reliably again.</p>

<p>I did try with different network hardware, though. I was originally using an SMC card based on <code>ns83820</code> (but for some reason not reporting anything at all with <code>ethtool</code> &#8212; works fine with the <code>gsip</code> driver on <a href="http://www.netbsd.org/">NetBSD</a>). I then switched to a Netwjork &#8220;brand&#8221; card based on <code>r8169</code> (well liked by <code>ethtool</code>). No difference, but stayed with the latter (working <code>ethtool</code> is always nice).</p>]]></content:encoded>
			<wfw:commentRss>http://kimmo.suominen.com/archives/2009/06/ubuntu-doesnt-like-amd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spotify on my Ubuntu laptop</title>
		<link>http://kimmo.suominen.com/archives/2009/05/spotify-on-my-ubuntu-laptop/</link>
		<comments>http://kimmo.suominen.com/archives/2009/05/spotify-on-my-ubuntu-laptop/#comments</comments>
		<pubDate>Mon, 25 May 2009 06:45:46 +0000</pubDate>
		<dc:creator>Kimmo Suominen</dc:creator>
				<category><![CDATA[music]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Spotify]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Wine]]></category>

		<guid isPermaLink="false">http://kimmo.suominen.com/?p=292</guid>
		<description><![CDATA[Being on the road is a challenge to my music listening habits: no Squeezebox and no Spotify. I&#8217;ve managed ok with my iPods and Last.fm streaming. However, there&#8217;s been no good reason to miss Spotify, though, even when running Ubuntu on the laptop. Just follow the instructions to install and run Spotify under Wine.]]></description>
			<content:encoded><![CDATA[<p>Being on the road is a challenge to my music listening habits: no <a href="http://en.wikipedia.org/wiki/Squeezebox_(network_music_player)">Squeezebox</a> and no <a href="http://www.spotify.com/">Spotify</a>. I&#8217;ve managed ok with my <a href="http://en.wikipedia.org/wiki/IPod">iPods</a> and <a href="http://www.last.fm/">Last.fm</a> streaming. However, there&#8217;s been no good reason to miss Spotify, though, even when running <a href="http://www.ubuntu.com/">Ubuntu</a> on the laptop. Just follow the <a href="http://www.spotify.com/en/help/faq/wine/">instructions to install and run Spotify under Wine</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://kimmo.suominen.com/archives/2009/05/spotify-on-my-ubuntu-laptop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>High CPU load from Firefox</title>
		<link>http://kimmo.suominen.com/archives/2009/05/high-cpu-load-from-firefox/</link>
		<comments>http://kimmo.suominen.com/archives/2009/05/high-cpu-load-from-firefox/#comments</comments>
		<pubDate>Sun, 24 May 2009 14:58:32 +0000</pubDate>
		<dc:creator>Kimmo Suominen</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://kimmo.suominen.com/?p=287</guid>
		<description><![CDATA[&#8220;Suddenly&#8221; Firefox had begun to pin the CPU at 100% even when not doing anything. I started to uninstall related recently added software. Looks like the culprit was swfdec-mozilla, which I had added hoping to get Cooliris working (no such luck &#8212; didn&#8217;t work with flashplugin-installer either). No flash now, but also no load when [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;Suddenly&#8221; <a href="http://www.mozilla.com/firefox/">Firefox</a> had begun to pin the <acronym title="Central Processing Unit">CPU</acronym> at 100% even when not doing anything. I started to uninstall related recently added software. Looks like the culprit was <code>swfdec-mozilla</code>, which I had added hoping to get <a href="http://www.cooliris.com/">Cooliris</a> working (no such luck &#8212; didn&#8217;t work with <code>flashplugin-installer</code> either). No flash now, but also no load when browsing the web. (And no burning sensation from the laptop.)</p>]]></content:encoded>
			<wfw:commentRss>http://kimmo.suominen.com/archives/2009/05/high-cpu-load-from-firefox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Asterisk installation</title>
		<link>http://kimmo.suominen.com/archives/2009/05/asterisk-installation/</link>
		<comments>http://kimmo.suominen.com/archives/2009/05/asterisk-installation/#comments</comments>
		<pubDate>Sun, 24 May 2009 14:28:42 +0000</pubDate>
		<dc:creator>Kimmo Suominen</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://kimmo.suominen.com/?p=278</guid>
		<description><![CDATA[Just a short note on getting a minimal Asterisk environment installed on current versions of Debian and Ubuntu: aptitude install asterisk m-a a-i zaptel modprobe ztdummy Also add ztdummy to /etc/modules so it gets loaded when the system starts. If the m-a command is not found, install the module-assistant package.]]></description>
			<content:encoded><![CDATA[<p>Just a short note on getting a minimal Asterisk environment installed on current versions of Debian and Ubuntu:</p>

<blockquote>
<pre><code>aptitude install asterisk
m-a a-i zaptel
modprobe ztdummy
</code></pre>
</blockquote>

<p>Also add <code>ztdummy</code> to <code>/etc/modules</code> so it gets loaded when the system starts.</p>

<p>If the <code>m-a</code> command is not found, install the <code>module-assistant</code> package.</p>]]></content:encoded>
			<wfw:commentRss>http://kimmo.suominen.com/archives/2009/05/asterisk-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

