From: Boris Derzhavets Subject: Re: Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel Date: Sun, 26 Jul 2009 02:03:21 -0700 (PDT) Message-ID: <36393.16047.qm@web56107.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1564384078==" 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 Cc: Sander Eikelenboom , "Pasi Kr"@yahoo.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1564384078== Content-Type: multipart/alternative; boundary="0-530575344-1248599001=:16047" --0-530575344-1248599001=:16047 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable The way to obtain IP for DomU address is completely unrelated with installa= tion source. Boris. --- On Sun, 7/26/09, Mr. Teo En Ming (Zhang Enming) wrote: From: Mr. Teo En Ming (Zhang Enming) Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Ke= rnel To: enming.teo@asiasoftsea.net Cc: "Sander Eikelenboom" , bderzhavets@yahoo.com, xen= -devel@lists.xensource.com, Pasi Kr@yahoo.com Date: Sunday, July 26, 2009, 1:16 AM =0A=0A=0A =0AHmmmm, just wondering... =0A =0ASince I am going to do an install from the CD-ROM/ISO, why do I need to= =0Aget an IP address for the DomU unless it's going to be a network=0Ainsta= ll, e.g. HTTP, FTP, NFS, etc? =0A =0A--=20 Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mec= hanical 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 =0A =0AMr. Teo En Ming (Zhang Enming) wrote:=0A=0A =0AAt the moment there is o= nly one network card installed on my lab PC in=0Amy company running OpenSUS= E 11.1 32-bit with Xen 3.4.1-rc8 Dom 0 kernel=0A2.6.30-rc6 (jeremy). So whe= n there are more network cards installed,=0Athere will be eth0, eth1, eth2 = ethernet bridges, etc. =0A =20 =0AThen I can assign the virtual network card in each virtual machine to a= =0Aspecific ethernet network bridge (out of many bridges) in Domain 0=0Ausi= ng the vif command in guest domain configuration. =0A =20 =0A --=20 Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mec= hanical 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 =0A =20 =0AMr. Teo En Ming (Zhang Enming) wrote:=0A =0A=0A =0ADear Boris, =0A =20 =0AThe ethernet network bridge on OpenSUSE 11.1 is eth0. =0A =20 =0A --=20 Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mec= hanical 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 =0A =20 =0ABoris Derzhavets wrote:=0A =0A =0A =0A =0A = This means that OSOL installer (by default ) will issue=0ADHCPDISCOVE= R via your Xen bridge, looking for DHCP server on your LAN.=0AOnly on RHEL = 5.3 =0A(F10 with Xen 3.3.1 src.rpm been installed along with generated=0Apackag= es) with libvirtd & dnsmasq up and running you can specify=20 =0A=A0vif=3D['bridge=3Dvirbr0' ] to detect DHCP Server at your Dom0.=20 =0A =20 =0AView for instance :- =0A http://bderzhavets.wordpress.com/2009/05/07/backport-zfs-sup= port-to-xen-331-f10-dom0-kernel-2630-rc3-tip/ =0A =20 =0AI don't have any experience with OpenSuse 11.1 . I hardly remind they=0A= tried to reproduce RH's technology. Most probably they did it in SLES=0A11 = (not sure). Check for libvirtd&dnsmasq daemons up and running. =0ABut if your OpenSuse 11.1 Dom0 is on "dhcp" bridge itself , then no=0Apr= oblems. Just vif=3D['bridge=3Deth0']. =0A =20 =0ABoris. =0A =20 =0A--- On Sat, 7/25/09, Mr. Teo En Ming (Zhang Enming) =0Awrote: =0A =20 =0AFrom: Mr. Teo En Ming (Zhang Enming) =0ASubject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's=0APVO= PS Kernel =0ATo: bderzhavets@yahoo.com =0ACc: "Sander Eikelenboom" ,=0APasi Kr@yahoo.com, xe= n-devel@lists.xensource.com =0ADate: Saturday, July 25, 2009, 12:32 PM =0A =20 =0A Dear Boris, =0A =20 =0AThis means I have to install a DHCP server or dnsmasq in my Dom 0,=0Alis= tening on my Dom 0's IP address, so that it can assign dynamic IP=0Aaddress= es to the DomU. =0A =20 =0ABy the way, are there any paravirtualized device drivers that I can=0Ain= stall in DomU to improve the performance of the virtual machine? =0A =20 =0AThank you. =0A --=20 Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mec= hanical 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 =0A =20 =0ABoris Derzhavets wrote:=0A =0A =0A = =0A =0A >I noticed under th= e guest domain configuration there=0Ais a parameter=0Acalled >'extra' kerne= l parameter. Does the 'nowin' argument stand=0Afor no=0A>graphical windows? =0A =20 =0ALogin as jack/jack to text console. =0A =20 =0AWait until :- =0A =20 =0A$ pfexec ifconfig -a =0A =20 =0Awill show up your IPv4 address=20 =0A =20 =0A$ mkdir .vnc =0A$ cp .Xclients .vnc/xstartup =0A$ vncserver =0A =20 =0AConnect via vncviewer IP-DomU:1 from another terminal session to OSOL=0A= DomU. In case OSOL installer will fail to obtain IP via DHCPDISCOVER, =0Alet me know. It might happen and requires Solaris Kernel Model Debugger =0Ato disable checksum offloading at boot up. Seems to be hardware=0Adepend= ent issue for OSOL 2009.06 =0A =20 =0A********************************** =0ACopy ramdisk and kernel to Dom0 =0A********************************** =0A =20 =0A[root@ServerXen isos]# cat copy.sh =0Amount -o loop,ro osol-0906-x86.iso /mnt =0Acp /mnt/boot/amd64/x86.microroot /home/boris/solaris =0Acp /mnt/platform/i86xpv/kernel/amd64/unix /home/boris/solaris =0A =20 =0A =20 =0A =20 =0A*********************** =0AInstallation profile:- =0A*********************** =0A =20 =0A[root@ServerXen solaris]# cat osol200906.install =0Aname =3D "sol0906" =0Avcpus =3D 1 =0Amemory =3D "1024" =0Akernel =3D "/home/boris/solaris/unix" =0Aramdisk =3D "/home/boris/solaris/x86.microroot" =0Aextra =3D "/platform/i86xpv/kernel/amd64/unix - nowin -B=0Ainstall_media= =3Dcdrom" =0Adisk =3D ['phy:/dev/loop0,xvdc:cdrom,r','phy:/dev/sdb5,xvda,w'] =0A# Would work as well =0A# =0Adisk =3D ['phy:/dev/loop0,6:cdrom,r','phy:/dev/sdb5,0,w'] =0A vif =3D ['bridge=3Deth1'] =0Aon_shutdown =3D "destroy" =0Aon_reboot =3D "destroy" =0Aon_crash =3D "destroy" =0A =20 =0ABoris =0A =20 =0A--- On Sat, 7/25/09, Mr. Teo En Ming (Zhang Enming) =0Awrote: =0A =20 =0AFrom: Mr. Teo En Ming (Zhang Enming) =0ASubject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's=0APVO= PS Kernel =0ATo: enming.teo@asiasoftsea.net =0ACc: "Sander Eikelenboom" ,=0A"Boris=0ADerzhavets" = ,=0A xen-devel@lists.xensourc= e.com,=0A=3D?ISO-8859-1?Q?Pasi_K=3DE4r?=3D@yahoo.com =0ADate: Saturday, July 25, 2009, 7:14 AM =0A =20 =0A Dear All, =0A =20 =0AI am trying to install OpenSolaris 2009.06 32-bit paravirtualized guest= =0Aon OpenSUSE 11.1 32-bit paravirt-ops enabled Xen 3.4.1-rc8 Dom 0 Kernel= =0A2.6.30-rc6. =0A =20 =0AHowever, I am getting an opensolaris console login prompt. There is no= =0AGNOME DE for me to launch the GUI installer for OpenSolaris. I am using= =0Athe OpenSolaris LiveCD 32-bit.=20 =0A =20 =0AI noticed under the guest domain configuration there is a parameter=0Aca= lled 'extra' kernel parameter. Does the 'nowin' argument stand for no=0Agra= phical windows? =0A =20 =0A http://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT4kZta-= I/AAAAAAAAAE0/xxUGuNunPoY/s1600-h/01.jpeg =0A =20 =0A http://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT5YG2sN= I/AAAAAAAAAFM/H0ntFt6LCx4/s1600-h/04.jpeg =0A =20 =0A http://2.bp.blogspot.com/_zzjv8MCM2sk/SmoT5uzjF6= I/AAAAAAAAAFU/2Y3KNWPUwWk/s1600-h/05.jpeg =0A =20 =0AThen I also get the "invalid disk device number (768)" error. Do I need= =0Ato use xvda instead of hda? =0A =20 =0AThank you very much. =0A =20 =0A --=20 Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mec= hanical 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 =0A =20 =0A =20 =0ATeo En Ming wrote:=0A =0A = As a matter of fact, our servers are=0Aeither=0ADell=0APowerEdge=0A1950/2= 950 and IBM xSeries. =0A =A0 =0A = I am just testing it out on our lab PC=0Afirst.=20 =0A=A0 =0A =0A Mr. Teo En= Ming (Zhang Enming)=0ADip(Mechatronics=0AEngineering)=0ABEng(Hons)(Mechani= cal Engineering) =0A Technical Support Engineer = =0A Information Technology Department=20 =0AAsiasoft Online Pte Ltd=20 =0ATampines Central 1 #04-01 Tampines Plaza=20 =0ASingapore 529541 =0A Republic of Singapore=20 =0AMobile Phone: +65-9648-9798=20 =0AMSN: teoenming@hotmail.com=20 =0A =20 =0A =0A =20 =0A -----Original=0AMessage-----=20 =0AFrom: "Teo En Ming" =20 =0ATo: "Boris Derzhavets" ,=0A"Pasi K=E4rkk=E4inen" = =20 =0ACc: Sander Eikelenboom , xen-devel@lists.xensource= .com=0A =20 =0ADate: Sat, 25 Jul 2009 02:27:02 +0800=20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0A =20 =0A =0A Dear Boris, = =0A =A0 =0A My next s= tep will be a 64-bit Xen Dom=0A0=0Ahost.=20 =0A=A0 =0A =0A Mr. Te= o En Ming (Zhang Enming)=0ADip(Mechatronics=0AEngineering)=0ABEng(Hons)(Mec= hanical Engineering) =0A Technical Support Engin= eer =0A Information Technology Department=20 =0AAsiasoft Online Pte Ltd=20 =0ATampines Central 1 #04-01 Tampines Plaza=20 =0ASingapore 529541 =0A Republic of Singapore=20 =0AMobile Phone: +65-9648-9798=20 =0AMSN: teoenming@hotmail.com=20 =0A =20 =0A =0A =20 =0A -----Original=0AMessage-----=20 =0AFrom: Boris Derzhavets =20 =0ATo: Pasi K=E4rkk=E4inen , enming.teo@asiasoftsea.net=0A = =20 =0ACc: Sander Eikelenboom , xen-devel@lists.xensource= .com=0A =20 =0ADate: Fri, 24 Jul 2009 10:57:49 -0700 (PDT)=20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0A =20 =0A =0A =0A = =0A Teo, i= t is up to you how to manage, if you just having=0Afun.=20 =0AOtherwise, downloading 64-bit OpenSuse 11.1 ISO image=20 =0Atakes just 12-14 hr even at slow ADSL speed ( like 100 KB/sec).=20 =0AInstall takes 30 minutes and brings you to the trusted results, instead= =0A =20 =0Aof wasting a lot of time in case of business environment assignment.=20 =0APasi has 32-bit experience due to hardware limitations, which you don't= =0A =20 =0Ahave.=20 =0A =20 =0ABoris.=20 =0A =20 =0A--- On Fri, 7/24/09, Teo En Ming =0Awrote:= =20 =0A =0A = =20 =0AFrom: Teo En Ming =20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0ATo: "Boris Derzhavets" ,=0A"Pasi K=E4rkk=E4inen" = =20 =0ACc: "Sander Eikelenboom" , xen-devel@lists.xensour= ce.com=0A =20 =0ADate: Friday, July 24, 2009, 12:56 PM=20 =0A =20 =0A =0A = Dear Boris, =0A =A0 =0A = My colleague installed=0AOpenSUSE=0A11.1=0A3= 2-bit on the=0ACore 2 Duo machine in our labs. Please see my earlier replie= s in the=0Asame topic. =0A =A0 =0A = I was too lazy to reformat=0Aand=0Ainstal= l=0A64-bit=0AOpenSUSE, so I proceeded with Xen Dom 0 pvops kernel compilati= on on=0A32-bit Linux host. =0A =A0 =0A= I admit I am getting a lot=0Aof=0Ahea= dache.=0AHaha.=20 =0A=A0 =0A =0A = Mr. Teo En Ming (Zhang=0AEnming)=0ADip(Mechatronics=0AEnginee= ring) BEng(Hons)(Mechanical Engineering) =0A = Technical Support Engineer =0A = Information Technology=0ADepartment=20 =0AAsiasoft Online Pte Ltd=20 =0ATampines Central 1 #04-01 Tampines Plaza=20 =0ASingapore 529541 =0A Republic of Si= ngapore=20 =0AMobile Phone: +65-9648-9798=20 =0AMSN: teoenming@hotmail.com=20 =0A =20 =0A =0A = =20 =0A -----Original=0AMessage-----=20 =0AFrom: Boris Derzhavets =20 =0ATo: enming.teo@asiasoftsea.net,=0APasi K=E4rkk=E4inen =20 =0ACc: Sander Eikelenboom , xen-devel@lists.xensource= .com=0A =20 =0ADate: Fri, 24 Jul 2009 09:57:18 -0700 (PDT)=20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0A =20 =0A =0A = =0A =0A = Once again, i don't see any reason to to = run 32-bit OS on=0ACore2Duo,=20 =0Aunless you like Xen head ache. Core development (PVOPS) is obviously=20 =0Arunning in 64-bit environment.=20 =0A =20 =0ABoris.=20 =0A =20 =0A--- On Fri, 7/24/09, Boris Derzhavets =0Awrote:= =20 =0A =0A = =20 =0AFrom: Boris Derzhavets =20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0ATo: enming.teo@asiasoftsea.net,=0A"Pasi K=E4rkk=E4inen" = =20 =0ACc: "Sander Eikelenboom" , xen-devel@lists.xensour= ce.com=0A =20 =0ADate: Friday, July 24, 2009, 12:47 PM=20 =0A =20 =0A =0A = =0A = =0A =0A = >After doing the=0Aabove, I re-in= stalled back the Xen hypervisor, libraries and tools, and=0Aalso >the kerne= l, initrd, and modules. Then I proceeded to reboot my=0Amachine. After rebo= oting, > my CentOS 4.7 32-bit PV guest is still=0Aable to start and run! = =20 =0A =20 =0AWhy it wouldn't ? If your image stays=A0 the same.=20 =0A =20 =0A =0A = > I am=0Astill=0Avery=0Apuzzled! Wha= t=0Acauses the PV guest initially cannot start? Then what >subsequently=0Ac= auses the PV guest to suddenly be able to start and run??? =0A = =A0 =0A = =20 =0AThat is not supposed to happen. I would suggest clean OS (without any=0A= built in xen presence) install , followed by=A0 Xen 3.4.1+pvops kernel=0Acl= ean install.=20 =0A =20 =0ABoris.=20 =0A =20 =0A--- On Fri, 7/24/09, Teo En Ming =0Awrote:= =20 =0A =0A = =20 =0AFrom: Teo En Ming =20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0ATo: "Teo En Ming" ,=0A"Pasi K=E4rkk=E4inen" = =20 =0ACc: "Sander Eikelenboom" , xen-devel@lists.xensour= ce.com=0A =20 =0ADate: Friday, July 24, 2009, 12:19 PM=20 =0A =20 =0A =0A = Dear All, =0A = =A0 =0A = I am very=0Apuzzled. In=0Ainvestigating the cause= of the sudden success of the CentOS 4.7 32-bit=0APV guest being able to ru= n, I have uninstalled virt-manager and all of=0Aits dependencies: =0A = =A0 =0A = docbook =0A = python-gtk-vnc=0A = =0A = xen-libs=0A3.3.1 =0A = scrollkeeper=0A = =0A xen-too= ls=0A3.3.1 =0A libvi= rt=0A0.4.6 =0A libvi= rt-python=0A =0A = vm-install=0A0.3.24 =0A= =A0 =0A = Then I=0Aproceeded to=0A"make= =0Auninstall" in xen-3.4-testing source tree, which also removed my self=0A= compiled Xen Dom 0 pvops enabled kernel, initrd and kernel modules. =0A = =A0 =0A = After=0Adoing=0Athe above, I=0Are-i= nstalled back the Xen hypervisor, libraries and tools, and also the=0Akerne= l, initrd, and modules. Then I proceeded to reboot my machine.=0AAfter rebo= oting, my CentOS 4.7 32-bit PV guest is still able to start=0Aand run! =0A = =A0 =0A = I am still=0Avery puzzled!=0AWha= t=0Acauses the PV guest initially cannot start? Then what subsequently=0Aca= uses the PV guest to suddenly be able to start and run??? =0A = =A0 =0A = ***scratches=0Ahead*** =0A = =A0 =0A = Anyway my=0ACentOS 4.7=0Aguest domain=0Ais now run= ning. I shall now proceed to virtualize OpenSolaris 2009.06. =0A = =A0 =0A = Thank you.=0A = =0A = =A0 =0A A= lso see=0Ascreenshots of=0Amy CentOS=0A4.7 PV guest here: http://teo-en-min= g-aka-zhang-enming.blogspot.com/2009/07/creating-centos-47-32-bit.html=0A = =20 =0A=A0 =0A =0A = Mr. Teo En=0AMing (Zhang= =0AEnming)=0ADip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineerin= g) =0A Technical=0AS= upport=0AEngineer =0A = Information=0ATechnology=0ADepartment=20 =0AAsiasoft Online Pte Ltd=20 =0ATampines Central 1 #04-01 Tampines Plaza=20 =0ASingapore 529541 =0A = Republic=0Aof=0ASingapore=20 =0AMobile Phone: +65-9648-9798=20 =0AMSN: teoenming@hotmail.com=20 =0A =20 =0A =0A = =20 =0A -----Original=0A= Message-----=20 =0AFrom: "Teo En Ming" =20 =0ATo: "Teo En Ming" ,=0A"Pasi K=E4rkk=E4inen" = =20 =0ACc: Sander Eikelenboom , xen-devel@lists.xensource= .com=0A =20 =0ADate: Fri, 24 Jul 2009 22:54:26 +0800=20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0A =20 =0A =0A = Hi Pasi,=0A = =0A = =A0 =0A = It's=0Avery=0Astrange.=0ASuddenly my=0ACentOS 4.7 32-bit P= V guest is able to start!!! Previously it refuses to=0Astart at all. =0A = =A0 =0A = I think=0AI=0Amust have=0Achan= ged=0Asomething in Dom 0 when I attempted "yast --install virt-manager". Th= is=0Aaction might have solved the problem. When I tried to install=0Avirt-m= anager, it also tries to install xen-libs-3.3.1 and=0Axen-tools-3.3.1 as de= pendencies. However, I started off my Xen Dom 0=0Apvops kernel install with= Xen 3.4.1 rc8 branch. =0A = =A0 =0A I= need=0Ato=0Ainvestigate=0Amore why=0Asuddenly my CentOS 4.7 32-bit PV gues= t is able to start.=20 =0A=A0 =0A =0A = Mr. Teo=0AEn=0AMing (= Zhang=0AEnming)=0ADip(Mechatronics Engineering) BEng(Hons)(Mechanical Engin= eering) =0A Techni= cal=0ASupport=0AEngineer =0A = Information=0ATechnology=0ADepartment=20 =0AAsiasoft Online Pte Ltd=20 =0ATampines Central 1 #04-01 Tampines Plaza=20 =0ASingapore 529541 =0A = Republic=0Aof=0ASingapore=20 =0AMobile Phone: +65-9648-9798=20 =0AMSN: teoenming@hotmail.com=20 =0A =20 =0A =0A = =20 =0A -----Original= =0AMessage-----=20 =0AFrom: "Teo En Ming" =20 =0ATo: "Pasi K=E4rkk=E4inen" =20 =0ACc: Sander Eikelenboom , xen-devel@lists.xensource= .com=0A =20 =0ADate: Fri, 24 Jul 2009 21:54:00 +0800=20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0A =20 =0A =0A = Hi=0APasi, =0A = =A0 =0A = I=0Arealized=0Athat=0AFedora 10= =0A32-bit anaconda installer does not install PAE kernel after mounting=0At= he guest disk image file. I mounted the guest disk image file using=0Aloset= up and kpartx which adds device nodes to /dev/mapper. I examined=0Athe /boo= t directory after mounting the guest disk image file and found=0Ano PAE vml= inuz and initrd. =0A = =A0 =0A Sti= ll=0Ausing the=0Amounted Fedora=0A10 32-bit guest disk image file, I change= d root to the guest disk=0Afilesystems and attempted to install the PAE ker= nel. Then I modified=0Amenu.lst to boot the PAE kernel. After modifying the= grub configuration=0Aof the guest domain, I un-mounted the guest filesyste= m. =0A =A0 =0A = I=0Aproceeded to = boot=0Athe F10=0A32-bit guest, since I changed to PAE kernel. It is able to= boot now=0A(since the PAE kernel is xen-aware) but then it complains canno= t mount=0A/dev/root. Probably something to do with the PAE initrd file. =0A= =20 =0A=A0 =0A =0A = Mr.=0ATeo=0AEn=0A= Ming=0A(Zhang Enming)=0ADip(Mechatronics Engineering) BEng(Hons)(Mechanical= Engineering) =0A = Technical=0ASupport=0AEngineer =0A = Information=0ATechnology=0ADepartment=20 =0AAsiasoft Online Pte Ltd=20 =0ATampines Central 1 #04-01 Tampines Plaza=20 =0ASingapore 529541 =0A = Republic=0Aof=0ASingapore=20 =0AMobile Phone: +65-9648-9798=20 =0AMSN: teoenming@hotmail.com=20 =0A =20 =0A =0A = =20 =0A -----Origina= l=0AMessage-----=20 =0AFrom: Pasi K=E4rkk=E4inen =20 =0ATo: Teo En Ming =20 =0ACc: Sander Eikelenboom , xen-devel@lists.xensource= .com=0A =20 =0ADate: Fri, 24 Jul 2009 16:31:19 +0300=20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0A =20 =0A On Fri, J= ul 24,=0A2009 at 08:37:09PM +0800, Teo En Ming wrote:=20 =0A> Hi=20 =0A>=20 =0A> I attempted to install Fedora 10 32-bit PV guest using=20 =0A> images/pxeboot/vmlinuz-PAE and images/pxeboot/initrd-PAE.img from=0Ath= e F10=20 =0A> media. The non-PAE kernel could not load the installer. I finished=0Am= y Fedora=20 =0A> 10 32-bit PV guest installation but it also cannot boot up after=20 =0A> installation, same as the CentOS 4.7 PV guest installation.=20 =0A>=20 =0A =20 =0AFedora 10 installer has a bug, as a default it installs non-PAE kernel= =0Afor=20 =0Axen domU. You need to use a kickstart script (like this) to fix it:=20 =0A http://pas= ik.reaktio.net/fedora/f10-xen-domu-ks.cfg=0A = =20 =0A =20 =0AThe important lines being:=20 =0A =20 =0A-kernel=20 =0Akernel-PAE=20 =0A =20 =0A(Fedora 10 and Fedora 11 default kernels are compiled with pv_ops Xen=0A= domU=20 =0Asupport enabled, so there's no need for separate kernel-xen with these= =0Adistros).=20 =0A =20 =0AFedora 11 doesn't have that installer bug, so it installs right=20 =0Aout-of-the-box as Xen domU.=20 =0A =20 =0AWhat's the error you get when you start the guest after installation?=20 =0APlease paste the "xm log" as text.=20 =0A =20 =0AI don't have any problems with CentOS 5.3 dom0.=20 =0A =20 =0A-- Pasi=20 =0A =0A = =0A = =0A = =0A = =0A =20 =0A-----Inline Attachment Follows-----=20 =0A =20 =0A ________________= _______________________________=20 =0AXen-devel mailing list=20 =0A Xen-devel@lists.= xensource.com=0A =20 =0A http://lists.xen= source.com/xen-devel=0A = =20 =0A =0A = =0A = =0A = =0A =0A = =0A = =20 =0A =0A = =20 =0A-----Inline Attachment Follows-----=20 =0A =20 =0A ________________________= _______________________=0A = =20 =0AXen-devel mailing list=20 =0A Xen-devel@lists.xensourc= e.com=0A =20 =0A http://lists.xensource.c= om/xen-devel=0A =20 =0A =0A = =0A = =0A =0A = =0A =0A = =20 =0A =0A = =0A =20 =0A-----Inline Attachment Follows-----=20 =0A =20 =0A __________________________________= _____________=0A =20 =0AXen-devel mailing list=20 =0A Xen-devel@lists.xensource.com=20 =0A http://lists.xensource.com/xen-dev= el=0A =20 =0A =0A = =0A =0A = =0A =0A = =0A =20 =0A =0A =0A = =20 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A =0A =20 =0A =0A =20 =0A-----Inline Attachment Follows----- =0A =20 =0A =20 =0ANo virus found in this outgoing message. =0AChecked by AVG - www.avg.com =0AVersion: 8.5.392 / Virus Database: 270.13.29/2260 - Release Date:=0A07/2= 5/09 01:48:00 =0A =0A =20 =0A-----Inline Attachment Follows----- =0A =20 =0A _______________________________________________ =0AXen-devel mailing list =0A Xen-devel@lists.xensource.com =0A http://lists.xensource.com/xen-devel =0A =0A =0A = =0A =0A =0A =0A = =20 =0A =20 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A =0A =20 =0A =0A =20 =0A-----Inline Attachment Follows----- =0A =20 =0A =20 =0ANo virus found in this outgoing message. =0AChecked by AVG - www.avg.com =0AVersion: 8.5.392 / Virus Database: 270.13.29/2260 - Release Date:=0A07/2= 5/09 01:48:00 =0A =0A =20 =0A-----Inline Attachment Follows----- =0A =20 =0A _______________________________________________ =0AXen-devel mailing list =0A Xen-devel@lists.xensource.com =0A http://lists.xensource.com/xen-devel =0A =0A =0A =0A =0A =0A = =0A =20 =0A =20 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A =0A =20 =0A =0A =20 No virus found in this outgoing message. Checked by AVG - www.avg.com=20 Version: 8.5.392 / Virus Database: 270.13.30/2262 - Release Date: 07/25/09 = 18:01:00 =0A =20 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A =0A =20 =0A =20 No virus found in this outgoing message. Checked by AVG - www.avg.com=20 Version: 8.5.392 / Virus Database: 270.13.30/2262 - Release Date: 07/25/09 = 18:01:00 =0A =20 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A =0A =0A -----Inline Attachment Follows----- No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.30/2262 - Release Date: 07/25/09 = 18:01:00 -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-530575344-1248599001=:16047 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =0A =0A =0A
The way to obtain IP for DomU address is comp= letely unrelated with installation source.

Boris.


--- On = Sun, 7/26/09, Mr. Teo En Ming (Zhang Enming) <enming.teo@asiasofts= ea.net> wrote:

From: Mr. Teo En = Ming (Zhang Enming) <enming.teo@asiasoftsea.net>
Subject: Re: [Xen= -devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel
To: enmin= g.teo@asiasoftsea.net
Cc: "Sander Eikelenboom" <linux@eikelenboom.it&= gt;, bderzhavets@yahoo.com, xen-devel@lists.xensource.com, Pasi Kr@yahoo.co= m
Date: Sunday, July 26, 2009, 1:16 AM

= =0A=0A=0A =0AHmmmm, just wondering...
=0A
=0ASince I am going to do = an install from the CD-ROM/ISO, why do I need to=0Aget an IP address for th= e DomU unless it's going to be a network=0Ainstall, e.g. HTTP, FTP, NFS, et= c?
=0A
=0A
-- 
Mr. Teo En Ming (Zhang = Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)Technical Support Engineer
Information Technology Department
Asiasof= t Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 5= 29541
Republic of Singapore
Mobile Phone: +65-9648-9798
MSN: teoenming@hotmail.com
=0A
=0AMr. Teo En Ming (Zhang Enm= ing) wrote:=0A
=0A =0AAt the moment there is only= one network card installed on my lab PC in=0Amy company running OpenSUSE 1= 1.1 32-bit with Xen 3.4.1-rc8 Dom 0 kernel=0A2.6.30-rc6 (jeremy). So when t= here are more network cards installed,=0Athere will be eth0, eth1, eth2 eth= ernet bridges, etc.
=0A
=0AThen I can assign the virtual network ca= rd in each virtual machine to a=0Aspecific ethernet network bridge (out of = many bridges) in Domain 0=0Ausing the vif command in guest domain configura= tion.
=0A
=0A
-- 
Mr. Teo En Ming = (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineer= ing)
Technical Support Engineer
Information Technology Department
= Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Sing= apore 529541
Republic of Singapore
Mobile Phone: +65-9648-9798
MSN= : teoenming@hotmail.com
=0A
=0AMr. Teo En Ming (= Zhang Enming) wrote:=0A
=0A=0A =0ADear Boris,=
=0A
=0AThe ethernet network bridge on OpenSUSE 11.1 is eth0.
= =0A
=0A
-- 
Mr. Teo En Ming (Zhan= g Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)<= br>Technical Support Engineer
Information Technology Department
Asias= oft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore= 529541
Republic of Singapore
Mobile Phone: +65-9648-9798
MSN: teoenming@hotmail.com
=0A
=0ABoris Derzhavets wro= te:=0A
=0A =0A =0A =0A = =0A = =0A =0A
This means that= OSOL installer (by default ) will issue=0ADHCPDISCOVER via your Xen bridge= , looking for DHCP server on your LAN.=0AOnly on RHEL 5.3
=0A(F10 with X= en 3.3.1 src.rpm been installed along with generated=0Apackages) with libvi= rtd & dnsmasq up and running you can specify
=0A vif=3D['bridg= e=3Dvirbr0' ] to detect DHCP Server at your Dom0.
=0A
= =0AView for instance :-
=0A http://bderzhavets.wordpress.com/2009/05/07/backport-zfs-support-to-xen-3= 31-f10-dom0-kernel-2630-rc3-tip/
=0A
=0AI don't have = any experience with OpenSuse 11.1 . I hardly remind they=0Atried to reprodu= ce RH's technology. Most probably they did it in SLES=0A11 (not sure). Chec= k for libvirtd&dnsmasq daemons up and running.
=0ABut if your OpenSu= se 11.1 Dom0 is on "dhcp" bridge itself , then no=0Aproblems. Just vif=3D['= bridge=3Deth0'].
=0A
=0ABoris.
=0A
=0A-= -- On Sat, 7/25/09, Mr. Teo En Ming (Zhang Enming) <enming.teo@asiasoftsea.net>=0Awrote:
=0A =

=0AFrom: Mr. Teo En Ming (Zhang Enming) <enming.teo@asiasoftsea.net>
=0ASubject: Re: [Xen= -devel] Unable to Configure Xen Dom 0 in Jeremy's=0APVOPS Kernel
=0ATo: = bderzhavets@yahoo.com
=0ACc: "Sander Eikelenboom" <linux@eikelenboom.it>,=0APasi Kr@yahoo.com, xen-devel@lists.xensource.com
=0ADate: Saturday, July 25, 200= 9, 12:32 PM
=0A
=0A
Dear Boris,
=0A
=0AThis means I have to install a = DHCP server or dnsmasq in my Dom 0,=0Alistening on my Dom 0's IP address, s= o that it can assign dynamic IP=0Aaddresses to the DomU.
=0A =
=0ABy the way, are there any paravirtualized device drivers that I ca= n=0Ainstall in DomU to improve the performance of the virtual machine?
= =0A
=0AThank you.
=0A
-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering= ) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Infor= mation Technology Department
Asiasoft Online Pte Ltd
Tampines Central= 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mo= bile Phone: +65-9648-9798
MSN: teoenming@hotmail.com
=0A
=0ABoris= Derzhavets wrote:=0A
=0A = =0A = =0A =0A =0A =0A = =0A = =0A =0A =
>I noticed under the g= uest domain configuration there=0Ais a parameter=0Acalled >'extra' kerne= l parameter. Does the 'nowin' argument stand=0Afor no=0A>graphical windo= ws?
=0A
=0ALogin as jack/jack to text console.<= br>=0A
=0AWait until :-
=0A =
=0A$ pfexec ifconfig -a
=0A
=0Awill show = up your IPv4 address
=0A
=0A$ mkdir .vnc
= =0A$ cp .Xclients .vnc/xstartup
=0A$ vncserver
=0A =
=0AConnect via vncviewer IP-DomU:1 from another terminal session to = OSOL=0ADomU. In case OSOL installer will fail to obtain IP via DHCPDISCOVER= ,
=0Alet me know. It might happen and requires Solaris Kernel Model Debu= gger
=0Ato disable checksum offloading at boot up. Seems to be hardware= =0Adependent issue for OSOL 2009.06
=0A
=0A****= ******************************
=0ACopy ramdisk and kernel to Dom0
=0A= **********************************
=0A
= =0A[root@ServerXen isos]# cat copy.sh
=0Amount -o loop,ro osol-0906-x86.= iso /mnt
=0Acp /mnt/boot/amd64/x86.microroot /home/boris/solaris
=0Ac= p /mnt/platform/i86xpv/kernel/amd64/unix /home/boris/solaris
=0A =

=0A
=0A =
=0A***********************
=0AInstallation profile:-
=0A*****= ******************
=0A
=0A[root@ServerXen= solaris]# cat osol200906.install
=0Aname =3D "sol0906"
=0Avcpus =3D = 1
=0Amemory =3D "1024"
=0Akernel =3D "/home/boris/solaris/unix"
= =0Aramdisk =3D "/home/boris/solaris/x86.microroot"
=0Aextra =3D "/platfo= rm/i86xpv/kernel/amd64/unix - nowin -B=0Ainstall_media=3Dcdrom"
=0Adisk = =3D ['phy:/dev/loop0,xvdc:cdrom,r','phy:/dev/sdb5,xvda,w']
=0A# Would wo= rk as well
=0A#
=0Adisk =3D ['phy:/dev/loop0,6:cdrom,r','ph= y:/dev/sdb5,0,w']
=0A vif =3D ['bridge= =3Deth1']
=0Aon_shutdown =3D "destroy"
=0Aon_reboot =3D "destroy"
= =0Aon_crash =3D "destroy"

=0A
=0ABoris=0A
=0A--- On Sat, 7/25/09, Mr. Teo En Ming (= Zhang Enming) <en= ming.teo@asiasoftsea.net>=0Awrote:
=0A =

=0AFrom: Mr. Teo En Ming (Zhang Enming) <enming.teo@asiasoftsea= .net>
=0ASubject: Re: [Xen-devel] Unable to Configure Xen Dom 0 i= n Jeremy's=0APVOPS Kernel
=0ATo: enming.teo@asiasoftsea.net
=0ACc: "Sander Eikelenboo= m" <linux@eikelenboo= m.it>,=0A"Boris=0ADerzhavets" <bderzhavets@yahoo.com>,=0A = xen-devel@lists.xens= ource.com,=0A=3D?ISO-8859-1?Q?Pasi_K=3DE4r?=3D@yahoo.com
=0ADate: Sa= turday, July 25, 2009, 7:14 AM
=0A
=0A =
Dear All,
=0A =
=0AI am trying to install OpenSolaris 2009.06 32-bit paravirtu= alized guest=0Aon OpenSUSE 11.1 32-bit paravirt-ops enabled Xen 3.4.1-rc8 D= om 0 Kernel=0A2.6.30-rc6.
=0A
=0AHowever, I a= m getting an opensolaris console login prompt. There is no=0AGNOME DE for m= e to launch the GUI installer for OpenSolaris. I am using=0Athe OpenSolaris= LiveCD 32-bit.
=0A
=0AI noticed under the g= uest domain configuration there is a parameter=0Acalled 'extra' kernel para= meter. Does the 'nowin' argument stand for no=0Agraphical windows?
=0A =
=0A htt= p://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT4kZta-I/AAAAAAAAAE0/xxUGuNunPoY/s160= 0-h/01.jpeg
=0A
=0A = http://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT5YG2sNI/AAAA= AAAAAFM/H0ntFt6LCx4/s1600-h/04.jpeg
=0A
= =0A http://2.bp.blogspot.com/_zzj= v8MCM2sk/SmoT5uzjF6I/AAAAAAAAAFU/2Y3KNWPUwWk/s1600-h/05.jpeg
=0A =
=0AThen I also get the "invalid disk device number = (768)" error. Do I need=0Ato use xvda instead of hda?
=0A =
=0AThank you very much.
=0A
=0A =
-- 
Mr. Teo En Ming = (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineer= ing)
Technical Support Engineer
Information Technology Department
= Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Sing= apore 529541
Republic of Singapore
Mobile Phone: +65-9648-9798
MSN= : teoenming@hotmail.= com
=0A
=0A =0ATeo En Ming wrote:=0A
= =0A
As a mat= ter of fact, our servers are=0Aeither=0ADell=0APowerEdge=0A1950/2950 and IB= M xSeries.
=0A
 
=0A =
I am just testing it out on our lab PC=0Afirst.
= =0A 
=0A
=0A =
Mr. Teo En Ming (Zhang Enming)=0ADip(Mechatronics=0AEngineering)= =0ABEng(Hons)(Mechanical Engineering)
=0A Technical Support Engineer
=0A
Infor= mation Technology Department
=0AAsiasoft Online Pte Ltd
=0ATampines= Central 1 #04-01 Tampines Plaza
=0ASingapore 529541
=0A =
Republic of Singapore
=0AMobile Phone: +65-9648-9= 798
=0AMSN: teoe= nming@hotmail.com
=0A
=0A =
=0A
=0A =
-----Orig= inal=0AMessage-----
=0AFrom: "Teo En Ming" <enming.teo@asiasoftsea.net>
=0ATo: "= Boris Derzhavets" <b= derzhavets@yahoo.com>,=0A"Pasi K=E4rkk=E4inen" <pasik@iki.fi>
=0ACc: Sander E= ikelenboom <linux@ei= kelenboom.it>, xen-devel@lists.xensource.com=0A
=0ADa= te: Sat, 25 Jul 2009 02:27:02 +0800
=0ASubject: Re: Re[8]: [Xen-devel] = Unable to Configure Xen Dom 0 in=0AJeremy's PVOPS Kernel
=0A =
=0A =0A
Dear Boris,
=0A =
 
=0A
M= y next step will be a 64-bit Xen Dom=0A0=0Ahost.
=0A 
=0A =
=0A
Mr. Teo= En Ming (Zhang Enming)=0ADip(Mechatronics=0AEngineering)=0ABEng(Hons)(Mech= anical Engineering)
=0A
Technical Sup= port Engineer
=0A
Information Technol= ogy Department
=0AAsiasoft Online Pte Ltd
=0ATampines Central 1 #04= -01 Tampines Plaza
=0ASingapore 529541
=0A =
Republic of Singapore
=0AMobile Phone: +65-9648-9798
=0AM= SN: teoenming@hotmai= l.com
=0A
=0A =
=0A
=0A =
-----Original= =0AMessage-----
=0AFrom: Boris Derzhavets <bderzhavets@yahoo.com>
=0ATo: Pasi K= =E4rkk=E4inen <pasik= @iki.fi>, enm= ing.teo@asiasoftsea.net=0A
=0ACc: Sand= er Eikelenboom <linu= x@eikelenboom.it>, xen-devel@lists.xensource.com=0A =0ADate: Fri, 24 Jul 2009 10:57:49 -0700 (PDT)
=0ASubject: Re: Re[8]: = [Xen-devel] Unable to Configure Xen Dom 0 in=0AJeremy's PVOPS Kernel
= =0A
=0A =0A =
Teo, it is up to you how to manage, if you just having=0Afun.
= =0AOtherwise, downloading 64-bit OpenSuse 11.1 ISO image
=0Atakes just = 12-14 hr even at slow ADSL speed ( like 100 KB/sec).
=0AInstall takes 3= 0 minutes and brings you to the trusted results, instead=0A =
=0Aof wasting a lot of time in case of business env= ironment assignment.
=0APasi has 32-bit experience due to hardware limi= tations, which you don't=0A
=0Ahave.=
=0A
=0ABoris.
=0A =
=0A--- On Fri, 7/24/09, Teo En Ming <enming.teo@asiasoftse= a.net>=0Awrote:
=0A <= blockquote style=3D"border-left: 2px solid rgb(16, 16, 255); margin-left: 5= px; padding-left: 5px;">=0A
=0AFro= m: Teo En Ming <enmi= ng.teo@asiasoftsea.net>
=0ASubject: Re: Re[8]: [Xen-devel] Unabl= e to Configure Xen Dom 0 in=0AJeremy's PVOPS Kernel
=0ATo: "Boris Derzh= avets" <bderzhavets@= yahoo.com>,=0A"Pasi K=E4rkk=E4inen" <pasik@iki.fi>
=0ACc: "Sander Eikelenboom= " <linux@eikelenboom= .it>, xen-dev= el@lists.xensource.com=0A
=0AD= ate: Friday, July 24, 2009, 12:56 PM
=0A =
=0A
=0A =
Dear Boris,
=0A
&nbs= p;
=0A
My colleague install= ed=0AOpenSUSE=0A11.1=0A32-bit on the=0ACore 2 Duo machine in our labs. Plea= se see my earlier replies in the=0Asame topic.
=0A =
 
=0A =
I was too lazy to reformat=0Aand=0Ainstall=0A64-bit=0AOpenSUSE, so = I proceeded with Xen Dom 0 pvops kernel compilation on=0A32-bit Linux host.=
=0A
 
=0A =
I admit I am getting a lot=0Aof=0Ahead= ache.=0AHaha.
=0A 
=0A =
=0A
Mr. Teo En Ming (Zhang= =0AEnming)=0ADip(Mechatronics=0AEngineering) BEng(Hons)(Mechanical Engineer= ing)
=0A
Technical Support = Engineer
=0A
Information Te= chnology=0ADepartment
=0AAsiasoft Online Pte Ltd
=0ATampines Centra= l 1 #04-01 Tampines Plaza
=0ASingapore 529541
=0A =
Republic of Singapore
=0AMobile Phone: +65-9= 648-9798
=0AMSN: teoenming@hotmail.com
=0A =0A
=0A =
=0A
-----Original=0AMessage----- =0AFrom: Boris Derzhavets <bderzhavets@yahoo.com>
=0ATo: enming.teo@asiasoftsea.net,=0APasi K=E4rk= k=E4inen <pasik@iki.= fi>
=0ACc: Sander Eikelenboom <linux@eikelenboom.it>, xen-devel@lists.xensource.com=0A =
=0ADate: Fri, 24 Jul 2009 09:57:18 -07= 00 (PDT)
=0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom= 0 in=0AJeremy's PVOPS Kernel
=0A =
=0A =0A = =0A =0A = =0A = =0A =0A =
Once again, i don't see any reason to to run 32-bit OS on= =0ACore2Duo,
=0Aunless you like Xen head ache. Core development (PVOPS)= is obviously
=0Arunning in 64-bit environment.
=0A =
=0ABoris.
=0A =
=0A--- On Fri, 7/24/09, Boris Derzhavets <= a rel=3D"nofollow" class=3D"moz-txt-link-rfc2396E"><bderzhavets@yahoo.co= m>=0Awrote:
=0A =
=0A =
=0AFrom: Boris Derzhavets <bderzhavets@yahoo.com>
=0ASubject: Re: Re[8]: [= Xen-devel] Unable to Configure Xen Dom 0 in=0AJeremy's PVOPS Kernel
=0A= To: enming.teo@asias= oftsea.net,=0A"Pasi K=E4rkk=E4inen" <pasik@iki.fi>
=0ACc: "Sander Eikelenboom" <= a rel=3D"nofollow" class=3D"moz-txt-link-rfc2396E"><linux@eikelenboom.it= >, xen-devel@= lists.xensource.com=0A <= br>=0ADate: Friday, July 24, 2009, 12:47 PM
=0A =
=0A =
=0A = =0A = =0A = =0A = =0A =0A = =0A =
>After doing the=0Aabove, I re-insta= lled back the Xen hypervisor, libraries and tools, and=0Aalso >the kerne= l, initrd, and modules. Then I proceeded to reboot my=0Amachine. After rebo= oting, > my CentOS 4.7 32-bit PV guest is still=0Aable to start and run!=
=0A =
=0AWhy it wouldn't ? If your image stays  the same.
=0A =
=0A = =0A =
> I am=0Astill=0A= very=0Apuzzled! What=0Acauses the PV guest initially cannot start? Then wha= t >subsequently=0Acauses the PV guest to suddenly be able to start and r= un???
=0A
&= nbsp;
=0A
=0AThat is not supposed to happen. I would suggest clean OS (without = any=0Abuilt in xen presence) install , followed by  Xen 3.4.1+pvops ke= rnel=0Aclean install.
=0A =
=0ABoris.
=0A =
=0A--- On Fri, 7/24/09, Teo En Ming <enming.teo@asiasoftsea.net><= /b>=0Awrote:
=0A <= blockquote style=3D"border-left: 2px solid rgb(16, 16, 255); margin-left: 5= px; padding-left: 5px;">=0A =
=0AFrom: Teo En Ming <enming.teo@asiasoftsea.net>
=0ASubject: Re: Re[8]:= [Xen-devel] Unable to Configure Xen Dom 0 in=0AJeremy's PVOPS Kernel
= =0ATo: "Teo En Ming" &l= t;enming.teo@asiasoftsea.net>,=0A"Pasi K=E4rkk=E4inen" <pasik@iki.fi>
=0ACc: = "Sander Eikelenboom" &l= t;linux@eikelenboom.it>, xen-devel@lists.xensource.com=0A =
=0ADate: Friday, July 24, 2009, 12:19 PM <= br>=0A
=0A =
= =0A =
Dear All,
=0A =
 
=0A =
I am very=0Apuzzled. In=0Ainvestigating the ca= use of the sudden success of the CentOS 4.7 32-bit=0APV guest being able to= run, I have uninstalled virt-manager and all of=0Aits dependencies:
= =0A
  =0A
docbook <= /div>=0A
python= -gtk-vnc=0A
= =0A
xen-libs=0A= 3.3.1
=0A scrollkeeper=0A =0A
xen-tool= s=0A3.3.1
=0A =
libvirt=0A0.4.6
=0A =
libvirt-python=0A =
=0A =
vm-install=0A0.3.24
=0A =
 
=0A =
Then I=0Aproceeded to=0A"make=0Auninstall" in xen= -3.4-testing source tree, which also removed my self=0Acompiled Xen Dom 0 p= vops enabled kernel, initrd and kernel modules.
=0A =
 
=0A =
After=0Adoing=0Athe above, I= =0Are-installed back the Xen hypervisor, libraries and tools, and also the= =0Akernel, initrd, and modules. Then I proceeded to reboot my machine.=0AAf= ter rebooting, my CentOS 4.7 32-bit PV guest is still able to start=0Aand r= un!
=0A
&= nbsp;
=0A I am still=0Avery puzzled!=0AWhat=0Acauses the PV guest initially cannot s= tart? Then what subsequently=0Acauses the PV guest to suddenly be able to s= tart and run???
=0A =
 
=0A =
***scratches=0Ahead***
=0A =
 
=0A =
Anyway my=0ACentOS 4.7=0Aguest domain=0Ais= now running. I shall now proceed to virtualize OpenSolaris 2009.06.
= =0A
  =0A
Thank you= .=0A
=0A =
 
=0A =
Also see=0Ascreens= hots of=0Amy CentOS=0A4.7 PV guest here: http://teo-en-min= g-aka-zhang-enming.blogspot.com/2009/07/creating-centos-47-32-bit.html= =0A
=0A  =0A
=0A =
Mr. Teo En=0AMin= g (Zhang=0AEnming)=0ADip(Mechatronics Engineering) BEng(Hons)(Mechanical En= gineering)
=0A =
Technical=0ASupport=0AEngineer
=0A =
Information=0ATechnology=0ADepartment
= =0AAsiasoft Online Pte Ltd
=0ATampines Central 1 #04-01 Tampines Plaza =
=0ASingapore 529541
=0A =
Republic=0Aof=0ASingapore
=0AMobile Phone: +65-9648-= 9798
=0AMSN: teo= enming@hotmail.com
=0A =
=0A <= /div>=0A
=0A =
-----Original=0AMessage-----
=0AFr= om: "Teo En Ming" <e= nming.teo@asiasoftsea.net>
=0ATo: "Teo En Ming" <enming.teo@asiasoftsea.net>,= =0A"Pasi K=E4rkk=E4inen" <pasik@iki.fi>
=0ACc: Sander Eikelenboom <linux@eikelenboom.it>, xen-devel@lists.xensource.= com=0A
=0A= Date: Fri, 24 Jul 2009 22:54:26 +0800
=0ASubject: Re: Re[8]: [Xen-devel= ] Unable to Configure Xen Dom 0 in=0AJeremy's PVOPS Kernel
=0A =
=0A = =0A=
Hi Pasi,=0A =
=0A =
 
=0A =
It's=0Avery=0Astr= ange.=0ASuddenly my=0ACentOS 4.7 32-bit PV guest is able to start!!! Previo= usly it refuses to=0Astart at all.
=0A =
 
=0A =
I think=0AI=0Amust have=0Achanged=0Asom= ething in Dom 0 when I attempted "yast --install virt-manager". This=0Aacti= on might have solved the problem. When I tried to install=0Avirt-manager, i= t also tries to install xen-libs-3.3.1 and=0Axen-tools-3.3.1 as dependencie= s. However, I started off my Xen Dom 0=0Apvops kernel install with Xen 3.4.= 1 rc8 branch.
=0A =
 
=0A =
I need=0Ato=0Ainvestigate=0Amore why=0Asuddenly my CentOS 4.= 7 32-bit PV guest is able to start.
=0A 
=0A =
=0A =
Mr. Teo=0AEn=0AMing (Zhang=0AEnming= )=0ADip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
= =0A
Technical= =0ASupport=0AEngineer
=0A =
Information=0ATechnology=0ADepartment
=0AAsiasoft On= line Pte Ltd
=0ATampines Central 1 #04-01 Tampines Plaza
=0ASingapo= re 529541
=0A =
Republic=0Aof=0ASingapore
=0AMobile Phone: +65-9648-9798
=0A= MSN: teoenming@hotma= il.com
=0A =
=0A
=0A=
=0A =
-----Original=0AMessage-----
=0AFrom: = "Teo En Ming" <enmin= g.teo@asiasoftsea.net>
=0ATo: "Pasi K=E4rkk=E4inen" <pasik@iki.fi>
=0ACc:= Sander Eikelenboom <= ;linux@eikelenboom.it>, xen-devel@lists.xensource.com=0A =
=0ADate: Fri, 24 Jul 2009 21:54:00 +080= 0
=0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in= =0AJeremy's PVOPS Kernel
=0A =
=0A = =0A =
Hi=0APasi,
=0A =
 
=0A =
I=0Arealized=0Athat=0AFe= dora 10=0A32-bit anaconda installer does not install PAE kernel after mount= ing=0Athe guest disk image file. I mounted the guest disk image file using= =0Alosetup and kpartx which adds device nodes to /dev/mapper. I examined=0A= the /boot directory after mounting the guest disk image file and found=0Ano= PAE vmlinuz and initrd.
=0A =
 
=0A =
Still=0Ausing the=0Amounted Fedora=0A10 32-bi= t guest disk image file, I changed root to the guest disk=0Afilesystems and= attempted to install the PAE kernel. Then I modified=0Amenu.lst to boot th= e PAE kernel. After modifying the grub configuration=0Aof the guest domain,= I un-mounted the guest filesystem.
=0A =
 
=0A =
I=0Aproceeded to boot=0Athe F10=0A= 32-bit guest, since I changed to PAE kernel. It is able to boot now=0A(sinc= e the PAE kernel is xen-aware) but then it complains cannot mount=0A/dev/ro= ot. Probably something to do with the PAE initrd file.
=0A =

=0A 
= =0A
=0A =
Mr.=0ATeo=0A= En=0AMing=0A(Zhang Enming)=0ADip(Mechatronics Engineering) BEng(Hons)(Mecha= nical Engineering)
=0A =
Technical=0ASupport=0AEngineer
=0A =
Information=0ATechnology=0A= Department
=0AAsiasoft Online Pte Ltd
=0ATampines Central 1 #04-01 = Tampines Plaza
=0ASingapore 529541
=0A =
Republic=0Aof=0ASingapore
=0AMobi= le Phone: +65-9648-9798
=0AMSN: teoenming@hotmail.com
=0A =
=0A =
=0A =
=0A =
---= --Original=0AMessage-----
=0AFrom: Pasi K=E4rkk=E4inen <pasik@iki.fi>
=0ATo: Teo= En Ming <enming.teo= @asiasoftsea.net>
=0ACc: Sander Eikelenboom <linux@eikelenboom.it>, xen-devel@lists.xensource.com= =0A
= =0ADate: Fri, 24 Jul 2009 16:31:19 +0300
=0ASubject: Re: Re[8]: [Xen-de= vel] Unable to Configure Xen Dom 0 in=0AJeremy's PVOPS Kernel
=0A =
=0A =
On Fri, Jul 24,=0A2009 at 08:37:09PM +08= 00, Teo En Ming wrote:
=0A> Hi
=0A>
=0A> I attempted t= o install Fedora 10 32-bit PV guest using
=0A> images/pxeboot/vmlinu= z-PAE and images/pxeboot/initrd-PAE.img from=0Athe F10
=0A> media. T= he non-PAE kernel could not load the installer. I finished=0Amy Fedora
= =0A> 10 32-bit PV guest installation but it also cannot boot up after =0A> installation, same as the CentOS 4.7 PV guest installation.
= =0A>
=0A =
=0AFedora 10 installer has a bug, as a default it installs non-PAE ke= rnel=0Afor
=0Axen domU. You need to use a kickstart script (like this) = to fix it:
=0A = http://pasik.reaktio.net/fedora/f10-xen-domu-k= s.cfg=0A <= br>=0A
=0A= The important lines being:
=0A =
=0A-kernel
=0Akernel-PAE
=0A =
=0A(Fedora 10 and Fedor= a 11 default kernels are compiled with pv_ops Xen=0AdomU
=0Asupport ena= bled, so there's no need for separate kernel-xen with these=0Adistros). =0A
=0AFe= dora 11 doesn't have that installer bug, so it installs right
=0Aout-of= -the-box as Xen domU.
=0A =
=0AWhat's the error you get when you start the guest af= ter installation?
=0APlease paste the "xm log" as text.
=0A =
=0AI don't have a= ny problems with CentOS 5.3 dom0.
=0A =
=0A-- Pasi
=0A =
=0A =
=0A =
=0A =
=0A =
=0A =
=0A-----Inline Attachment Follows-----
=0A =
=0A =
_________________= ______________________________
=0AXen-devel mailing list
=0A = Xen-de= vel@lists.xensource.com=0A =
=0A <= a rel=3D"nofollow" target=3D"_blank" href=3D"http://lists.xensource.com/xen= -devel">http://lists.xensource.com/xen-devel=0A =
=0A =
=0A = =0A =
=0A =
=0A
= =0A
=0A-----Inline Attac= hment Follows-----
=0A <= br>=0A
_______________________________________________=0A =
=0AXen-devel mailing list
=0A = Xen-devel@lists.xe= nsource.com=0A
=0A = http://lists.xensour= ce.com/xen-devel=0A
= =0A
=0A =
=0A =
=0A =0A
=0A =
=0A
=0A= -----Inline Attachment Follows-----
=0A =
=0A
_______________________________________________=0A =
=0AXen-devel mailing list
=0A = Xen-devel@lists.xensource.com
=0A= http://lists.xensource.com/x= en-devel=0A
=0A =
=0A =0A
=0A
=0A =
=0A
= =0A


________= _______________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.= com
http://lists.xensource.= com/xen-devel
=0A =0A =
=0A =0A =
=0A-----Inline Attachment Follows-----
=0A =
=0A

=0ANo v= irus found in this outgoing message.
=0AChecked by AVG - www.avg.com
=0AVersion: 8.5.392 / Virus Database: 270.13.= 29/2260 - Release Date:=0A07/25/09 01:48:00
=0A <= /div>=0A
=0A-----Inline Attachment Follows-----<= br>=0A
=0A
_______________________________________________
=0AXen-devel = mailing list
=0A Xen-devel@li= sts.xensource.com
=0A http://lists.x= ensource.com/xen-devel
=0A
=0A = =0A
=0A =
=0A


_____= __________________________________________
Xen-devel mailing list
Xen-devel@lists.xensour= ce.com
http://lists.xensour= ce.com/xen-devel
=0A
=0A =
=0A
=0A
=0A-----Inline Attachme= nt Follows-----
=0A
=0A

=0ANo virus found in this outgoing message.
=0AChecked by AVG= - www.avg.com
=0AVersion: 8.5.392 / Virus= Database: 270.13.29/2260 - Release Date:=0A07/25/09 01:48:00
=0A =
=0A
=0A-----Inline Attachment Follows-----=0A
=0A
___________= ____________________________________
=0AXen-devel mailing list
=0A = Xen-devel@lists.xensource.com
=0A = http://lists.xensource.com/xen-devel
=0A =
=0A
=0A
=0A
=0A


_______________________________________________Xen-devel mailing list
Xen-devel@lists.xens= ource.com
http://lists.xens= ource.com/xen-devel
=0A =0A
=0A =0A

=

No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: = 270.13.30/2262 - Release Date: 07/25/09 18:01:00

=0A

_________________________________________= ______
Xen-devel mailing list
Xen-devel@l= ists.xensource.com
http://l= ists.xensource.com/xen-devel
=0A =0A
=0A =



No virus found in this outgoing = message.
Checked by AVG - www.avg.com
= Version: 8.5.392 / Virus Database: 270.13.30/2262 - Release Date: 07/25/09 = 18:01:00

=0A


________= _______________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
=0A=0A
=0A =0A
-----Inline Attachment Follows---= --


No virus found in this outgoing mess= age.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: = 270.13.30/2262 - Release Date: 07/25/09 18:01:00

-----Inline A= ttachment Follows-----

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

=0A=0A --0-530575344-1248599001=:16047-- --===============1564384078== 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 --===============1564384078==--