<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Installing Xen on Ubuntu 9.10</title>
	<atom:link href="http://www.brandonturner.net/blog/2010/01/install-xen-ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brandonturner.net/blog/2010/01/install-xen-ubuntu/</link>
	<description>Random thoughts on web applications, software development and Linux</description>
	<lastBuildDate>Sun, 05 Sep 2010 05:30:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: liuchaohn</title>
		<link>http://www.brandonturner.net/blog/2010/01/install-xen-ubuntu/comment-page-2/#comment-7191</link>
		<dc:creator>liuchaohn</dc:creator>
		<pubDate>Sun, 05 Sep 2010 05:30:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=493#comment-7191</guid>
		<description>Everything is ok,but when i reboot the Xen,there are some problems.
usb 1-6: new low speed USB device using ehci_hcd and address 4
usb 1-6: configuration #1 chosen from 1 choice

how to slove？</description>
		<content:encoded><![CDATA[<p>Everything is ok,but when i reboot the Xen,there are some problems.<br />
usb 1-6: new low speed USB device using ehci_hcd and address 4<br />
usb 1-6: configuration #1 chosen from 1 choice</p>
<p>how to slove？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: applejay</title>
		<link>http://www.brandonturner.net/blog/2010/01/install-xen-ubuntu/comment-page-2/#comment-7187</link>
		<dc:creator>applejay</dc:creator>
		<pubDate>Fri, 27 Aug 2010 20:16:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=493#comment-7187</guid>
		<description>&lt;a href=&quot;#comment-7168&quot; rel=&quot;nofollow&quot;&gt;@Brian&lt;/a&gt; 
I ran into  your problem as well &quot;‘Your awk program does not define gensub. Use gawk or another awk with gensub’. Stop.&quot; I installed gawk and it seems to be working now</description>
		<content:encoded><![CDATA[<p><a href="#comment-7168" rel="nofollow">@Brian</a><br />
I ran into  your problem as well &#8220;‘Your awk program does not define gensub. Use gawk or another awk with gensub’. Stop.&#8221; I installed gawk and it seems to be working now</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jason rupright</title>
		<link>http://www.brandonturner.net/blog/2010/01/install-xen-ubuntu/comment-page-2/#comment-7170</link>
		<dc:creator>jason rupright</dc:creator>
		<pubDate>Sun, 06 Jun 2010 14:38:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=493#comment-7170</guid>
		<description>Hello, I had another question regarding xen, specifically on loading modules after build?

You only typed a few Is there a list currently that you know of for all the modules available and their specified names or calls in this file?

any time and help is appreciated


If you compiled the Xen net, block and usb backend drivers as modules, you will probably want to load them by default by adding them to your /etc/modules file:
view source
print?
1	# /etc/modules
2	...
3	# These modules are required for Xen DomUs to work
4	netbk
5	blkbk
6	usbbk</description>
		<content:encoded><![CDATA[<p>Hello, I had another question regarding xen, specifically on loading modules after build?</p>
<p>You only typed a few Is there a list currently that you know of for all the modules available and their specified names or calls in this file?</p>
<p>any time and help is appreciated</p>
<p>If you compiled the Xen net, block and usb backend drivers as modules, you will probably want to load them by default by adding them to your /etc/modules file:<br />
view source<br />
print?<br />
1	# /etc/modules<br />
2	&#8230;<br />
3	# These modules are required for Xen DomUs to work<br />
4	netbk<br />
5	blkbk<br />
6	usbbk</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.brandonturner.net/blog/2010/01/install-xen-ubuntu/comment-page-2/#comment-7168</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 27 May 2010 23:39:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=493#comment-7168</guid>
		<description>&lt;a href=&quot;#comment-7165&quot; rel=&quot;nofollow&quot;&gt;@Brandon&lt;/a&gt; 
Well, hit another snag. I&#039;m at the point where I&#039;m compiling and installing the kernel. I type in:
export CONCURRENCY_LEVEL=3 

That works fine. But then I type:
make

And it gives me an error stating:
awk: line 2: function gensub never defined
scripts/Makefile.build:82: *** &#039;Your awk program does not define gensub. Use gawk or another awk with gensub&#039;. Stop.
make: *** [scripts_basic] Error 2

From what I read, I&#039;m thinking I have a problem with awk. I checked the man pages for awk, but all I had was mawk.

So I typed:
sudo apt-get install awk

That displayed a page where it asked for me to specify whether I wanted original-awk, gawk, or mawk. I told it original-awk. So it installed. I checked the man page for awk... and again only mawk displayed.

So is it something else or is my awk being like... overwritten by mawk?</description>
		<content:encoded><![CDATA[<p><a href="#comment-7165" rel="nofollow">@Brandon</a><br />
Well, hit another snag. I&#8217;m at the point where I&#8217;m compiling and installing the kernel. I type in:<br />
export CONCURRENCY_LEVEL=3 </p>
<p>That works fine. But then I type:<br />
make</p>
<p>And it gives me an error stating:<br />
awk: line 2: function gensub never defined<br />
scripts/Makefile.build:82: *** &#8216;Your awk program does not define gensub. Use gawk or another awk with gensub&#8217;. Stop.<br />
make: *** [scripts_basic] Error 2</p>
<p>From what I read, I&#8217;m thinking I have a problem with awk. I checked the man pages for awk, but all I had was mawk.</p>
<p>So I typed:<br />
sudo apt-get install awk</p>
<p>That displayed a page where it asked for me to specify whether I wanted original-awk, gawk, or mawk. I told it original-awk. So it installed. I checked the man page for awk&#8230; and again only mawk displayed.</p>
<p>So is it something else or is my awk being like&#8230; overwritten by mawk?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.brandonturner.net/blog/2010/01/install-xen-ubuntu/comment-page-2/#comment-7167</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 27 May 2010 23:07:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=493#comment-7167</guid>
		<description>&lt;a href=&quot;#comment-7165&quot; rel=&quot;nofollow&quot;&gt;@Brandon&lt;/a&gt; 
Awesome! That did the trick! Now to keep going on the tutorial!!

Thanks!!!</description>
		<content:encoded><![CDATA[<p><a href="#comment-7165" rel="nofollow">@Brandon</a><br />
Awesome! That did the trick! Now to keep going on the tutorial!!</p>
<p>Thanks!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.brandonturner.net/blog/2010/01/install-xen-ubuntu/comment-page-2/#comment-7166</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 27 May 2010 22:26:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=493#comment-7166</guid>
		<description>&lt;a href=&quot;#comment-7165&quot; rel=&quot;nofollow&quot;&gt;@Brandon&lt;/a&gt; 
Oh no don&#039;t worry that totally makes sense. I just finished a Linux class in my college, so I&#039;m fluent with what your talking about. Ok I will try that... because you were right.. I had to use sudo in front of 90% of the commands in the tutorial. Ok well I will try over and I&#039;ll let you know how that goes!!</description>
		<content:encoded><![CDATA[<p><a href="#comment-7165" rel="nofollow">@Brandon</a><br />
Oh no don&#8217;t worry that totally makes sense. I just finished a Linux class in my college, so I&#8217;m fluent with what your talking about. Ok I will try that&#8230; because you were right.. I had to use sudo in front of 90% of the commands in the tutorial. Ok well I will try over and I&#8217;ll let you know how that goes!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon</title>
		<link>http://www.brandonturner.net/blog/2010/01/install-xen-ubuntu/comment-page-2/#comment-7165</link>
		<dc:creator>Brandon</dc:creator>
		<pubDate>Thu, 27 May 2010 22:23:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=493#comment-7165</guid>
		<description>&lt;a href=&quot;#comment-7164&quot; rel=&quot;nofollow&quot;&gt;@Brian&lt;/a&gt; 
I&#039;m sure 2.5.9 is fine.  I&#039;m on Ubuntu 10.04 now, I bet it was 2.5.9 in 9.10.

It sounds like your problem is related to root permissions.  You should do everything as a normal user (not root) except when I prefix my command with sudo.  This means you shouldn&#039;t have used sudo to untar the files, etc.  It sounds like you don&#039;t have permission to modify the source files as an ordinary user when running patch.  This  would be the case if you used sudo to untar the source files.

I&#039;d suggest starting over in a directory inside your home directory, or /tmp, or somewhere else where your user has write access.  Untar the files &lt;strong&gt;without&lt;/strong&gt; sudo and try the patch command again.

Hope that made sense :/</description>
		<content:encoded><![CDATA[<p><a href="#comment-7164" rel="nofollow">@Brian</a><br />
I&#8217;m sure 2.5.9 is fine.  I&#8217;m on Ubuntu 10.04 now, I bet it was 2.5.9 in 9.10.</p>
<p>It sounds like your problem is related to root permissions.  You should do everything as a normal user (not root) except when I prefix my command with sudo.  This means you shouldn&#8217;t have used sudo to untar the files, etc.  It sounds like you don&#8217;t have permission to modify the source files as an ordinary user when running patch.  This  would be the case if you used sudo to untar the source files.</p>
<p>I&#8217;d suggest starting over in a directory inside your home directory, or /tmp, or somewhere else where your user has write access.  Untar the files <strong>without</strong> sudo and try the patch command again.</p>
<p>Hope that made sense :/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.brandonturner.net/blog/2010/01/install-xen-ubuntu/comment-page-2/#comment-7164</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 27 May 2010 22:17:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=493#comment-7164</guid>
		<description>&lt;a href=&quot;#comment-7163&quot; rel=&quot;nofollow&quot;&gt;@Brandon&lt;/a&gt; 
Wow, that actually worked (The patch -p1 line).
The only thing I had to do was type sudo in front of it so I could carry out the process (I dont want to become root user... messed up to many things that way)
So... I really don&#039;t want to do all of these by hand... I noticed when I was doing the for loop before.. I skipped over some of the patches... and it went on and on and on...

------------------------------------------------------------------------
So... hmm. Well when I type sudo in front of the entire for loop:

sudo for i in `ls ../xenpatches-v10_2.6.31.8/`; do patch -p1 &lt; ../xenpatches-v10_2.6.31.8/&quot;$i&quot;; done

it says:

bash: syntax error near unexpected token `do&#039;

So I removed the do, and I got a similar response as above, but with the `done&#039;

So again I removed that, but now it does the exact same thing as before.. where it says:

File to Patch:
------------------------------------------------------------------------

BTW, I checked my patch version, and its 2.5.9

Should I upgrade my patch version? and how would I do that? I acquired the patch command from typing:

sudo apt-get install patch

I assumed that would&#039;ve installed the latest release... I guess I was wrong.

Thanks again for your help.</description>
		<content:encoded><![CDATA[<p><a href="#comment-7163" rel="nofollow">@Brandon</a><br />
Wow, that actually worked (The patch -p1 line).<br />
The only thing I had to do was type sudo in front of it so I could carry out the process (I dont want to become root user&#8230; messed up to many things that way)<br />
So&#8230; I really don&#8217;t want to do all of these by hand&#8230; I noticed when I was doing the for loop before.. I skipped over some of the patches&#8230; and it went on and on and on&#8230;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
So&#8230; hmm. Well when I type sudo in front of the entire for loop:</p>
<p>sudo for i in `ls ../xenpatches-v10_2.6.31.8/`; do patch -p1 &lt; ../xenpatches-v10_2.6.31.8/&quot;$i&quot;; done</p>
<p>it says:</p>
<p>bash: syntax error near unexpected token `do&#039;</p>
<p>So I removed the do, and I got a similar response as above, but with the `done&#039;</p>
<p>So again I removed that, but now it does the exact same thing as before.. where it says:</p>
<p>File to Patch:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>BTW, I checked my patch version, and its 2.5.9</p>
<p>Should I upgrade my patch version? and how would I do that? I acquired the patch command from typing:</p>
<p>sudo apt-get install patch</p>
<p>I assumed that would&#039;ve installed the latest release&#8230; I guess I was wrong.</p>
<p>Thanks again for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon</title>
		<link>http://www.brandonturner.net/blog/2010/01/install-xen-ubuntu/comment-page-2/#comment-7163</link>
		<dc:creator>Brandon</dc:creator>
		<pubDate>Thu, 27 May 2010 22:02:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=493#comment-7163</guid>
		<description>&lt;a href=&quot;#comment-7162&quot; rel=&quot;nofollow&quot;&gt;@Brian&lt;/a&gt; 
Hmm...  Well all the for loop is doing is applying each patch one at a time in order.  You could apply each patch by hand but that would be a pain.  That may give you an indication of where it is failing however.

You might check your version of patch &lt;code&gt;patch --version&lt;/code&gt;.  Mine is 2.6.   I have no idea what version you need, but it&#039;s at least worth checking.

Try applying a single patch by itself:
&lt;code&gt;
cd linux-2.6.31.8-xen0-amd64
patch -p1 &lt; ../xenpatches-v10_2.6.31.8/60000_add-console-use-vt.patch1
&lt;/code&gt;
Did that work?  If it &lt;strong&gt;did not&lt;/strong&gt;, from the current directory you are in can you:
&lt;code&gt;
ls -l drivers/char/tty_io.c
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p><a href="#comment-7162" rel="nofollow">@Brian</a><br />
Hmm&#8230;  Well all the for loop is doing is applying each patch one at a time in order.  You could apply each patch by hand but that would be a pain.  That may give you an indication of where it is failing however.</p>
<p>You might check your version of patch <code>patch --version</code>.  Mine is 2.6.   I have no idea what version you need, but it&#8217;s at least worth checking.</p>
<p>Try applying a single patch by itself:<br />
<code><br />
cd linux-2.6.31.8-xen0-amd64<br />
patch -p1 < ../xenpatches-v10_2.6.31.8/60000_add-console-use-vt.patch1<br />
</code><br />
Did that work?  If it <strong>did not</strong>, from the current directory you are in can you:<br />
</code><code><br />
ls -l drivers/char/tty_io.c<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.brandonturner.net/blog/2010/01/install-xen-ubuntu/comment-page-2/#comment-7162</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 27 May 2010 21:44:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonturner.net/blog/?p=493#comment-7162</guid>
		<description>&lt;a href=&quot;#comment-7161&quot; rel=&quot;nofollow&quot;&gt;@Brandon&lt;/a&gt; 
yup, I have done everything up to that point exactly the same as pointed out in the tutorial. The only thing I changed was that I used the newest Xen release, 4.0.0. Other then that, everything thing else is the same. Hmmm... I really dont know what could be causing this. I know i&#039;m typing in the correct filenames, because im hitting tab for autofill, and I&#039;ve checked the command to make sure it&#039;s the same as yours about 20 times :)
Is there another way to do the for loop that will produce the same results?</description>
		<content:encoded><![CDATA[<p><a href="#comment-7161" rel="nofollow">@Brandon</a><br />
yup, I have done everything up to that point exactly the same as pointed out in the tutorial. The only thing I changed was that I used the newest Xen release, 4.0.0. Other then that, everything thing else is the same. Hmmm&#8230; I really dont know what could be causing this. I know i&#8217;m typing in the correct filenames, because im hitting tab for autofill, and I&#8217;ve checked the command to make sure it&#8217;s the same as yours about 20 times <img src='http://www.brandonturner.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Is there another way to do the for loop that will produce the same results?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
