<?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>Blog Amain &#187; Ubuntu</title>
	<atom:link href="http://blog.zoomeren.nl/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.zoomeren.nl</link>
	<description>Open Source / Linux</description>
	<lastBuildDate>Fri, 21 May 2010 21:47:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Partitions on a loop device ( /dev/loop0p0, /dev/loop0p1, &#8230; )</title>
		<link>http://blog.zoomeren.nl/2010/04/21/partitions-on-a-loop-device-devloop0p0-devloop0p1/</link>
		<comments>http://blog.zoomeren.nl/2010/04/21/partitions-on-a-loop-device-devloop0p0-devloop0p1/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 11:38:11 +0000</pubDate>
		<dc:creator>Amain</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[blockdev]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[disk images]]></category>
		<category><![CDATA[fdisk]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[mkfs.ext3]]></category>
		<category><![CDATA[mkswap]]></category>
		<category><![CDATA[partitions]]></category>
		<category><![CDATA[sparse files]]></category>
		<category><![CDATA[virtual machines]]></category>

		<guid isPermaLink="false">http://blog.zoomeren.nl/?p=157</guid>
		<description><![CDATA[
Add the following kernel boot option to the kernel line in grub&#8217;s menu.lst and reboot ( I&#8217;m not sure which one does the trick ):
loop.max_part=63 max_part=63

Create a sparse disk image file ( 40 GB reserved, 0 bytes on disk )
dd if=/dev/zero of=fs.image bs=1024 seek=40000000 count=0

Initialize a new loop device ( /dev/loop0 )
losetup -f fs.image

Create a [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>Add the following kernel boot option to the kernel line in grub&#8217;s menu.lst and reboot ( I&#8217;m not sure which one does the trick ):
<pre>loop.max_part=63 max_part=63</pre>
</li>
<li>Create a sparse disk image file ( 40 GB reserved, 0 bytes on disk )
<pre>dd if=/dev/zero of=fs.image bs=1024 seek=40000000 count=0</pre>
</li>
<li>Initialize a new loop device ( /dev/loop0 )
<pre>losetup -f fs.image</pre>
</li>
<li>Create a partition table, for example 2 partitions. A 4 GB swap(loop0p1) and a root filesystem(loop0p2) containing the remaining space.
<pre>fdisk /dev/loop0</pre>
</li>
<li>Reread partition table for /dev/loop0. Nodes /dev/loop0p1, /dev/loop0p2, etc are created.
<pre>sudo blockdev --rereadpt /dev/loop0</pre>
</li>
<li>Create filesystems
<pre>mkswap /dev/loop0p1
mkfs.ext3 /dev/loop0p2</pre>
</li>
<li>Mount the filesystem and use debootstrap or any other method to create a file system. Don&#8217;t forget to install or copy grub to it.
<pre>mkdir fs
sudo mount /dev/loop0p2 fs</pre>
</li>
<li>Install grub
<p>grub<br />
grub&gt; device (hd0) /dev/loop0<br />
grub&gt; root (hd0,1)<br />
grub&gt; setup (hd0)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.zoomeren.nl/2010/04/21/partitions-on-a-loop-device-devloop0p0-devloop0p1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sync music with iPhone 3G and ubuntu</title>
		<link>http://blog.zoomeren.nl/2010/04/17/sync-music-with-iphone-3g-and-ubuntu/</link>
		<comments>http://blog.zoomeren.nl/2010/04/17/sync-music-with-iphone-3g-and-ubuntu/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 12:20:30 +0000</pubDate>
		<dc:creator>Amain</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://blog.zoomeren.nl/?p=155</guid>
		<description><![CDATA[http://fatbuttlarry.blogspot.com/2010/01/ipod-touch-iphone-3g-ubuntu-910-in-5.html
]]></description>
			<content:encoded><![CDATA[<p><a href="http://fatbuttlarry.blogspot.com/2010/01/ipod-touch-iphone-3g-ubuntu-910-in-5.html">http://fatbuttlarry.blogspot.com/2010/01/ipod-touch-iphone-3g-ubuntu-910-in-5.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zoomeren.nl/2010/04/17/sync-music-with-iphone-3g-and-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>USB tethering in Ubuntu Karmic with iPhone firmware 3.1.2</title>
		<link>http://blog.zoomeren.nl/2010/03/18/usb-tethering-in-ubuntu-karmic-with-iphone-firmware-3-1-2/</link>
		<comments>http://blog.zoomeren.nl/2010/03/18/usb-tethering-in-ubuntu-karmic-with-iphone-firmware-3-1-2/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 17:45:47 +0000</pubDate>
		<dc:creator>Amain</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[3.1.2]]></category>
		<category><![CDATA[3g]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[tethering]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://blog.zoomeren.nl/?p=147</guid>
		<description><![CDATA[
Install BlueMon bluetooth manager ( replaces gnome-bluetooth ) and install ipheth from a PPA using the following instructions:

http://www.ubuntugeek.com/iphone-tethering-on-ubuntu-9-10-karmic.html


Make Ethernet-Tethering again available on the iPhone using a patch from Cydia:

http://www.iphoneclub.nl/forum/f59/iphone-help/f60/wiki-handleidingen/46330-tethering-6-stappen-op-firmware-3-1-2-via-cydia-jailbreak.ht


Maybe you need to do this too:

Optional/needed: remove PDANet and like applications
Some reboots
Reinstall of gvfs gvfs-backends gvfs-bin gvfs-fuse


Both Bluetooth and USB tethering work fine!

When USB is connected, [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Install BlueMon bluetooth manager ( replaces gnome-bluetooth ) and install <em><strong></strong><strong>ipheth </strong></em>from a PPA using the following instructions:
<ul>
<li><a href="http://www.ubuntugeek.com/iphone-tethering-on-ubuntu-9-10-karmic.html">http://www.ubuntugeek.com/iphone-tethering-on-ubuntu-9-10-karmic.html</a></li>
</ul>
</li>
<li>Make Ethernet-Tethering again available on the iPhone using a patch from Cydia:
<ul>
<li><a href="http://www.iphoneclub.nl/forum/f59/iphone-help/f60/wiki-handleidingen/46330-tethering-6-stappen-op-firmware-3-1-2-via-cydia-jailbreak.html">http://www.iphoneclub.nl/forum/f59/iphone-help/f60/wiki-handleidingen/46330-tethering-6-stappen-op-firmware-3-1-2-via-cydia-jailbreak.ht</a></li>
</ul>
</li>
<li>Maybe you need to do this too:
<ul>
<li>Optional/needed: remove PDANet and like applications</li>
<li>Some reboots</li>
<li>Reinstall of gvfs gvfs-backends gvfs-bin gvfs-fuse</li>
</ul>
</li>
<li>Both Bluetooth and USB tethering work fine!
<ul>
<li>When USB is connected, NewWorkManager automatically connects to the iPhone and starts tethering</li>
<li>When Bluetooth is used, use the BlueMon manager and initiate connection. NetworkManager then starts to connect to the iPhone and starts tethering. Sometimes I need to connect twice before it works.</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.zoomeren.nl/2010/03/18/usb-tethering-in-ubuntu-karmic-with-iphone-firmware-3-1-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Auto enable a gnome-panel for each connected monitor</title>
		<link>http://blog.zoomeren.nl/2010/03/05/a-gnome-panel-for-each-connected-monitor/</link>
		<comments>http://blog.zoomeren.nl/2010/03/05/a-gnome-panel-for-each-connected-monitor/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 23:54:12 +0000</pubDate>
		<dc:creator>Amain</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[dual-head]]></category>
		<category><![CDATA[dual-monitor]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gnome-panel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[multiple monitors]]></category>

		<guid isPermaLink="false">http://blog.zoomeren.nl/?p=135</guid>
		<description><![CDATA[In Gnome it is possible to have a gnome-panel for each monitor. This is very useful. One can create a new gnome-panel by pressing right-click on a existing gnome-panel ( make sure that when the entire gnome-panel space is filled with applets and programs you temporarily remove some applets or close some programs ). Click [...]]]></description>
			<content:encoded><![CDATA[<p>In Gnome it is possible to have a gnome-panel for each monitor. This is very useful. One can create a new gnome-panel by pressing right-click on a existing gnome-panel ( make sure that when the entire gnome-panel space is filled with applets and programs you temporarily remove some applets or close some programs ). Click &#8220;New panel&#8221; and a new panel will be created. Press-and-keep-pressed ALT and move the new gnome-panel with the mouse to the other monitor.</p>
<p>However, when not using one of the monitors, Gnome does not know what to do with the panel normally displayed on that monitor and places it on the default monitor, resulting in two gnome-panels on one monitor. This is not so useful! <img src='http://blog.zoomeren.nl/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>To circumvent this default Gnome behavior use the following procedure:</p>
<ul>
<li>Download <em>gnome-panel-switch.sh</em> script and put it somewhere you like:</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Auto adjust the number of pannels based on the number of</span>
<span style="color: #666666; font-style: italic;"># connected monitors.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Author : Amain 2010</span>
<span style="color: #666666; font-style: italic;"># Website: blog.zoomeren.nl</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Monitor states:</span>
<span style="color: #666666; font-style: italic;">#   - connected 1440x900+0+0  ( connected and used )</span>
<span style="color: #666666; font-style: italic;">#   - connected               ( connected not used )</span>
<span style="color: #666666; font-style: italic;">#   - disconnected            ( disconnected       )</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #007800;">NR_OF_MONITORS</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>xrandr <span style="color: #660033;">-q</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot; connected [0-9]\+x[0-9]\+&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">wc</span> <span style="color: #660033;">-l</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Second panel name</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># note: retrieve the panel name using gconf-editor</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #007800;">SECOND_PANEL_NAME</span>=<span style="color: #ff0000;">&quot;panel_0&quot;</span>     
&nbsp;
<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #007800;">$NR_OF_MONITORS</span> <span style="color: #000000; font-weight: bold;">in</span>
        <span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
                <span style="color: #666666; font-style: italic;"># Disable external monitor ( setting screen to -1 )</span>
                <span style="color: #666666; font-style: italic;">#</span>
                gconftool-<span style="color: #000000;">2</span> <span style="color: #660033;">--type</span> int <span style="color: #660033;">--set</span>  <span style="color: #000000; font-weight: bold;">/</span>apps<span style="color: #000000; font-weight: bold;">/</span>panel<span style="color: #000000; font-weight: bold;">/</span>toplevels<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$SECOND_PANEL_NAME</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">screen</span> <span style="color: #660033;">--</span> <span style="color: #660033;">-1</span>
        <span style="color: #000000; font-weight: bold;">;;</span>
&nbsp;
        <span style="color: #000000;">2</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
                <span style="color: #666666; font-style: italic;"># Enable external monitor ( restart is needed after setting screen to -1 )</span>
                <span style="color: #666666; font-style: italic;">#</span>
                gconftool-<span style="color: #000000;">2</span> <span style="color: #660033;">--type</span> int <span style="color: #660033;">--set</span>  <span style="color: #000000; font-weight: bold;">/</span>apps<span style="color: #000000; font-weight: bold;">/</span>panel<span style="color: #000000; font-weight: bold;">/</span>toplevels<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$SECOND_PANEL_NAME</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">screen</span> <span style="color: #000000;">0</span>
                <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">killall</span> gnome-panel
        <span style="color: #000000; font-weight: bold;">;;</span>
&nbsp;
        <span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
                <span style="color: #666666; font-style: italic;"># no action</span>
        <span style="color: #000000; font-weight: bold;">;;</span>
<span style="color: #000000; font-weight: bold;">esac</span></pre></div></div>

<ul>
<li>sudo chmod +x <em>gnome-panel-switch.sh</em></li>
<li>sudo mv /usr/bin/gnome-display-properties /usr/bin/gnome-display-properties.bin</li>
<li>sudo vi /usr/bin/gnome-display-properties and paste the following script ( don&#8217;t forget to adjust the path in line where gnome-panel-switch.sh is called! ):</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Auto adjust the number of pannels based on the number of</span>
<span style="color: #666666; font-style: italic;"># connected monitors.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Author : Amain 2010</span>
<span style="color: #666666; font-style: italic;"># Website: blog.zoomeren.nl</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Open gnome-display-properties dialog</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gnome-display-properties.bin
&nbsp;
<span style="color: #666666; font-style: italic;"># Auto enable/disable gnome-panels</span>
<span style="color: #666666; font-style: italic;">#</span>
YOURPATH<span style="color: #000000; font-weight: bold;">/</span>gnome-panel-switch.sh</pre></div></div>

<ul>
<li>sudo chmod +x /usr/bin/gnome-display-properties</li>
<li>Start gnome-panel-switch.sh every time Gnome starts to auto disable/enable the correct number of gnome-panels per display. Use Gnome Startup in the System Settings menu and add the invocation for this script.</li>
<li>Important note: when /usr/bin/gnome-display-properties is replaced during a Ubuntu upgrade one looses the changes!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.zoomeren.nl/2010/03/05/a-gnome-panel-for-each-connected-monitor/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wake-on-LAN (wol)</title>
		<link>http://blog.zoomeren.nl/2009/12/04/wake-on-lan-wol/</link>
		<comments>http://blog.zoomeren.nl/2009/12/04/wake-on-lan-wol/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 23:35:06 +0000</pubDate>
		<dc:creator>Amain</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[etherwake]]></category>
		<category><![CDATA[ethtool]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[powerwake]]></category>
		<category><![CDATA[wake-on-lan]]></category>
		<category><![CDATA[wakeonlan]]></category>
		<category><![CDATA[wol]]></category>

		<guid isPermaLink="false">http://blog.zoomeren.nl/?p=121</guid>
		<description><![CDATA[On the to-be-woken-up computer make sure to enable ACPI/APM (S3/STR) and Wake-On-Lan(WOL) in the BIOS and add in /etc/network/interfaces:

post-up /usr/sbin/ethtool -s eth0 wol g
post-down /usr/sbin/ethtool -s eth0 wol g

Write down the MAC-ADDRESS. Powerdown the computer. Only when the computer is powered down to S3 or STR(Suspend to ram), the computer can be woken up. A [...]]]></description>
			<content:encoded><![CDATA[<p>On the to-be-woken-up computer make sure to enable ACPI/APM (<strong>S3/STR)</strong> and Wake-On-Lan(WOL) in the BIOS and add in <em>/etc/network/interfaces</em>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">post-up <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>ethtool <span style="color: #660033;">-s</span> eth0 wol g
post-down <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>ethtool <span style="color: #660033;">-s</span> eth0 wol g</pre></div></div>

<p>Write down the <em>MAC-ADDRESS</em>. Powerdown the computer. Only when the computer is powered down to S3 or STR(Suspend to ram), the computer can be woken up. A sudden power-failure might mess with everything so the computer might not respond then to WOL requests. For STR some additional action are necessary, because STR in Linux might/will totaly power-off the ethernet device. See this <a href="http://linux-tipps.blogspot.com/2008/11/fixing-wake-on-lan-in-ubuntu-810.html">link</a> for more info on that subject.</p>
<p>On another computer install a wake-on-lan package:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> wakeonlan</pre></div></div>

<p>and wake up the sleeping computer:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">wakeonlan MAC-ADDRESS</pre></div></div>

<p>note: create a small shell script in for example ~/bin/wol_dev.sh to make life easier and to not forget the MAC-ADDRESS:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Wake on lan server: dev</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># dev eth0 00:02:44:57:dc:33</span>
<span style="color: #666666; font-style: italic;"># dev eth1 00:10:4b:0e:ce:13</span>
&nbsp;
wakeonlan 00:02:<span style="color: #000000;">44</span>:<span style="color: #000000;">57</span>:<span style="color: #c20cb9; font-weight: bold;">dc</span>:<span style="color: #000000;">33</span></pre></div></div>

<p>That&#8217;s all!</p>
<p>Links:</p>
<ul>
<li><a href="http://xlife.zuavra.net/index.php/60/">http://xlife.zuavra.net/index.php/60/</a></li>
<li><a href="http://linux-tipps.blogspot.com/2008/11/fixing-wake-on-lan-in-ubuntu-810.html">http://linux-tipps.blogspot.com/2008/11/fixing-wake-on-lan-in-ubuntu-810.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.zoomeren.nl/2009/12/04/wake-on-lan-wol/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>High CPU-usage with VirtualBox on dual-core CPU while Guest(s) are idle</title>
		<link>http://blog.zoomeren.nl/2009/10/08/high-cpu-usage-with-virtualbox-on-dual-core-cpu-while-guests-are-idle/</link>
		<comments>http://blog.zoomeren.nl/2009/10/08/high-cpu-usage-with-virtualbox-on-dual-core-cpu-while-guests-are-idle/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 22:12:35 +0000</pubDate>
		<dc:creator>Amain</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[3.0]]></category>
		<category><![CDATA[3.0.6]]></category>
		<category><![CDATA[dual-core CPU]]></category>
		<category><![CDATA[Guest]]></category>
		<category><![CDATA[high CPU load]]></category>
		<category><![CDATA[high resolution timers]]></category>
		<category><![CDATA[idle]]></category>
		<category><![CDATA[tickless kernel]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://blog.zoomeren.nl/?p=103</guid>
		<description><![CDATA[I installed VirtualBox 3.0.6 and installed a couple of Guest OS&#8217;es. During the installation of a OEL 5.3 Linux as Guest, I discovered that the VirtualBox process for this Guest on the host was consuming between 55% and 85% of CPU usage, even though the Guest&#8217;s top showed that the Guest was idle.
It seems to [...]]]></description>
			<content:encoded><![CDATA[<p>I installed VirtualBox 3.0.6 and installed a couple of Guest OS&#8217;es. During the installation of a OEL 5.3 Linux as Guest, I discovered that the VirtualBox process for this Guest on the host was consuming between 55% and 85% of CPU usage, even though the Guest&#8217;s top showed that the Guest was idle.</p>
<p>It seems to be that VirtualBox has a problem switching between multiple core&#8217;s on the host and therefore causing high CPU load on the host, even while the Guests are idle. This is of course not good. There are a couple of solutions / workarounds:</p>
<ol>
<li>Adjust the CPU affinity for the Guest&#8217;s VirtualBox process</li>
<li>Configure multiple CPU&#8217;s in the Guest&#8217;s VM settings</li>
<li>Run another small idle/dummy Guest VM besides the one you want to use</li>
</ol>
<p>I use the second option with success. I have an Intel(R) Core(TM)2 Duo CPU laptop and I assigned 2 CPU&#8217;s in the Guest&#8217;s settings and now the host CPU usage is back to normal, luckily. Also note that it&#8217; has been reported, that VirtualBox is not very well handling tickless kernels ( CONFIG_NO_HZ=y ) or has higher CPU usage with high resolution timers like 1000 Hz ( CONFIG_HZ_1000 ). Ubuntu Jaunty has for example a tickless kernel and OEL 5.3 ahs a timer tick of 1000 Hz.</p>
<p>Links:</p>
<ul>
<li><a href="http://tech.shantanugoel.com/2009/07/07/virtualbox-high-cpu-usage-problem-solved.html">http://tech.shantanugoel.com/2009/07/07/virtualbox-high-cpu-usage-problem-solved.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.zoomeren.nl/2009/10/08/high-cpu-usage-with-virtualbox-on-dual-core-cpu-while-guests-are-idle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A nice Ubuntu Gnome Desktop Theme</title>
		<link>http://blog.zoomeren.nl/2009/10/08/a-nice-ubuntu-gnome-desktop-theme/</link>
		<comments>http://blog.zoomeren.nl/2009/10/08/a-nice-ubuntu-gnome-desktop-theme/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 21:48:05 +0000</pubDate>
		<dc:creator>Amain</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.zoomeren.nl/?p=94</guid>
		<description><![CDATA[ I find it not always easy to find the correct theme, with the correct icons and the correct colour scheme. The letters should not be to be big or to small. Menu&#8217;s and windows and widgets should look nice, but remain visible and easy to distinct from their surrounding. For now I feel comfortable [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.zoomeren.nl/wp-content/uploads/2009/10/Schermafdruk.png"><img class="alignleft size-thumbnail wp-image-95" title="Schermafdruk" src="http://blog.zoomeren.nl/wp-content/uploads/2009/10/Schermafdruk-150x150.png" alt="Schermafdruk" width="120" height="120" /></a> I find it not always easy to find the correct theme, with the correct icons and the correct colour scheme. The letters should not be to be big or to small. Menu&#8217;s and windows and widgets should look nice, but remain visible and easy to distinct from their surrounding. For now I feel comfortable with these settings:</p>
<blockquote>
<blockquote>
<blockquote>
<ol>
<li><a href="http://www.gnome-look.org/content/show.php/Avalon?content=109016">Avalon Compiz Emerald Theme</a></li>
<li><a href="http://www.gnome-look.org/content/show.php?content=111517">Humanity Gnome Icon Theme</a></li>
<li><a href="http://www.gnome-look.org/content/show.php/Yellow+U-Flower?content=113345">Yellow U-Flower background image</a></li>
</ol>
</blockquote>
</blockquote>
</blockquote>
<p>Click on the image to enlarge.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zoomeren.nl/2009/10/08/a-nice-ubuntu-gnome-desktop-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Due to mesa bug compiz fails on large virtual screens on Intel Graphics hardware</title>
		<link>http://blog.zoomeren.nl/2009/10/08/due-to-mesa-bug-compiz-fails-on-large-virtual-screens-on-intel-graphics-hardware/</link>
		<comments>http://blog.zoomeren.nl/2009/10/08/due-to-mesa-bug-compiz-fails-on-large-virtual-screens-on-intel-graphics-hardware/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 20:47:02 +0000</pubDate>
		<dc:creator>Amain</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[compiz]]></category>
		<category><![CDATA[i915]]></category>
		<category><![CDATA[Intel i915]]></category>
		<category><![CDATA[mesa]]></category>
		<category><![CDATA[ppa]]></category>
		<category><![CDATA[resolution]]></category>
		<category><![CDATA[size]]></category>
		<category><![CDATA[texture]]></category>
		<category><![CDATA[virtual screen]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://blog.zoomeren.nl/?p=87</guid>
		<description><![CDATA[Compiz works fine on my new 64 bit Dell Latitude E6400 laptop&#8217;s LVDS screen. Only after connecting a big LCD screen and using gnome-display-settings to extend my Desktop to this monitor, compiz fails to start and makes the following complaint:
Comparing resolution (3040x1200) to maximum 3D texture size (2048): Failed.
I was wondering why. I hoped it [...]]]></description>
			<content:encoded><![CDATA[<p>Compiz works fine on my new 64 bit Dell Latitude E6400 laptop&#8217;s LVDS screen. Only after connecting a big LCD screen and using gnome-display-settings to extend my Desktop to this monitor, compiz fails to start and makes the following complaint:</p>
<pre>Comparing resolution (3040x1200) to maximum 3D texture size (2048): Failed.</pre>
<p>I was wondering why. I hoped it not be a hardware limitation. And fortunately it isn&#8217;t. At least not in my case. There seems to be a problem in mesa. Before upgrading mesa using a PPA repository where a small patch was applied by the owner of the PPA, my system reported:</p>
<pre>glxinfo -l | grep GL_MAX_TEXTURE_SIZE
 GL_MAX_TEXTURE_SIZE = 2048</pre>
<p>After:</p>
<pre>glxinfo -l | grep GL_MAX_TEXTURE_SIZE
 GL_MAX_TEXTURE_SIZE = 4096</pre>
<p>To upgrade mesa, install mesa from the following PPA:</p>
<p><a href="https://edge.launchpad.net/~cavedon/+archive/ppa">https://edge.launchpad.net/~cavedon/+archive/ppa</a></p>
<p>The patch seems to be included in Ubuntu Karmic, and is not jet corrected in Jaunty because it was considered a to great a risk at this stage. The PPA mesa packages( libgl1-mesa-dri, libgl1-mesa-glx, libglu1-mesa, mesa-utils ) are working without causing any problems on my system. I now fully enjoy Compiz working on one big desktop with a virtual screen size of 3120&#215;1050.</p>
<p>Links:</p>
<ul>
<li><a href="    *  http://ubuntuforums.org/archive/index.php/t-1115208.html">http://ubuntuforums.org/archive/index.php/t-1115208.html</a></li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/146298">https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/146298</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.zoomeren.nl/2009/10/08/due-to-mesa-bug-compiz-fails-on-large-virtual-screens-on-intel-graphics-hardware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server Console Firefox plugin VMWare Server 2.0.1 ( 2009/03/31 &#124; Build: 156745 ) not working</title>
		<link>http://blog.zoomeren.nl/2009/10/03/server-console-firefox-plugin-vmware-server-2-0-1-20090331-build-156745-not-working/</link>
		<comments>http://blog.zoomeren.nl/2009/10/03/server-console-firefox-plugin-vmware-server-2-0-1-20090331-build-156745-not-working/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 14:23:18 +0000</pubDate>
		<dc:creator>Amain</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[VMWare server 2.0.1]]></category>
		<category><![CDATA[Vmware Server Console plugin]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://blog.zoomeren.nl/?p=82</guid>
		<description><![CDATA[Since VMWare Server 2 everything is administrated from a webinterface. This works nice and looks nice. Unfortunately I could not open the Console to the Guest OS. Starting and stopping the Guest OS no problem, but no graphical console. When opening the console in the webinterface, a plugin must be installed in firefox. This is [...]]]></description>
			<content:encoded><![CDATA[<p>Since VMWare Server 2 everything is administrated from a webinterface. This works nice and looks nice. Unfortunately I could not open the Console to the Guest OS. Starting and stopping the Guest OS no problem, but no graphical console. When opening the console in the webinterface, a plugin must be installed in firefox. This is downloaded from your VMWare Server installation&#8217;s webserver. It installs cleanly, but after restarting the web interface, and trying to open the console of a Guest OS, nothing happens. Total silence. Annoying, at least. After investigating, it seemed in my case, that some libraries could not be found. Creating some symlinks and starting the server console from the command line would run just fine:</p>
<p>$HOME.mozilla/firefox/&lt;random&gt;.vmware/extensions/VMwareVMRC@vmware.com/plugins/vmware-vmrc</p>
<p>But no way it would start from the VMWare server webinterface. The solution in my case was simple though: Don&#8217;t use a Firefox profile with a space in the name. My profile was called &#8216;Default User&#8217; and that didn&#8217;t work. After creating a new profile ( called vmware ), without spaces, it worked!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zoomeren.nl/2009/10/03/server-console-firefox-plugin-vmware-server-2-0-1-20090331-build-156745-not-working/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Server Console VMWare Server 2.0.1 ( 2009/03/31 &#124; Build: 156745 ) does not have a CTRL-ALT-DELETE option</title>
		<link>http://blog.zoomeren.nl/2009/10/03/server-console-vmware-server-2-0-1-20090331-build-156745-does-not-have-a-ctrl-alt-delete-option/</link>
		<comments>http://blog.zoomeren.nl/2009/10/03/server-console-vmware-server-2-0-1-20090331-build-156745-does-not-have-a-ctrl-alt-delete-option/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 14:08:33 +0000</pubDate>
		<dc:creator>Amain</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[9.04]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[ctrl-alt-del]]></category>
		<category><![CDATA[ctrl-alt-delete]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://blog.zoomeren.nl/?p=77</guid>
		<description><![CDATA[The CTRL-ALT-DELETE option in the Server Console of VMWare Server 2.0.1( 2009/03/31 &#124; Build: 156745 ) is missing. This is very anoying. In Ubuntu, when pressing CTRL-ALT-DELETE the &#8216;Close Computer&#8217; screen appears. Also pressing CTRL-ALT removes keyboaard/mouse control from the VMWare Server Console window back to Ubuntu/X Server. So is there no way yo login [...]]]></description>
			<content:encoded><![CDATA[<p>The CTRL-ALT-DELETE option in the Server Console of VMWare Server 2.0.1( <span>2009/03/31 | Build: 156745 ) is missing. This is very anoying. In Ubuntu, when pressing CTRL-ALT-DELETE the &#8216;Close Computer&#8217; screen appears. Also pressing CTRL-ALT removes keyboaard/mouse control from the VMWare Server Console window back to Ubuntu/X Server. So is there no way yo login into your Windows Guest OS. Of course there are other options:</span></p>
<ul>
<li><span>Press CTR-ALT-. ( The . / ALT key on the numeric keyboard )</span></li>
<li><span>On a laptop without numeric keyboard: CTRL-ALT-PrintScrn<br />
(<em> note: on my laptop that is: CTRL-ALT-Fn-PrintScrn </em>)</span></li>
<li><span>CTRL-ALT-INS is reported to work but, didn&#8217;t work for me</span></li>
<li><span>Using VNC</span>
<ul>
<li><span>Add the following lines to the VMWare .vmx config file:<br />
</span></p>
<pre> RemoteDisplay.vnc.enabled = "TRUE"</pre>
<pre> RemoteDisplay.vnc.port = "5900"</pre>
<pre> RemoteDisplay.vnc.password = ""</pre>
</li>
<li>Restart Guest OS and connect with vncviewer to the screen of the Guest OS</li>
<li>Press F8 and choose from the menu &#8216;Send CTRL-ALT-DELETE&#8217;</li>
</ul>
</li>
</ul>
<p>There are more options, but these seem to me the best working.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zoomeren.nl/2009/10/03/server-console-vmware-server-2-0-1-20090331-build-156745-does-not-have-a-ctrl-alt-delete-option/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
