From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Teo En Ming" Subject: Re: Re[8]: Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel Date: Sat, 25 Jul 2009 00:56:53 +0800 Message-ID: References: <571611.55836.qm@web56107.mail.re3.yahoo.com> Reply-To: enming.teo@asiasoftsea.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1895854553==" Return-path: In-Reply-To: <571611.55836.qm@web56107.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Boris Derzhavets , Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Cc: Sander Eikelenboom , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1895854553== Content-Type: multipart/alternative; boundary="0724_1656_53_PART-BREAK" --0724_1656_53_PART-BREAK Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear Boris, My colleague installed OpenSUSE 11.1 32-bit on the Core 2 Duo machine in = our=20 labs. Please see my earlier replies in the same topic. I was too lazy to reformat and install 64-bit OpenSUSE, so I proceeded wi= th=20 Xen Dom 0 pvops kernel compilation on 32-bit Linux host. I admit I am getting a lot of headache. Haha. Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department =20 Asiasoft Online Pte Ltd =20 Tampines Central 1 #04-01 Tampines Plaza =20 Singapore 529541 Republic of Singapore =20 Mobile Phone: +65-9648-9798 =20 MSN: teoenming@hotmail.com -----Original Message----- From: Boris Derzhavets To: enming.teo@asiasoftsea.net, Pasi K=E4rkk=E4inen Cc: Sander Eikelenboom , xen-devel@lists.xensource.= com Date: Fri, 24 Jul 2009 09:57:18 -0700 (PDT) Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's= =20 PVOPS Kernel Once again, i don't see any reason to to run 32-bit OS on Core2Duo, unless you like Xen head ache. Core development (PVOPS) is obviously running in 64-bit environment.=20 Boris. --- On Fri, 7/24/09, Boris Derzhavets wrote: From: Boris Derzhavets Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's= =20 PVOPS Kernel To: enming.teo@asiasoftsea.net, "Pasi K=E4rkk=E4inen" Cc: "Sander Eikelenboom" ,=20 xen-devel@lists.xensource.com Date: Friday, July 24, 2009, 12:47 PM >After doing the above, I re-installed back the Xen hypervisor,=20 libraries and tools, and also >the kernel, initrd, and modules. Then I=20 proceeded to reboot my machine. After rebooting, > my CentOS 4.7 32-bit P= V=20 guest is still able to start and run! Why it wouldn't ? If your image stays the same. > I am still very puzzled! What causes the PV guest initially cannot=20 start? Then what >subsequently causes the PV guest to suddenly be able to= =20 start and run??? That is not supposed to happen. I would suggest clean OS (without any bui= lt=20 in xen presence) install , followed by Xen 3.4.1+pvops kernel clean=20 install. Boris. --- On Fri, 7/24/09, Teo En Ming wrote: From: Teo En Ming Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's= =20 PVOPS Kernel To: "Teo En Ming" , "Pasi K=E4rkk=E4inen"=20 Cc: "Sander Eikelenboom" ,=20 xen-devel@lists.xensource.com Date: Friday, July 24, 2009, 12:19 PM Dear All, I am very puzzled. In investigating the cause of the sudden success of=20 the CentOS 4.7 32-bit PV guest being able to run, I have uninstalled=20 virt-manager and all of its dependencies: docbook python-gtk-vnc xen-libs 3.3.1 scrollkeeper xen-tools 3.3.1 libvirt 0.4.6 libvirt-python vm-install 0.3.24 Then I proceeded to "make uninstall" in xen-3.4-testing source tree,=20 which also removed my self compiled Xen Dom 0 pvops enabled kernel, initr= d=20 and kernel modules. After doing the above, I re-installed back the Xen hypervisor,=20 libraries and tools, and also the kernel, initrd, and modules. Then I=20 proceeded to reboot my machine. After rebooting, my CentOS 4.7 32-bit PV=20 guest is still able to start and run! I am still very puzzled! What causes the PV guest initially cannot=20 start? Then what subsequently causes the PV guest to suddenly be able to=20 start and run??? ***scratches head*** Anyway my CentOS 4.7 guest domain is now running. I shall now proceed=20 to virtualize OpenSolaris 2009.06. Thank you. Also see screenshots of my CentOS 4.7 PV guest here:=20 http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/creating-centos-= 47-32-bit.html Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department =20 Asiasoft Online Pte Ltd =20 Tampines Central 1 #04-01 Tampines Plaza =20 Singapore 529541 Republic of Singapore =20 Mobile Phone: +65-9648-9798 =20 MSN: teoenming@hotmail.com -----Original=20 Message----- =20 From: "Teo En Ming" =20 To: "Teo En Ming" , "Pasi=20 K=E4rkk=E4inen" =20 Cc: Sander Eikelenboom ,=20 xen-devel@lists.xensource.com =20 Date: Fri, 24 Jul 2009 22:54:26 +0800 =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=20 Jeremy's PVOPS Kernel =20 =20 Hi Pasi, =20 =20 It's very strange. Suddenly my CentOS 4.7 32-bit PV guest is able to=20 start!!! Previously it refuses to start at all. =20 =20 I think I must have changed something in Dom 0 when I attempted "yast=20 --install virt-manager". This action might have solved the problem. When = I=20 tried to install virt-manager, it also tries to install xen-libs-3.3.1 an= d=20 xen-tools-3.3.1 as dependencies. However, I started off my Xen Dom 0 pvop= s=20 kernel install with Xen 3.4.1 rc8 branch. =20 =20 I need to investigate more why suddenly my CentOS 4.7 32-bit PV guest=20 is able to start. =20 Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering) =20 Technical Support Engineer =20 Information Technology Department =20 Asiasoft Online Pte Ltd =20 Tampines Central 1 #04-01 Tampines Plaza =20 Singapore 529541 =20 Republic of Singapore =20 Mobile Phone: +65-9648-9798 =20 MSN: teoenming@hotmail.com =20 =20 -----Original=20 Message----- =20 From: "Teo En Ming" =20 To: "Pasi K=E4rkk=E4inen" =20 Cc: Sander Eikelenboom ,=20 xen-devel@lists.xensource.com =20 Date: Fri, 24 Jul 2009 21:54:00 +0800 =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=20 Jeremy's PVOPS Kernel =20 =20 Hi Pasi, =20 =20 I realized that Fedora 10 32-bit anaconda installer does not=20 install PAE kernel after mounting the guest disk image file. I mounted th= e=20 guest disk image file using losetup and kpartx which adds device nodes to= =20 /dev/mapper. I examined the /boot directory after mounting the guest disk= =20 image file and found no PAE vmlinuz and initrd. =20 =20 Still using the mounted Fedora 10 32-bit guest disk image file, I=20 changed root to the guest disk filesystems and attempted to install the P= AE=20 kernel. Then I modified menu.lst to boot the PAE kernel. After modifying = the=20 grub configuration of the guest domain, I un-mounted the guest filesystem= . =20 =20 I proceeded to boot the F10 32-bit guest, since I changed to PAE=20 kernel. It is able to boot now (since the PAE kernel is xen-aware) but th= en=20 it complains cannot mount /dev/root. Probably something to do with the PA= E=20 initrd file. =20 Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering) =20 Technical Support Engineer =20 Information Technology Department =20 Asiasoft Online Pte Ltd =20 Tampines Central 1 #04-01 Tampines Plaza =20 Singapore 529541 =20 Republic of Singapore =20 Mobile Phone: +65-9648-9798 =20 MSN: teoenming@hotmail.com =20 =20 -----Original=20 Message----- =20 From: Pasi K=E4rkk=E4inen =20 To: Teo En Ming =20 Cc: Sander Eikelenboom ,=20 xen-devel@lists.xensource.com =20 Date: Fri, 24 Jul 2009 16:31:19 +0300 =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0=20 in Jeremy's PVOPS Kernel =20 =20 =20 On Fri, Jul=20 24, 2009 at 08:37:09PM +0800, Teo En Ming wrote: =20 > Hi =20 > =20 > I attempted to install Fedora 10 32-bit PV guest using =20 > images/pxeboot/vmlinuz-PAE and=20 images/pxeboot/initrd-PAE.img from the F10 =20 > media. The non-PAE kernel could not load the installer.=20 I finished my Fedora =20 > 10 32-bit PV guest installation but it also cannot boot=20 up after =20 > installation, same as the CentOS 4.7 PV guest=20 installation. =20 > =20 =20 Fedora 10 installer has a bug, as a default it installs=20 non-PAE kernel for =20 xen domU. You need to use a kickstart script (like this) to=20 fix it: =20 http://pasik.reaktio.net/fedora/f10-xen-domu-ks.cfg=20 [http://pasik.reaktio.net/fedora/f10-xen-domu-ks.cfg] =20 =20 The important lines being: =20 =20 -kernel =20 kernel-PAE =20 =20 (Fedora 10 and Fedora 11 default kernels are compiled with=20 pv_ops Xen domU =20 support enabled, so there's no need for separate kernel-xen=20 with these distros). =20 =20 Fedora 11 doesn't have that installer bug, so it installs=20 right =20 out-of-the-box as Xen domU. =20 =20 What's the error you get when you start the guest after=20 installation? =20 Please paste the "xm log" as text. =20 =20 I don't have any problems with CentOS 5.3 dom0. =20 =20 -- Pasi -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel [http://lists.xensource.com/xen-deve= l] -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com=20 [https://mail.asiasoftsea.net/mc/compose?to=3DXen-devel@lists.xensource.c= om] http://lists.xensource.com/xen-devel [http://lists.xensource.com/xen-deve= l] --0724_1656_53_PART-BREAK Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear Boris,
 
My colleague installed OpenSUSE 11.1 32-bit on the Core 2 Duo machin= e=20 in our labs. Please see my earlier replies in the same topic.
 
I was too lazy to reformat and install 64-bit OpenSUSE, so I proceed= ed=20 with Xen Dom 0 pvops kernel compilation on 32-bit Linux host.
 
I admit I am getting a lot of headache. Haha.
 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile Phone: +65-9648-9798
MSN: teoenming@hotmail.com


-----Original=20 Message-----
From: Boris Derzhavets <bderzhavets@yahoo.com>
To: enming.teo@asiasoftsea.net, Pasi K=E4rkk=E4inen=20 <pasik@iki.fi>
Cc: Sander Eikelenboom <linux@eikelenboom.it>,=20 xen-devel@lists.xensource.com
Date: Fri, 24 Jul 2009 09:57:18 -0700 (PDT)
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in= =20 Jeremy's PVOPS Kernel

Once again, i don't see any reason to to run 32-bit OS on=20 Core2Duo,
unless you like Xen head ache. Core development (PVOPS) is=20 obviously
running in 64-bit environment.

Boris.

--- On Fri, 7/24/09, Boris Derzhavets <bderzhavets@yahoo.com> wrote:

From: Boris Derzhavets <bderzhavets@yahoo.com>
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom= 0=20 in Jeremy's PVOPS Kernel
To: enming.teo@asiasoftsea.net, "Pasi K=E4rkk=E4inen"=20 <pasik@iki.fi>
Cc: "Sander Eikelenboom" <linux@eikelenboom.it>,=20 xen-devel@lists.xensource.com
Date: Friday, July 24, 2009, 12:47 PM

>After doing the= above,=20 I re-installed back the Xen hypervisor, libraries and tools, and also=20 >the kernel, initrd, and modules. Then I proceeded to reboot my machin= e.=20 After rebooting, > my CentOS 4.7 32-bit PV guest is still able to star= t=20 and run!

Why it wouldn't ? If your image stays  the same.

> I am still very puzzled! What causes the PV guest= =20 initially cannot start? Then what >subsequently causes the PV guest to= =20 suddenly be able to start and run???
 

That is not supposed to happen. I would suggest clean= OS=20 (without any built in xen presence) install , followed by  Xen=20 3.4.1+pvops kernel clean install.

Boris.

--- On Fri, 7/24/09, Teo En Ming <enming.teo@asiasoftsea.net> wrote:

From: Teo En Ming <enming.teo@asiasoftsea.net>= ;
Subject: Re: Re[8]: [Xen-devel] Unable to Configure= =20 Xen Dom 0 in Jeremy's PVOPS Kernel
To: "Teo En Ming" <enming.teo@asiasoftsea.net>= ;,=20 "Pasi K=E4rkk=E4inen" <pasik@iki.fi>
Cc: "Sander Eikelenboom" <linux@eikelenboom.it&g= t;,=20 xen-devel@lists.xensource.com
Date: Friday, July 24, 2009, 12:19 PM

Dear All,
 
I am very puzzled. In investigating the cause of t= he=20 sudden success of the CentOS 4.7 32-bit PV guest being able to run, I hav= e=20 uninstalled virt-manager and all of its dependencies:
 
docbook
python-gtk-vnc
xen-libs 3.3.1
scrollkeeper
xen-tools 3.3.1
libvirt 0.4.6
libvirt-python
vm-install 0.3.24
 
Then I proceeded to "make uninstall" in=20 xen-3.4-testing source tree, which also removed my self compiled Xen Dom = 0=20 pvops enabled kernel, initrd and kernel modules.
 
After doing the above, I re-installed back the Xen= =20 hypervisor, libraries and tools, and also the kernel, initrd, and modules= .=20 Then I proceeded to reboot my machine. After rebooting, my CentOS 4.7 32-= bit=20 PV guest is still able to start and run!
 
I am still very puzzled! What causes the PV guest=20 initially cannot start? Then what subsequently causes the PV guest to=20 suddenly be able to start and run???
 
***scratches head***
 
Anyway my CentOS 4.7 guest domain is now running. = I=20 shall now proceed to virtualize OpenSolaris 2009.06.
 
Thank you.
 
Also see screenshots of my CentOS 4.7 PV guest her= e:=20 http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/creating-centos-= 47-32-bit.html
 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics=20 Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile Phone: +65-9648-9798
MSN: teoenming@hotmail.com


-----Original Message-----
From: "Teo En Ming"=20 <enming.teo@asiasoftsea.net>
To: "Teo En Ming"=20 <enming.teo@asiasoftsea.net>, "Pasi K=E4rkk=E4inen" <pasik@iki.f= i>
Cc: Sander Eikelenboom=20 <linux@eikelenboom.it>, xen-devel@lists.xensource.com
Date: Fri, 24 Jul 2009 22:54:26 +0800
Subject: Re: Re[8]: [Xen-devel] Unable to=20 Configure Xen Dom 0 in Jeremy's PVOPS Kernel

Hi Pasi,
 
It's very strange. Suddenly my CentOS 4.7 32-bit= PV=20 guest is able to start!!! Previously it refuses to start at all.
 
I think I must have changed something in Dom 0 w= hen=20 I attempted "yast --install virt-manager". This action might have solved = the=20 problem. When I tried to install virt-manager, it also tries to install=20 xen-libs-3.3.1 and xen-tools-3.3.1 as dependencies. However, I started of= f=20 my Xen Dom 0 pvops kernel install with Xen 3.4.1 rc8 branch.
 
I need to investigate more why suddenly my CentO= S=20 4.7 32-bit PV guest is able to start.
 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics=20 Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile Phone: +65-9648-9798
MSN: teoenming@hotmail.com


-----Original Message-----
From: "Teo En Ming"=20 <enming.teo@asiasoftsea.net>
To: "Pasi K=E4rkk=E4inen" <pasik@iki.fi&g= t;
Cc: Sander Eikelenboom=20 <linux@eikelenboom.it>, xen-devel@lists.xensource.com
Date: Fri, 24 Jul 2009 21:54:00 +0800
Subject: Re: Re[8]: [Xen-devel] Unable to=20 Configure Xen Dom 0 in Jeremy's PVOPS Kernel

Hi Pasi,
 
I realized that Fedora 10 32-bit anaconda=20 installer does not install PAE kernel after mounting the guest disk image= =20 file. I mounted the guest disk image file using losetup and kpartx which=20 adds device nodes to /dev/mapper. I examined the /boot directory after=20 mounting the guest disk image file and found no PAE vmlinuz and initrd.
 
Still using the mounted Fedora 10 32-bit guest= =20 disk image file, I changed root to the guest disk filesystems and attempt= ed=20 to install the PAE kernel. Then I modified menu.lst to boot the PAE kerne= l.=20 After modifying the grub configuration of the guest domain, I un-mounted = the=20 guest filesystem.
 
I proceeded to boot the F10 32-bit guest, sinc= e I=20 changed to PAE kernel. It is able to boot now (since the PAE kernel is=20 xen-aware) but then it complains cannot mount /dev/root. Probably somethi= ng=20 to do with the PAE initrd file.

 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronic= s=20 Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile Phone: +65-9648-9798
MSN: teoenming@hotmail.com


-----Original Message-----
From: Pasi K=E4rkk=E4inen <pasik@iki.fi= >
To: Teo En Ming=20 <enming.teo@asiasoftsea.net>
Cc: Sander Eikelenboom=20 <linux@eikelenboom.it>, xen-devel@lists.xensource.com
Date: Fri, 24 Jul 2009 16:31:19 +0300
Subject: Re: Re[8]: [Xen-devel] Unable to=20 Configure Xen Dom 0 in Jeremy's PVOPS Kernel

On Fri, Jul 24, 2009 at 08:37:09PM +0800, Teo En Ming wrot= e:
> Hi
>
> I attempted to install Fedora 10=20 32-bit PV guest using
> images/pxeboot/vmlinuz-PAE and=20 images/pxeboot/initrd-PAE.img from the F10
> media. The non-PAE kernel could not= =20 load the installer. I finished my Fedora
> 10 32-bit PV guest installation but= it=20 also cannot boot up after
> installation, same as the CentOS 4.= 7=20 PV guest installation.
>

Fedora 10 installer has a bug, as a defa= ult=20 it installs non-PAE kernel for
xen domU. You need to use a kickstart=20 script (like this) to fix it:
http://pasik.reaktio.net/fedora/f10-xen-domu-ks.cfg

The important lines being:

-kernel
kernel-PAE

(Fedora 10 and Fedora 11 default kernels= =20 are compiled with pv_ops Xen domU
support enabled, so there's no need for=20 separate kernel-xen with these distros).

Fedora 11 doesn't have that installer bu= g,=20 so it installs right
out-of-the-box as Xen domU.

What's the error you get when you start = the=20 guest after installation?
Please paste the "xm log" as text.

I don't have any problems with CentOS 5.= 3=20 dom0.

-- Pasi

-----Inline Attachment Follows-----

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


-----Inline Attachment Follows-----

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

--0724_1656_53_PART-BREAK-- --===============1895854553== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1895854553==--