From: Boris Derzhavets Subject: Re: Re[8]: Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel Date: Fri, 24 Jul 2009 09:47:46 -0700 (PDT) Message-ID: <572725.43147.qm@web56102.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0510072122==" 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 --===============0510072122== Content-Type: multipart/alternative; boundary="0-1308519204-1248454066=:43147" --0-1308519204-1248454066=:43147 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable >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=0A --0-1308519204-1248454066=:43147 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <= /tr>
>Af= ter doing the above, I re-installed back the Xen hypervisor, =0Alibraries a= nd tools, and also >the kernel, initrd, and modules. Then I =0Aproceeded= to reboot my machine. After rebooting, > my CentOS 4.7 32-bit PV =0Ague= st 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 ca= nnot =0Astart? Then what >subsequently causes the PV guest to suddenly b= e able to =0Astart and run???=0A
=0A
 =0A

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

Boris.

--- On Fri, 7/24/09, Teo En Ming <enm= ing.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 PVOPS 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
Dea= r All,=0A
=0A
 =0A
=0A
I am very puzzled. In investi= gating the cause of the sudden success of =0Athe CentOS 4.7 32-bit PV guest= being able to run, I have uninstalled =0Avirt-manager and all of its depen= dencies:=0A
=0A
 =0A
=0A
docbook=0A
=0A
pyt= hon-gtk-vnc=0A
=0A
xen-libs 3.3.1=0A
=0A
scrollkeeper=0A<= /div>=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<= /div>=0A
Then I proceeded to "make uninstall" in xen-3.4-testing source= tree, =0Awhich also removed my self compiled Xen Dom 0 pvops enabled kerne= l, initrd =0Aand kernel modules.=0A
=0A
 =0A
=0A
Aft= er doing the above, I re-installed back the Xen hypervisor, =0Alibraries an= d tools, and also the kernel, initrd, and modules. Then I =0Aproceeded to r= eboot my machine. After rebooting, my CentOS 4.7 32-bit PV =0Aguest is stil= l 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 to =0Astart and run??= ?=0A
=0A
 =0A
=0A
***scratches head***=0A
=0A =0A
=0A
Anyway my CentOS 4.7 guest domain is now running.= I shall now proceed =0Ato virtualize OpenSolaris 2009.06.=0A
=0A
=  =0A
=0A
Thank you.=0A
=0A
 =0A
=0A
Al= so see screenshots of my CentOS 4.7 PV guest here: =0Ahttp://teo-en-ming-ak= a-zhang-enming.blogspot.com/2009/07/creating-centos-47-32-bit.html=0A
=  =0A
=0A
Mr. Teo En Ming (Zhang Enming) Dip(Mechatroni= cs Engineering) =0ABEng(Hons)(Mechanical Engineering)=0A
=0A
Techn= ical Support Engineer=0A
=0A
Information Technology Department=0A =
Asiasoft Online Pte Ltd=0A
Tampines Central 1 #04-01 Tampines Pla= za=0A
Singapore 529541=0A
=0A
Republic of Singapore=0A
M= obile Phone: +65-9648-9798=0A
MSN: teoenming@hotmail.com=0A
=0A =
=0A
=0A
=0A
-----Original =0AMessage-----=0A
From: "Teo En Ming" <enm= ing.teo@asiasoftsea.net>=0A
To: "Teo En Ming" <enming.teo@asias= oftsea.net>, "Pasi =0AK=E4rkk=E4inen" <pasik@iki.fi>=0A
Cc: = Sander Eikelenboom <linux@eikelenboom.it>, =0Axen-devel@lists.xensour= ce.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 Kern= el=0A
=0A
=0A
Hi Pasi,=0A=
=0A
 =0A
=0A
It's very strange. Suddenly my= CentOS 4.7 32-bit PV guest is able to =0Astart!!! Previously it refuses to= start at all.=0A
=0A
 =0A
=0A
I think I mus= t 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 ins= tall 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 branch.=0A
=0A
 =0A
= =0A
I need to investigate more why suddenly my CentOS 4.7 32-bit PV g= uest =0Ais able to start.=0A
 =0A
=0A
Mr. T= eo En Ming (Zhang Enming) Dip(Mechatronics Engineering) =0ABEng(Hons)(Mecha= nical Engineering)=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 Phone: +6= 5-9648-9798=0A
MSN: teoenming@hotmail.com=0A
=0A
=0A =
=0A
=0A
-----Original =0AMessage-----=0A
From: "Teo En Ming" <enmi= ng.teo@asiasoftsea.net>=0A
To: "Pasi K=E4rkk=E4inen" <pasik@i= ki.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] Unable to Configure Xen D= om 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 image file. I mounted t= he =0Aguest disk image file using losetup and kpartx which adds device node= s to =0A/dev/mapper. I examined the /boot directory after mounting the gues= t disk =0Aimage file and found no PAE vmlinuz and initrd.=0A
=0A =
 =0A
=0A
Still using the mounted Fedora 10 32-= bit guest disk image file, I =0Achanged root to the guest disk filesystems = and attempted to install the PAE =0Akernel. Then I modified menu.lst to boo= t the PAE kernel. After modifying the =0Agrub configuration of the guest do= main, I un-mounted the guest filesystem.=0A
=0A
 =0A =
=0A
I proceeded to boot the F10 32-bit guest, since I chan= ged to PAE =0Akernel. It is able to boot now (since the PAE kernel is xen-a= ware) but then =0Ait complains cannot mount /dev/root. Probably something t= o do with the PAE =0Ainitrd file.=0A
=0A
=0A
&nbs= p;=0A
=0A
Mr. Teo En Ming (Zhang Enming) Dip(Mechat= ronics Engineering) =0ABEng(Hons)(Mechanical Engineering)=0A
=0A =
Technical Support Engineer=0A
=0A
Information Techn= ology Department=0A
Asiasoft Online Pte Ltd=0A
Tampines C= entral 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: Pasi K=E4rkk=E4inen &l= t;pasik@iki.fi>=0A
To: Teo En Ming <enming.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] Unable to Configure X= en 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/p= xeboot/initrd-PAE.img from the F10=0A
> media. The non-PAE k= ernel could not load the installer. =0AI finished my Fedora=0A
= > 10 32-bit PV guest installation but it also cannot boot =0Aup after=0A=
> installation, same as the CentOS 4.7 PV guest =0Ainstalla= tion.=0A
>=0A
=0A
Fedora 10 installer= has a bug, as a default it installs =0Anon-PAE kernel for=0A
x= en domU. You need to use a kickstart script (like this) to =0Afix it:=0A =
http://pasik.reaktio.net/fedora/f10-xen-d= omu-ks.cfg=0A
=0A
The important lines being:=0A =
=0A
-kernel=0A
kernel-PAE=0A
= =0A
(Fedora 10 and Fedora 11 default kernels are compiled with = =0Apv_ops Xen domU=0A
support enabled, so there's no need for s= eparate kernel-xen =0Awith these distros).=0A
=0A
Fe= dora 11 doesn't have that installer bug, so it installs =0Aright=0A =
out-of-the-box as Xen domU.=0A
=0A
What's the e= rror you get when you start the guest after =0Ainstallation?=0A
= Please paste the "xm log" as text.=0A
=0A
I don't h= ave any problems with CentOS 5.3 dom0.=0A
=0A
-- Pas= i=0A
=0A
=0A
=0A
=0A=0A

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

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

=0A=0A --0-1308519204-1248454066=:43147-- --===============0510072122== 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 --===============0510072122==--