From: "Teo En Ming" Subject: Re: Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel Date: Mon, 27 Jul 2009 17:57:55 +0800 Message-ID: References: <597131.71087.qm@web56103.mail.re3.yahoo.com> Reply-To: enming.teo@asiasoftsea.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1353253579==" Return-path: In-Reply-To: <597131.71087.qm@web56103.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Boris Derzhavets , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1353253579== Content-Type: multipart/alternative; boundary="0727_0957_55_PART-BREAK" --0727_0957_55_PART-BREAK Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear Boris, My CentOS 4.7 32-bit PV guest is getting the dynamic IP address assignmen= t=20 from the dnsmasq dhcp server I have setup and configured on Xen Dom 0=20 OpenSUSE 11.1 32-bit host correctly. So I think the issue is OpenSolaris specific. Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department =20 Asiasoft Online Pte Ltd =20 Tampines Central 1 #04-01 Tampines Plaza =20 Singapore 529541 Republic of Singapore =20 Mobile Phone: +65-9648-9798 =20 MSN: teoenming@hotmail.com -----Original Message----- From: Boris Derzhavets To: xen-devel@lists.xensource.com, enming.teo@asiasoftsea.net Date: Mon, 27 Jul 2009 01:57:43 -0700 (PDT) Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS=20 Kernel Please, submit "brctl show" Boris. --- On Mon, 7/27/09, Teo En Ming wrote: From: Teo En Ming Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS=20 Kernel To: "Boris Derzhavets" ,=20 xen-devel@lists.xensource.com Date: Monday, July 27, 2009, 12:58 AM Dear Boris, I have changed my opensolaris vm configuration. Please see=20 http://1.bp.blogspot.com/_zzjv8MCM2sk/Sm0yIVtghCI/AAAAAAAAAGE/ZGkYbBhhx5w= /s1600-h/01.jpeg http://1.bp.blogspot.com/_zzjv8MCM2sk/Sm0yIDWV0RI/AAAAAAAAAF8/aP9riPOEZyk= /s1600-h/02.jpeg http://2.bp.blogspot.com/_zzjv8MCM2sk/Sm0yHzY3WCI/AAAAAAAAAF0/gFxy7zJZXi8= /s1600-h/03.jpeg http://3.bp.blogspot.com/_zzjv8MCM2sk/Sm0yHm0RO8I/AAAAAAAAAFs/hIgei-yTbx4= /s1600-h/04.jpeg http://1.bp.blogspot.com/_zzjv8MCM2sk/Sm0yHcUoQ_I/AAAAAAAAAFk/9AiZKPqmG80= /s1600-h/05.jpeg http://4.bp.blogspot.com/_zzjv8MCM2sk/Sm0zdXRfyuI/AAAAAAAAAGM/ZqOaIbmTzB8= /s1600-h/06.jpeg I see my OpenSolaris guest sending DHCPDISCOVER and my OpenSUSE 11.1=20 32-bit Dom 0 Xen host sending DHCPOFFER but the OpenSolaris virtual machi= ne=20 is not setting the offered dynamic IP address to it's virtual NIC. Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department =20 Asiasoft Online Pte Ltd =20 Tampines Central 1 #04-01 Tampines Plaza =20 Singapore 529541 Republic of Singapore =20 Mobile Phone: +65-9648-9798 =20 MSN: teoenming@hotmail.com -----Original=20 Message----- =20 From: "Boris Derzhavets" =20 To: ,=20 =20 Date: Mon, 27 Jul 2009 13:01:54 +0800 =20 Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's=20 PVOPS Kernel =20 =20 =20 View:- =20 =20 =20 http://www.opensolaris.org/jive/thread.jspa?threadID=3D104509&tstart=3D7= 5 =20 =20 To switch OSOL DomU run with static IP:- =20 =20 pfexec svcadm disable network/physical:nwam && \ =20 pfexec svcadm enable network/physical:default =20 pfexec ifconfig xnf0 down =20 pfexec ifconfig xnf0 192.168.1.102 netmask 255.255.255.0=20 mtu 1492 =20 pfexec ifconfig xnf0 up =20 pfexec route add default 192.168.1.102 =20 =20 which i can/do @ installer time to use static IP=20 assignements. i just =20 can't seem to get them to 'stick' or 'be happy' after=20 reboot and xen, =20 run-time launch. =20 =20 Use the same commands with the installed system. =20 =20 To make the settings permanent you also need (Jurgen Keil)=20 : =20 =20 echo 192.168.1.102 netmask 255.255.255.0 mtu 1492 >=20 /etc/hostname.xnf0 =20 =20 rm /etc/dhcp.xnf0 =20 =20 echo 192.168.1.102 > /etc/defaultrouter =20 =20 =20 Boris. =20 =20 --- On Sun, 7/26/09,=20 Mr. Teo En Ming (Zhang Enming) < enming.teo@asiasoftsea.net=20 > wrote: =20 From: Mr. Teo En Ming (Zhang Enming) < enming.teo@asiasoftsea.net > =20 Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in=20 Jeremy's PVOPS Kernel =20 To: bderzhavets@yahoo.com, xen-devel@lists.xensource.com =20 Date: Sunday, July 26, 2009, 5:08 AM =20 I am using static IP=20 address. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01=20 Tampines Plaza=20 =20 Singapore=20 529541 Republic of=20 Singapore=20 Mobile Phone: +65-9648-9798 MSN: teoenming@hotmail.com =20 Boris Derzhavets wrote: =20 Does your OpenSuse 11.1=20 32-bit has static IP address or it obtain it via DHCP ? =20 If second option is in place please submit =20 # brctl show =20 =20 Boris. =20 =20 --- On Sat,=20 7/25/09, Mr. Teo En Ming (Zhang Enming) wrot= e: =20 From: Mr. Teo En Ming (Zhang Enming) =20 Subject: Re: [Xen-devel] Unable to Configure Xen Dom=20 0 in Jeremy's PVOPS Kernel =20 To: enming.teo@asiasoftsea.net =20 Cc: "Sander Eikelenboom" , bderzhavets@yahoo.com,=20 xen-devel@lists.xensource.com, Pasi Kr@yahoo.com =20 Date: Saturday, July 25, 2009, 10:50 PM =20 At the moment there is only one network card installed on my lab PC in my= =20 company running OpenSUSE 11.1 32-bit with Xen 3.4.1-rc8 Dom 0 kernel=20 2.6.30-rc6 (jeremy). So when there are more network cards installed, ther= e=20 will be eth0, eth1, eth2 ethernet bridges, etc. =20 =20 Then I can assign the virtual network card in each=20 virtual machine to a specific ethernet network bridge (out of many bridge= s)=20 in Domain 0 using the vif command in guest domain configuration. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01=20 Tampines Plaza=20 =20 Singapore=20 529541 Republic of=20 Singapore=20 Mobile Phone: +65-9648-9798 MSN: teoenming@hotmail.com=20 =20 Mr. Teo En Ming (Zhang Enming) wrote: =20 Dear Boris, =20 =20 The ethernet network bridge on OpenSUSE 11.1 is=20 eth0. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01=20 Tampines Plaza=20 =20 Singapore=20 529541 Republic of=20 Singapore=20 Mobile Phone: +65-9648-9798 MSN: teoenming@hotmail.com=20 =20 Boris Derzhavets wrote: =20 This means that OSOL=20 installer (by default ) will issue DHCPDISCOVER via your Xen bridge, look= ing=20 for DHCP server on your LAN. Only on RHEL 5.3 =20 (F10 with Xen 3.3.1 src.rpm been installed=20 along with generated packages) with libvirtd & dnsmasq up and running=20 you can specify =20 vif=3D['bridge=3Dvirbr0' ] to detect DHCP=20 Server at your Dom0. =20 =20 View for instance :- =20 =20 http://bderzhavets.wordpress.com/2009/05/07/backport-zfs-support-to-xen-3= 31-f10-dom0-kernel-2630-rc3-tip/=20 [http://bderzhavets.wordpress.com/2009/05/07/backport-zfs-support-to-xen-= 331-f10-dom0-kernel-2630-rc3-tip/] =20 =20 I don't have any experience with OpenSuse 11.1=20 . I hardly remind they tried to reproduce RH's technology. Most probably=20 they did it in SLES 11 (not sure). Check for libvirtd&dnsmasq daemons up=20 and running. =20 But if your OpenSuse 11.1 Dom0 is on "dhcp"=20 bridge itself , then no problems. Just vif=3D['bridge=3Deth0']. =20 =20 Boris. =20 =20 --- On Sat,=20 7/25/09, Mr. Teo En Ming (Zhang Enming) < enming.teo@asiasoftsea.net=20 > wrote: =20 From: Mr. Teo En Ming (Zhang Enming)=20 < enming.teo@asiasoftsea.net=20 > =20 Subject: Re: [Xen-devel] Unable to Configure=20 Xen Dom 0 in Jeremy's PVOPS Kernel =20 To: bderzhavets@yahoo.com =20 Cc: "Sander Eikelenboom"=20 , Pasi Kr@yahoo.com,=20 xen-devel@lists.xensource.com =20 Date: Saturday, July 25, 2009, 12:32 PM =20 Dear Boris, =20 =20 This means I have to install a DHCP server or=20 dnsmasq in my Dom 0, listening on my Dom 0's IP address, so that it can=20 assign dynamic IP addresses to the DomU. =20 =20 By the way, are there any paravirtualized=20 device drivers that I can install in DomU to improve the performance of t= he=20 virtual machine? =20 =20 Thank you. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01=20 Tampines Plaza=20 =20 Singapore=20 529541 Republic of=20 Singapore=20 Mobile Phone: +65-9648-9798 MSN: teoenming@hotmail.com=20 =20 Boris Derzhavets wrote: =20 >I=20 noticed under the guest domain configuration there is a parameter called=20 >'extra' kernel parameter. Does the 'nowin' argument stand for no=20 >graphical windows? =20 =20 Login as jack/jack to text console. =20 =20 Wait until :- =20 =20 $ pfexec ifconfig -a =20 =20 will show up your IPv4 address =20 =20 $ mkdir .vnc =20 $ cp .Xclients .vnc/xstartup =20 $ vncserver =20 =20 Connect via vncviewer IP-DomU:1 from=20 another terminal session to OSOL DomU. In case OSOL installer will fail t= o=20 obtain IP via DHCPDISCOVER, =20 let me know. It might happen and requires=20 Solaris Kernel Model Debugger =20 to disable checksum offloading at boot=20 up. Seems to be hardware dependent issue for OSOL 2009.06 =20 =20 ********************************** =20 Copy ramdisk and kernel to Dom0 =20 **********************************[root@ServerXen isos]# cat copy.sh =20 mount -o=20 loop,ro osol-0906-x86.iso /mnt =20 cp=20 /mnt/boot/amd64/x86.microroot /home/boris/solaris =20 cp=20 /mnt/platform/i86xpv/kernel/amd64/unix=20 /home/boris/solaris*********************** =20 Installation profile:- =20 ***********************[root@ServerXen solaris]# cat osol200906.install =20 name =3D=20 "sol0906" =20 vcpus =3D=20 1 =20 memory =3D=20 "1024" =20 kernel =3D=20 "/home/boris/solaris/unix" =20 ramdisk =3D=20 "/home/boris/solaris/x86.microroot" =20 extra =3D=20 "/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=3Dcdrom" =20 disk =3D=20 ['phy:/dev/loop0,xvdc:cdrom,r','phy:/dev/sdb5,xvda,w'] =20 # Would=20 work as well =20 # disk =3D=20 ['phy:/dev/loop0,6:cdrom,r','phy:/dev/sdb5,0,w'] vif =3D=20 ['bridge=3Deth1']on_shutdown =3D "destroy" =20 on_reboot=20 =3D "destroy" =20 on_crash =3D=20 "destroy"Boris =20 =20 --- On Sat, 7/25/09, Mr. Teo En Ming (Zhang Enming) <=20 enming.teo@asiasoftsea.net >=20 wrote: =20 From: Mr. Teo En Ming (Zhang Enming)=20 < enming.teo@asiasoftsea.net=20 > =20 Subject: Re: [Xen-devel] Unable to=20 Configure Xen Dom 0 in Jeremy's PVOPS Kernel =20 To:=20 enming.teo@asiasoftsea.net=20 =20 Cc: "Sander Eikelenboom"=20 , "Boris Derzhavets"=20 , xen-devel@lists.xensource.com,=20 =3D?ISO-8859-1?Q?Pasi_K=3DE4r?=3D@yahoo.com =20 Date: Saturday, July 25, 2009, 7:14=20 AM =20 Dear All, =20 =20 I am trying to install OpenSolaris=20 2009.06 32-bit paravirtualized guest on OpenSUSE 11.1 32-bit paravirt-ops= =20 enabled Xen 3.4.1-rc8 Dom 0 Kernel 2.6.30-rc6. =20 =20 However, I am getting an opensolaris=20 console login prompt. There is no GNOME DE for me to launch the GUI=20 installer for OpenSolaris. I am using the OpenSolaris LiveCD 32-bit. =20 =20 I noticed under the guest domain=20 configuration there is a parameter called 'extra' kernel parameter. Does = the=20 'nowin' argument stand for no graphical windows? =20 =20 =20 http://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT4kZta-I/AAAAAAAAAE0/xxUGuNunPoY= /s1600-h/01.jpeg=20 [http://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT4kZta-I/AAAAAAAAAE0/xxUGuNunPo= Y/s1600-h/01.jpeg] =20 =20 =20 http://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT5YG2sNI/AAAAAAAAAFM/H0ntFt6LCx4= /s1600-h/04.jpeg=20 [http://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT5YG2sNI/AAAAAAAAAFM/H0ntFt6LCx= 4/s1600-h/04.jpeg] =20 =20 =20 http://2.bp.blogspot.com/_zzjv8MCM2sk/SmoT5uzjF6I/AAAAAAAAAFU/2Y3KNWPUwWk= /s1600-h/05.jpeg=20 [http://2.bp.blogspot.com/_zzjv8MCM2sk/SmoT5uzjF6I/AAAAAAAAAFU/2Y3KNWPUwW= k/s1600-h/05.jpeg] =20 =20 Then I also get the "invalid disk=20 device number (768)" error. Do I need to use xvda instead of hda? =20 =20 Thank you very much. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01=20 Tampines Plaza=20 =20 Singapore=20 529541 Republic of=20 Singapore=20 Mobile Phone: +65-9648-9798 MSN: teoenming@hotmail.com=20 =20 Teo En Ming wrote: =20 As a=20 matter of fact, our servers are either Dell PowerEdge 1950/2950 and IBM=20 xSeries. =20 =20 I am=20 just testing it out on our lab PC first. =20 Mr. Teo=20 En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanica= l=20 Engineering) =20 Technical Support Engineer =20 Information Technology Department =20 Asiasoft Online Pte Ltd =20 Tampines Central 1 #04-01 Tampines=20 Plaza =20 =20 Singapore 529541 =20 Republicof Singapore =20 Mobile Phone: +65-9648-9798 =20 MSN: teoenming@hotmail.com =20 -----Original Message----- =20 From: "Teo En Ming"=20 < enming.teo@asiasoftsea.net=20 > =20 To: "Boris Derzhavets"=20 , "Pasi K=E4rkk=E4inen" =20 Cc: Sander Eikelenboom=20 , xen-devel@lists.xensource.com =20 Date: Sat, 25 Jul 2009 02:27:02 +0800 =20 Subject: Re: Re[8]: [Xen-devel]=20 Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel =20 Dear=20 Boris, =20 =20 My next=20 step will be a 64-bit Xen Dom 0 host. =20 Mr. Teo=20 En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanica= l=20 Engineering) =20 Technical Support Engineer =20 Information Technology Department =20 Asiasoft Online Pte Ltd =20 Tampines Central 1 #04-01 Tampines=20 Plaza =20 =20 Singapore 529541 =20 Republicof Singapore =20 Mobile Phone: +65-9648-9798 =20 MSN: teoenming@hotmail.com =20 -----Original Message----- =20 From: Boris Derzhavets=20 =20 To: Pasi K=E4rkk=E4inen=20 ,=20 enming.teo@asiasoftsea.net=20 =20 Cc: Sander Eikelenboom=20 , xen-devel@lists.xensource.com =20 Date: Fri, 24 Jul 2009 10:57:49=20 -0700 (PDT) =20 Subject: Re: Re[8]: [Xen-devel]=20 Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel =20 Teo, it=20 is up to you how to manage, if you just having fun. =20 Otherwise, downloading 64-bit=20 OpenSuse 11.1 ISO image =20 takes just 12-14 hr even at=20 slow ADSL speed ( like 100 KB/sec). =20 Install takes 30 minutes and=20 brings you to the trusted results, instead =20 of wasting a lot of time in=20 case of business environment assignment. =20 Pasi has 32-bit experience due=20 to hardware limitations, which you don't =20 have. =20 =20 Boris. =20 =20 --- On Fri, 7/24/09, Teo En Ming <=20 enming.teo@asiasoftsea.net > wrote: =20 From: Teo En Ming=20 < enming.teo@asiasoftsea.net=20 > =20 Subject: Re: Re[8]: [Xen-devel]=20 Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel =20 To: "Boris Derzhavets"=20 , "Pasi K=E4rkk=E4inen" =20 Cc: "Sander Eikelenboom"=20 , xen-devel@lists.xensource.com =20 Date: Friday, July 24, 2009,=20 12:56 PM =20 Dear Boris, =20 =20 My colleague installed OpenSUSE 11.1 32-bit on the Core 2 Duo machine in = our=20 labs. Please see my earlier replies in the same topic. =20 =20 I was too lazy to reformat and install 64-bit OpenSUSE, so I proceeded wi= th=20 Xen Dom 0 pvops kernel compilation on 32-bit Linux host. =20 =20 I admit I am getting a lot of headache. Haha. =20 Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering) =20 Technical Support Engineer =20 Information Technology Department =20 Asiasoft Online Pte Ltd =20 Tampines Central 1 #04-01=20 Tampines Plaza =20 Singapore=20 529541 =20 Republicof Singapore =20 Mobile Phone: +65-9648-9798 =20 MSN: teoenming@hotmail.com =20 -----Original Message----- =20 From: Boris Derzhavets=20 =20 To: enming.teo@asiasoftsea.net , Pasi K=E4rkk=E4inen=20 =20 Cc: Sander Eikelenboom=20 , xen-devel@lists.xensource.com =20 Date: Fri, 24 Jul 2009=20 09:57:18 -0700 (PDT) =20 Subject: Re: Re[8]:=20 [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel =20 Once again, i don't see any reason to to run 32-bit OS on Core2Duo, =20 unless you like Xen=20 head ache. Core development (PVOPS) is obviously =20 running in 64-bit=20 environment. =20 =20 Boris. =20 =20 --- On Fri, 7/24/09, Boris Derzhavets wrote: =20 From: Boris Derzhavets=20 =20 Subject: Re: Re[8]:=20 [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel =20 To: enming.teo@asiasoftsea.net , "Pasi K=E4rkk=E4inen"=20 =20 Cc: "Sander=20 Eikelenboom" , xen-devel@lists.xensource.com =20 Date: Friday, July 24,=20 2009, 12:47 PM =20 >After doing the above, I=20 re-installed back the Xen hypervisor, libraries and tools, and also >the=20 kernel, initrd, and modules. Then I proceeded to reboot my machine. After= =20 rebooting, > my CentOS 4.7 32-bit PV guest is still able to start and=20 run!Why it wouldn't ?=20 If your image stays the same. =20 > I am still very puzzled! What causes the PV guest initially=20 cannot start? Then what >subsequently causes the PV guest to suddenly be=20 able to start and run??? =20 =20 That is not=20 supposed to happen. I would suggest clean OS (without any built in xen=20 presence) install , followed by Xen 3.4.1+pvops kernel clean install. =20 =20 Boris. =20 =20 --- On Fri, 7/24/09, Teo En Ming <=20 enming.teo@asiasoftsea.net > wrote: =20 From: Teo En Ming=20 < enming.teo@asiasoftsea.net=20 > =20 Subject: Re:=20 Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel =20 To: "Teo En Ming"=20 < enming.teo@asiasoftsea.net=20 >, "Pasi K=E4rkk=E4inen" =20 Cc: "Sander=20 Eikelenboom" , xen-devel@lists.xensource.com =20 Date: Friday,=20 July 24, 2009, 12:19 PM =20 Dear All, =20 =20 I am very puzzled. In investigating the cause of the sudden=20 success of the CentOS 4.7 32-bit PV guest being able to run, I have=20 uninstalled virt-manager and all of its dependencies: =20 =20 docbook =20 python-gtk-vnc =20 xen-libs 3.3.1 =20 scrollkeeper =20 xen-tools 3.3.1 =20 libvirt 0.4.6 =20 libvirt-python =20 vm-install 0.3.24 =20 =20 Then I proceeded to "make uninstall" in xen-3.4-testing source=20 tree, which also removed my self compiled Xen Dom 0 pvops enabled kernel,= =20 initrd and kernel modules. =20 =20 After doing the above, I re-installed back the Xen hypervisor,=20 libraries and tools, and also the kernel, initrd, and modules. Then I=20 proceeded to reboot my machine. After rebooting, my CentOS 4.7 32-bit PV=20 guest is still able to start and run! =20 =20 I am still very puzzled! What causes the PV guest initially cannot=20 start? Then what subsequently causes the PV guest to suddenly be able to=20 start and run??? =20 =20 ***scratches head*** =20 =20 Anyway my CentOS 4.7 guest domain is now running. I shall now=20 proceed to virtualize OpenSolaris 2009.06. =20 =20 Thank you. =20 =20 Also see screenshots of my CentOS 4.7 PV guest here:=20 http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/creating-centos-= 47-32-bit.html=20 [http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/creating-centos= -47-32-bit.html] =20 Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering) =20 Technical Support Engineer =20 Information Technology Department =20 Asiasoft=20 Online Pte Ltd =20 Tampines=20 Central 1 #04-01 Tampines Plaza =20 =20 Singapore=20 529541 =20 Republicof Singapore =20 Mobile=20 Phone: +65-9648-9798 =20 MSN:=20 teoenming@hotmail.com =20 -----Original Message----- =20 From: "Teo En=20 Ming" <=20 enming.teo@asiasoftsea.net > =20 To: "Teo En=20 Ming" <=20 enming.teo@asiasoftsea.net >, "Pasi K=E4rkk=E4inen"=20 =20 Cc: Sander=20 Eikelenboom , xen-devel@lists.xensource.com =20 Date: Fri, 24=20 Jul 2009 22:54:26 +0800 =20 Subject: Re:=20 Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel =20 Hi Pasi, =20 =20 It's very strange. Suddenly my CentOS 4.7=20 32-bit PV guest is able to start!!! Previously it refuses to start at all= . =20 =20 I think I must have changed something in Dom 0=20 when I attempted "yast --install virt-manager". This action might have=20 solved the problem. When I tried to install virt-manager, it also tries t= o=20 install xen-libs-3.3.1 and xen-tools-3.3.1 as dependencies. However, I=20 started off my Xen Dom 0 pvops kernel install with Xen 3.4.1 rc8 branch. =20 =20 I need to investigate more why suddenly my=20 CentOS 4.7 32-bit PV guest is able to start. =20 Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics=20 Engineering) BEng(Hons)(Mechanical Engineering) =20 Technical Support Engineer =20 Information Technology Department =20 Asiasoft=20 Online Pte Ltd =20 Tampines=20 Central 1 #04-01 Tampines Plaza =20 =20 Singapore=20 529541 =20 Republic of=20 Singapore =20 Mobile=20 Phone: +65-9648-9798 =20 MSN:=20 teoenming@hotmail.com =20 -----Original=20 Message----- =20 From: "Teo=20 En Ming" <=20 enming.teo@asiasoftsea.net > =20 To: "Pasi=20 K=E4rkk=E4inen" =20 Cc: Sander=20 Eikelenboom , xen-devel@lists.xensource.com =20 Date: Fri,=20 24 Jul 2009 21:54:00 +0800 =20 Subject:=20 Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS=20 Kernel =20 Hi Pasi, =20 =20 I realized that Fedora 10 32-bit anaconda=20 installer does not install PAE kernel after mounting the guest disk image= =20 file. I mounted the guest disk image file using losetup and kpartx which=20 adds device nodes to /dev/mapper. I examined the /boot directory after=20 mounting the guest disk image file and found no PAE vmlinuz and initrd. =20 =20 Still using the mounted Fedora 10 32-bit guest=20 disk image file, I changed root to the guest disk filesystems and attempt= ed=20 to install the PAE kernel. Then I modified menu.lst to boot the PAE kerne= l.=20 After modifying the grub configuration of the guest domain, I un-mounted = the=20 guest filesystem. =20 =20 I proceeded to boot the F10 32-bit guest, since=20 I changed to PAE kernel. It is able to boot now (since the PAE kernel is=20 xen-aware) but then it complains cannot mount /dev/root. Probably somethi= ng=20 to do with the PAE initrd file. =20 =20 Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics=20 Engineering) BEng(Hons)(Mechanical Engineering) =20 Technical Support Engineer =20 Information Technology Department =20 Asiasoft=20 Online Pte Ltd =20 Tampines=20 Central 1 #04-01 Tampines Plaza =20 =20 Singapore=20 529541 =20 Republic of=20 Singapore =20 Mobile=20 Phone: +65-9648-9798 =20 MSN:=20 teoenming@hotmail.com =20 -----Original=20 Message----- =20 From:=20 Pasi K=E4rkk=E4inen =20 To: Teo=20 En Ming <=20 enming.teo@asiasoftsea.net > =20 Cc:=20 Sander Eikelenboom ,=20 xen-devel@lists.xensource.com =20 Date:=20 Fri, 24 Jul 2009 16:31:19 +0300 =20 Subject:=20 Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS=20 Kernel =20 On Fri, Jul 24, 2009 at=20 08:37:09PM +0800, Teo En Ming wrote: =20 > Hi =20 > =20 > I=20 attempted to install Fedora 10 32-bit PV guest using =20 >=20 images/pxeboot/vmlinuz-PAE and images/pxeboot/initrd-PAE.img from the F10 =20 >=20 media. The non-PAE kernel could not load the installer. I finished my Fed= ora =20 > 10=20 32-bit PV guest installation but it also cannot boot up after =20 >=20 installation, same as the CentOS 4.7 PV guest installation. =20 > =20 =20 Fedora=20 10 installer has a bug, as a default it installs non-PAE kernel for =20 xen=20 domU. You need to use a kickstart script (like this) to fix it: =20 http://pasik.reaktio.net/fedora/f10-xen-domu-ks.cfg=20 [http://pasik.reaktio.net/fedora/f10-xen-domu-ks.cfg] =20 =20 The=20 important lines being: =20 =20 -kernel =20 =20 kernel-PAE =20 =20 (Fedora=20 10 and Fedora 11 default kernels are compiled with pv_ops Xen domU =20 support=20 enabled, so there's no need for separate kernel-xen with these distros). =20 =20 Fedora=20 11 doesn't have that installer bug, so it installs right =20 =20 out-of-the-box as Xen domU. =20 =20 What's=20 the error you get when you start the guest after installation? =20 Please=20 paste the "xm log" as text. =20 =20 I don't=20 have any problems with CentOS 5.3 dom0. =20 =20 -- Pasi =20 -----Inline=20 Attachment Follows----- =20 _______________________________________________ =20 Xen-devel=20 mailing list =20 =20 Xen-devel@lists.xensource.com =20 http://lists.xensource.com/xen-devel [http://lists.xensource.com/xen-dev= el] =20 -----Inline Attachment=20 Follows----- =20 _______________________________________________ =20 Xen-devel mailing=20 list =20 =20 Xen-devel@lists.xensource.com =20 http://lists.xensource.com/xen-devel [http://lists.xensource.com/xen-dev= el] =20 -----Inline Attachment=20 Follows----- =20 _______________________________________________ =20 Xen-devel mailing list =20 Xen-devel@lists.xensource.com =20 http://lists.xensource.com/xen-devel [http://lists.xensource.com/xen-dev= el] =20 _____________________________________________= __ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel=20 [http://lists.xensource.com/xen-devel] =20 -----Inline Attachment Follows----- =20 No virus found in this outgoing=20 message. =20 Checked by AVG - www.avg.com [http://www.avg.com/] =20 Version: 8.5.392 / Virus Database:=20 270.13.29/2260 - Release Date: 07/25/09 01:48:00 =20 -----Inline Attachment Follows----- =20 _______________________________________________ =20 Xen-devel mailing list =20 Xen-devel@lists.xensource.com =20 http://lists.xensource.com/xen-devel [http://lists.xensource.com/xen-dev= el] =20 =20 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel=20 [http://lists.xensource.com/xen-devel] =20 -----Inline Attachment Follows----- =20 No virus found in this outgoing message. =20 Checked by AVG - www.avg.com [http://www.avg.com/] =20 Version: 8.5.392 / Virus Database:=20 270.13.29/2260 - Release Date: 07/25/09 01:48:00 =20 -----Inline Attachment Follows----- =20 _______________________________________________ =20 Xen-devel mailing list =20 Xen-devel@lists.xensource.com =20 http://lists.xensource.com/xen-devel [http://lists.xensource.com/xen-dev= el] =20 =20 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel=20 [http://lists.xensource.com/xen-devel]=20 =20 =20 =20 No virus found in this outgoing message. Checked by AVG - www.avg.com [http://www.avg.com/] Version: 8.5.392 / Virus Database: 270.13.30/2262 - Release Date: 07/25/0= 9=20 18:01:00=20 =20 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel=20 [http://lists.xensource.com/xen-devel] =20 -----Inline Attachment Follows----- =20 No virus found in this outgoing message. =20 Checked by AVG - www.avg.com [http://www.avg.com/] =20 Version: 8.5.392 / Virus Database: 270.13.30/2262 -=20 Release Date: 07/25/09 18:01:00 =20 -----Inline Attachment Follows----- =20 _______________________________________________ =20 Xen-devel mailing list =20 Xen-devel@lists.xensource.com =20 http://lists.xensource.com/xen-devel [http://lists.xensource.com/xen-dev= el] =20 -----Inline Attachment Follows----- =20 No virus found in this outgoing message. =20 Checked by AVG - www.avg.com =20 Version: 8.5.392 / Virus Database: 270.13.30/2262 -=20 Release Date: 07/25/09 18:01:00 =20 =20 No virus found in this incoming message. =20 Checked by AVG - www.avg.com =20 Version: 8.5.339 / Virus Database: 270.13.24/2255 - Release=20 Date: 07/22/09 18:00:00 -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com=20 [https://mail.asiasoftsea.net/mc/compose?to=3DXen-devel@lists.xensource.c= om] http://lists.xensource.com/xen-devel [http://lists.xensource.com/xen-deve= l] --0727_0957_55_PART-BREAK Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
 
Dear Boris,

My CentOS 4.7 32-bit PV guest is getting the dynamic IP address=20 assignment from the dnsmasq dhcp server I have setup and configured on Xe= n=20 Dom 0 OpenSUSE 11.1 32-bit host correctly.
 
So I think the issue is OpenSolaris specific.
 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile Phone: +65-9648-9798
MSN: teoenming@hotmail.com


-----Original=20 Message-----
From: Boris Derzhavets <bderzhavets@yahoo.com>
To: xen-devel@lists.xensource.com, enming.teo@asiasoftsea.net
Date: Mon, 27 Jul 2009 01:57:43 -0700 (PDT)
Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy= 's=20 PVOPS Kernel

Please, submit "brctl show"

Boris.

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

From: Teo En Ming <enming.teo@asiasoftsea.net>
Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in=20 Jeremy's PVOPS Kernel
To: "Boris Derzhavets" <bderzhavets@yahoo.com>,=20 xen-devel@lists.xensource.com
Date: Monday, July 27, 2009, 12:58 AM

Dear Boris,
 
I have changed my opensolaris vm configuration. Please see= =20 http://1.bp.blogspot.com/_zzjv8MCM2sk/Sm0yIVtghCI/AAAAAAAAAGE/ZGkYbBhhx5w= /s1600-h/01.jpeg
 
=20 http://1.bp.blogspot.com/_zzjv8MCM2sk/Sm0yIDWV0RI/AAAAAAAAAF8/aP9riPOEZyk= /s1600-h/02.jpeg
 
=20 http://2.bp.blogspot.com/_zzjv8MCM2sk/Sm0yHzY3WCI/AAAAAAAAAF0/gFxy7zJZXi8= /s1600-h/03.jpeg
 
=20 http://3.bp.blogspot.com/_zzjv8MCM2sk/Sm0yHm0RO8I/AAAAAAAAAFs/hIgei-yTbx4= /s1600-h/04.jpeg
 
=20 http://1.bp.blogspot.com/_zzjv8MCM2sk/Sm0yHcUoQ_I/AAAAAAAAAFk/9AiZKPqmG80= /s1600-h/05.jpeg
 
=20 http://4.bp.blogspot.com/_zzjv8MCM2sk/Sm0zdXRfyuI/AAAAAAAAAGM/ZqOaIbmTzB8= /s1600-h/06.jpeg
 
I see my OpenSolaris guest sending DHCPDISCOVER and my=20 OpenSUSE 11.1 32-bit Dom 0 Xen host sending DHCPOFFER but the OpenSolaris= =20 virtual machine is not setting the offered dynamic IP address to it's=20 virtual NIC.
 

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


-----Original Message-----
From: "Boris Derzhavets" <bderzhavets@yahoo.com>
To: <xen-devel@lists.xensource.com>,=20 <enming.teo@asiasoftsea.net>
Date: Mon, 27 Jul 2009 13:01:54 +0800
Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0= in=20 Jeremy's PVOPS Kernel


View:-

=20  http://www.opensolaris.org/jive/thread.jspa?threadID=3D104509&t= start=3D75

To switch OSOL DomU run with static IP:-

pfexec svcadm disable network/physical:nwam=20 && \
pfexec svcadm enable =20 network/physical:default
pfexec ifconfig xnf0 down
pfexec ifconfig xnf0 192.168.1.102 netmask=20 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=20 assignements.  i just
can't seem to get them to 'stick' or 'be happy= '=20 after reboot and xen,
run-time launch.

Use the same commands with the installed syste= m.

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

echo 192.168.1.102 netmask 255.255.255.0 mtu 1= 492=20 > /etc/hostname.xnf0

rm /etc/dhcp.xnf0

echo 192.168.1.102 > /etc/defaultrouter


Boris.

--- On S= un,=20 7/26/09, Mr. Teo En Ming (Zhang Enming) < enming.teo@asiasoftsea.net > wrote:

From: Mr. Teo En Ming (Zhang Enming) <=20 enming.teo@asiasoftsea.net >
Subject: Re: [Xen-devel] Unable to Configure X= en=20 Dom 0 in Jeremy's PVOPS Kernel
To: bderzhavets@yahoo.com,=20 xen-devel@lists.xensource.com
Date: Sunday, July 26, 2009, 5:08 AM
=20
-- 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 Phone: +65-9648-9798 MSN: teoenming@hotmail.com


Boris Derzhavets wrote:
Does your OpenSuse= 11.1=20 32-bit has static IP address or it obtain it via DHCP ?
If second option is in place please subm= it
# brctl show

Boris.

--- On Sat, 7/25/09, Mr. Teo En Ming (Zhang Enming) <enming.teo@asiasoftsea.net> wrote:

From: Mr. Teo En Ming (Zhang Enming) <enming.teo@asiasoftsea.net>
Subject: Re: [Xen-devel] Unable to=20 Configure Xen Dom 0 in Jeremy's PVOPS Kernel
To: enming.teo@asiasoftsea.net
Cc: "Sander Eikelenboom" <linux@eikelenboom.it>, bderzhavets@yahoo.c= om , xen-devel@lists.xensource.com, Pasi Kr@yahoo.com
Date: Saturday, July 25, 2009, 10:50 PM=20
At the moment there is only one network card=20 installed on my lab PC in my company running OpenSUSE 11.1 32-bit with Xe= n=20 3.4.1-rc8 Dom 0 kernel 2.6.30-rc6 (jeremy). So when there are more networ= k=20 cards installed, there will be eth0, eth1, eth2 ethernet bridges, etc.

Then I can assign the virtual network=20 card in each virtual machine to a specific ethernet network bridge (out o= f=20 many bridges) in Domain 0 using the vif command in guest domain=20 configuration.
--

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 Phone: +65-9648-9798

MSN: teoenming@hotmail.com 

Mr. Teo En Ming (Zhang Enming) wrote:=20
Dear Boris,

The ethernet network bridge on OpenSUS= E=20 11.1 is eth0.
--

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 Phone: +65-9648-9798

MSN: teoenming@hotmail.com 

Boris Derzhavets wrote:
= This=20 means that OSOL installer (by default ) will issue DHCPDISCOVER via your = Xen=20 bridge, looking for DHCP server on your LAN. Only on RHEL 5.3
(F10 with Xen 3.3.1 src.rpm been=20 installed along with generated packages) with libvirtd & dnsmasq up a= nd=20 running you can specify
 vif=3D['bridge=3Dvirbr0' ] t= o=20 detect DHCP Server at your Dom0.

View for instance :-
=20 http://bderzhavets.wordpress.com/2009/05/07/backport-zfs-support-to-xen-3= 31-f10-dom0-kernel-2630-rc3-tip/

I don't have any experience with=20 OpenSuse 11.1 . I hardly remind they tried to reproduce RH's technology.=20 Most probably they did it in SLES 11 (not sure). Check for=20 libvirtd&dnsmasq daemons up and running.
But if your OpenSuse 11.1 Dom0 is = on=20 "dhcp" bridge itself , then no problems. Just vif=3D['bridge=3Deth0'].

Boris.

--- On Sat, 7/25/09, Mr. Teo En Ming (Zhang Enming) < enming.teo@asiasoftsea.net > wrote:

From: Mr. Teo En Ming (Zhang Enmin= g)=20 < enming.teo@asiasoftsea.net >
Subject: Re: [Xen-devel] Unable to= =20 Configure Xen Dom 0 in Jeremy's PVOPS Kernel
To: bderzhavets@yahoo.com
Cc: "Sander Eikelenboom"=20 <linux@eikelenboom.it>, Pasi Kr@yahoo.com,=20 xen-devel@lists.xensource.com
Date: Saturday, July 25, 2009, 12:= 32=20 PM
= Dear=20 Boris,

This means I have to install a D= HCP=20 server or dnsmasq in my Dom 0, listening on my Dom 0's IP address, so tha= t=20 it can assign dynamic IP addresses to the DomU.

By the way, are there any=20 paravirtualized device drivers that I can install in DomU to improve the=20 performance of the virtual machine?

Thank you.
--

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 Phone: +65-9648-9798

MSN: teoenming@hotmail.com 

Boris Derzhavets wrote:
=20
&= gt;I=20 noticed under the guest domain configuration there is a parameter called=20 >'extra' kernel parameter. Does the 'nowin' argument stand for no=20 >graphical windows?

Login as jack/jack to text=20 console.

Wait until :-

$ pfexec ifconfig -a

will show up your IPv4 addre= ss

$ mkdir .vnc
$ cp .Xclients .vnc/xstartup
$ vncserver

Connect via vncviewer IP-Dom= U:1=20 from another terminal session to OSOL DomU. In case OSOL installer will f= ail=20 to obtain IP via DHCPDISCOVER,
let me know. It might happen= =20 and requires Solaris Kernel Model Debugger
to disable checksum offloadi= ng=20 at boot up. Seems to be hardware dependent issue for OSOL 2009.06

=20 **********************************
Copy ramdisk and kernel to D= om0
=20 **********************************

=20 [root@ServerXen isos]# cat copy.sh
mount -o loop,ro osol-0906-x86.iso /mnt
cp /mnt/boot/amd64/x86.microroot /home/boris/solaris
cp /mnt/platform/i86xpv/kernel/amd64/unix /home/boris/solaris



***********************
Installation profile:-
***********************

=20 [root@ServerXen solaris]# cat osol200906.install
name =3D "sol0906"
vcpus =3D 1
memory =3D "1024"
kernel =3D "/home/boris/solaris/unix"
ramdisk =3D "/home/boris/solaris/x86.microroot"
extra =3D "/platform/i86xpv/kernel/amd64/unix - nowin -B=20 install_media=3Dcdrom"
disk =3D ['phy:/dev/loop0,xvdc:cdrom,r','phy:/dev/sdb5,xvda,w']
# Would work as well
# disk =3D ['phy:/dev/loop0,6:cdrom,r','phy:/dev/sdb5,0,w']

vif =3D=20 ['bridge=3Deth1']
=20 on_shutdown =3D "destroy"
on_reboot =3D "destroy"
on_crash =3D "destroy"
=

Boris

--- On Sat, 7/25/09, Mr. Teo En Ming (Zhang Enming)= < enming.teo@asiasoftsea.net ><= /span> wrote:

From: Mr. Teo En Ming (Zhang= =20 Enming) < enming.teo@asiasoftsea.net >
Subject: Re: [Xen-devel] Una= ble=20 to Configure Xen Dom 0 in Jeremy's PVOPS Kernel
To: enming.teo@asiasoftsea.n= et
Cc: "Sander Eikelenboom"=20 <linux@eikelenboom.it>, "Boris Derzhavets"=20 <bderzhavets@yahoo.com>, xen-devel@lists.xensource.com,=20 =3D?ISO-8859-1?Q?Pasi_K=3DE4r?=3D@yahoo.com
Date: Saturday, July 25, 200= 9,=20 7:14 AM
Dear All,

I am trying to install=20 OpenSolaris 2009.06 32-bit paravirtualized guest on OpenSUSE 11.1 32-bit=20 paravirt-ops enabled Xen 3.4.1-rc8 Dom 0 Kernel 2.6.30-rc6.

However, I am getting an=20 opensolaris console login prompt. There is no GNOME DE for me to launch t= he=20 GUI installer for OpenSolaris. I am using the OpenSolaris LiveCD 32-bit.

I noticed under the guest=20 domain configuration there is a parameter called 'extra' kernel parameter= .=20 Does the 'nowin' argument stand for no graphical windows?

=20 http://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT4kZta-I/AAAAAAAAAE0/xxUGuNunPoY= /s1600-h/01.jpeg

=20 http://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT5YG2sNI/AAAAAAAAAFM/H0ntFt6LCx4= /s1600-h/04.jpeg

=20 http://2.bp.blogspot.com/_zzjv8MCM2sk/SmoT5uzjF6I/AAAAAAAAAFU/2Y3KNWPUwWk= /s1600-h/05.jpeg

Then I also get the "inval= id=20 disk device number (768)" error. Do I need to use xvda instead of hda?

Thank you very much.=20

--

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 Phone: +65-9648-9798

MSN: teoenming@hotmail.com 


Teo En Ming wrote:
= =20
As a matter of fact, our servers are either Dell PowerEdge 1950/2950 and = IBM=20 xSeries.
 
I am just testing it out on our lab PC first.
 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-0= 1=20 Tampines Plaza
Singapore 529541
Republic<= font=20 face=3D"inherit"> of Singapore
Mobile Phone
: +65-9648-= 9798
MSN: teoenming@hotmail.c= om=20
 
-----Original Message---= --
From: "Teo En Ming" <= =20 enming.teo@asiasoftsea.net >
To: "Boris Derzhavets"=20 <bderzhavets@yahoo.com>, "Pasi K=E4rkk=E4inen" <pasik@iki.fi>
Cc: Sander Eikelenboom=20 <linux@eikelenboom.it>, xen-devel@lists.xensource.com
Date: Sat, 25 Jul 2009=20 02:27:02 +0800
Subject: Re: Re[8]:=20 [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel
Dear Boris,
 
My next step will be a 64-bit Xen Dom 0 host.
 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Lt= d
Tampines Central 1 #04= -01=20 Tampines Plaza
Singapore 529541
Republic<= font=20 face=3D"inherit"> of Singapore
Mobile Phone
=20 :=20 +65-9648-9798
MSN:=20 teoenming@hotmail.com
 
-----Original Message---= --
From: Boris Derzhavets= =20 <bderzhavets@yahoo.com>
To: Pasi K=E4rkk=E4ine= n=20 <pasik@iki.fi>, enming.teo@asiasoftsea.net
Cc: Sander Eikelenboom= =20 <linux@eikelenboom.it>, xen-devel@lists.xensource.com
Date: Fri, 24 Jul 2009= =20 10:57:49 -0700 (PDT)
Subject: Re: Re[8]:=20 [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel =20
>After doing th= e=20 above, I re-installed back the Xen hypervisor, libraries and tools, and a= lso=20 >the kernel, initrd, and modules. Then I proceeded to reboot my machin= e.=20 After rebooting, > my CentOS 4.7 32-bit PV guest is still able to star= t=20 and run!

Why = it=20 wouldn't ? If your image stays  the same.
=
> I am still very puzzled! What causes th= e=20 PV guest initially cannot start? Then what >subsequently causes the PV= =20 guest to suddenly be able to start and run???
 

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

Bori= s.

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

From= :=20 Teo En Ming < enming.teo@asiasoftsea.net >
=20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's= =20 PVOPS Kernel
To:=20 "Teo En Ming" < enming.teo@asiasoftsea.net >, "Pasi K=E4rkk=E4inen"= =20 <pasik@iki.fi>
Cc:=20 "Sander Eikelenboom" <linux@eikelenboom.it>,=20 xen-devel@lists.xensource.com
Date= :=20 Friday, July 24, 2009, 12:19 PM
Dear All,
 
I am very puzzled. In investigating the caus= e=20 of the sudden success of the CentOS 4.7 32-bit PV guest being able to run= , I=20 have uninstalled virt-manager and all of its dependencies:
 
docbook
python-gtk-vnc
xen-libs 3.3.1
scrollkeeper
xen-tools 3.3.1
libvirt 0.4.6
libvirt-python
vm-install 0.3.24
 
Then I proceeded to "make uninstall" in=20 xen-3.4-testing source tree, which also removed my self compiled Xen Dom = 0=20 pvops enabled kernel, initrd and kernel modules.
 
After doing the above, I re-installed back t= he=20 Xen hypervisor, libraries and tools, and also the kernel, initrd, and=20 modules. Then I proceeded to reboot my machine. After rebooting, my CentO= S=20 4.7 32-bit PV guest is still able to start and run!
 
I am still very puzzled! What causes the PV=20 guest initially cannot start? Then what subsequently causes the PV guest = to=20 suddenly be able to start and run???
 
***scratches head***
 
Anyway my CentOS 4.7 guest domain is now=20 running. I shall now proceed to virtualize OpenSolaris 2009.06.
 
Thank you.
 
Also see screenshots of my CentOS 4.7 PV gue= st=20 here: =20 http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/creating-centos-= 47-32-bit.html
=20  
Mr. Teo En Ming (Zhang Enming) Dip(Mechatron= ics=20 Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
=20 Asiasoft Online Pte Ltd
=20 Tampines Central 1 #04-01 Tampines Plaza
=20 Singapore 529541
Republic of Singapore
=20 Mobile Phone
: +65-9648-9798
=20 MSN: teoenming@hotmail.com
  -----Original=20 Message-----
=20 From: "Teo En Ming" < enming.teo@asiasoftsea.net >
= To:=20 "Teo En Ming" < enming.teo@asiasoftsea.net >, "Pasi K=E4rkk=E4inen"= =20 <pasik@iki.fi>
= Cc:=20 Sander Eikelenboom <linux@eikelenboom.it>,=20 xen-devel@lists.xensource.com
=20 Date: Fri, 24 Jul 2009 22:54:26 +0800
=20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's= =20 PVOPS Kernel
Hi Pasi,
 
It's very strange. Suddenly my CentOS 4.7=20 32-bit PV guest is able to start!!! Previously it refuses to start at all= .=20
 
I think I must have changed something in Dom= 0=20 when I attempted "yast --install virt-manager". This action might have=20 solved the problem. When I tried to install virt-manager, it also tries t= o=20 install xen-libs-3.3.1 and xen-tools-3.3.1 as dependencies. However, I=20 started off my Xen Dom 0 pvops kernel install with Xen 3.4.1 rc8 branch.=20
 
I need to investigate more why suddenly my=20 CentOS 4.7 32-bit PV guest is able to start.
=20  
Mr. Teo En Ming (Zhang Enming) Dip(Mechatron= ics=20 Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
=20 Asiasoft Online Pte Ltd
=20 Tampines Central 1 #04-01 Tampines Plaza
=20 Singapore 529541
Republic of Singapore
=20 Mobile Phone
: +65-9648-9798
=20 MSN: teoenming@hotmail.com
  -----Original=20 Message-----
=20 From: "Teo En Ming" < enming.teo@asiasoftsea.net >
=20 To: "Pasi K=E4rkk=E4inen" <pasik@iki.fi>
=20 Cc: Sander Eikelenboom <linux@eikelenboom.it>,=20 xen-devel@lists.xensource.com
=20 Date: Fri, 24 Jul 2009 21:54:00 +0800
=20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's= =20 PVOPS Kernel
Hi Pasi,
 
I realized that Fedora 10 32-bit anaconda=20 installer does not install PAE kernel after mounting the guest disk image= =20 file. I mounted the guest disk image file using losetup and kpartx which=20 adds device nodes to /dev/mapper. I examined the /boot directory after=20 mounting the guest disk image file and found no PAE vmlinuz and initrd.=20
 
Still using the mounted Fedora 10 32-bit gue= st=20 disk image file, I changed root to the guest disk filesystems and attempt= ed=20 to install the PAE kernel. Then I modified menu.lst to boot the PAE kerne= l.=20 After modifying the grub configuration of the guest domain, I un-mounted = the=20 guest filesystem.
 
I proceeded to boot the F10 32-bit guest, si= nce=20 I changed to PAE kernel. It is able to boot now (since the PAE kernel is=20 xen-aware) but then it complains cannot mount /dev/root. Probably somethi= ng=20 to do with the PAE initrd file.
=20  
Mr. Teo En Ming (Zhang Enming) Dip(Mechatron= ics=20 Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department =20 Asiasoft Online Pte Ltd =20 Tampines Central 1 #04-01 Tampines Plaza =20 Singapore 529541
Republic of Singapore =20 Mobile Phone: +65-9648-9798 =20 MSN: teoenming@hotmail.com
=20
  -----Original=20 Message----- =20 From: Pasi K=E4rkk=E4inen <pasik@iki.fi> =20 To: Teo En Ming < enming.teo@asiasoftsea.net > =20 Cc: Sander Eikelenboom <linux@eikelenboom.it>,=20 xen-devel@lists.xensource.com =20 Date: Fri, 24 Jul 2009 16:31:19 +0300 =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's= =20 PVOPS Kernel
On Fri, Jul 24, 2009 at 08:37:09PM +0800, Teo En Ming wrote: <= br=20 /> > Hi <= br=20 /> > <= br=20 /> > I attempted to install Fedora 10 32-bit PV guest using <= br=20 /> > images/pxeboot/vmlinuz-PAE and images/pxeboot/initrd-PAE.img from= =20 the F10 <= br=20 /> > media. The non-PAE kernel could not load the installer. I finishe= d=20 my Fedora <= br=20 /> > 10 32-bit PV guest installation but it also cannot boot up after <= br=20 /> > installation, same as the CentOS 4.7 PV guest installation. <= br=20 /> > <= br=20 /> <= br=20 /> Fedora 10 installer has a bug, as a default it installs non-PAE kernel= =20 for <= br=20 /> xen domU. You need to use a kickstart script (like this) to fix it: <= br=20 /> =20 http://pasik.reaktio.net/fedora/f10-xen-domu-ks.cfg <= br=20 /> <= br=20 /> The important lines being: <= br=20 /> <= br=20 /> -kernel <= br=20 /> kernel-PAE <= br=20 /> <= br=20 /> (Fedora 10 and Fedora 11 default kernels are compiled with pv_ops Xen=20 domU <= br=20 /> support enabled, so there's no need for separate kernel-xen with these= =20 distros). <= br=20 /> <= br=20 /> Fedora 11 doesn't have that installer bug, so it installs right <= br=20 /> out-of-the-box as Xen domU. <= br=20 /> <= br=20 /> What's the error you get when you start the guest after installation? <= br=20 /> Please paste the "xm log" as text. <= br=20 /> <= br=20 /> I don't have any problems with CentOS 5.3 dom0. <= br=20 /> <= br=20 /> -- Pasi =20

=20 -----Inline Attachment Follows-----
____________________________________________= ___
=20 Xen-devel mailing list
=20 Xen-devel@lists.xensource.com
=20 http://lists.xensource.com/xen-devel
Teo, it is up to you how to manage, if you just having fun.
Otherwise,=20 downloading 64-bit OpenSuse 11.1 ISO image
takes just 12-14 h= r=20 even at slow ADSL speed ( like 100 KB/sec).
Install takes 30=20 minutes and brings you to the trusted results, instead
of wasting a lot o= f=20 time in case of business environment assignment.
Pasi has 32-bit=20 experience due to hardware limitations, which you don't
have.

Boris.

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

From: Teo En Ming=20 < enming.teo@asiasoftsea.net >
Subject: Re: Re[8]= :=20 [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel
To: "Boris=20 Derzhavets" <bderzhavets@yahoo.com>, "Pasi K=E4rkk=E4inen"=20 <pasik@iki.fi>
Cc: "Sander=20 Eikelenboom" <linux@eikelenboom.it>, xen-devel@lists.xensource.com
Date: Friday, July= =20 24, 2009, 12:56 PM
Dear Boris,
 
My colleague installed OpenSUSE 11.1 32-bit on the Core 2 Duo=20 machine in our labs. Please see my earlier replies in the same topic.
 
I was too lazy to reformat and install 64-bit OpenSUSE, so I=20 proceeded with Xen Dom 0 pvops kernel compilation on 32-bit Linux host.=20
 
I admit I am getting a lot of headache. Haha.
 
= =20
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Onlin= e=20 Pte Ltd
Tampines Centr= al=20 1 #04-01 Tampines Plaza
Singapore 5295= 41=20
Republic of Singapore
Mobile Phone=20
 
-----Original Message---= --
From: Boris=20 Derzhavets <bderzhavets@yahoo.com>
To:=20 enming.teo@asiasoftsea.net , Pasi K=E4rkk=E4inen <pasik@iki.fi>
Cc: Sander=20 Eikelenboom <linux@eikelenboom.it>, xen-devel@lists.xensource.com
Date: Fri, 24 = Jul=20 2009 09:57:18 -0700 (PDT)
Subject: Re:=20 Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel= =20
Once again, i don't see any reason to to run 32-bit OS on=20 Core2Duo,
unless you= =20 like Xen head ache. Core development (PVOPS) is obviously
running in= =20 64-bit environment.

Boris.

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

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

-----Inlin= e=20 Attachment Follows-----
=20 _______________________________________________
Xen-deve= l=20 mailing list
=20 Xen-devel@lists.xensource.com
=20 http://lists.xensource.com/xen-devel
 

-----Inline=20 Attachment Follows-----
= _______________________________________________
Xen-devel mailin= g=20 list
=20 Xen-devel@lists.xensource.com
=20 http://lists.xensource.com/xen-devel
 
=

        



_______________________________________________

Xen-devel mailing list

Xen-devel@lists.xensource.com

        
http://lists.xensource.com/xen-devel

  
=20  

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

No virus found in this=20 outgoing message.
Checked by AVG - www.avg.co= m
Version: 8.5.392 / Virus=20 Database: 270.13.29/2260 - Release Date: 07/25/09 01:48:00

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

      


_______________________________________________

Xen-devel mailing list

Xen-devel@lists.xensource.com

      
http://lists.xensource.com/xen-devel

  
= =20  

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

No virus found in this outgoing=20 message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Databas= e:=20 270.13.29/2260 - Release Date: 07/25/09 01:48:00

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

    


_______________________________________________

Xen-devel mailing list

Xen-devel@lists.xensource.com

    
http://lists.xensource.com/xen-devel

  
=20  
 

    




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/0=
9
18:01:00



  

    


_______________________________________________

Xen-devel mailing list

Xen-devel@lists.xensource.com

    
http://lists.xensource.com/xen-devel

  
=20  

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

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

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

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

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

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

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

--0727_0957_55_PART-BREAK-- --===============1353253579== 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 --===============1353253579==--