From: Boris Derzhavets Subject: Re: Re[8]: Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel Date: Fri, 24 Jul 2009 09:57:18 -0700 (PDT) Message-ID: <571611.55836.qm@web56107.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2050968415==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: enming.teo@asiasoftsea.net, =?iso-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: Sander Eikelenboom , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============2050968415== Content-Type: multipart/alternative; boundary="0-296562606-1248454638=:55836" --0-296562606-1248454638=:55836 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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 P= VOPS Kernel To: enming.teo@asiasoftsea.net, "Pasi K=E4rkk=E4inen" Cc: "Sander Eikelenboom" , xen-devel@lists.xensource.= com Date: Friday, July 24, 2009, 12:47 PM >After doing the above, I re-installed back the Xen hypervisor, =0Alibrarie= s and tools, and also >the kernel, initrd, and modules. Then I =0Aproceeded= to reboot my machine. After rebooting, > my CentOS 4.7 32-bit PV =0Aguest = is still able to start and run!=0A Why it wouldn't ? If your image stays=A0 the same. > I am still very puzzled! What causes the PV guest initially cannot =0Asta= rt? Then what >subsequently causes the PV guest to suddenly be able to =0As= tart and run???=0A=0A=A0=0A That is not supposed to happen. I would suggest clean OS (without any built= in xen presence) install , followed by=A0 Xen 3.4.1+pvops kernel clean i= nstall. 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 P= VOPS Kernel To: "Teo En Ming" , "Pasi K=E4rkk=E4inen" Cc: "Sander Eikelenboom" , xen-devel@lists.xensource.= com Date: Friday, July 24, 2009, 12:19 PM =0A=0ADear All,=0A=0A=A0=0A=0AI am very puzzled. In investigating the cause= of the sudden success of =0Athe CentOS 4.7 32-bit PV guest being able to r= un, I have uninstalled =0Avirt-manager and all of its dependencies:=0A=0A= =A0=0A=0Adocbook=0A=0Apython-gtk-vnc=0A=0Axen-libs 3.3.1=0A=0Ascrollkeeper= =0A=0Axen-tools 3.3.1=0A=0Alibvirt 0.4.6=0A=0Alibvirt-python=0A=0Avm-instal= l 0.3.24=0A=0A=A0=0A=0AThen I proceeded to "make uninstall" in xen-3.4-test= ing source tree, =0Awhich also removed my self compiled Xen Dom 0 pvops ena= bled kernel, initrd =0Aand kernel modules.=0A=0A=A0=0A=0AAfter doing the ab= ove, I re-installed back the Xen hypervisor, =0Alibraries and tools, and al= so the kernel, initrd, and modules. Then I =0Aproceeded to reboot my machin= e. After rebooting, my CentOS 4.7 32-bit PV =0Aguest is still able to start= and run!=0A=0A=A0=0A=0AI am still very puzzled! What causes the PV guest i= nitially cannot =0Astart? Then what subsequently causes the PV guest to sud= denly be able to =0Astart and run???=0A=0A=A0=0A=0A***scratches head***=0A= =0A=A0=0A=0AAnyway my CentOS 4.7 guest domain is now running. I shall now p= roceed =0Ato virtualize OpenSolaris 2009.06.=0A=0A=A0=0A=0AThank you.=0A=0A= =A0=0A=0AAlso see screenshots of my CentOS 4.7 PV guest here: =0Ahttp://teo= -en-ming-aka-zhang-enming.blogspot.com/2009/07/creating-centos-47-32-bit.ht= ml=0A =20 =A0=0A=0AMr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) =0ABE= ng(Hons)(Mechanical Engineering)=0A=0ATechnical Support Engineer=0A=0AInfor= mation Technology Department=0A =20 Asiasoft Online Pte Ltd=0A =20 Tampines Central 1 #04-01 Tampines Plaza=0A =20 Singapore 529541=0A=0ARepublic of Singapore=0A =20 Mobile Phone: +65-9648-9798=0A =20 MSN: teoenming@hotmail.com=0A =20 =0A =20 =0A=0A =0A -----Original =0AMessage-----=0A =20 From: "Teo En Ming" =0A =20 To: "Teo En Ming" , "Pasi =0AK=E4rkk=E4inen" <= pasik@iki.fi>=0A =20 Cc: Sander Eikelenboom , =0Axen-devel@lists.xensourc= e.com=0A =20 Date: Fri, 24 Jul 2009 22:54:26 +0800=0A =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in =0AJeremy= 's PVOPS Kernel=0A =20 =0A =20 =0A Hi Pasi,=0A =0A =A0=0A =0A It's very strange. Suddenly my CentOS = 4.7 32-bit PV guest is able to =0Astart!!! Previously it refuses to start a= t all.=0A =0A =A0=0A =0A I think I must have changed something in Dom 0= when I attempted "yast =0A--install virt-manager". This action might have = solved the problem. When I =0Atried to install virt-manager, it also tries = to install xen-libs-3.3.1 and =0Axen-tools-3.3.1 as dependencies. However, = I started off my Xen Dom 0 pvops =0Akernel install with Xen 3.4.1 rc8 branc= h.=0A =0A =A0=0A =0A I need to investigate more why suddenly my CentOS = 4.7 32-bit PV guest =0Ais able to start.=0A =20 =A0=0A =0A Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) = =0ABEng(Hons)(Mechanical Engineering)=0A =0A Technical Support Engineer= =0A =0A Information Technology Department=0A =20 Asiasoft Online Pte Ltd=0A =20 Tampines Central 1 #04-01 Tampines Plaza=0A =20 Singapore 529541=0A =0A Republic of Singapore=0A =20 Mobile Phone: +65-9648-9798=0A =20 MSN: teoenming@hotmail.com=0A =20 =0A =20 =0A =0A =20 =0A -----Original =0AMessage-----=0A =20 From: "Teo En Ming" =0A =20 To: "Pasi K=E4rkk=E4inen" =0A =20 Cc: Sander Eikelenboom , =0Axen-devel@lists.xensourc= e.com=0A =20 Date: Fri, 24 Jul 2009 21:54:00 +0800=0A =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in =0AJeremy= 's PVOPS Kernel=0A =20 =0A =20 =0A Hi Pasi,=0A =0A =A0=0A =0A I realized that Fedora 10 32= -bit anaconda installer does not =0Ainstall PAE kernel after mounting the g= uest disk image file. I mounted the =0Aguest disk image file using losetup = and kpartx which adds device nodes to =0A/dev/mapper. I examined the /boot = directory after mounting the guest disk =0Aimage file and found no PAE vmli= nuz and initrd.=0A =0A =A0=0A =0A Still using the mounted Fedor= a 10 32-bit guest disk image file, I =0Achanged root to the guest disk file= systems and attempted to install the PAE =0Akernel. Then I modified menu.ls= t to boot the PAE kernel. After modifying the =0Agrub configuration of the = guest domain, I un-mounted the guest filesystem.=0A =0A =A0=0A =0A= I proceeded to boot the F10 32-bit guest, since I changed to PAE =0Aker= nel. It is able to boot now (since the PAE kernel is xen-aware) but then = =0Ait complains cannot mount /dev/root. Probably something to do with the P= AE =0Ainitrd file.=0A =0A =0A =20 =A0=0A =0A Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineerin= g) =0ABEng(Hons)(Mechanical Engineering)=0A =0A Technical Support Eng= ineer=0A =0A Information Technology Department=0A =20 Asiasoft Online Pte Ltd=0A =20 Tampines Central 1 #04-01 Tampines Plaza=0A =20 Singapore 529541=0A =0A Republic of Singapore=0A =20 Mobile Phone: +65-9648-9798=0A =20 MSN: teoenming@hotmail.com=0A =20 =0A =20 =0A =0A =20 =0A -----Original =0AMessage-----=0A =20 From: Pasi K=E4rkk=E4inen =0A =20 To: Teo En Ming =0A =20 Cc: Sander Eikelenboom , =0Axen-devel@lists.xensourc= e.com=0A =20 Date: Fri, 24 Jul 2009 16:31:19 +0300=0A =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 =0Ain Jeremy= 's PVOPS Kernel=0A =20 =0A =20 =0A On Fri, Jul =0A24, 2009 at 08:37:09PM +0800, Teo En Ming wrote:= =0A =20 > Hi=0A =20 >=0A =20 > I attempted to install Fedora 10 32-bit PV guest using=0A =20 > images/pxeboot/vmlinuz-PAE and =0Aimages/pxeboot/initrd-PAE.img from the= F10=0A =20 > media. The non-PAE kernel could not load the installer. =0AI finished my= Fedora=0A =20 > 10 32-bit PV guest installation but it also cannot boot =0Aup after=0A = =20 > installation, same as the CentOS 4.7 PV guest =0Ainstallation.=0A = =20 >=0A =20 =0A =20 Fedora 10 installer has a bug, as a default it installs =0Anon-PAE kernel = for=0A =20 xen domU. You need to use a kickstart script (like this) to =0Afix it:=0A = =20 http://pasik.reaktio.net/fedora/f10-xen-domu-ks.cfg=0A =20 =0A =20 The important lines being:=0A =20 =0A =20 -kernel=0A =20 kernel-PAE=0A =20 =0A =20 (Fedora 10 and Fedora 11 default kernels are compiled with =0Apv_ops Xen d= omU=0A =20 support enabled, so there's no need for separate kernel-xen =0Awith these = distros).=0A =20 =0A =20 Fedora 11 doesn't have that installer bug, so it installs =0Aright=0A = =20 out-of-the-box as Xen domU.=0A =20 =0A =20 What's the error you get when you start the guest after =0Ainstallation?= =0A =20 Please paste the "xm log" as text.=0A =20 =0A =20 I don't have any problems with CentOS 5.3 dom0.=0A =20 =0A =20 -- Pasi=0A =20 =0A =0A =0A =0A=0A -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A =20 -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-296562606-1248454638=:55836 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
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.

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

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

>After doing the above, I re-installed back the Xen hyperviso= r, =0Alibraries and tools, and also >the kernel, initrd, and modules. Th= en I =0Aproceeded to reboot my machine. After rebooting, > my CentOS 4.7= 32-bit PV =0Aguest is still able to start and run!=0A
Why it wouldn't ? If your image stays  the same.

> I am still very puzzled! What causes the PV= guest initially cannot =0Astart? Then what >subsequently causes the PV = guest to suddenly be able to =0Astart and run???=0A
=0A
 =0A<= /div>
That is not supposed to happen. I would suggest clean OS (w= ithout any built in xen presence) install , followed by  Xen 3.4.1+pv= ops 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 Xen Dom 0 in Jeremy's P= VOPS Kernel
To: "Teo En Ming" <enming.teo@asiasoftsea.net>, "Pasi = K=E4rkk=E4inen" <pasik@iki.fi>
Cc: "Sander Eikelenboom" <linux@= eikelenboom.it>, xen-devel@lists.xensource.com
Date: Friday, July 24,= 2009, 12:19 PM

=0A=0A
Dear All,=0A
=0A
 =0A
=0A
I am very = puzzled. In investigating the cause of the sudden success of =0Athe CentOS = 4.7 32-bit PV guest being able to run, I have uninstalled =0Avirt-manager a= nd all of its dependencies:=0A
=0A
 =0A
=0A
docbook= =0A
=0A
python-gtk-vnc=0A
=0A
xen-libs 3.3.1=0A
=0A<= div>scrollkeeper=0A
=0A
xen-tools 3.3.1=0A
=0A
libvirt 0.= 4.6=0A
=0A
libvirt-python=0A
=0A
vm-install 0.3.24=0A=0A
 =0A
=0A
Then I proceeded to "make uninstall" in xe= n-3.4-testing source tree, =0Awhich also removed my self compiled Xen Dom 0= pvops enabled kernel, initrd =0Aand kernel modules.=0A
=0A
 = =0A
=0A
After doing the above, I re-installed back the Xen hypervi= sor, =0Alibraries and tools, and also the kernel, initrd, and modules. Then= I =0Aproceeded to reboot my machine. After rebooting, my CentOS 4.7 32-bit= PV =0Aguest is still able to start and run!=0A
=0A
 =0A=0A
I am still very puzzled! What causes the PV guest initially cannot= =0Astart? Then what subsequently causes the PV guest to suddenly be able t= o =0Astart and run???=0A
=0A
 =0A
=0A
***scratches h= ead***=0A
=0A
 =0A
=0A
Anyway my CentOS 4.7 guest do= main is now running. I shall now proceed =0Ato virtualize OpenSolaris 2009.= 06.=0A
=0A
 =0A
=0A
Thank you.=0A
=0A
 = ;=0A
=0A
Also see screenshots of my CentOS 4.7 PV guest here: =0Ah= ttp://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/creating-centos-47-= 32-bit.html=0A
 =0A
=0A
Mr. Teo En Ming (Zhang En= ming) Dip(Mechatronics Engineering) =0ABEng(Hons)(Mechanical Engineering)= =0A
=0A
Technical Support Engineer=0A
=0A
Information Tec= hnology Department=0A
Asiasoft Online Pte Ltd=0A
Tampines Central= 1 #04-01 Tampines Plaza=0A
Singapore 529541=0A
=0A
Republic = of Singapore=0A
Mobile Phone: +65-9648-9798=0A
MSN: teoenming@hot= mail.com=0A
=0A
=0A
=0A
=0A
-----Original =0AMessage-----=0A
From:= "Teo En Ming" <enming.teo@asiasoftsea.net>=0A
To: "Teo En Ming= " <enming.teo@asiasoftsea.net>, "Pasi =0AK=E4rkk=E4inen" <pasik@ik= i.fi>=0A
Cc: Sander Eikelenboom <linux@eikelenboom.it>, =0Ax= en-devel@lists.xensource.com=0A
Date: Fri, 24 Jul 2009 22:54:26 +0800= =0A
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in = =0AJeremy's PVOPS Kernel=0A
=0A
=0A
Hi Pasi,=0A
=0A
 =0A
=0A
It's ver= y strange. Suddenly my CentOS 4.7 32-bit PV guest is able to =0Astart!!! Pr= eviously it refuses to start at all.=0A
=0A
 =0A
= =0A
I think I must have changed something in Dom 0 when I attempted "= yast =0A--install virt-manager". This action might have solved the problem.= When I =0Atried to install virt-manager, it also tries to install xen-libs= -3.3.1 and =0Axen-tools-3.3.1 as dependencies. However, I started off my Xe= n Dom 0 pvops =0Akernel install with Xen 3.4.1 rc8 branch.=0A
=0A <= div> =0A
=0A
I need to investigate more why suddenly my C= entOS 4.7 32-bit PV guest =0Ais able to start.=0A
 =0A
<= /font>=0A
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering= ) =0ABEng(Hons)(Mechanical Engineering)=0A
=0A
Technical Suppo= rt Engineer=0A
=0A
Information Technology Department=0A Asiasoft Online Pte Ltd=0A
Tampines Central 1 #04-01 Tampines Plaza= =0A
Singapore 529541=0A
=0A
Republic of Singapore=0A =
Mobile Phone: +65-9648-9798=0A
MSN: teoenming@hotmail.com=0A =
=0A
=0A
=0A
=0A
-----Original =0AMessage-----=0A
From: "= Teo En Ming" <enming.teo@asiasoftsea.net>=0A
To: "Pasi K=E4rk= k=E4inen" <pasik@iki.fi>=0A
Cc: Sander Eikelenboom <linux@= eikelenboom.it>, =0Axen-devel@lists.xensource.com=0A
Date: Fri, = 24 Jul 2009 21:54:00 +0800=0A
Subject: Re: Re[8]: [Xen-devel] Unabl= e to Configure Xen Dom 0 in =0AJeremy's PVOPS Kernel=0A
=0A
= =0A
Hi Pasi,=0A
=0A  =0A
=0A
I realized that Fedora 10 32-bit anaconda= installer does not =0Ainstall PAE kernel after mounting the guest disk ima= ge file. I mounted the =0Aguest disk image file using losetup and kpartx wh= ich adds device nodes to =0A/dev/mapper. I examined the /boot directory aft= er mounting the guest disk =0Aimage file and found no PAE vmlinuz and initr= d.=0A
=0A
 =0A
=0A
Still using the m= ounted Fedora 10 32-bit guest disk image file, I =0Achanged root to the gue= st disk filesystems and attempted to install the PAE =0Akernel. Then I modi= fied menu.lst to boot the PAE kernel. After modifying the =0Agrub configura= tion of the guest domain, I un-mounted the guest filesystem.=0A
= =0A
 =0A
=0A
I proceeded to boot the F10 32-b= it guest, since I changed to PAE =0Akernel. It is able to boot now (since t= he PAE kernel is xen-aware) but then =0Ait complains cannot mount /dev/root= . Probably something to do with the PAE =0Ainitrd file.=0A
=0A =
=0A
 =0A
=0A
Mr. Teo En Ming (Zh= ang Enming) Dip(Mechatronics Engineering) =0ABEng(Hons)(Mechanical Engineer= ing)=0A
=0A
Technical Support Engineer=0A
=0A =
Information Technology Department=0A
Asiasoft Online Pte Ltd= =0A
Tampines Central 1 #04-01 Tampines Plaza=0A
Singapore= 529541=0A
=0A
Republic of Singapore=0A
Mobile Ph= one: +65-9648-9798=0A
MSN: teoenming@hotmail.com=0A
=0A =
=0A
=0A
=0A
-----Original =0AMessage-----=0A
From: P= asi K=E4rkk=E4inen <pasik@iki.fi>=0A
To: Teo En Ming <en= ming.teo@asiasoftsea.net>=0A
Cc: Sander Eikelenboom <linux@= eikelenboom.it>, =0Axen-devel@lists.xensource.com=0A
Date: Fri= , 24 Jul 2009 16:31:19 +0300=0A
Subject: Re: Re[8]: [Xen-devel] U= nable to Configure Xen Dom 0 =0Ain Jeremy's PVOPS Kernel=0A
=0A =
=0A
= On Fri, Jul =0A24, 2009 at 08:37:09PM +0800, Teo En Ming wrote:=0A =
> Hi=0A
>=0A
> I attempted to install= Fedora 10 32-bit PV guest using=0A
> images/pxeboot/vmlinuz= -PAE and =0Aimages/pxeboot/initrd-PAE.img from the F10=0A
> = media. The non-PAE kernel could not load the installer. =0AI finished my Fe= dora=0A
> 10 32-bit PV guest installation but it also cannot= boot =0Aup after=0A
> installation, same as the CentOS 4.7 = PV guest =0Ainstallation.=0A
>=0A
=0A
= Fedora 10 installer has a bug, as a default it installs =0Anon-PAE kernel = for=0A
xen domU. You need to use a kickstart script (like this)= to =0Afix it:=0A
http://pasik.reaktio.= net/fedora/f10-xen-domu-ks.cfg=0A
=0A
The import= ant lines being:=0A
=0A
-kernel=0A
kerne= l-PAE=0A
=0A
(Fedora 10 and Fedora 11 default kernel= s are compiled with =0Apv_ops Xen domU=0A
support enabled, so t= here's no need for separate kernel-xen =0Awith these distros).=0A =0A
Fedora 11 doesn't have that installer bug, so it installs= =0Aright=0A
out-of-the-box as Xen domU.=0A
=0A =
What's the error you get when you start the guest after =0Ainstalla= tion?=0A
Please paste the "xm log" as text.=0A
=0A =
I don't have any problems with CentOS 5.3 dom0.=0A
= =0A
-- Pasi=0A
=0A
=0A
= =0A =0A=0A

-----Inline Attachment Follo= ws-----

___________________________________= ____________
Xen-devel mailing list
Xen-devel@lis= ts.xensource.com
http://lists.xensource.com/xen-devel

=0A=0A

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

_________= ______________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensour= ce.com/xen-devel

=0A=0A = --0-296562606-1248454638=:55836-- --===============2050968415== 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 --===============2050968415==--