[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-bugs
Subject:    [Xen-bugs] Xen causes hang when reboot or shutdown.
From:       <akayong () gmail ! com>
Date:       2010-03-15 6:27:39
Message-ID: 003a01cac408$9e7f3640$db7da2c0$ () com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


 

I am trying to make xen-virtualization system

 

My machine is

CPU : Intel Xeon E5520 * 2
RAM : DDR3 1333 2GB * 6
HDD : 500GB SATA * 4 (RAID 10)

 

CentOS5.3 Kernel - 2.6.27.29-0.1.1 (original was 2.6.18-128 and I upgraded)

Xen - 3.4.2  (http://www.gitco.de/repo/GITCO-XEN3.4.2_x86_64.repo)

 

 

When I boot my computer, it shows some messages like below;

 

Starting xend: Nothing to flush

FATAL : Module netloop not found

FATAL : Module netlbk not found,

FATAL : Module blkbk not found,

FATAL : Module blktap not found,

 

And when I reboot It starts to hang.

 

As I surveyed, from Xen 3.3 and later, we should install above modules in
Xen-kernel, not separate modules.

So I set those modules install in xen-kernel. 

(I mean, when we set menuconfig (make menuconfig), it should be [*], not
[M])

 

However, when I look through the /etc/init.d/xend source, they have
¡°modprobe¡± sentence.

 

So I changed all those modules as ¡®<M>¡¯ in menuconfig.

After this, netloop and netbk was installed, however, blkbk and blktap was
not installed.

 

So, I installed netloop and net bk as Module, and blkbk and blktap in xen-
kernel.

The, I boot my computer, it shows some messages like below;

 

Starting xend: Nothing to flush

FATAL : Module blkbk not found,

FATAL : Module blktap not found,

 

And when I reboot, it starts to hang again!

 

After that, I commented out ¡°modprobe blkbk¡± and ¡°modprobe blktap¡± in
/etc/init.d/xend file., then it doesn¡¯t show those messages,

However, it hangs again.

 

When I boot my machine without xend, then it does not show hang.

 

And I did googling and I found that other people have same problem like me,
and it is caused by blktap.

And some people give some solutions and patch for blktap, however, those
kernel version or xen version is different from mine, So I could not apply
them to my computer.

Follows are links that I referenced

http://lists.xensource.com/archives/html/xen-devel/2010-01/msg00146.html

http://lists.xensource.com/archives/html/xen-devel/2010-01/msg01152.html

http://wiki.xensource.com/xenwiki/XenDom0Kernels

http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/ma
ster;pg=0

http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/ma
ster;pg=4

http://permalink.gmane.org/gmane.comp.emulators.xen.devel/78670

 

Is there any solution or patch files for this problem?


[Attachment #5 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=ks_c_5601-1987">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:"¸¼Àº °íµñ";
	panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
	{font-family:"\@¸¼Àº °íµñ";
	panose-1:2 11 5 3 2 0 0 2 0 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	text-align:justify;
	text-justify:inter-ideograph;
	text-autospace:none;
	word-break:break-hangul;
	font-size:10.0pt;
	font-family:"¸¼Àº °íµñ";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"¸¼Àº °íµñ";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
 /* Page Definitions */
 @page Section1
	{size:612.0pt 792.0pt;
	margin:3.0cm 72.0pt 72.0pt 72.0pt;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=KO link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I am trying to make xen-virtualization
system<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>My machine is<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>CPU : Intel Xeon E5520 * 2<br>
RAM : DDR3 1333 2GB * 6<br>
HDD : 500GB SATA * 4 (RAID 10)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>CentOS5.3 Kernel </span>&#8211;<span lang=EN-US>
2.6.27.29-0.1.1 (original was 2.6.18-128 and I upgraded)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Xen </span>&#8211;<span lang=EN-US> 3.4.2&nbsp; \
(http://www.gitco.de/repo/GITCO-XEN3.4.2_x86_64.repo)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>When I boot my computer, it shows some messages
like below;<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Starting xend: Nothing to \
flush<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>FATAL : Module netloop not \
found<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>FATAL : Module netlbk not \
found,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>FATAL : Module blkbk not \
found,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>FATAL : Module blktap not \
found,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>And when I reboot It starts to \
hang.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>As I surveyed, from Xen 3.3 and later, we
should install above modules in Xen-kernel, not separate \
modules.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>So I set those modules install in
xen-kernel. <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>(I mean, when we set menuconfig (make
menuconfig), it should be [*], not [M])<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>However, when I look through the /etc/init.d/xend
source, they have ¡°modprobe¡± sentence.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>So I changed all those modules as ¡®&lt;M&gt;¡¯
in menuconfig.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>After this, netloop and netbk was
installed, however, blkbk and blktap was not installed.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>So, I installed netloop and net bk as
Module, and blkbk and blktap in xen-kernel.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>The, I boot my computer, it shows some
messages like below;<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Starting xend: Nothing to \
flush<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>FATAL : Module blkbk not \
found,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>FATAL : Module blktap not \
found,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>And when I reboot, it starts to hang \
again!<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>After that, I commented out ¡°modprobe blkbk¡±
and ¡°modprobe blktap¡± in /etc/init.d/xend file., then it doesn¡¯t show those
messages,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>However, it hangs again.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>When I boot my machine without xend, then
it does not show hang.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>And I did googling and I found that other
people have same problem like me, and it is caused by blktap.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>And some people give some solutions and
patch for blktap, however, those kernel version or xen version is different
from mine, So I could not apply them to my computer.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Follows are links that I \
referenced<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><a
href="http://lists.xensource.com/archives/html/xen-devel/2010-01/msg00146.html">http:/ \
/lists.xensource.com/archives/html/xen-devel/2010-01/msg00146.html</a><o:p></o:p></span></p>


<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><a
href="http://lists.xensource.com/archives/html/xen-devel/2010-01/msg01152.html">http:/ \
/lists.xensource.com/archives/html/xen-devel/2010-01/msg01152.html</a><o:p></o:p></span></p>


<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><a
href="http://wiki.xensource.com/xenwiki/XenDom0Kernels">http://wiki.xensource.com/xenwiki/XenDom0Kernels</a><o:p></o:p></span></p>


<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><a
href="http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/master \
;pg=0">http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/master;pg=0</a></span><span
 lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><a
href="http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/master \
;pg=4">http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/master;pg=4</a></span><span
 lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><a
href="http://permalink.gmane.org/gmane.comp.emulators.xen.devel/78670">http://permalink.gmane.org/gmane.comp.emulators.xen.devel/78670</a><o:p></o:p></span></p>


<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Is there any solution or patch files for
this problem?<o:p></o:p></span></p>

</div>

</body>

</html>



_______________________________________________
Xen-bugs mailing list
Xen-bugs@lists.xensource.com
http://lists.xensource.com/xen-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic