<?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>Steve Glendinning &#187; Lenny</title>
	<atom:link href="http://www.steveglendinning.com/tag/lenny/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.steveglendinning.com</link>
	<description></description>
	<lastBuildDate>Fri, 06 Nov 2009 10:26:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Found a new toy: sshfs</title>
		<link>http://www.steveglendinning.com/2009/11/06/found-a-new-toy-sshfs/</link>
		<comments>http://www.steveglendinning.com/2009/11/06/found-a-new-toy-sshfs/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 10:26:29 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.steveglendinning.com/?p=91</guid>
		<description><![CDATA[sshfs allows you to mount a remote filesystem using nothing at the server end other than a standard ssh server]]></description>
			<content:encoded><![CDATA[<p>I just discovered sshfs.  This allows you to mount a remote filesystem using nothing at the server end other than a standard ssh server.</p>
<p>Once installer, as a non-root user you can just:</p>
<p><code>mkdir mnt<br />
sshfs username@server.domain.com:/path mnt</code></p>
<p>Then you can access it, copy files etc (both directions) as if it were a local directory</p>
<p><code>ls mnt</code></p>
<p>When finished this disconnects it:</p>
<p><code>fusermount -u mnt</code></p>
<p>Found at <a href="http://home.prea.net/hacking/X2200/NFS">http://home.prea.net/hacking/X2200/NFS</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.steveglendinning.com/2009/11/06/found-a-new-toy-sshfs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Time went backwards</title>
		<link>http://www.steveglendinning.com/2009/03/23/time-went-backwards/</link>
		<comments>http://www.steveglendinning.com/2009/03/23/time-went-backwards/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 10:06:42 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.steveglendinning.com/?p=69</guid>
		<description><![CDATA[I just applied a hotfix to my XenSource virtual servers, which caused all the virtual machines to be suspended &#38; resumed (while the xen host rebooted).  This caused a problem on the VMs I&#8217;ve upgraded to Debian Lenny: These messages were repeatedly logged:
clocksource/0: Time went backwards: ret=18f26176a5 delta=-8292949932632971 shadow=18e9e0b4b9 offset=880c4ce
This message wasn&#8217;t &#8220;harmless&#8221; &#8211; it [...]]]></description>
			<content:encoded><![CDATA[<p>I just applied a hotfix to my XenSource virtual servers, which caused all the virtual machines to be suspended &amp; resumed (while the xen host rebooted).  This caused a problem on the VMs I&#8217;ve <a href="http://www.steveglendinning.com/2009/02/15/upgrading-xensource-debian-etch-guests-to-lenny/">upgraded to Debian Lenny</a>: These messages were repeatedly logged:</p>
<blockquote><p>clocksource/0: Time went backwards: ret=18f26176a5 delta=-8292949932632971 shadow=18e9e0b4b9 offset=880c4ce</p></blockquote>
<p>This message wasn&#8217;t &#8220;harmless&#8221; &#8211; it caused TCP connections to break, so ssh was practically unusable.</p>
<p>The immediate solution: using the XenCenter console, forcefully reboot the affected VM.  That&#8217;s &#8220;force shutdown&#8221;, followed by &#8220;start&#8221;.  I tried the simple &#8220;reboot&#8221; option, but it wouldn&#8217;t shut down (probably because it was confused over the time).  VMs are now back up and there&#8217;s no sign of time going backwards.</p>
<p>It seems this was triggered by suspending &amp; resuming machines running the Debian Lenny kernel.  Other VMs which are still running the 2.6.18 based XenSource kernels survived suspend/resume ok.</p>
<p>The actual cause is documented <a href="http://wiki.debian.org/Xen#A.27clocksource.2BAC8-0.3ATimewentbackwards.27">here</a>, <a href="http://www.mail-archive.com/debian-kernel@lists.debian.org/msg42367.html">here</a>, <a href="http://lists.bitfolk.com/lurker/message/20090311.001656.36280d5b.en.html">here</a> &amp; <a href="http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1098">here</a>.  I think I&#8217;ll be following that advice and decoupling my VM clocks from the host (using NTP to keep them all in sync the old-fashioned way).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.steveglendinning.com/2009/03/23/time-went-backwards/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Upgrading Xensource Debian Etch guests to Lenny</title>
		<link>http://www.steveglendinning.com/2009/02/15/upgrading-xensource-debian-etch-guests-to-lenny/</link>
		<comments>http://www.steveglendinning.com/2009/02/15/upgrading-xensource-debian-etch-guests-to-lenny/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 16:44:21 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.steveglendinning.com/?p=61</guid>
		<description><![CDATA[Debian Lenny has been released, so I&#8217;ve started upgrading some of my Xen virtual servers.  For Etch, Xensource shipped their own modified PV kernel package (2.6.18 based).  With Lenny the same kernel can be used, or the standard Debian xen kernel (2.6.26 based) can be used instead.
Upgrading the userland is identical to a physical server [...]]]></description>
			<content:encoded><![CDATA[<p>Debian Lenny has been released, so I&#8217;ve started upgrading some of my Xen virtual servers.  For Etch, Xensource shipped their own modified PV kernel package (2.6.18 based).  With Lenny the same kernel can be used, or the standard Debian xen kernel (2.6.26 based) can be used instead.</p>
<p>Upgrading the userland is identical to a physical server &#8211; instructions are contained <a title="Etch to Lenny dist-upgrade instructions" href="http://www.debian.org/releases/lenny/i386/release-notes/ch-upgrading.en.html#upgradingpackages">within the Debian Lenny release notes</a>.</p>
<p>To use the Debian packaged 2.6.26 kernel, several minor changes have to be made as per <a title="Debian lenny kernel" href="http://forums.citrix.com/thread.jspa?threadID=240753&amp;tstart=0">this form post</a>:</p>
<ol>
<li>Install the linux-image-2.6-xen-686 package (which depends on the latest xen kernel)</li>
<li>Re-order the kernels in /boot/grub/menu.lst so the Debian 2.6.26 kernel is the first (and therefore the default)</li>
<li>Add &#8220;console=hvc0&#8243; to the end of the 2.6.26 kernel line in /boot/grub/menu.lst, so it reads &#8220;kernel /boot/vmlinuz-2.6.26-1-xen-686 root=/dev/xvda1 ro <strong>console=hvc0</strong>&#8220;</li>
<li>edit /etc/inittab, find the line that looks like &#8220;1:2345:respawn:/sbin/getty 38400 tty1&#8243; and add another line: &#8220;0:2345:respawn:/sbin/getty 38400 hvc0&#8243;</li>
</ol>
<p>Then reboot the system, it should boot the new kernel.</p>
<p>Xensource doesn&#8217;t display the grub menu, it just seems to boot straight into the default option (even though I have &#8220;timeout 10&#8243; specified in the config).  There must be a secret keypress or something to make it show the menu, but I don&#8217;t know what it is because the last step just worked for me!</p>
<p>Edit: Theoretically you shouldn&#8217;t need to use the -xen kernel variant, as the -686-bigmem kernel also supports running paravirtualised in domU.  With Xensource 5.0 this boots fine, but Xensource&#8217;s xen-tools refuse to start so XenCenter reports the status as &#8220;unknown&#8221;.  With the -xen kernel xen-tools start fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.steveglendinning.com/2009/02/15/upgrading-xensource-debian-etch-guests-to-lenny/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
