From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ks_c_5601-1987?B?vcW/68H4?= Subject: Xen causes hang when reboot or shutdown. Date: Mon, 15 Mar 2010 15:32:00 +0900 Message-ID: <004201cac409$39e10b40$ada321c0$@com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1245427567==" Return-path: Content-Language: ko List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============1245427567== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0043_01CAC454.A9C8B340" Content-Language: ko This is a multi-part message in MIME format. ------=_NextPart_000_0043_01CAC454.A9C8B340 Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: quoted-printable I am trying to make xen-virtualization system =20 My machine is CPU : Intel Xeon E5520 * 2 RAM : DDR3 1333 2GB * 6 HDD : 500GB SATA * 4 (RAID 10) =20 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) =20 =20 When I boot my computer, it shows some messages like below; =20 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, =20 And when I reboot It starts to hang. =20 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.=20 (I mean, when we set menuconfig (make menuconfig), it should be [*], not [M]) =20 However, when I look through the /etc/init.d/xend source, they have =A1=B0modprobe=A1=B1 sentence. =20 So I changed all those modules as =A1=AE=A1=AF in menuconfig. After this, netloop and netbk was installed, however, blkbk and blktap = was not installed. =20 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; =20 Starting xend: Nothing to flush FATAL : Module blkbk not found, FATAL : Module blktap not found, =20 And when I reboot, it starts to hang again! =20 After that, I commented out =A1=B0modprobe blkbk=A1=B1 and = =A1=B0modprobe blktap=A1=B1 in /etc/init.d/xend file., then it doesn=A1=AFt show those messages, However, it hangs again. =20 When I boot my machine without xend, then it does not show hang. =20 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=3Dlinux/kernel/git/jeremy/xen.git;a=3Dshortlog;h= =3Dxen/ma ster;pg=3D0 http://git.kernel.org/?p=3Dlinux/kernel/git/jeremy/xen.git;a=3Dshortlog;h= =3Dxen/ma ster;pg=3D4 http://permalink.gmane.org/gmane.comp.emulators.xen.devel/78670 =20 Is there any solution or patch files for this problem? =20 ------=_NextPart_000_0043_01CAC454.A9C8B340 Content-Type: text/html; charset="ks_c_5601-1987" Content-Transfer-Encoding: quoted-printable

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.g= itco.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 =A1=B0modprobe=A1=B1 sentence.

 

So I changed all those modules = as =A1=AE<M>=A1=AF 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 = =A1=B0modprobe blkbk=A1=B1 and = =A1=B0modprobe blktap=A1=B1 in = /etc/init.d/xend file., then it doesn=A1=AFt 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/msg00= 146.html

http://lists.xensource.com/archives/html/xen-devel/2010-01/msg01= 152.html

http://wiki.xen= source.com/xenwiki/XenDom0Kernels

http://git.kernel.org/?p=3Dlinux/kernel/git= /jeremy/xen.git;a=3Dshortlog;h=3Dxen/master;pg=3D0

http://git.kernel.org/?p=3Dlinux/kernel/git= /jeremy/xen.git;a=3Dshortlog;h=3Dxen/master;pg=3D4

= http://permalink.gmane.org/gmane.comp.emulators.xen.devel/78670<= /o:p>

 

Is there any solution or patch = files for this problem?

 

------=_NextPart_000_0043_01CAC454.A9C8B340-- --===============1245427567== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============1245427567==--