From: Boris Derzhavets Subject: Re: Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel Date: Sun, 26 Jul 2009 02:30:24 -0700 (PDT) Message-ID: <847188.24789.qm@web56106.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0652554135==" 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: xen-devel@lists.xensource.com, enming.teo@asiasoftsea.net List-Id: xen-devel@lists.xenproject.org --===============0652554135== Content-Type: multipart/alternative; boundary="0-1076057607-1248600624=:24789" --0-1076057607-1248600624=:24789 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable View:- =A0http://www.opensolaris.org/jive/thread.jspa?threadID=3D104509&tstart=3D7= 5 To switch OSOL DomU run with static IP:- pfexec svcadm disable network/physical:nwam && \ pfexec svcadm enable=A0 network/physical:default pfexec ifconfig xnf0 down pfexec ifconfig xnf0 192.168.1.102 netmask 255.255.255.0 mtu 1492 pfexec ifconfig xnf0 up pfexec route add default 192.168.1.102 which i can/do @ installer time to use static IP assignements.=A0 i just can't seem to get them to 'stick' or 'be happy' after reboot and xen, run-time launch. Use the same commands with the installed system. To make the settings permanent you also need (Jurgen Keil) : echo 192.168.1.102 netmask 255.255.255.0 mtu 1492 > /etc/hostname.xnf0 rm /etc/dhcp.xnf0 echo 192.168.1.102 > /etc/defaultrouter 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: bderzhavets@yahoo.com, xen-devel@lists.xensource.com Date: Sunday, July 26, 2009, 5:08 AM =0A=0A=0A =0AI am using static IP address. =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 =0A =0ABoris Derzhavets wrote:=0A=0A =0A =0A =0A Does your Open= Suse 11.1 32-bit has static IP address or=0Ait obtain it via DHCP ? =0AIf second option is in place please submit=20 =0A# brctl show =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" ,=0Abderzhavets@yahoo.com= , xen-devel@lists.xensource.com, Pasi Kr@yahoo.com =0ADate: Saturday, July 25, 2009, 10:50 PM =0A =20 =0A At the moment there is only one=0Anetwork card installed on m= y lab PC in=0Amy company running OpenSUSE 11.1 32-bit with Xen 3.4.1-rc8 Do= m 0 kernel=0A2.6.30-rc6 (jeremy). So when there are more network cards inst= alled,=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 Dear 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 installe= r (by default ) will issue=0ADHCPDISCOVER 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-support-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 the guest domain configuration there= =0Ais a parameter=0Acalled >'extra' kernel parameter. Does the 'nowin' argu= ment 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" = , xen-devel@lists.xensource.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/Sm= oT4kZta-I/AAAAAAAAAE0/xxUGuNunPoY/s1600-h/01.jpeg =0A =20 =0A http://4.bp.blogspot.com/_zzjv8MCM2sk/Sm= oT5YG2sNI/AAAAAAAAAFM/H0ntFt6LCx4/s1600-h/04.jpeg =0A =20 =0A http://2.bp.blogspot.com/_zzjv8MCM2sk/Sm= oT5uzjF6I/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=0Aare=0Aeither=0ADell=0A= PowerEdge=0A1950/2950 and IBM xSeries. =0A = =A0 =0A I am just testing it out on our= =0Alab PC=0Afirst.=20 =0A=A0 =0A =0A = Mr. Teo En Ming (Zhang Enming)=0ADip(Mechatronics=0AEngineering)=0ABE= ng(Hons)(Mechanical Engineering) =0A Techn= ical Support Engineer =0A Information Tech= nology=0ADepartment=20 =0AAsiasoft Online Pte Ltd=20 =0ATampines Central 1 #04-01 Tampines Plaza=20 =0ASingapore 529541 =0A Republic of Singap= ore=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 step will be a 64-bit=0AXen Dom 0=0Ahost.=20 =0A=A0 =0A =0A = Mr. Teo En Ming (Zhang Enming)=0ADip(Mechatronics=0AEngineering)= =0ABEng(Hons)(Mechanical Engineering) =0A = Technical Support Engineer =0A Informa= tion Technology=0ADepartment=20 =0AAsiasoft Online Pte Ltd=20 =0ATampines Central 1 #04-01 Tampines Plaza=20 =0ASingapore 529541 =0A Republic of Sing= apore=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, it is up to you how to manage, if you just h= aving=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= =0Ainstalled=0AOpenSUSE=0A11.1=0A32-bit on the=0ACore 2 Duo machine in our = labs. Please see my earlier replies in the=0Asame topic. =0A = =A0 =0A = I was too lazy to=0Areformat and=0Ainstall=0A64-bit=0AOpenSUSE, so= I proceeded with Xen Dom 0 pvops kernel compilation on=0A32-bit Linux host= . =0A =A0 =0A = I admit I am getting=0Aa lot of=0Aheadache.=0A= Haha.=20 =0A=A0 =0A =0A = Mr. Teo En Ming=0A(Zhang Enming)=0ADip(Mechat= ronics=0AEngineering) BEng(Hons)(Mechanical Engineering) =0A = Technical Support=0AEngineer =0A = Information=0ATechnology=0ADepartment=20 =0AAsiasoft Online Pte Ltd=20 =0ATampines Central 1 #04-01 Tampines Plaza=20 =0ASingapore 529541 =0A Republ= ic of=0ASingapore=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 agai= n, 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-installed back the Xen hypervisor, li= braries and tools, and=0Aalso >the kernel, initrd, and modules. Then I proc= eeded to reboot my=0Amachine. After rebooting, > my CentOS 4.7 32-bit PV gu= est 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 = >=0AI am=0Astill=0Av= ery=0Apuzzled! What=0Acauses the PV guest initially cannot start? Then what= >subsequently=0Acauses 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=0AAll, =0A= =A0 =0A = I=0Aam very=0Ap= uzzled. In=0Ainvestigating the cause 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 = =A0 =0A = docbook=0A = =0A = python-gtk-vnc=0A = =0A = xen-libs=0A3.3.1 =0A = scrollkeeper=0A = =0A = xen-tools=0A3.3.1 =0A = libvirt=0A0.4.6 =0A = libvirt-python=0A = =0A = vm-install=0A0.3.24 =0A = =A0 =0A = Then=0AI=0Aproceeded to=0A"make=0Auninstal= l" in xen-3.4-testing source tree, which also removed my self=0Acompiled Xe= n Dom 0 pvops enabled kernel, initrd and kernel modules. =0A = =A0 =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 =A0 = =0A I=0Aam s= till=0Avery puzzled!=0AWhat=0Acauses the PV guest initially cannot start? T= hen what subsequently=0Acauses the PV guest to suddenly be able to start an= d run??? =0A = =A0 =0A ***= scratches=0Ahead*** =0A = =A0 =0A = Anyway=0Amy=0ACentOS 4.7=0Aguest domain=0Ais now running. I shall n= ow proceed to virtualize OpenSolaris 2009.06. =0A = =A0 =0A = Thank=0Ayou. =0A = =A0 =0A = Also=0Asee=0Ascreenshots of=0Amy CentOS= =0A4.7 PV guest here: http://teo-en-ming-aka-zhang-enming.blogspot.com/2009= /07/creating-centos-47-32-bit.html=0A = =20 =0A=A0 =0A = =0A Mr.=0ATe= o En=0AMing (Zhang=0AEnming)=0ADip(Mechatronics Engineering) BEng(Hons)(Mec= hanical 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 -----Ori= ginal=0AMessage-----=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=0APasi, = =0A =A0=0A= =0A = It's=0Avery=0As= trange.=0ASuddenly my=0ACentOS 4.7 32-bit PV guest is able to start!!! Prev= iously it refuses to=0Astart at all. =0A = =A0=0A = =0A = I=0Athink I=0Amust have=0Achanged=0Asomething in Dom = 0 when I attempted "yast --install virt-manager". This=0Aaction might have = solved the problem. When I tried to install=0Avirt-manager, it also tries t= o install xen-libs-3.3.1 and=0Axen-tools-3.3.1 as dependencies. However, I = started off my Xen Dom 0=0Apvops kernel install with Xen 3.4.1 rc8 branch. = =0A =A0=0A= =0A = I=0Aneed to=0Ai= nvestigate=0Amore why=0Asuddenly my CentOS 4.7 32-bit PV guest is able to s= tart.=20 =0A=A0 =0A = =0A Mr.= =0ATeo En=0AMing (Zhang=0AEnming)=0ADip(Mechatronics Engineering) BEng(Hons= )(Mechanical Engineering) =0A = Technical=0ASupport=0AEngineer =0A = Information=0ATechnology=0ADep= artment=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 -----O= riginal=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=0APas= i, =0A = =A0=0A = =0A I=0A= realized=0Athat=0AFedora 10=0A32-bit anaconda installer does not install PA= E kernel after mounting=0Athe guest disk image file. I mounted the guest di= sk image file using=0Alosetup and kpartx which adds device nodes to /dev/ma= pper. I examined=0Athe /boot directory after mounting the guest disk image = file and found=0Ano PAE vmlinuz and initrd. =0A = =A0=0A = =0A = Still=0Ausing the=0Amounted Fedora=0A10 = 32-bit guest disk image file, I changed root to the guest disk=0Afilesystem= s and attempted to install the PAE kernel. Then I modified=0Amenu.lst to bo= ot the PAE kernel. After modifying the grub configuration=0Aof the guest do= main, I un-mounted the guest filesystem. =0A = =A0=0A = =0A = I=0Aproceeded to boot=0Athe F10=0A32-bit gu= est, since I changed to PAE kernel. It is able to boot now=0A(since the PAE= kernel is xen-aware) but then it complains cannot mount=0A/dev/root. Proba= bly something to do with the PAE initrd file. =0A = =0A = =20 =0A=A0 =0A = =0A M= r.=0ATeo=0AEn=0AMing=0A(Zhang Enming)=0ADip(Mechatronics Engineering) BEng(= Hons)(Mechanical Engineering) =0A = Technical=0ASupport=0AEngineer =0A = Information=0ATechnolo= gy=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: 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 O= n Fri, Jul 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 ht= tp://pasik.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-deve= l@lists.xensource.com=0A = =20 =0A http://l= ists.xensource.com/xen-devel=0A = =20 =0A =0A = =0A = =0A = =0A = =0A = =0A =20 =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 = =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-devel=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 =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.30/2262 - Release Date:=0A07/2= 5/09 18:01: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=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 =0A=0A=0A --0-1076057607-1248600624=:24789 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable

View:-

 http://www.opensolari= s.org/jive/thread.jspa?threadID=3D104509&tstart=3D75

To switch O= SOL DomU run with static IP:-

pfexec svcadm disable network/physical= :nwam && \
pfexec svcadm enable  network/physical:defaultpfexec ifconfig xnf0 down
pfexec ifconfig xnf0 192.168.1.102 netmask 2= 55.255.255.0 mtu 1492
pfexec ifconfig xnf0 up
pfexec route add defaul= t 192.168.1.102

which i can/do @ installer time to use static IP ass= ignements.  i just
can't seem to get them to 'stick' or 'be happy' = after reboot and xen,
run-time launch.

Use the same commands with= the installed system.

To make the settings permanent you also need = (Jurgen Keil) :

echo 192.168.1.102 netmask 255.255.255.0 mtu 1492 &g= t; /etc/hostname.xnf0

rm /etc/dhcp.xnf0

echo 192.168.1.102 &g= t; /etc/defaultrouter


Boris.

--- On Sun, 7/26/09, Mr. Te= o En Ming (Zhang Enming) <enming.teo@asiasoftsea.net> wrot= e:

From: Mr. Teo En Ming (Zhang Enming) <= ;enming.teo@asiasoftsea.net>
Subject: Re: [Xen-devel] Unable to Confi= gure Xen Dom 0 in Jeremy's PVOPS Kernel
To: bderzhavets@yahoo.com, xen-d= evel@lists.xensource.com
Date: Sunday, July 26, 2009, 5:08 AM

=0A=0A=0A =0AI am using static IP address.
=0A=0A
-- 
Mr. Teo En Ming (Zhang Enming) Dip= (Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical = Support Engineer
Information Technology Department
Asiasoft Online Pt= e Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Re= public of Singapore
Mobile Phone: +65-9648-9798
MSN: teoe= nming@hotmail.com
=0A
=0A
=0ABoris Derzhavets wrote:=0A=0A =0A =0A =0A
=0A=0A --0-1076057607-1248600624=:24789-- --===============0652554135== 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 --===============0652554135==--
Does your OpenSuse 11.1 32-bit has static IP = address or=0Ait obtain it via DHCP ?
=0AIf second option is in place ple= ase submit
=0A# brctl show
=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: [X= en-devel] Unable to Configure Xen Dom 0 in Jeremy's=0APVOPS Kernel
=0ATo= : enming.teo@asiasoftsea.net
=0ACc: "Sander Ei= kelenboom" <linux@eikelenboom.it>,=0Abderzhave= ts@yahoo.com, xen-devel@lists.xensource.com= , Pasi Kr@yahoo.com
=0ADate: Saturday, July 25, 2009, 10:50 PM
= =0A
=0A
At the moment ther= e is only one=0Anetwork card installed on my lab PC in=0Amy company running= OpenSUSE 11.1 32-bit with Xen 3.4.1-rc8 Dom 0 kernel=0A2.6.30-rc6 (jeremy)= . So when there are more network cards installed,=0Athere will be eth0, eth= 1, eth2 ethernet bridges, etc.
=0A
=0AThen I can assign the= virtual network card in each virtual machine to a=0Aspecific ethernet netw= ork bridge (out of many bridges) in Domain 0=0Ausing the vif command in gue= st domain configuration.
=0A
=0A
-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineer= ing) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
In= formation Technology Department
Asiasoft Online Pte Ltd
Tampines Cent= ral 1 #04-01 Tampines Plaza
Singapore 529541
Republic of SingaporeMobile Phone: +65-9648-9798
MSN: teoenming@hotmail.com
=0A
=0AMr. Te= o En Ming (Zhang Enming) wrote:=0A
Dear= Boris,
=0A
=0AThe ethernet network bridge on OpenSUSE 11= .1 is eth0.
=0A
=0A
-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics 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 P= hone: +65-9648-9798
MSN: teoenming@hotmail.com
=0A
=0ABoris Derzhav= ets wrote:=0A
=0A =0A = =0A =0A =0A =0A =0A
=0A


_______________________________________________
Xen-devel mailing l= ist
Xen-devel@lis= ts.xensource.com
http://lis= ts.xensource.com/xen-devel
=0A =0A =
=0A
 
=0A =



No virus found in this outgo= ing 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@li= sts.xensource.com
http://li= sts.xensource.com/xen-devel
=0A =0A =
=0A =0A
=0A-----Inline Attachment Fo= llows-----
=0A
=0A

= =0ANo virus found in this outgoing message.
=0AChecked by AVG - www.avg.com
=0AVersion: 8.5.392 / Virus Database= : 270.13.30/2262 - Release Date:=0A07/25/09 18:01:00
=0A
= =0A
=0A-----Inline Attachment Follows-----
=0A =0A
____________________________________= ___________
=0AXen-devel mailing list
=0A Xen-devel@lists.xensource.com
=0A http://lists.x= ensource.com/xen-devel
=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 Xen 3.3.1 src.rpm been instal= led along with generated=0Apackages) with libvirtd & dnsmasq up and run= ning you can specify
=0A vif=3D['bridge=3Dvirbr0' ] to detect DHCP= Server at your Dom0.
=0A
=0AView for instance := -
=0A http://bderz= havets.wordpress.com/2009/05/07/backport-zfs-support-to-xen-331-f10-dom0-ke= rnel-2630-rc3-tip/
=0A
=0AI don't have any ex= perience with OpenSuse 11.1 . I hardly remind they=0Atried 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=0Aproblems. Just vif=3D['bridge= =3Deth0'].
=0A
=0ABoris.
=0A =
=0A--- On Sat, 7/25/09, Mr. Teo En Ming (Zhang Enming) <enming.teo@asiasoftsea.ne= t>=0Awrote:
=0A

=0AFrom: Mr. Teo En Ming (Zhang Enming) <enming.teo@asiasoftsea.net>
=0ASubjec= t: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's=0APVOPS Kernel=
=0ATo: bderzhave= ts@yahoo.com
=0ACc: "Sander Eikelenboom" <linux@eikelenboom.it>,=0APasi Kr@yahoo.com, xen-devel@lists.xensource.= com
=0ADate: Saturday, July 25, 2009, 12:32 PM
=0A =
=0A
Dear Boris,<= br>=0A
=0AThis means I have to install a DHCP serv= er or dnsmasq in my Dom 0,=0Alistening on my Dom 0's IP address, so that it= can assign dynamic IP=0Aaddresses to the DomU.
=0A =
=0ABy the way, are there any paravirtualized device drivers that I can= =0Ainstall in DomU to improve the performance of the virtual machine?
= =0A
=0AThank you.
=0A --
Mr. Teo En Ming (Zhang Enming) Dip(Mechatro= nics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support E= ngineer
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 =
=0ABoris Derzhavets wrote:=0A =0A =0A =0A = =0A =0A = =0A =0A =
>I noticed under the guest domain= configuration there=0Ais a parameter=0Acalled >'extra' kernel parameter= . Does the 'nowin' argument stand=0Afor no=0A>graphical windows?
=0A =
=0ALogin as jack/jack to text console.
= =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$ vncserve= r
=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 Debugger
=0Ato disable checksum offloadin= g at boot up. Seems to be hardware=0Adependent issue for OSOL 2009.06
= =0A
=0A**********************************<= br>=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/bo= ot/amd64/x86.microroot /home/boris/solaris
=0Acp /mnt/platform/i86xpv/ke= rnel/amd64/unix /home/boris/solaris
=0A
=0A
=0A =
=0A***********************
=0AInstallation profile:-
=0A******= *****************
=0A
=0A[root@Se= rverXen solaris]# cat osol200906.install
=0Aname =3D "sol0906"
=0Avcp= us =3D 1
=0Amemory =3D "1024"
=0Akernel =3D "/home/boris/solaris/unix= "
=0Aramdisk =3D "/home/boris/solaris/x86.microroot"
=0Aextra =3D "/p= latform/i86xpv/kernel/amd64/unix - nowin -B=0Ainstall_media=3Dcdrom"
=0A= disk =3D ['phy:/dev/loop0,xvdc:cdrom,r','phy:/dev/sdb5,xvda,w']
=0A# Wou= ld 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 =
=0ABoris
=0A
=0A--- On Sa= t, 7/25/09, Mr. Teo En Ming (Zhang Enming) <enming.teo@asiasoftsea.net>=0Awro= te:
=0A

=0AFro= m: Mr. Teo En Ming (Zhang Enming) <enming.teo@asiasoftsea.net>
=0ASubject: Re: [Xen-d= evel] Unable to Configure Xen Dom 0 in Jeremy's=0APVOPS Kernel
=0ATo: enming.teo@asiasoftsea= .net
=0ACc: "Sander Eikelenboom" <linux@eikelenboom.it>,=0A"Boris=0ADerzhavets" <= a rel=3D"nofollow" class=3D"moz-txt-link-rfc2396E"><bderzhavets@yahoo.co= m>, xen-devel= @lists.xensource.com,=0A=3D?ISO-8859-1?Q?Pasi_K=3DE4r?=3D@yahoo.com
= =0ADate: Saturday, July 25, 2009, 7:14 AM
=0A =
=0A
Dear= All,
=0A
=0AI am trying to install O= penSolaris 2009.06 32-bit paravirtualized guest=0Aon OpenSUSE 11.1 32-bit p= aravirt-ops enabled Xen 3.4.1-rc8 Dom 0 Kernel=0A2.6.30-rc6.
=0A =
=0AHowever, I am getting an opensolaris console= login prompt. There is no=0AGNOME DE for me to launch the GUI installer fo= r OpenSolaris. I am using=0Athe OpenSolaris LiveCD 32-bit.
=0A =
=0AI noticed under the guest domain configuratio= n there is a parameter=0Acalled 'extra' kernel parameter. Does the 'nowin' = argument stand for no=0Agraphical windows?
=0A =
=0A http://4.bp= .blogspot.com/_zzjv8MCM2sk/SmoT4kZta-I/AAAAAAAAAE0/xxUGuNunPoY/s1600-h/01.j= peg
=0A
=0A = http://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT5YG2= sNI/AAAAAAAAAFM/H0ntFt6LCx4/s1600-h/04.jpeg
=0A =
=0A http:/= /2.bp.blogspot.com/_zzjv8MCM2sk/SmoT5uzjF6I/AAAAAAAAAFU/2Y3KNWPUwWk/s1600-h= /05.jpeg
=0A
=0AThen I also get t= he "invalid disk device number (768)" error. Do I need=0Ato use xvda instea= d of hda?
=0A
=0AThank you very much.=
=0A
=0A =
-- 
Mr. Teo En Ming (Zhang Enming) Dip(M= echatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Su= pport Engineer
Information Technology Department
Asiasoft Online Pte = Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Repu= blic of Singapore
Mobile Phone: +65-9648-9798
MSN: teoenming@hotmail.com
=0A =
=0A
=0A= Teo En Ming wrote:=0A
=0A <= div>As a matter of fact, our servers=0Aare=0Aeither=0ADell=0APowerEdge=0A19= 50/2950 and IBM xSeries.
=0A
&n= bsp;
=0A
I am just testing it o= ut on our=0Alab PC=0Afirst.
=0A 
=0A =
=0A
Mr. Teo En Ming = (Zhang Enming)=0ADip(Mechatronics=0AEngineering)=0ABEng(Hons)(Mechanical En= gineering)
=0A
Technical Suppor= t Engineer
=0A
Information Tech= nology=0ADepartment
=0AAsiasoft Online Pte Ltd
=0ATampines Central = 1 #04-01 Tampines Plaza
=0ASingapore 529541
=0A =
Republic of Singapore
=0AMobile Phone: +65-9648-97= 98
=0AMSN: teoen= ming@hotmail.com
=0A
=0A =
=0A
= =0A
-----Original=0AMessage-----
=0AFrom: "Teo En Min= g" <enming.teo@asias= oftsea.net>
=0ATo: "Boris Derzhavets" <bderzhavets@yahoo.com>,=0A"Pasi K=E4r= kk=E4inen" <pasik@ik= i.fi>
=0ACc: Sander Eikelenboom <linux@eikelenboom.it>, xen-devel@lists.xensource.com=0A =
=0ADate: Sat, 25 Jul 2009 02:27:02 +0800=
=0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0A= Jeremy's PVOPS Kernel
=0A
=0A = =0A =
Dear Boris,
=0A =
 
=0A <= div>My next step will be a 64-bit=0AXen Dom 0=0Ahost.
=0A  = =0A
=0A =
Mr. Teo En Ming (Zhang Enming)=0ADip(Mechatronics=0AEngineer= ing)=0ABEng(Hons)(Mechanical Engineering)
=0A =
Technical Support Engineer
=0A =
Information Technology=0ADepartment
=0AAsiasoft Onli= ne Pte Ltd
=0ATampines Central 1 #04-01 Tampines Plaza
=0ASingapore= 529541
=0A
Republic of Singa= pore
=0AMobile Phone: +65-9648-9798
=0AMSN: teoenming@hotmail.com
=0A =
=0A
= =0A
=0A =
-----Ori= ginal=0AMessage-----
=0AFrom: Boris Derzhavets <bderzhavets@yahoo.com>
=0ATo: Pa= si K=E4rkk=E4inen <p= asik@iki.fi>, enming.teo@asiasoftsea.net=0A =0ACc: Sander Eikelenboom <linux@eikelenboom.it>, xen-devel@lists.xensource.com=0A =
=0ADate: Fri, 24 Jul 2009 10:57:49 -0700 (PDT)
=0A= Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJeremy's= PVOPS Kernel
=0A
=0A = =0A =0A = =0A = =0A = =0A =0A =
Teo, it is= up to you how to manage, if you just having=0Afun.
=0AOtherwise, downl= oading 64-bit OpenSuse 11.1 ISO image
=0Atakes just 12-14 hr even at sl= ow ADSL speed ( like 100 KB/sec).
=0AInstall takes 30 minutes and bring= s you to the trusted results, instead=0A =
=0Aof wasting a lot of time in case of business environment as= signment.
=0APasi has 32-bit experience due to hardware limitations, wh= ich you don't=0A
=0Ahave. =0A
=0ABoris.
=0A =
=0A--- On Fri, 7/24/09, Teo E= n Ming <enming.t= eo@asiasoftsea.net>=0Awrote:
=0A =
=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 K= ernel
=0ATo: "Boris Derzhavets" <bderzhavets@yahoo.com>,=0A"Pasi K=E4rkk=E4inen" <pasik@iki.fi> <= br>=0ACc: "Sander Eikelenboom" <linux@eikelenboom.it>, xen-devel@lists.xensource.com=0A =
=0ADate: Friday, July 24, 2009, 12:56 PM <= br>=0A
=0A =
=0A
Dear Bo= ris,
=0A
  =0A
My colleague=0Ains= talled=0AOpenSUSE=0A11.1=0A32-bit on the=0ACore 2 Duo machine in our labs. = Please see my earlier replies in the=0Asame topic.
=0A =
 
=0A =
I was too lazy to=0Areformat and=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=0Aa lot of=0Aheadache.=0AHaha.
=0A 
=0A =
=0A =
Mr. Teo En Ming=0A(Zhang Enming)=0ADip(Mecha= tronics=0AEngineering) BEng(Hons)(Mechanical Engineering)
=0A =
Technical Support=0AEngineer =0A
Information=0ATech= nology=0ADepartment
=0AAsiasoft Online Pte Ltd
=0ATampines Central = 1 #04-01 Tampines Plaza
=0ASingapore 529541
=0A =
Republic of=0ASingapore
=0AMobile Phon= e: +65-9648-9798
=0AMSN: teoenming@hotmail.com
=0A =
=0A
=0A=
=0A =
-----Original=0AMessage-----
=0AFrom: Boris Derzhavets <bderzhavets@yahoo.com>=
=0ATo: enmi= ng.teo@asiasoftsea.net,=0APasi K=E4rkk=E4inen <pasik@iki.fi>
=0ACc: Sander Eikel= enboom <linux@eikele= nboom.it>, xe= n-devel@lists.xensource.com=0A =
=0ADate: Fri, 24 Jul 2009 09:57:18 -0700 (PDT)
=0ASubject: R= e: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJeremy's PVOPS Ker= nel
=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 develop= ment (PVOPS) is obviously
=0Arunning in 64-bit environment.
=0A =
=0ABoris.
=0A =
=0A--- On Fri, 7/2= 4/09, Boris Derzhavets <bderzhavets@yahoo.com>=0Awrote:
=0A =
=0A =
=0AFrom: Boris Derzha= vets <bderzhavets@ya= hoo.com>
=0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure = Xen Dom 0 in=0AJeremy's PVOPS Kernel
=0ATo: enming.teo@asiasoftsea.net,=0A"Pasi K=E4r= kk=E4inen" <pasik@ik= i.fi>
=0ACc: "Sander Eikelenboom" <linux@eikelenboom.it>, xen-devel@lists.xensource.com=0A =
=0ADate: Friday, J= uly 24, 2009, 12:47 PM
=0A =
=0A <= div id=3D"yiv1199825022">=0A = =0A = =0A = =0A = =0A = =0A =0A
>After do= ing the=0Aabove, I re-installed back the Xen hypervisor, libraries and tool= s, and=0Aalso >the kernel, initrd, and modules. Then I proceeded to rebo= ot my=0Amachine. After rebooting, > my CentOS 4.7 32-bit PV guest is sti= ll=0Aable to start and run!
=0A =
=0AWhy it wouldn't ? If your image= stays  the same.
=0A =
=0A = =0A =
>=0AI am=0Astill=0Avery=0Apuzzled= ! What=0Acauses the PV guest initially cannot start? Then what >subseque= ntly=0Acauses the PV guest to suddenly be able to start and run???
= =0A
 = ;
=0A
=0AThat is not supposed to happen. I would suggest clean OS (with= out any=0Abuilt in xen presence) install , followed by  Xen 3.4.1+pvop= s kernel=0Aclean install.
=0A =
=0ABoris.
=0A =
=0A--- On Fri, 7/24/09, Teo En Ming = <enming.teo@asiasoft= sea.net>=0Awrote:
=0A =
=0A =
=0AFrom: Teo En Ming <enming.teo@asiasoftsea.ne= t>
=0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Do= m 0 in=0AJeremy's PVOPS Kernel
=0ATo: "Teo En Ming" <enming.teo@asiasoftsea.net>,=0A= "Pasi K=E4rkk=E4inen" &= lt;pasik@iki.fi>
=0ACc: "Sander Eikelenboom" <linux@eikelenboom.it>, xen-devel@lists.xensource.= com=0A <= br>=0ADate: Friday, July 24, 2009, 12:19 PM
=0A =
=0A =
=0A =
Dear=0AAll,
=0A =
 
=0A =
I=0Aam very=0Apuzzled. In=0Ainvest= igating the cause 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 depend= encies:
=0A =
 
=0A =
docbook=0A =
=0A =
python-gtk-vnc=0A =
=0A =
xen-libs=0A3.3.1
=0A =
scrollkeeper=0A =
=0A =
xen-tools=0A3.3.= 1
=0A =
libvirt=0A0.4.6
=0A =
libvirt-python=0A =
=0A =
vm-install=0A0.3.24
=0A =
 
=0A =
Then=0AI= =0Aproceeded to=0A"make=0Auninstall" in xen-3.4-testing source tree, which = also removed my self=0Acompiled Xen Dom 0 pvops enabled kernel, initrd and = kernel modules.
=0A =
 
=0A =
After=0Adoing=0Athe above, I=0Are-installed ba= ck the Xen hypervisor, libraries and tools, and also the=0Akernel, initrd, = and modules. Then I proceeded to reboot my machine.=0AAfter rebooting, my C= entOS 4.7 32-bit PV guest is still able to start=0Aand run!
=0A =
  =0A
I= =0Aam 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=0Am= y=0ACentOS 4.7=0Aguest domain=0Ais now running. I shall now proceed to virt= ualize OpenSolaris 2009.06.
=0A =
 
=0A =
Thank=0Ayou.
=0A =
 
=0A =
Also=0As= ee=0Ascreenshots of=0Amy CentOS=0A4.7 PV guest here: http:= //teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/creating-centos-47-32-b= it.html=0A =
=0A 
=0A =
=0A =
Mr.=0ATeo En=0AMing (Zhang=0AEnming)=0ADip(Mechatronics = Engineering) BEng(Hons)(Mechanical Engineering)
=0A =
Technical=0ASupport=0AEn= gineer
=0A =
Information=0ATechnology=0ADepartment
=0AAsiasoft Online Pte = Ltd
=0ATampines Central 1 #04-01 Tampines Plaza
=0ASingapore 529541=
=0A <= div>Republic=0Aof=0ASingapore
=0AMobile Phone: +65-9648-9798
=0AMSN= : teoenming@hotmail.= com
=0A =
=0A =
=0A =0A -----Original=0AMessa= ge-----
=0AFrom: "Teo En Ming" <enming.teo@asiasoftsea.net>
=0ATo: "Teo En Ming"= <enming.teo@asiasof= tsea.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 =
=0ADate: Fri, 24 Jul 2009 22:54:26 +0800
=0ASubjec= t: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJeremy's PVOPS= Kernel
=0A =
=0A = =0A =
Hi=0APasi,
=0A =
 =0A =
=0A =
It's=0Avery=0Astra= nge.=0ASuddenly my=0ACentOS 4.7 32-bit PV guest is able to start!!! Previou= sly it refuses to=0Astart at all.
=0A =
 =0A =
=0A =
I=0Athink I=0Amust have=0Achang= ed=0Asomething in Dom 0 when I attempted "yast --install virt-manager". Thi= s=0Aaction might have solved the problem. When I tried to install=0Avirt-ma= nager, it also tries to install xen-libs-3.3.1 and=0Axen-tools-3.3.1 as dep= endencies. However, I started off my Xen Dom 0=0Apvops kernel install with = Xen 3.4.1 rc8 branch.
=0A =
 =0A =
=0A =
I=0Aneed to=0Ainvestigate=0Amore why=0Asudd= enly my CentOS 4.7 32-bit PV guest is able to start.
=0A 
= =0A =0A
= Mr.=0ATeo En=0AMing (Zhang=0AEnming)=0ADip(Mechatronics Engineering) BEng(H= ons)(Mechanical Engineering)
=0A =
Technical=0ASupport=0AEngineer
=0A =
Infor= mation=0ATechnology=0ADepartment
=0AAsiasoft Online Pte Ltd
=0ATamp= ines Central 1 #04-01 Tampines Plaza
=0ASingapore 529541
=0A =
Republic= =0Aof=0ASingapore
=0AMobile Phone: +65-9648-9798
=0AMSN: teoenming@hotmail.com
= =0A
= =0A
= =0A
= =0A -----Original=0AMessa= ge-----
=0AFrom: "Teo En Ming" <enming.teo@asiasoftsea.net>
=0ATo: "Pasi K=E4rkk= =E4inen" <pasik@iki.= fi>
=0ACc: Sander Eikelenboom <linux@eikelenboom.it>, xen-devel@lists.xensource.com=0A =
=0ADate: F= ri, 24 Jul 2009 21:54:00 +0800
=0ASubject: Re: Re[8]: [Xen-devel] Unabl= e to Configure Xen Dom 0 in=0AJeremy's PVOPS Kernel
=0A =
=0A = =0A =
Hi=0APasi,
=0A =
 =0A =
=0A =
I=0Arealized=0Athat=0AFedora 10=0A32-= bit anaconda installer does not install PAE kernel after mounting=0Athe gue= st disk image file. I mounted the guest disk image file using=0Alosetup and= kpartx which adds device nodes to /dev/mapper. I examined=0Athe /boot dire= ctory after mounting the guest disk image file and found=0Ano PAE vmlinuz a= nd initrd.
=0A =
 =0A =
=0A =
Still=0Ausing the=0Amounted Fedora=0A10 32-bit g= uest disk image file, I changed root to the guest disk=0Afilesystems and at= tempted to install the PAE kernel. Then I modified=0Amenu.lst to boot the P= AE kernel. After modifying the grub configuration=0Aof the guest domain, I = un-mounted the guest filesystem.
=0A =
 =0A =
=0A =
I=0Aproceeded to boot=0Ath= e 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 cannot mount= =0A/dev/root. Probably something to do with the PAE initrd file.
=0A =
=0A=
=0A=  
=0A =
=0A =
Mr.=0ATeo=0AEn=0AMing=0A(Zhang Enming)=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-97= 98
=0AMSN: teoen= ming@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.xe= nsource.com=0A =
=0ADate: Fri, 24 Jul 2009 16:31:19 +0300
=0ASubject: R= e: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJeremy's PVOPS Ker= nel
=0A =
=0A =
On Fri,= Jul 24,=0A2009 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 images/pxeboot/initrd-PAE.img fr= om=0Athe F10
=0A> media. The non-PAE kernel could not load the insta= ller. I finished=0Amy Fedora
=0A> 10 32-bit PV guest installation bu= t 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 kernel=0Afor
=0Axen domU. You nee= d to use a kickstart script (like this) to fix it:
=0A = http://pasik.reaktio.net/fedora/f10-xen-domu-ks.cfg=0A =
=0A =
=0AThe importa= nt lines being:
=0A =
=0A-kernel
=0Akernel-PAE
=0A =
=0A(Fedora 10 and = Fedora 11 default kernels are compiled with pv_ops Xen=0AdomU
=0Asuppor= t enabled, so there's no need for separate kernel-xen with these=0Adistros)= .
=0A =
=0AFedora 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 y= ou start the guest after installation?
=0APlease paste the "xm log" as = text.
=0A =
=0AI don't have any problems with CentOS 5.3 dom0.
=0A =
=0A-- = Pasi
=0A =
=0A =
=0A =
=0A = =0A = =0A =
=0A-----Inline Attachment Follows-----
=0A =
=0A =
_______________________________________________
=0AXen-devel m= ailing list
=0A = Xen-devel@lists.xensource.com=0A =
=0A = http://lists.xens= ource.com/xen-devel=0A =
=0A =
=0A = =0A =
=0A =
=0A = =0A =
=0A-----Inline Attachment Follows----- <= br>=0A
=0A =
= _______________________________________________
=0AXen-devel mailing li= st
=0A Xen-devel@lists.xensource.com=0A =
=0A = http://lists.xensource.com/xen-devel=0A =
=0A =
=0A =
=0A =
=0A =
=0A =
=0A =0A
=0A-----Inline Attac= hment Follows-----
=0A =0A
= _______________________________________________=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 =
=0A


_______________________________________________<= br>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 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.xensource.com
http://lists.xensource.com/xen-devel
=0A
=0A
=0A = =0A
=0A-----Inline Atta= chment Follows-----
=0A
=0A =

=0ANo virus found in this outgoing message.<= br>=0AChecked by AVG - www.avg.com
=0AVers= ion: 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
=0A=0A
=0A =0A

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

=

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