From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Derzhavets Subject: Re: Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel Date: Mon, 27 Jul 2009 06:15:29 -0700 (PDT) Message-ID: <828086.51163.qm@web56107.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2127786861==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: enming.teo@asiasoftsea.net, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============2127786861== Content-Type: multipart/alternative; boundary="0-67275313-1248700529=:51163" --0-67275313-1248700529=:51163 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 1) I need to edit ~/.vnc/xstartup so that it will launch a GUI =0Ainterface= instead of a text console. During installation, I was able to copy =0A.Xcl= ients to xstartup but after installation, .Xclients do not exist anymore = =0Aunder my personal account. I have configured vncserver before in Linux a= nd I =0Awas able to port the GNOME desktop to my remote vnc client.=0A =20 ***************************************************************************= * 1) It's easy to to grab content of .Xclients just simulating new install an= d =A0save content of .Xclients via any editor. Done just now :- 20. Spanish=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=20 21. Swedish=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=20 To select desktop language, enter a number [default is 6]:=20 User selected: English Configuring devices. Mounting cdroms Reading ZFS config: done. opensolaris console login: jack Password:=20 Sun Microsystems Inc.=A0=A0 SunOS 5.11=A0=A0=A0=A0=A0 snv_111b=A0=A0=A0=A0= =A0=A0=A0 November 2008 jack@opensolaris:~$ cat .Xclients #!/bin/ksh # # CDDL HEADER START # # For automatic login, we just invoke the default Gnome desktop exec /usr/bin/dtstart jds jack@opensolaris:~$ Jul 27 06:03:51 opensolaris in.routed[759]: route 0.0.0= .0/8 --> 0.0.0.0 nexthop is not directly connected jack@opensolaris:~$ pfexec ifconfig -a lo0: flags=3D2001000849 mtu 823= 2 index 1 =A0=A0=A0=A0=A0=A0=A0 inet 127.0.0.1 netmask ff000000=20 xnf0: flags=3D1004843 mtu 1500 in= dex 2 =A0=A0=A0=A0=A0=A0=A0 inet 192.168.1.39 netmask ffffff00 broadcast 192.168.= 1.255 =A0=A0=A0=A0=A0=A0=A0 ether 0:16:3e:60:19:a=20 lo0: flags=3D2002000849 mtu 825= 2 index 1 =A0=A0=A0=A0=A0=A0=A0 inet6 ::1/128=20 xnf0: flags=3D2004841 mtu 1500 index 2 =A0=A0=A0=A0=A0=A0=A0 inet6 fe80::216:3eff:fe60:190a/10=20 =A0=A0=A0=A0=A0=A0=A0 ether 0:16:3e:60:19:a=20 NO PROBLEMS WITH OBTAIN IP VIA DHCPDISCOVER,DHCPACK, ....,DHCPOFFER ***************************************************************************= * 2) VNC Setup at OSOL DomU as suggested by SUN cat /etc/X11/gdm/custom.conf =0A # GDM Custom Configuration file. =0A # overrides: /usr/share/gdm/defaults.conf =0A [daemon] =0A RemoteGreeter=3D/usr/lib/gdmgreeter =0A [security] =0A DisallowTCP=3Dfalse =0A # AllowRoot=3Dtrue =0A # AllowRemoteRoot=3Dtrue =0A [xdmcp] =0A Enable=3Dtrue =0A [gui] =0A [greeter] =0A [chooser] =0A [debug] =0A [servers] =0A =0AServices restart:- =0A =0A svcadm disable xvnc-inetd gdm =0A svcadm enable xvnc-inetd gdm *************************************************************** =0A=0A=A0=0A=0A2) I could not hard code IP address (static definition, not = dhcp) and =0Anetwork settings inside OpenSolaris like what I usually do in = Linux. It =0Aseems that configuring /etc/hostname.xnf0 did not help. My VM'= s actual =0Ahostname is "opensolaris", so do I change that to /etc/opensola= ris.xnf0? =0AAfter OpenSolaris PV guest boots up, I had to manually configu= re the IP =0Aaddress, netmask and default route. *************************************************************************** Switching OSOL DomU to static IP via SMF ( per Jurgen Keil same as per Sun = :) )=A0 :- View http://www.opensolaris.org/jive/thread.jspa?threadID=3D104509&tstart= =3D75 To switch OSOL DomU run with static IP at runtime:- pfexec svcadm disable network/physical:nwam && \ pfexec svcadm enable=A0 network/physical:default pfexec ifconfig xnf0 down pfexec ifconfig xnf0 192.168.1.45 netmask 255.255.255.0 mtu 1492 pfexec ifconfig xnf0 up pfexec route add default 192.168.1.45 To make the settings permanent you also need: echo 192.168.1.45 netmask 255.255.255.0 mtu 1492 > /etc/hostname.xnf0 rm /etc/dhcp.xnf0 echo 192.168.1.102 > /etc/defaultrouter ***************************************************************************= *** 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 Ke= rnel To: "Teo En Ming" , "Boris Derzhavets" , xen-devel@lists.xensource.com Date: Monday, July 27, 2009, 7:25 AM =0A=0ADear All,=0A=0A=A0=0A=0AI am now able to run OpenSolaris 2009.06 32-b= it paravirtualized on Xen =0A3.4.1-rc8 Dom 0 Kernel 2.6.30-rc6 on OpenSUSE = 11.1 32-bit.=0A=0A=A0=0A=0AHowever, there are still some outstanding config= uration issues as I am =0Anot very familiar with Solaris UNIX. I am more of= a Linux guy.=0A =20 =0A=0A=A0=0A=0A1) I need to edit ~/.vnc/xstartup so that it will launch a G= UI =0Ainterface instead of a text console. During installation, I was able = to copy =0A.Xclients to xstartup but after installation, .Xclients do not e= xist anymore =0Aunder my personal account. I have configured vncserver befo= re in Linux and I =0Awas able to port the GNOME desktop to my remote vnc cl= ient.=0A =20 =0A=0A=A0=0A=0A2) I could not hard code IP address (static definition, not = dhcp) and =0Anetwork settings inside OpenSolaris like what I usually do in = Linux. It =0Aseems that configuring /etc/hostname.xnf0 did not help. My VM'= s actual =0Ahostname is "opensolaris", so do I change that to /etc/opensola= ris.xnf0? =0AAfter OpenSolaris PV guest boots up, I had to manually configu= re the IP =0Aaddress, netmask and default route.=0A =20 =0A=0A=A0=0A=0A3) Configuring name servers in /etc/resolv.conf inside Solar= is did not =0Awork. But I could still go out to the internet by pinging the= IP addresses =0Aof Singapore's Starhub and Singnet ISP DNS servers. Just t= hat name =0Aresolution didn't work on Solaris.=0A=0A=A0=0A=0APlease see the= screenshots here:=0A=0A=A0=0A=0A=0Ahttp://teo-en-ming-aka-zhang-enming.blo= gspot.com/2009/07/creating-opensolaris-unix-200906-32-bit.html=0A=0A=A0=0A= =0AMore questions:=0A=0A=A0=0A=0A4) Are there any paravirtualized device dr= ivers/tools I can install =0Ainside PV guests to enhance VM's performance? = Like VMware tools?=0A=0A=A0=0A=0A5) Are there any benchmarking tools to mea= sure I/O throughput of my PV =0Aguests?=0A=0A=A0=0A=0AThank you very much.= =0A =20 =0A=0A=0A =20 =0A=0AMr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) =0ABEng(= Hons)(Mechanical Engineering)=0A=0ATechnical Support Engineer=0A=0AInformat= ion Technology Department=0A =20 Asiasoft Online Pte Ltd=0A =20 Tampines Central 1 #04-01 Tampines Plaza=0A =20 Singapore 529541=0A=0ARepublic of Singapore=0A =20 Mobile Phone: +65-9648-9798=0A =20 MSN: teoenming@hotmail.com=0A =20 =0A =20 =0A=0A =0A -----Original =0AMessage-----=0A =20 From: "Teo En Ming" =0A =20 To: "Boris Derzhavets" , =0Axen-devel@lists.xensour= ce.com=0A =20 Cc:=0A =20 Date: Mon, 27 Jul 2009 18:22:17 +0800=0A =20 Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's =0APVOP= S Kernel=0A =20 =0A =20 =0A Dear Boris,=0A =0A =A0=0A =0A I used the same ethernet network br= idge in both installation and =0Aactually running of the pv guest. During i= nstallation, dhcpdiscover was sent =0Aout by the opensolaris pv guest. Dom = 0 also sent out DHCPOFFER. However, =0Aopensolaris pv guest could not confi= gure the virtual network interface using =0Adhcp. So I had to manually conf= igure the virtual network interface.=0A =20 =A0=0A =0A Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) = =0ABEng(Hons)(Mechanical Engineering)=0A =0A Technical Support Engineer= =0A =0A Information Technology Department=0A =20 Asiasoft Online Pte Ltd=0A =20 Tampines Central 1 #04-01 Tampines Plaza=0A =20 Singapore 529541=0A =0A Republic of Singapore=0A =20 Mobile Phone: +65-9648-9798=0A =20 MSN: teoenming@hotmail.com=0A =20 =0A =20 =0A =0A =20 =0A -----Original =0AMessage-----=0A =20 From: Boris Derzhavets =0A =20 To: xen-devel@lists.xensource.com, enming.teo@asiasoftsea.net=0A =20 Cc:=0A =20 Date: Mon, 27 Jul 2009 03:15:24 -0700 (PDT)=0A =20 Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in =0AJeremy's PVOP= S Kernel=0A =20 =0A =20 =0A =0A =0A OK. What =0Ahappens if you put the same vif=3D['= bridge=3D...'] in OSOL installation=0A =20 profile. Are you unable to get IP for install in this case ?=0A =20 =0A =20 Boris.=0A =20 =0A =20 --- On Mon, 7/27/09, Teo En Ming =0A wrote:=0A= =20 =0A =0A =20 From: Teo En Ming =0A =20 Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in =0AJeremy's PVOPS= Kernel=0A =20 To: "Boris Derzhavets" , =0Axen-devel@lists.xensourc= e.com=0A =20 Date: Monday, July 27, 2009, 5:57 AM=0A =20 =0A =20 =0A =0A =A0=0A =0A =A0=0A = =0A Dear Boris,=0A =0A =0A = =20 =0A =0A My CentOS 4.7 32-bit PV guest is getting the = dynamic IP =0Aaddress assignment from the dnsmasq dhcp server I have setup = and configured =0Aon Xen Dom 0 OpenSUSE 11.1 32-bit host correctly.=0A = =0A =A0=0A =0A So I think the issue= is OpenSolaris specific.=0A =20 =A0=0A =0A Mr. Teo En Ming (Zhang Enming) Dip(Mechatr= onics =0AEngineering) BEng(Hons)(Mechanical Engineering)=0A =0A = Technical Support Engineer=0A =0A Informat= ion Technology Department=0A =20 Asiasoft Online Pte Ltd=0A =20 Tampines Central 1 #04-01 Tampines Plaza=0A =20 Singapore 529541=0A =0A Republic of Singapore=0A = =20 Mobile Phone: +65-9648-9798=0A =20 MSN: teoenming@hotmail.com=0A =20 =0A =20 =0A =0A =20 =0A =0A -----Original Message-----=0A =20 From: Boris Derzhavets =0A =20 To: xen-devel@lists.xensource.com, =0Aenming.teo@asiasoftsea.net=0A = =20 Date: Mon, 27 Jul 2009 01:57:43 -0700 (PDT)=0A =20 Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 =0Ain Jeremy's PVOP= S Kernel=0A =20 =0A =20 =0A =0A =0A Please, submit "br= ctl show"=0A =20 =0A =20 Boris.=0A =20 =0A =20 --- On Mon, 7/27/09, Teo En Ming =0A wrote:=0A= =20 =0A =0A =20 From: Teo En Ming =0A=0A =20 Subject: Re: [Xen-devel] Unable to Configure Xen =0ADom 0 in Jeremy's PVOPS= Kernel=0A =20 To: "Boris Derzhavets" =0A, xen-devel@lists.xensourc= e.com=0A =20 Date: Monday, July 27, 2009, 12:58 AM=0A =20 =0A =20 =0A =0A Dear Boris,=0A = =0A =A0=0A =0A = I have changed my opensolaris vm configuration. =0APlease see = =0Ahttp://1.bp.blogspot.com/_zzjv8MCM2sk/Sm0yIVtghCI/AAAAAAAAAGE/ZGkYbBhhx5= w/s1600-h/01.jpeg=0A =0A =A0=0A = =0A =0Ahttp://1.bp.blogspot.com/_= zzjv8MCM2sk/Sm0yIDWV0RI/AAAAAAAAAF8/aP9riPOEZyk/s1600-h/02.jpeg=0A = =0A =A0=0A =0A = =0Ahttp://2.bp.blogspot.com/_zzjv8MCM2sk/Sm0yHzY3WCI/AAAAA= AAAAF0/gFxy7zJZXi8/s1600-h/03.jpeg=0A =0A = =A0=0A =0A =0Ahttp://3.= bp.blogspot.com/_zzjv8MCM2sk/Sm0yHm0RO8I/AAAAAAAAAFs/hIgei-yTbx4/s1600-h/04= .jpeg=0A =0A =A0=0A = =0A =0Ahttp://1.bp.blogspot.com/_zzjv8MCM2sk/= Sm0yHcUoQ_I/AAAAAAAAAFk/9AiZKPqmG80/s1600-h/05.jpeg=0A = =0A =A0=0A =0A = =0Ahttp://4.bp.blogspot.com/_zzjv8MCM2sk/Sm0zdXRfyuI/AAAAAAAAAGM/ZqOaI= bmTzB8/s1600-h/06.jpeg=0A =0A =A0= =0A =0A I see my OpenSolaris gues= t sending DHCPDISCOVER =0Aand my OpenSUSE 11.1 32-bit Dom 0 Xen host sendin= g DHCPOFFER but the =0AOpenSolaris virtual machine is not setting the offer= ed dynamic IP address to =0Ait's virtual NIC.=0A =20 =0A =0A =A0=0A = =0A =0A =20 =A0=0A =0A Mr. Teo En Ming (Zhang= Enming) Dip(Mechatronics =0AEngineering) BEng(Hons)(Mechanical Engineering= )=0A =0A Technical Support Engine= er=0A =0A Information Technology = Department=0A =20 Asiasoft Online Pte Ltd=0A =20 Tampines Central 1 #04-01 Tampines Plaza=0A =20 Singapore 529541=0A =0A Republic = of Singapore=0A =20 Mobile Phone: +65-9648-9798=0A =20 MSN: teoenming@hotmail.com=0A =20 =0A =20 =0A =0A =20 =0A -----Original Message-----=0A = =20 From: "Boris Derzhavets" =0A=0A = =20 To: , =0A=0A = =20 Date: Mon, 27 Jul 2009 13:01:54 +0800=0A =20 Subject: Re: [Xen-devel] Unable to Configure =0AXen Dom 0 in Jeremy's PVOP= S Kernel=0A =20 =0A =20 =0A =0A =0A = =0A =0A = =0A =20 View:-=0A =20 =0A =20 =0A=A0http://www.opensolaris.org/jive/thread.jspa?threadID=3D104509&tstart= =3D75=0A =20 =0A =20 To switch OSOL DomU run with static =0AIP:-=0A = =20 =0A =20 pfexec svcadm disable =0Anetwork/physical:nwam && \=0A = =20 pfexec svcadm enable=A0 =0Anetwork/physical:default=0A = =20 pfexec ifconfig xnf0 down=0A =20 pfexec ifconfig xnf0 192.168.1.102 =0Anetmask 255.255.255.0 mtu 1492=0A = =20 pfexec ifconfig xnf0 up=0A =20 pfexec route add default =0A192.168.1.102=0A = =20 =0A =20 which i can/do @ installer time to =0Ause static IP assignements.=A0 i jus= t=0A =20 can't seem to get them to 'stick' or =0A'be happy' after reboot and xen,= =0A =20 run-time launch.=0A =20 =0A =20 Use the same commands with the =0Ainstalled system.=0A = =20 =0A =20 To make the settings permanent you =0Aalso need (Jurgen Keil) :=0A = =20 =0A =20 echo 192.168.1.102 netmask =0A255.255.255.0 mtu 1492 > /etc/hostname.xnf0= =0A =20 =0A =20 rm /etc/dhcp.xnf0=0A =20 =0A =20 echo 192.168.1.102 > =0A/etc/defaultrouter=0A = =20 =0A =20 =0A =20 Boris.=0A =20 =0A =20 --- On Sun, 7/26/09, Mr. Teo En Ming (Zhang Enming) < enming.teo@asiasoft= sea.net > =0A wrote: =0A =0A = =0A =20 From: Mr. Teo En Ming (Zhang Enming) =0A< enming.teo@asiasoftsea.net >=0A = =20 Subject: Re: [Xen-devel] Unable to =0AConfigure Xen Dom 0 in Jeremy's PVOP= S Kernel=0A =20 To: bderzhavets@yahoo.com, =0Axen-devel@lists.xensource.com=0A = =20 Date: Sunday, July 26, 2009, 5:08 =0AAM =0A = =0A =0A =0A I = 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 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 =20 =0A =20 Boris Derzhavets wrote: =0A=0A =0A = =0A =0A = =0A Does =0Ayo= ur OpenSuse 11.1 32-bit has static IP address or it obtain it via DHCP ?=0A= =20 If second option is in place =0Aplease submit=0A = =20 # brctl show=0A =20 =0A =20 Boris.=0A =20 =0A =20 --- On Sat, 7/25/09, Mr. Teo En Ming (Zhang Enming) =0A =0A wrote: =0A=0A =0A = =0A = =20 From: Mr. Teo En Ming (Zhang =0AEnming) =0A = =20 Subject: Re: [Xen-devel] Unable =0Ato Configure Xen Dom 0 in Jeremy's PVOP= S Kernel=0A =20 To: =0Aenming.teo@asiasoftsea.net=0A = =20 Cc: "Sander Eikelenboom" , =0Abderzhavets@yahoo.co= m , =0Axen-devel@lists.xensource.com, Pasi Kr@yahoo.com=0A = =20 Date: Saturday, July 25, 2009, =0A10:50 PM =0A = =0A =0A = At the moment there is only =0Aone network card installed on = my lab PC in my company running OpenSUSE 11.1 =0A32-bit with Xen 3.4.1-rc8 = Dom 0 kernel 2.6.30-rc6 (jeremy). So when there =0Aare more network cards i= nstalled, there will be eth0, eth1, eth2 ethernet =0Abridges, etc.=0A = =20 =0A =20 Then I can assign the virtual =0Anetwork card in each virtual machine to a= specific ethernet network bridge =0A(out of many bridges) in Domain 0 usin= g the vif command in guest domain =0Aconfiguration. =0A = =0A =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 =0A =0A = =20 Mr. Teo En Ming (Zhang =0AEnming) wrote: =0A = =0A Dear Boris,=0A = =20 =0A =20 The ethernet network bridge =0Aon OpenSUSE 11.1 is eth0.=0A = =0A =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 =0A =0A = =20 Boris Derzhavets wrote: =0A =0A =0A = =0A = =0A =0A = This means that OSOL installer (by default ) will issu= e =0ADHCPDISCOVER via your Xen bridge, looking for DHCP server on your LAN.= Only =0Aon RHEL 5.3=0A =20 (F10 with Xen 3.3.1 =0Asrc.rpm been installed along with generated package= s) with libvirtd & =0Adnsmasq up and running you can specify=0A = =20 =0A=A0vif=3D['bridge=3Dvirbr0' ] to detect DHCP Server at your Dom0.=0A = =20 =0A =20 View for instance :-=0A =20 =0A =0Ahttp://bderzhavets.wordpress.com/2009/05/07/backport-zfs-support-to= -xen-331-f10-dom0-kernel-2630-rc3-tip/=0A=0A = =20 =0A =20 I don't have any =0Aexperience with OpenSuse 11.1 . I hardly remind they t= ried to reproduce RH's =0Atechnology. Most probably they did it in SLES 11 = (not sure). Check for =0Alibvirtd&dnsmasq daemons up and running.=0A = =20 But if your OpenSuse 11.1 =0ADom0 is on "dhcp" bridge itself , then no pro= blems. Just =0Avif=3D['bridge=3Deth0'].=0A = =20 =0A =20 Boris.=0A =20 =0A =20 --- On Sat, 7/25/09, Mr. Teo En Ming (Zhang Enming) =0A < enming.teo@asia= softsea.net =0A> wrote:=0A =0A = =0A = =20 From: Mr. Teo En Ming =0A(Zhang Enming) < enming.teo@asiasoftsea.net >=0A = =20 Subject: Re: [Xen-devel] =0AUnable to Configure Xen Dom 0 in Jeremy's PVOP= S Kernel=0A =20 To: bderzhavets@yahoo.com=0A =20 Cc: "Sander Eikelenboom" =0A, Pasi Kr@yahoo.com, =0A= xen-devel@lists.xensource.com=0A = =20 Date: Saturday, July 25, =0A2009, 12:32 PM =0A = =0A =0A = Dear Boris,=0A = =20 =0A =20 This means I have to =0Ainstall a DHCP server or dnsmasq in my Dom 0, list= ening on my Dom 0's IP =0Aaddress, so that it can assign dynamic IP address= es to the DomU.=0A =20 =0A =20 By the way, are there =0Aany paravirtualized device drivers that I can ins= tall in DomU to improve the =0Aperformance of the virtual machine?=0A = =20 =0A =20 Thank you.=0A=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 Phone: +65-9648-9798 MSN: teoenming@hotmail.com =0A = =0A =20 Boris Derzhavets wrote: =0A =0A = =0A =0A = =0A = =0A =0A >I noticed under the= guest domain configuration there is a parameter =0Acalled >'extra' kernel = parameter. Does the 'nowin' argument stand for no =0A>graphical windows?=0A= =20 =0A =20 Login as jack/jack =0Ato text console.=0A = =20 =0A =20 Wait until :-=0A =20 =0A =20 $ pfexec ifconfig =0A-a=0A = =20 =0A =20 will show up your =0AIPv4 address=0A = =20 =0A =20 $ mkdir .vnc=0A =20 $ cp .Xclients =0A.vnc/xstartup=0A = =20 $ vncserver=0A =20 =0A =20 Connect via =0Avncviewer IP-DomU:1 from another terminal session to OSOL D= omU. In case OSOL =0Ainstaller will fail to obtain IP via DHCPDISCOVER,=0A = =20 let me know. It =0Amight happen and requires Solaris Kernel Model Debugger= =0A =20 to disable checksum =0Aoffloading at boot up. Seems to be hardware depende= nt issue for OSOL 2009.06=0A = =20 =0A =20 =0A**********************************=0A = =20 Copy ramdisk and =0Akernel to Dom0=0A = =20 =0A**********************************=0A = =20 =0A =20 [root@ServerXen isos]# cat copy.sh=0A = =20 mount -o loop,ro osol-0906-x86.iso /mnt=0A = =20 cp /mnt/boot/amd64/x86.microroot =0A/home/boris/solaris=0A = =20 cp /mnt/platform/i86xpv/kernel/amd64/unix =0A/home/boris/solaris=0A = =20 =0A =20 =0A =20 =0A =20 =0A***********************=0A = =20 Installation =0Aprofile:-=0A = =20 =0A***********************=0A = =20 =0A =20 [root@ServerXen solaris]# cat osol200906.install =0A=0A = =20 name =3D "sol0906"=0A =20 vcpus =3D 1=0A =20 memory =3D "1024"=0A =20 kernel =3D "/home/boris/solaris/unix"=0A = =20 ramdisk =3D "/home/boris/solaris/x86.microroot" =0A=0A = =20 extra =3D "/platform/i86xpv/kernel/amd64/unix - nowin -B =0Ainstall_media= =3Dcdrom" =0A =20 disk =3D =0A['phy:/dev/loop0,xvdc:cdrom,r','phy:/dev/sdb5,xvda,w']=0A = =20 # Would work as well=0A = =20 # disk =3D =0A['phy:/dev/loop0,6:cdrom,r','phy:/dev/sdb5,0,w'] =0A =0A = =20 =0A vif =3D =0A['bridge=3Deth1']=0A = =20 on_shutdown =3D "destroy"=0A = =20 on_reboot =3D "destroy"=0A = =20 on_crash =3D "destroy"=0A = =20 =0A =20 Boris=0A =20 =0A =20 --- On Sat, 7/25/09, Mr. Teo En Ming (Zhang Enming) =0A< enming.teo@asias= oftsea.net >=0A wrote:=0A = =0A =0A = =20 From: Mr. Teo En =0AMing (Zhang Enming) < enming.teo@asiasoftsea.net >=0A = =20 Subject: Re: =0A[Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOP= S Kernel=0A =20 To: =0Aenming.teo@asiasoftsea.net=0A = =20 Cc: "Sander =0AEikelenboom" , "Boris Derzhavets" =0A= , xen-devel@lists.xensource.com, =0A=3D?ISO-8859-1?Q= ?Pasi_K=3DE4r?=3D@yahoo.com=0A = =20 Date: Saturday, =0AJuly 25, 2009, 7:14 AM=0A = =0A =0A = Dear All,=0A = =20 =0A =20 I am trying to =0Ainstall OpenSolaris 2009.06 32-bit paravirtualized guest= on OpenSUSE 11.1 =0A32-bit paravirt-ops enabled Xen 3.4.1-rc8 Dom 0 Kernel= 2.6.30-rc6.=0A =20 =0A =20 However, I am =0Agetting an opensolaris console login prompt. There is no = GNOME DE for me to =0Alaunch the GUI installer for OpenSolaris. I am using = the OpenSolaris LiveCD =0A32-bit.=0A = =20 =0A =20 I noticed under =0Athe guest domain configuration there is a parameter cal= led 'extra' kernel =0Aparameter. Does the 'nowin' argument stand for no gra= phical windows?=0A =20 =0A =20 =0A =0Ahttp://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT4kZta-I/AAAAAAAAAE0/xxUGu= NunPoY/s1600-h/01.jpeg=0A=0A = =20 =0A =20 =0A =0Ahttp://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT5YG2sNI/AAAAAAAAAFM/H0ntF= t6LCx4/s1600-h/04.jpeg=0A=0A = =20 =0A =20 =0A =0Ahttp://2.bp.blogspot.com/_zzjv8MCM2sk/SmoT5uzjF6I/AAAAAAAAAFU/2Y3KN= WPUwWk/s1600-h/05.jpeg=0A=0A = =20 =0A =20 Then I also get =0Athe "invalid disk device number (768)" error. Do I need= to use xvda instead =0Aof hda?=0A = =20 =0A =20 Thank you very =0Amuch. =0A = =0A =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 =0A = =0A=0A =20 =0A =20 Teo En Ming =0Awrote: =0A = =0A =0A = =0A As a matter of fact, our servers ar= e either Dell PowerEdge =0A1950/2950 and IBM xSeries. =0A = =0A = =0A =0A = =0A =A0 =0A = =0A = =0A =0A = =0A I am just testing it out = on our lab PC first.=0A = =20 =A0 =0A=0A =0A = =0A = =0A = =0A Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) =0ABEng(H= ons)(Mechanical Engineering) =0A = =0A =0A = =0A = =0A Technical Support Engineer =0A = =0A = =0A =0A = =0A Information Technology Depa= rtment=0A =20 Asiasoft Online =0APte Ltd=0A = =20 Tampines =0ACentral 1 #04-01 Tampines Plaza=0A = =20 Singapore =0A529541 =0A = =0A =0A = =0A = Republic of Singapore=0A = =20 Mobile =0APhone : +65-9648-9798=0A = =20 MSN: =0Ateoenming@hotmail.com =0A = =0A =0A = =0A = =0A =A0=0A = =0A -----Origi= nal Message-----=0A =20 From: "Teo En =0AMing" < enming.teo@asiasoftsea.net >=0A = =20 To: "Boris =0ADerzhavets" , "Pasi K=E4rkk=E4inen" = =0A=0A = =20 Cc: Sander =0AEikelenboom , xen-devel@lists.xensourc= e.com=0A =20 Date: Sat, 25 =0AJul 2009 02:27:02 +0800=0A = =20 Subject: Re: =0ARe[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy= 's PVOPS Kernel =0A =0A = =0A =0A = =0A Dear Boris, =0A = =0A = =0A =0A= =0A =A0 =0A = =0A = =0A = =0A =0A My next = step will be a 64-bit Xen Dom 0 host.=0A = =20 =A0 =0A =0A =0A = =0A = =0A = =0A Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) = =0ABEng(Hons)(Mechanical Engineering) =0A = =0A = =0A =0A = =0A Technical Support Engineer =0A = =0A = =0A = =0A =0A In= formation Technology Department=0A = =20 Asiasoft =0AOnline Pte Ltd=0A = =20 Tampines =0ACentral 1 #04-01 Tampines Plaza=0A = =20 Singapore =0A529541 =0A = =0A =0A = =0A = Republic of Singapore=0A = =20 Mobile =0APhone =0A : +65-9648-9798=0A = =20 MSN: =0Ateoenming@hotmail.com =0A = =0A =0A = =0A = =0A =A0=0A = =0A = -----Original Message-----=0A = =20 From: Boris =0ADerzhavets =0A = =20 To: Pasi =0AK=E4rkk=E4inen , enming.teo@asiasoftsea.net=0A = =20 Cc: Sander =0AEikelenboom , xen-devel@lists.xensourc= e.com=0A =20 Date: Fri, 24 =0AJul 2009 10:57:49 -0700 (PDT)=0A = =20 Subject: Re: =0ARe[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy= 's PVOPS Kernel =0A =0A = =0A =0A = =0A = =0A = Teo, it is up to you how to manage, if you =0Ajust having = fun.=0A =20 =0AOtherwise, downloading 64-bit OpenSuse 11.1 ISO image=0A = =20 takes =0Ajust 12-14 hr even at slow ADSL speed ( like 100 KB/sec).=0A = =20 Install =0Atakes 30 minutes and brings you to the trusted results, instead= =0A =20 of =0Awasting a lot of time in case of business environment assignment.=0A= =20 Pasi has =0A32-bit experience due to hardware limitations, which you don't= =0A =20 have.=0A =20 =0A =20 Boris.=0A =20 =0A =20 --- On =0A Fri, 7/24/09, Teo En Ming < enming.teo@asiasoftsea.net > =0A wr= ote: =0A =0A = =0A =0A = =20 From: Teo =0AEn Ming < enming.teo@asiasoftsea.net >=0A = =20 Subject: =0ARe: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy= 's PVOPS =0AKernel=0A = =20 To: =0A"Boris Derzhavets" , "Pasi K=E4rkk=E4inen" = =0A=0A = =20 Cc: =0A"Sander Eikelenboom" , =0Axen-devel@lists.xen= source.com=0A =20 Date: =0AFriday, July 24, 2009, 12:56 PM =0A = =0A = =0A = =0A Dear B= oris, =0A =0A = =0A = =0A = =A0 =0A = =0A = =0A = =0A = My colleague installed OpenSUSE 11.1 32-bit on =0Athe Core 2 Duo machine i= n our labs. Please see my earlier replies in the =0Asame topic. =0A = =0A = =0A = =0A = =A0 =0A = =0A = =0A =0A = I was too lazy = to reformat and install 64-bit =0AOpenSUSE, so I proceeded with Xen Dom 0 p= vops kernel compilation on 32-bit =0ALinux host. =0A = =0A = =0A = =0A = =A0 =0A = =0A =0A = =0A = I admit I am getting a lot of = headache. Haha.=0A = =20 =0A=A0 =0A = =0A =0A = =0A = Mr. Teo En Ming (Zhang Enming) = =0ADip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) =0A=0A= =0A = =0A = =0A = Technical Support Engineer =0A = =0A = =0A = =0A = Information Technology Department=0A = =20 =0AAsiasoft Online Pte Ltd=0A = =20 =0ATampines Central 1 #04-01 Tampines Plaza=0A = =20 =0ASingapore 529541 =0A = =0A = =0A =0A = =0ARepublic of Singa= pore=0A =20 =0AMobile Phone : +65-9648-9798=0A = =20 MSN: =0Ateoenming@hotmail.com =0A = =0A = =0A =0A= =A0=0A = =0A = =0A -----Original =0AMessage= -----=0A =20 From: =0ABoris Derzhavets =0A = =20 To: =0Aenming.teo@asiasoftsea.net , Pasi K=E4rkk=E4inen =0A = =20 Cc: =0ASander Eikelenboom , =0Axen-devel@lists.xenso= urce.com=0A = =20 Date: =0AFri, 24 Jul 2009 09:57:18 -0700 (PDT)=0A = =20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy= 's =0APVOPS Kernel =0A = =0A = =0A =0A = =0A = Once again, i don'= t see any reason to to run =0A32-bit OS on Core2Duo,=0A = =20 =0Aunless you like Xen head ache. Core development (PVOPS) is obviously=0A= =20 =0Arunning in 64-bit environment.=0A = =20 =0A =20 =0ABoris.=0A = =20 =0A =20 =0A--- On Fri, 7/24/09, Boris Derzhavets =0A =0A = wrote: =0A = =0A =0A = =0A =20 =0AFrom: Boris Derzhavets =0A = =20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy= 's =0APVOPS Kernel=0A = =20 =0ATo: enming.teo@asiasoftsea.net , "Pasi K=E4rkk=E4inen" = =0A =20 =0ACc: "Sander Eikelenboom" , =0Axen-devel@lists.xen= source.com=0A = =20 =0ADate: Friday, July 24, 2009, 12:47 PM =0A = =0A = =0A = =0A = =0A = =0A = =0A >After doing the =0Aabove, I re-installed back= the Xen hypervisor, libraries and tools, and also =0A>the kernel, initrd, = and modules. Then I proceeded to reboot my machine. =0AAfter rebooting, > m= y CentOS 4.7 32-bit PV guest is still able to start =0Aand run! =0A = =0A =0A = =0A Why it wouldn't ? If your image stays=A0 the same. =0A =0A = =0A=0A = =0A=0A = =0A > I am= still very puzzled! =0AWhat causes the PV guest initially cannot start? Th= en what >subsequently =0Acauses the PV guest to suddenly be able to start a= nd run??? =0A = =0A=0A = =0A=0A = =0A=0A = =0A =A0 =0A = =0A=0A = =0A=0A = =0A = =0A That is not supposed to happen. I would suggest clean OS (without any =0Ab= uilt in xen presence) install , followed by=A0 Xen 3.4.1+pvops kernel =0Acl= ean install.=0A = =0A =0A = =0A Boris.=0A = =0A =0A = =0A --- On Fri, 7/24/09, Teo En Ming =0A < enming.teo@asiasoftsea.net =0A> w= rote: =0A = =0A=0A = =0A =0A = =0A From: Teo En Ming < enming.teo@asiasoftsea.net >=0A = =0A Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in =0AJeremy= 's PVOPS Kernel=0A = =0A To: "Teo En Ming" < enming.teo@asiasoftsea.net >, "Pasi =0AK=E4rkk=E4inen"= =0A = =0A Cc: "Sander Eikelenboom" , =0Axen-devel@lists.xensou= rce.com=0A = =0A Date: Friday, July 24, 2009, 12:19 PM =0A = =0A=0A = =0A = =0A=0A = =0A Dear All, =0A = =0A=0A= = =0A=0A = =0A=0A = =0A =A0 =0A = =0A=0A = =0A=0A = =0A=0A = =0A I am very puzzled. In =0Ainves= tigating the cause of the sudden success of the CentOS 4.7 32-bit PV =0Ague= st being able to run, I have uninstalled virt-manager and all of its =0Adep= endencies: =0A = =0A=0A = =0A=0A = =0A=0A = =0A =A0 =0A = =0A=0A = =0A=0A = =0A=0A = =0A docbook = =0A = =0A=0A = =0A=0A = =0A=0A = =0A python-gtk-vnc =0A = =0A=0A = =0A=0A = =0A=0A = =0A xen-libs 3= .3.1 =0A = =0A=0A = =0A=0A = =0A=0A = =0A scrollkeeper =0A = =0A=0A = =0A=0A = =0A=0A = =0A xen-too= ls 3.3.1 =0A=0A = =0A=0A = =0A=0A = =0A=0A = =0A libvirt 0.4.6 =0A = =0A=0A = =0A=0A = =0A=0A = =0A= libvirt-python =0A = =0A=0A = =0A=0A = =0A=0A = =0A vm-install 0.3.24 =0A=0A = =0A=0A = =0A= =0A = =0A=0A = =0A =A0 =0A = =0A=0A = =0A=0A = =0A=0A = =0A Then I proceeded to "make =0Aunin= stall" in xen-3.4-testing source tree, which also removed my self =0Acompil= ed Xen Dom 0 pvops enabled kernel, initrd and kernel modules. =0A=0A = =0A= =0A = =0A=0A = =0A=0A = =0A =A0 =0A = =0A=0A = =0A=0A = =0A=0A = =0A After doing the above, I =0A= re-installed back the Xen hypervisor, libraries and tools, and also the =0A= kernel, initrd, and modules. Then I proceeded to reboot my machine. After = =0Arebooting, my CentOS 4.7 32-bit PV guest is still able to start and run!= =0A=0A = =0A=0A = =0A=0A = =0A=0A = =0A =A0 =0A = =0A=0A = =0A=0A = =0A=0A = =0A I am still very p= uzzled! What =0Acauses the PV guest initially cannot start? Then what subse= quently causes =0Athe PV guest to suddenly be able to start and run??? =0A = = =0A=0A = =0A=0A = =0A=0A = =0A =A0 =0A = =0A=0A = =0A=0A = =0A=0A = =0A ***scratches head*** =0A= =0A = =0A=0A = =0A=0A = =0A=0A = =0A =A0 =0A = =0A=0A = =0A=0A = =0A=0A = =0A Anyway my CentOS 4.7 = guest =0Adomain is now running. I shall now proceed to virtualize OpenSolar= is =0A2009.06. =0A = =0A=0A = =0A=0A = =0A=0A = =0A =A0 =0A = =0A=0A = =0A=0A = =0A=0A = =0A Thank= you. =0A = =0A=0A = =0A=0A = =0A=0A = =0A =A0 =0A = =0A=0A = =0A=0A = =0A=0A = =0A Also see screen= shots of my =0ACentOS 4.7 PV guest here: =0A =0Ahttp://teo-en-ming-aka-zhan= g-enming.blogspot.com/2009/07/creating-centos-47-32-bit.html=0A=0A = =0A=20 =A0 =0A = =0A=0A = =0A=0A = =0A=0A = =0A Mr. Teo En Ming (Zhang =0AEnming) Dip(Mechatr= onics Engineering) BEng(Hons)(Mechanical Engineering) =0A=0A = =0A=0A = =0A=0A = =0A= =0A = =0A Technical Support Engineer =0A=0A = =0A=0A = =0A=0A = =0A=0A = =0A Information = Technology =0ADepartment=0A = =0A=20 Asiasoft Online Pte Ltd=0A = =0A=20 Tampines Central 1 #04-01 Tampines Plaza=0A = =0A=20 Singapore 529541 =0A = =0A=0A = =0A=0A = =0A=0A = =0A =0ARepublic of Singapore=0A = = =0A=20 Mobile Phone: +65-9648-9798=0A = =0A=20 MSN: teoenming@hotmail.com =0A = =0A=0A = =0A=0A = =0A=0A = =0A =A0=0A = =0A=0A = =0A = =0A-----Original Message-----=0A = =0A=20 From: "Teo En Ming" < enming.teo@asiasoftsea.net >=0A = =0A=20 To: "Teo En Ming" < enming.teo@asiasoftsea.net >, "Pasi =0AK=E4rkk=E4inen"= =0A = =0A=20 Cc: Sander Eikelenboom , =0Axen-devel@lists.xensourc= e.com=0A = =0A=20 Date: Fri, 24 Jul 2009 22:54:26 +0800=0A = =0A=20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in =0AJeremy= 's PVOPS Kernel =0A = =0A=0A = =0A=0A = =0A Hi Pasi, =0A = =0A =0A = =0A=0A = =0A=0A = = =0A =A0 =0A = =0A =0A = =0A=0A = =0A=0A = =0A It's very strange. Suddenly =0Amy = CentOS 4.7 32-bit PV guest is able to start!!! Previously it refuses to =0A= start at all. =0A = =0A =0A = =0A=0A = =0A=0A = =0A =A0 =0A = =0A =0A = =0A=0A = =0A= =0A = =0A I think I must have changed =0Asomething in Dom 0 when I attempted= "yast --install virt-manager". This =0Aaction might have solved the proble= m. When I tried to install virt-manager, =0Ait also tries to install xen-li= bs-3.3.1 and xen-tools-3.3.1 as dependencies. =0AHowever, I started off my = Xen Dom 0 pvops kernel install with Xen 3.4.1 rc8 =0Abranch. =0A = =0A =0A = = =0A=0A = =0A=0A = =0A =A0 =0A = =0A =0A = =0A=0A = =0A=0A = =0A I need to investigat= e more =0Awhy suddenly my CentOS 4.7 32-bit PV guest is able to start.=0A = = =0A =20 =A0 =0A = =0A =0A = =0A=0A = =0A=0A = =0A Mr. Teo En Ming (Zhang =0AEnming) Dip(= Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) =0A=0A = =0A = =0A = =0A=0A = =0A=0A = =0A Technical Support Engineer =0A =0A = =0A =0A = =0A=0A = = =0A=0A = =0A Information Technology =0ADepartment=0A = =0A =20 Asiasoft Online Pte Ltd=0A = =0A =20 Tampines Central 1 #04-01 Tampines Plaza=0A = =0A =20 Singapore 529541 =0A = =0A =0A = =0A=0A = =0A=0A = =0A =0ARepublic of Singapo= re=0A = =0A =20 Mobile Phone: +65-9648-9798=0A = =0A =20 MSN: teoenming@hotmail.com =0A = =0A =0A = =0A=0A = =0A=0A = =0A =A0=0A = =0A = =0A = =0A =0A-----Original Message-----=0A = =0A =20 From: "Teo En Ming" < enming.teo@asiasoftsea.net >=0A = =0A =20 To: "Pasi K=E4rkk=E4inen" =0A = =0A =20 Cc: Sander Eikelenboom , =0Axen-devel@lists.xensourc= e.com=0A = =0A =20 Date: Fri, 24 Jul 2009 21:54:00 +0800=0A = =0A =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in =0AJeremy= 's PVOPS Kernel =0A = =0A =0A = =0A =0A = =0A Hi Pasi, =0A = =0A =0A = =0A = =0A = =0A =0A = =0A =A0 =0A = =0A =0A = =0A =0A = =0A =0A = =0A I realized = that Fedora 10 =0A32-bit anaconda installer does not install PAE kernel aft= er mounting the =0Aguest disk image file. I mounted the guest disk image fi= le using losetup and =0Akpartx which adds device nodes to /dev/mapper. I ex= amined the /boot =0Adirectory after mounting the guest disk image file and = found no PAE vmlinuz =0Aand initrd. =0A = =0A =0A = =0A =0A = =0A =0A = =0A = =A0 =0A = =0A =0A = =0A =0A = =0A =0A = =0A Still using the mounted =0AFed= ora 10 32-bit guest disk image file, I changed root to the guest disk =0Afi= lesystems and attempted to install the PAE kernel. Then I modified =0Amenu.= lst to boot the PAE kernel. After modifying the grub configuration of =0Ath= e guest domain, I un-mounted the guest filesystem. =0A = =0A =0A = =0A =0A = = =0A =0A = =0A =A0 =0A = =0A =0A = =0A =0A = =0A =0A = =0A I proceeded to = boot the F10 =0A32-bit guest, since I changed to PAE kernel. It is able to = boot now (since =0Athe PAE kernel is xen-aware) but then it complains canno= t mount /dev/root. =0AProbably something to do with the PAE initrd file. = =0A = =0A =0A = =0A =0A = =0A =0A = =0A =0A = =0A =20 =A0 =0A = =0A =0A = =0A =0A = =0A =0A = =0A Mr. Teo En Ming (Zhang =0AEnmi= ng) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) =0A=0A= = =0A =0A = =0A =0A = =0A =0A = =0A Technical Support Engineer =0A =0A = = =0A =0A = =0A =0A = =0A =0A = =0A Information Technology =0ADepartment=0A = = =0A =20 Asiasoft Online Pte Ltd=0A = =0A =20 Tampines Central 1 #04-01 Tampines Plaza=0A = =0A =20 Singapore 529541 =0A = =0A =0A = =0A =0A = =0A =0A = =0A =0ARepublic of= Singapore=0A = =0A =20 Mobile Phone: +65-9648-9798=0A = =0A =20 MSN: teoenming@hotmail.com =0A = =0A =0A = =0A =0A = =0A =0A = =0A =A0=0A= = =0A =0A = =0A =0A-----Original Message-----=0A = =0A =20 From: Pasi K=E4rkk=E4inen =0A = =0A =20 To: Teo En Ming < enming.teo@asiasoftsea.net >=0A = =0A =20 Cc: Sander Eikelenboom , =0Axen-devel@lists.xensourc= e.com=0A = =0A =20 Date: Fri, 24 Jul 2009 16:31:19 +0300=0A = =0A =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in =0AJeremy= 's PVOPS Kernel =0A = =0A =0A = =0A =0A = =0A On Fri, Jul 24, 2009 at = 08:37:09PM +0800, Teo En =0AMing wrote:=0A = =0A =20 > Hi=0A = =0A =20 >=0A = =0A =20 > I attempted to install Fedora 10 32-bit PV guest using=0A = =0A =20 > images/pxeboot/vmlinuz-PAE and =0Aimages/pxeboot/initrd-PAE.img from the= F10=0A = =0A =20 > media. The non-PAE kernel could not load the installer. I =0Afinished my= Fedora=0A = =0A =20 > 10 32-bit PV guest installation but it also cannot boot =0Aup after=0A = = =0A =20 > installation, same as the CentOS 4.7 PV guest =0Ainstallation.=0A = =0A = =20 >=0A = =0A =20 =0A = =0A =20 Fedora 10 installer has a bug, as a default it installs =0Anon-PAE kernel = for=0A = =0A =20 xen domU. You need to use a kickstart script (like this) to =0Afix it:=0A = = =0A =20 =0Ahttp://pasik.reaktio.net/fedora/f10-xen-domu-ks.cfg=0A = =0A =20 =0A = =0A =20 The important lines being:=0A = =0A =20 =0A = =0A =20 -kernel=0A = =0A =20 kernel-PAE=0A = =0A =20 =0A = =0A =20 (Fedora 10 and Fedora 11 default kernels are compiled with =0Apv_ops Xen d= omU=0A = =0A =20 support enabled, so there's no need for separate kernel-xen =0Awith these = distros).=0A = =0A =20 =0A = =0A =20 Fedora 11 doesn't have that installer bug, so it installs =0Aright=0A = =0A= =20 out-of-the-box as Xen domU.=0A = =0A =20 =0A = =0A =20 What's the error you get when you start the guest after =0Ainstallation?= =0A = =0A =20 Please paste the "xm log" as text.=0A = =0A =20 =0A = =0A =20 I don't have any problems with CentOS 5.3 dom0.=0A = =0A =20 =0A = =0A =20 -- Pasi =0A = =0A =0A = =0A =0A = =0A =0A = =0A=0A = =0A=0A = =0A=0A = =0A =0A = =0A -----Inline Attachment Follows----- =0A = =0A=0A = =0A=0A = =0A =0A_______________________= ________________________=0A = =0A Xen-devel mailing list=0A = =0A Xen-devel@lists.xensource.com=0A = =0A =0Ahttp://lists.xensource.com/xen-devel =0A = =0A=0A = =0A =0A = =0A=0A = =0A = =A0=0A = =0A = =0A = =0A =0A = =20 =0A-----Inline Attachment Follows----- =0A = =0A = =0A = =0A_______________________________________________= =0A =20 =0AXen-devel mailing list=0A = =20 =0AXen-devel@lists.xensource.com=0A = =20 =0A =0Ahttp://lists.xensource.com/xen-devel =0A = =0A = =0A=0A = =0A=0A = =0A = =A0=0A = =0A = =0A =0A = =0A =0A = =20 =0A-----Inline Attachment Follows----- =0A = =0A = =0A = =0A_______________________________________________=0A = =20 =0AXen-devel mailing list=0A = =20 =0AXen-devel@lists.xensource.com=0A = =20 =0Ahttp://lists.xensource.com/xen-devel =0A = =0A = =0A = =0A =0A = =0A =A0=0A = =0A = =0A =0A = =20 =20 =0A =20 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com =20 http://lists.xensource.com/xen-devel =A0 =0A =0A =A0=0A = =0A = =0A =0A = =20 -----Inline =0AAttachment Follows----- =0A = =0A =0A = =0A=0A = =20 No virus found in =0Athis outgoing message.=0A = =20 Checked by AVG - =0Awww.avg.com=0A = =20 Version: 8.5.392 =0A/ Virus Database: 270.13.29/2260 - Release Date: 07/25= /09 01:48:00 =0A=0A =0A = =0A = =0A = =20 -----Inline =0AAttachment Follows----- =0A = =0A =0A = =0A __________________________= _____________________=0A = =20 Xen-devel mailing =0Alist=0A = =20 =0AXen-devel@lists.xensource.com=0A = =20 =0Ahttp://lists.xensource.com/xen-devel=0A = =0A =0A = =0A = =0A =A0 =0A = =0A = =20 =20 =0A =20 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com =20 http://lists.xensource.com/xen-devel =A0 =0A =A0 =0A = =0A = =0A =0A = =20 -----Inline Attachment =0AFollows----- =0A = =0A =0A = =0A = =20 No virus found in this =0Aoutgoing message.=0A = =20 Checked by AVG - www.avg.com=0A = =20 Version: 8.5.392 / =0AVirus Database: 270.13.29/2260 - Release Date: 07/25= /09 01:48:00=0A=0A =0A = =0A = =0A =20 -----Inline Attachment =0AFollows----- =0A = =0A =0A = ______________________________________________= _=0A =20 Xen-devel mailing list=0A =20 =0AXen-devel@lists.xensource.com=0A = =20 =0Ahttp://lists.xensource.com/xen-devel=0A = =0A =0A = =0A =0A = =0A=A0 =0A = =0A =20 =20 =0A =20 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com =20 http://lists.xensource.com/xen-devel =A0 =0A =0A=A0 =0A = =0A =20 =A0=0A =20 =20 =0A =20 No virus found in this outgoing message. Checked by AVG -=20 www.avg.com Version: 8.5.392 / Virus Database: 270.13.30/2262 - Release Date: 07/25/09 18:01:00 =A0 =0A =20 =20 =0A =20 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com =20 http://lists.xensource.com/xen-devel =A0 =0A =0A=A0 =0A = =0A =0A = =0A =20 -----Inline Attachment =0AFollows----- =0A = =0A =0A = =0A =20 No virus found in this =0Aoutgoing message.=0A = =20 Checked by AVG - www.avg.com=0A =20 Version: 8.5.392 / Virus =0ADatabase: 270.13.30/2262 - Release Date: 07/25= /09 18:01:00=0A =0A = =0A =0A = =20 -----Inline Attachment =0AFollows----- =0A = =0A =0A = =0A_______________________________________________=0A = =20 Xen-devel mailing list=0A =20 Xen-devel@lists.xensource.com=0A =20 =0Ahttp://lists.xensource.com/xen-devel =0A = =0A =0A = =0A =0A = =A0=0A =0A = =A0=0A =0A = =0A =0A =20 -----Inline Attachment =0AFollows-----=0A =0A= =0A =0A = =20 No virus found in this outgoing =0Amessage.=0A = =20 Checked by AVG - www.avg.com=0A =20 Version: 8.5.392 / Virus Database: =0A270.13.30/2262 - Release Date: 07/25= /09 18:01:00=0A =0A = =0A =0A =0A = =A0=0A =0A = No virus found in this incoming =0Amessage.=0A = =20 Checked by AVG - www.avg.com=0A =20 Version: 8.5.339 / Virus Database: =0A270.13.24/2255 - Release Date: 07/22= /09 18:00:00=0A =0A =0A = =0A =0A =20 -----Inline Attachment Follows-----=0A =20 =0A =20 =0A =0A_______________________________________________= =0A =20 Xen-devel mailing list=0A =20 =0AXen-devel@lists.xensource.com=0A =20 =0Ahttp://lists.xensource.com/xen-devel=0A =20 =0A =0A =0A =0A = =0A =20 =0A =0A =0A =0A =0A =0A =20 =0A =0A=0A -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-67275313-1248700529=:51163 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
1) I need to edit ~/.vnc/xstartup so tha= t it will launch a GUI =0Ainterface instead of a text console. During insta= llation, I was able to copy =0A.Xclients to xstartup but after installation= , .Xclients do not exist anymore =0Aunder my personal account. I have confi= gured vncserver before in Linux and I =0Awas able to port the GNOME desktop= to my remote vnc client.=0A

*************************************= ***************************************
1) It's easy to to grab content = of .Xclients just simulating new install and
 save content of .Xcli= ents via any editor. Done just now :-

20. Spanish   &= nbsp;           &nbs= p;      
21. Swedish   &nb= sp;            =       
To select desktop language, enter = a number [default is 6]:
User selected: English
Configuring devices.=
Mounting cdroms
Reading ZFS config: done.

opensolaris console= login: jack
Password:
Sun Microsystems Inc.   SunOS 5.11&= nbsp;     snv_111b      &= nbsp; November 2008
jack@opensolaris:~$ cat .Xclients
#!/bin/ksh
#=
# CDDL HEADER START
#
# For automatic login, we just invoke the default Gnome desk= top
exec /usr/bin/dtstart jds

jack@opensolaris:~$ Jul 27 06:03:51= opensolaris in.routed[759]: route 0.0.0.0/8 --> 0.0.0.0 nexthop is not = directly connected

jack@opensolaris:~$ pfexec ifconfig -a
lo0: fl= ags=3D2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232= index 1
        inet 127.0.0.1 netma= sk ff000000
xnf0: flags=3D1004843<UP,BROADCAST,RUNNING,MULTICAST,DHC= P,IPv4> mtu 1500 index 2
        i= net 192.168.1.39 netmask ffffff00 broadcast 192.168.1.255
  &n= bsp;     ether 0:16:3e:60:19:a
lo0: flags=3D2002000= 849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
&= nbsp;       inet6 ::1/128
xnf0: flags=3D2= 004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2
        inet6 fe80::216:3eff:fe60:= 190a/10
        ether 0:16:3e:60:19:= a

NO PROBLEMS WITH OBTAIN IP VIA DHCPDISCOVER,DHCPACK, ....,DHCPOFF= ER

*****************************************************************= ***********
2) VNC Setup at OSOL DomU as suggested by SUN

c= at /etc/X11/gdm/custom.conf
=0A # GDM Custom Configuration file.<= br>=0A # overrides: /usr/share/gdm/defaults.conf
=0A [daem= on]
=0A RemoteGreeter=3D/usr/lib/gdmgreeter
=0A [securi= ty]
=0A DisallowTCP=3Dfalse
=0A # AllowRoot=3Dtrue=0A # AllowRemoteRoot=3Dtrue
=0A [xdmcp]
=0A En= able=3Dtrue
=0A [gui]
=0A [greeter]
=0A [choo= ser]
=0A [debug]
=0A [servers]
=0A

=0AServ= ices restart:-
=0A
=0A svcadm disable xvnc-inetd gdm
=0A = svcadm enable xvnc-inetd gdm

*************************************= **************************

=0A
=0A
 =0A
=0A2) I could not hard code IP address (static definition, not dhcp) and =0A= network settings inside OpenSolaris like what I usually do in Linux. It =0A= seems that configuring /etc/hostname.xnf0 did not help. My VM's actual =0Ah= ostname is "opensolaris", so do I change that to /etc/opensolaris.xnf0? =0A= After OpenSolaris PV guest boots up, I had to manually configure the IP =0A= address, netmask and default route.

********************************= *******************************************
Switching OSOL DomU to stati= c IP via SMF ( per Jurgen Keil same as per Sun :) )  :-

View ht= tp://www.opensolaris.org/jive/thread.jspa?threadID=3D104509&tstart=3D75=

To switch OSOL DomU run with static IP at runtime:-

pfexec s= vcadm disable network/physical:nwam && \
pfexec svcadm enable&nb= sp; network/physical:default
pfexec ifconfig xnf0 down
pfexec ifconfi= g xnf0 192.168.1.45 netmask 255.255.255.0 mtu 1492
pfexec ifconfig xnf0 = up
pfexec route add default 192.168.1.45

To make the settings per= manent you also need:

echo 192.168.1.45 netmask 255.255.255.0 mtu 14= 92 > /etc/hostname.xnf0
rm /etc/dhcp.xnf0

echo 192.168.1.102 &= gt; /etc/defaultrouter
*************************************************= *****************************

Boris.


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

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

=0A=0A
Dear All,=0A
=0A=
 =0A
=0A
I am now able to run OpenSolaris 2009.06 32-bit= paravirtualized on Xen =0A3.4.1-rc8 Dom 0 Kernel 2.6.30-rc6 on OpenSUSE 11= .1 32-bit.=0A
=0A
 =0A
=0A
However, there are still = some outstanding configuration issues as I am =0Anot very familiar with Sol= aris UNIX. I am more of a Linux guy.=0A
=0A
=0A
 =0A=0A
1) I need to edit ~/.vnc/xstartup so that it will launch a GUI = =0Ainterface instead of a text console. During installation, I was able to = copy =0A.Xclients to xstartup but after installation, .Xclients do not exis= t anymore =0Aunder my personal account. I have configured vncserver before = in Linux and I =0Awas able to port the GNOME desktop to my remote vnc clien= t.=0A
=0A
=0A
 =0A
=0A
2) I could not hard code= IP address (static definition, not dhcp) and =0Anetwork settings inside Op= enSolaris like what I usually do in Linux. It =0Aseems that configuring /et= c/hostname.xnf0 did not help. My VM's actual =0Ahostname is "opensolaris", = so do I change that to /etc/opensolaris.xnf0? =0AAfter OpenSolaris PV guest= boots up, I had to manually configure the IP =0Aaddress, netmask and defau= lt route.=0A
=0A
=0A
 =0A
=0A
3) Configuring na= me servers in /etc/resolv.conf inside Solaris did not =0Awork. But I could = still go out to the internet by pinging the IP addresses =0Aof Singapore's = Starhub and Singnet ISP DNS servers. Just that name =0Aresolution didn't wo= rk on Solaris.=0A
=0A
 =0A
=0A
Please see the screen= shots here:=0A
=0A
 =0A
=0A
=0Ahttp://teo-en-ming-ak= a-zhang-enming.blogspot.com/2009/07/creating-opensolaris-unix-200906-32-bit= .html=0A
=0A
 =0A
=0A
More questions:=0A
=0A =0A
=0A
4) Are there any paravirtualized device drivers/to= ols I can install =0Ainside PV guests to enhance VM's performance? Like VMw= are tools?=0A
=0A
 =0A
=0A
5) Are there any benchmar= king tools to measure I/O throughput of my PV =0Aguests?=0A
=0A
&n= bsp;=0A
=0A
Thank you very much.=0A
=0A
=0A
=0A =0A
=0A
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics En= gineering) =0ABEng(Hons)(Mechanical Engineering)=0A
=0A
Technical = Support Engineer=0A
=0A
Information Technology Department=0A
= Asiasoft Online Pte Ltd=0A
Tampines Central 1 #04-01 Tampines Plaza=0A=
Singapore 529541=0A
=0A
Republic of Singapore=0A
Mobile= Phone: +65-9648-9798=0A
MSN: teoenming@hotmail.com=0A
=0A
= =0A
=0A
=0A
-----Original =0AMessage-----=0A
From: "Teo En Ming" <enming.= teo@asiasoftsea.net>=0A
To: "Boris Derzhavets" <bderzhavets@yah= oo.com>, =0Axen-devel@lists.xensource.com=0A
Cc:=0A
Date: Mo= n, 27 Jul 2009 18:22:17 +0800=0A
Subject: Re: [Xen-devel] Unable to C= onfigure Xen Dom 0 in Jeremy's =0APVOPS Kernel=0A
=0A
=0A
Dear Boris,=0A
=0A
 =0A =
=0A
I used the same ethernet network bridge in both installati= on and =0Aactually running of the pv guest. During installation, dhcpdiscov= er was sent =0Aout by the opensolaris pv guest. Dom 0 also sent out DHCPOFF= ER. However, =0Aopensolaris pv guest could not configure the virtual networ= k interface using =0Adhcp. So I had to manually configure the virtual netwo= rk interface.=0A
 =0A
=0A
Mr. Teo En Ming (= Zhang Enming) Dip(Mechatronics Engineering) =0ABEng(Hons)(Mechanical Engine= ering)=0A
=0A
Technical Support Engineer=0A
=0A
I= nformation Technology Department=0A
Asiasoft Online Pte Ltd=0A Tampines Central 1 #04-01 Tampines Plaza=0A
Singapore 529541=0A <= /div>=0A
Republic of Singapore=0A
Mobile Phone: +65-9648-9798= =0A
MSN: teoenming@hotmail.com=0A
=0A
=0A
=0A =
=0A
-----= Original =0AMessage-----=0A
From: Boris Derzhavets <bderzhavets@= yahoo.com>=0A
To: xen-devel@lists.xensource.com, enming.teo@asia= softsea.net=0A
Cc:=0A
Date: Mon, 27 Jul 2009 03:15:24 -0700= (PDT)=0A
Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in= =0AJeremy's PVOPS Kernel=0A
=0A
=0A =0A =0A =0A =0A =
OK. What =0Ahappens if yo= u put the same vif=3D['bridge=3D...'] in OSOL installation=0A
pr= ofile. Are you unable to get IP for install in this case ?=0A
= =0A
Boris.=0A
=0A
--- On Mon, 7/27/09, = Teo En Ming =0A<enming.teo@asiasoftsea.net> wrote:=0A =
=0A
=0A
From: Teo En M= ing <enming.teo@asiasoftsea.net>=0A
Subject: Re: [Xen-de= vel] Unable to Configure Xen Dom 0 in =0AJeremy's PVOPS Kernel=0A =
To: "Boris Derzhavets" <bderzhavets@yahoo.com>, =0Axen-devel@list= s.xensource.com=0A
Date: Monday, July 27, 2009, 5:57 AM=0A =
=0A
=0A
=0A
 =0A
=0A=
 =0A
=0A
Dear Boris,= =0A
=0A
=0A
=0A =
=0A
My CentOS 4.7 32-bit PV guest is getting the dy= namic IP =0Aaddress assignment from the dnsmasq dhcp server I have setup an= d configured =0Aon Xen Dom 0 OpenSUSE 11.1 32-bit host correctly.=0A =
=0A
 =0A
=0A So I think the issue is OpenSolaris specific.=0A
 = =0A
=0A
Mr. Teo En Ming (Zhang Enmi= ng) Dip(Mechatronics =0AEngineering) BEng(Hons)(Mechanical Engineering)=0A =
=0A
Technical Support Engineer=0A =
=0A
Information Technology Department=0A =
Asiasoft Online Pte Ltd=0A
Tampines Central 1 #04-= 01 Tampines Plaza=0A
Singapore 529541=0A
= =0A
Republic of Singapore=0A
Mobile Phone:= +65-9648-9798=0A
MSN: teoenming@hotmail.com=0A =
=0A
=0A
=0A
=0A =
=0A ---= --Original Message-----=0A
From: Boris Derzhavets <bde= rzhavets@yahoo.com>=0A
To: xen-devel@lists.xensource.c= om, =0Aenming.teo@asiasoftsea.net=0A
Date: Mon, 27 Jul 20= 09 01:57:43 -0700 (PDT)=0A
Subject: Re: [Xen-devel] Unabl= e to Configure Xen Dom 0 =0Ain Jeremy's PVOPS Kernel=0A
= =0A
=0A =0A =0A =0A =0A
Please, submit "brctl= show"=0A
=0A
Boris.=0A =
=0A
--- On Mon, 7/27/09, Teo En Ming =0A<enming.teo@asiasoftsea.net> wrote:=0A =
=0A
=0A From: Teo En Ming =0A<enming.teo@asiasoftsea.net>=0A =
Subject: Re: [Xen-devel] Unable to Configure Xen =0ADom 0 in Jerem= y's PVOPS Kernel=0A
To: "Boris Derzhavets" =0A<bd= erzhavets@yahoo.com>, xen-devel@lists.xensource.com=0A =
Date: Monday, July 27, 2009, 12:58 AM=0A
=0A =
=0A
=0A
Dear Boris,=0A =
=0A
 =0A =
=0A
I have changed my opensola= ris vm configuration. =0APlease see =0Ahttp://1.bp.blogspot.com/_zzjv8MCM2s= k/Sm0yIVtghCI/AAAAAAAAAGE/ZGkYbBhhx5w/s1600-h/01.jpeg=0A =
=0A
 =0A =0A
=0Ahttp://1.bp.blogspot.com/_zzjv8MCM2sk/Sm= 0yIDWV0RI/AAAAAAAAAF8/aP9riPOEZyk/s1600-h/02.jpeg=0A <= /div>=0A
 =0A
=0A=
=0Ahttp://2.bp.blogspot.com/_zzjv8MCM2sk/Sm0yHz= Y3WCI/AAAAAAAAAF0/gFxy7zJZXi8/s1600-h/03.jpeg=0A =0A
 =0A
=0A =
=0Ahttp://3.bp.blogspot.com/_zzjv8MCM2sk/Sm0yHm0RO8= I/AAAAAAAAAFs/hIgei-yTbx4/s1600-h/04.jpeg=0A
=0A=
 =0A
=0A =
=0Ahttp://1.bp.blogspot.com/_zzjv8MCM2sk/Sm0yHcUoQ_I/AA= AAAAAAAFk/9AiZKPqmG80/s1600-h/05.jpeg=0A
=0A =
 =0A
=0A =
=0Ahttp://4.bp.blogspot.com/_zzjv8MCM2sk/Sm0zdXRfyuI/AAAAAA= AAAGM/ZqOaIbmTzB8/s1600-h/06.jpeg=0A
=0A =
 =0A
=0A =
I see my OpenSolaris guest sending DHCPDISCOVER =0Aand my OpenSU= SE 11.1 32-bit Dom 0 Xen host sending DHCPOFFER but the =0AOpenSolaris virt= ual machine is not setting the offered dynamic IP address to =0Ait's virtua= l NIC.=0A
=0A
=0A =
 =0A
=0A =
=0A
 =0A =
=0A
Mr. Teo En Ming (Zhang Enming)= Dip(Mechatronics =0AEngineering) BEng(Hons)(Mechanical Engineering)=0A =
=0A
Technical Support Eng= ineer=0A
=0A
Informati= on Technology Department=0A
Asiasoft Online Pte = Ltd=0A
Tampines Central 1 #04-01 Tampines Plaza= =0A
Singapore 529541=0A =0A
Republic of Singapore=0A =
Mobile Phone: +65-9648-9798=0A
MSN: te= oenming@hotmail.com=0A
=0A =
=0A
=0A
=0A =
-----Original Message-----=0A
From: "Boris De= rzhavets" =0A<bderzhavets@yahoo.com>=0A
T= o: <xen-devel@lists.xensource.com>, =0A<enming.teo@asiasoftsea.net= >=0A
Date: Mon, 27 Jul 2009 13:01:54 +0800= =0A
Subject: Re: [Xen-devel] Unable to Configur= e =0AXen Dom 0 in Jeremy's PVOPS Kernel=0A
=0A =
=0A
=0A =0A = =0A =0A =0A =
=0A
=0A =
View:-=0A
= =0A
=0A http://www.opensolaris.org= /jive/thread.jspa?threadID=3D104509&tstart=3D75=0A =
=0A
To switch OSOL DomU = run with static =0AIP:-=0A
=0A =
pfexec svcadm disable =0Anetwork/physical:nwam &= amp;& \=0A
pfexec svcadm enable&nbs= p; =0Anetwork/physical:default=0A
pfexe= c ifconfig xnf0 down=0A
pfexec ifconfig= xnf0 192.168.1.102 =0Anetmask 255.255.255.0 mtu 1492=0A =
pfexec ifconfig xnf0 up=0A =
pfexec route add default =0A192.168.1.102=0A =
=0A
which i can/do @ install= er time to =0Ause static IP assignements.  i just=0A =
can't seem to get them to 'stick' or =0A'be happy' after= reboot and xen,=0A
run-time launch.=0A=
=0A
= Use the same commands with the =0Ainstalled system.=0A =
=0A
To make the setting= s permanent you =0Aalso need (Jurgen Keil) :=0A =
=0A
echo 192.168.1.102 netmask = =0A255.255.255.0 mtu 1492 > /etc/hostname.xnf0=0A =
=0A
rm /etc/dhcp.xnf0=0A =
=0A
e= cho 192.168.1.102 > =0A/etc/defaultrouter=0A =
=0A
=0A =
Boris.=0A
=0A =
--- On Sun, 7/2= 6/09, Mr. Teo En Ming (Zhang Enming) < enming.teo@asiasoftsea.net > =0A wrote:
=0A
=0A =
=0A =
From: Mr. Teo En Ming (Zhang Enming) =0A< = enming.teo@asiasoftsea.net >=0A
Subj= ect: Re: [Xen-devel] Unable to =0AConfigure Xen Dom 0 in Jeremy's PVOPS Ker= nel=0A
To: bderzhavets@yahoo.com, =0Axe= n-devel@lists.xensource.com=0A
Date: Su= nday, July 26, 2009, 5:08 =0AAM
=0A =
=0A
=0A =
=0A I am using static IP address.=0A =
=0A
--

Mr. = Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)
BEng(Hons)(Mech= anical Engineering)

Technical Support Engineer

Information Te= chnology Department

Asiasoft Online Pte Ltd

Tampines Central = 1 #04-01
Tampines Plaza


Singapore
529541

Republi= c of
Singapore

Mobile Phone: +65-9648-9798

MSN: teoenming@hotmail.com
=0A =
=0A =
=0A
Boris Derzhavets wrote= :
=0A
=0A
=0A = =0A = =0A =0A = =0A =
=0A
Does =0Ayour OpenSuse 11.1 32-bit has static IP address = or it obtain it via DHCP ?=0A
If = second option is in place =0Aplease submit=0A =
# brctl show=0A
=0A =
Boris.=0A =
=0A
--- On Sat, 7/25/09, Mr. Teo En Ming (Zhang Enmi= ng) =0A =0A<= ;enming.teo@asiasoftsea.net>
wrote: = =0A
=0A
=0A =
= =0A
From: Mr. Teo = En Ming (Zhang =0AEnming) <enming.teo@asiasoftsea.n= et>=0A
Subject: Re: [Xen-d= evel] Unable =0Ato Configure Xen Dom 0 in Jeremy's PVOPS Kernel=0A =
To: =0Aenming.teo@as= iasoftsea.net=0A
Cc: "Sander = Eikelenboom" <linux@eikelenboom.it>, =0Abderzhavets@yahoo.com , =0Axen-d= evel@lists.xensource.com, Pasi Kr@yahoo.com=0A =
Date: Saturday, July 25, 2009, = =0A10:50 PM
=0A
=0A =
=0A =
At the moment there is only =0Aone network card inst= alled on my lab PC in my company running OpenSUSE 11.1 =0A32-bit with Xen 3= .4.1-rc8 Dom 0 kernel 2.6.30-rc6 (jeremy). So when there =0Aare more networ= k cards installed, there will be eth0, eth1, eth2 ethernet =0Abridges, etc.= =0A
=0A =
Then I can assign the virtual =0Anetwork card in each v= irtual machine to a specific ethernet network bridge =0A(out of many bridge= s) in Domain 0 using the vif command in guest domain =0Aconfiguration.
=0A
=0A =


<= span style=3D"font-size: 10pt;">--

Mr. Teo En Ming (Zhang Enming) Di= p(Mechatronics Engineering)
BEng(Hons)(Mechanical Engineering)

Te= chnical Support Engineer

Information Technology Department

As= iasoft Online Pte Ltd

Tampines Central 1 #04-01
Tampines Plaza

Singapore
529541

Republic of
Singapore

Mob= ile Phone: +65-9648-9798

MSN: teoenming@hotmail.com
=0A
=0A
Mr. Teo En Ming (Z= hang =0AEnming) wrote:
=0A =
=0A
Dear Boris,=0A =
=0A The ethernet network bridge =0Aon OpenSUSE 11.1 is eth0.
=0A=
=0A =


--

Mr. Teo En Ming (Zhang Enming) Dip(Mechatronic= s Engineering)
BEng(Hons)(Mechanical Engineering)

Technical Suppo= rt Engineer

Information Technology Department

Asiasoft Online= Pte Ltd

Tampines Central 1 #04-01
Tampines Plaza


Sin= gapore
529541

Republic of
Singapore

Mobile Phone: +6= 5-9648-9798

MSN: teoenming@hotmail.com
=0A =
=0A =
Boris Derzhavets wrote: =0A
=0A
=0A = =0A = =0A =0A = =0A
=0A =
This means that OSOL installer (by= default ) will issue =0ADHCPDISCOVER via your Xen bridge, looking for DHCP= server on your LAN. Only =0Aon RHEL 5.3=0A =
(F10 with Xen 3.3.1 =0Asrc.rpm been installed along with g= enerated packages) with libvirtd & =0Adnsmasq up and running you can sp= ecify=0A
=0A vif=3D['b= ridge=3Dvirbr0' ] to detect DHCP Server at your Dom0.=0A =
=0A =
View for instance :-=0A =0A =0Ahttp://bderzhavets.wordpress.com/2009/05/07/backport-zfs-suppo= rt-to-xen-331-f10-dom0-kernel-2630-rc3-tip/=0A=0A =
=0A I don't have any =0Aexperience with OpenSuse 11.1 . I hardly remind they= tried to reproduce RH's =0Atechnology. Most probably they did it in SLES 1= 1 (not sure). Check for =0Alibvirtd&dnsmasq daemons up and running.=0A =
But if your OpenSuse 11.1 = =0ADom0 is on "dhcp" bridge itself , then no problems. Just =0Avif=3D['brid= ge=3Deth0'].=0A
=0A =
Boris.=0A =
=0A
-= -- On Sat, 7/25/09, Mr. Teo En Ming (= Zhang Enming) =0A < enming.teo@a= siasoftsea.net =0A> wrote:
=0A =
=0A =
=0A
From: Mr. Teo E= n Ming =0A(Zhang Enming) < enming.teo@asiasoftsea.net >=0A =
Subject: Re: [Xen-devel] =0AUnable to= Configure Xen Dom 0 in Jeremy's PVOPS Kernel=0A =
To: bderzhavets@yahoo.com=0A =
Cc: "Sander Eikelenboom" =0A<linux@eikelenboom.i= t>, Pasi Kr@yahoo.com, =0Axen-devel@lists.xensource.com=0A =
Date: Saturday, July 25, =0A2009, 12:32 = PM
=0A
=0A =
=0A =
Dear Boris,=0A
=0A =
This means I have to =0Ainstall= a DHCP server or dnsmasq in my Dom 0, listening on my Dom 0's IP =0Aaddres= s, so that it can assign dynamic IP addresses to the DomU.=0A =
=0A =
By the way, are there =0Aany paravirtualized device drivers = that I can install in DomU to improve the =0Aperformance of the virtual mac= hine?=0A
=0A =
Thank you.
=0A=0A =
=0A =
--

Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics En= gineering)
BEng(Hons)(Mechanical Engineering)

Technical Support E= ngineer

Information Technology Department

Asiasoft Online Pte= Ltd

Tampines Central 1 #04-01
Tampines Plaza


Singapo= re
529541

Republic of
Singapore

Mobile Phone: +65-96= 48-9798

MSN: teoenming@hotmail.com
=0A =
= =0A
Boris Derzhavets wrot= e: =0A
=0A
= =0A =0A = =0A = =0A = =0A =
=0A =
=0A >I noticed under the guest domain configuration there is a par= ameter =0Acalled >'extra' kernel parameter. Does the 'nowin' argument st= and for no =0A>graphical windows?=0A =
=0A
= Login as jack/jack =0Ato text console.=0A =
=0A <= br> Wait until :-=0A
= =0A
$ pfexec ifconfig= =0A-a=0A
=0A =
will show up your =0AIPv4 add= ress=0A
=0A =
$ mkdir .vnc=0A =
$ cp .Xclients =0A.vnc/xstartup=0A =
$ vncserver=0A =
=0A =
Connect via =0Avncviewer IP-DomU:1 from anothe= r terminal session to OSOL DomU. In case OSOL =0Ainstaller will fail to obt= ain IP via DHCPDISCOVER,=0A =
let me know. It =0Amight happen and requires Solaris Kernel Model De= bugger=0A
to disable = checksum =0Aoffloading at boot up. Seems to be hardware dependent issue for= OSOL 2009.06=0A
=0A =
=0A*******************= ***************=0A
Co= py ramdisk and =0Akernel to Dom0=0A =
=0A**********************************=0A =
=0A =
[root@ServerX= en isos]# cat copy.sh=0A =
mount -o loop,ro osol-0= 906-x86.iso /mnt=0A =
cp /mnt/boot/amd64/x86.micro= root =0A/home/boris/solaris=0A =
cp /mnt/platform/= i86xpv/kernel/amd64/unix =0A/home/boris/solaris=0A =
=0A =
=0A =
=0A
=0A******= *****************=0A
= Installation =0Aprofile:-=0A =
=0A***********************=0A =
=0A =
[root@ServerXen solaris]# cat o= sol200906.install =0A=0A =
name =3D "sol0906"=0A
vcpus =3D 1
=0A =
memory = =3D "1024"=0A =
kernel =3D "/home/boris/solaris/un= ix"=0A
= ramdisk =3D "/home/boris/solaris/x86.micr= oroot" =0A=0A =
extra =3D "/platform/i86xpv/kernel= /amd64/unix - nowin -B =0Ainstall_media=3Dcdrom" =0A =
disk =3D =0A['phy:/dev/loop0,xvdc:cdrom,r','phy:/dev/sdb5,xvda,w']=0A
<= font face=3D"Courier New"> # Would work as well
=0A =
=0A
<= /font>=0A vif =3D =0A['bridge=3Deth1']=0A =
o= n_shutdown =3D "destroy"=0A =
on_reboot =3D "destr= oy"=0A
= on_crash =3D "destroy"
=0A =
=0A =
Boris=0A =
=0A =
--- On Sat, 7/25/09, Mr. Teo En = Ming (Zhang Enming) =0A< enming.= teo@asiasoftsea.net >=0A wrote:
=0A =
=0A =
=0A =
From: Mr. Teo En =0AMing (Zhang Enming) < enming.teo@asiasoftsea.= net >=0A
Subject: = Re: =0A[Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel= =0A
To: =0Aenming.teo= @asiasoftsea.net=0A
C= c: "Sander =0AEikelenboom" <linux@eikelenboom.it>, "Boris Derzhavets"= =0A<bderzhavets@yahoo.com>, xen-devel@lists.xensource.com, =0A=3D?IS= O-8859-1?Q?Pasi_K=3DE4r?=3D@yahoo.com=0A =
Date: Saturday, =0AJuly 25, 2009, 7:14 AM
= =0A
=0A =
=0A =
Dear All,=0A =
=0A =
I am trying to =0Ainstall OpenSolaris 2009.06 32-bit paravirtuali= zed guest on OpenSUSE 11.1 =0A32-bit paravirt-ops enabled Xen 3.4.1-rc8 Dom= 0 Kernel 2.6.30-rc6.=0A =
=0A
However, I= am =0Agetting an opensolaris console login prompt. There is no GNOME DE fo= r me to =0Alaunch the GUI installer for OpenSolaris. I am using the OpenSol= aris LiveCD =0A32-bit.=0A =
=0A
I noticed= under =0Athe guest domain configuration there is a parameter called 'extra= ' kernel =0Aparameter. Does the 'nowin' argument stand for no graphical win= dows?=0A
=0A =
=0A =0Ahttp://4.bp.blogspot.com/_zzjv8M= CM2sk/SmoT4kZta-I/AAAAAAAAAE0/xxUGuNunPoY/s1600-h/01.jpeg=0A=0A =
=0A =
=0A =0Ahttp://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT5YG2sN= I/AAAAAAAAAFM/H0ntFt6LCx4/s1600-h/04.jpeg=0A=0A =
=0A =
=0A =0Ahttp://2.bp.blogspot.com/_zzjv8MCM2sk/SmoT5uzjF6I/AAAAAAAAAFU/2Y= 3KNWPUwWk/s1600-h/05.jpeg=0A=0A =
=0A
= Then I also get =0Athe "invalid disk device number (768)" error. Do I need= to use xvda instead =0Aof hda?=0A =
=0A
= Thank you very =0Amuch.
=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
529= 541

Republic of
Singapore

Mobile Phone: +65-9648-9798
MSN: teoenming@hotmail.com
=0A =
=0A=0A=
=0A =
Teo En Ming =0Awrote:
=0A
=0A =
=0A =
=0A As a m= atter of fact, our servers are either Dell PowerEdge =0A1950/2950 and IBM x= Series. =0A =
=0A
=0A =
=0A =
=0A &= nbsp; =0A =
=0A
=0A =
=0A =
=0A I a= m just testing it out on our lab PC first.=0A =
 
=0A
=0A =
=0A =
=0A =
=0A
=0A Mr. Teo En Ming (Zhang Enming) Dip(Mechatron= ics Engineering) =0ABEng(Hons)(Mechanical Engineering) =0A =
=0A =
=0A =
=0A =
=0A Technical Support Engineer =0A
= =0A
=0A =
=0A =
=0A Informati= on Technology Department=0A =
Asiasoft Online =0APte Ltd=0A =
Tampines =0ACentral 1 #04-01 Tampines Plaza=0A =
Singapore =0A529541 <= /span>
=0A
= =0A
=0A =
=0A =
Republic of Singapore=0A =
Mobile =0APhone
: +65-9648-9798=0A =
MSN: =0Ateoenming@hotmail.co= m
=0A =0A
=0A =
=0A =
=0A  =0A =
=0A <= div class=3D"MsoNormal" style=3D"margin-bottom: 12pt;">-----O= riginal Message-----=0A =
From: "Teo En =0AMing" < enming.teo@asiasoftsea.net >=0A =
To: "Boris =0ADerzhave= ts" <bderzhavets@yahoo.com>, "Pasi K=E4rkk=E4inen" =0A<pasik@iki.f= i>=0A
Cc: Sand= er =0AEikelenboom <linux@eikelenboom.it>, xen-devel@lists.xensource.c= om=0A
Date: Sat, = 25 =0AJul 2009 02:27:02 +0800=0A =
Subject: Re: =0ARe[8]: [Xen-devel] Unable to Configure Xen = Dom 0 in Jeremy's PVOPS Kernel =0A
=0A
=0A =
=0A =
=0A = Dear Boris, =0A =
=0A
= =0A
=0A =
=0A   =0A =
=0A =
=0A
=0A =
= =0A My next step will be a 64-bit Xen Dom 0 host.=0A =
 
=0A =0A
=0A =
=0A =
=0A =
=0A Mr. Teo En M= ing (Zhang Enming) Dip(Mechatronics Engineering) =0ABEng(Hons)(Mechanical E= ngineering) =0A =
=0A
= =0A
=0A =
=0A Technical Support Engineer =0A =
=0A =
=0A =
=0A
=0A Information Technology Department=0A =
Asiasoft =0AOnli= ne Pte Ltd=0A
T= ampines =0ACentral 1 #04-01 Tampines Plaza=0A =
Singapore =0A529541
=0A =
=0A =
=0A =
=0A =
Republic of Singapore=0A =
Mobile =0APhone
=0A : +65-9648-9798=0A =
MSN: =0Ateoenming@hotmail.com
=0A
=0A =
=0A =
=0A =
=0A  =0A =
=0A =
--= ---Original Message-----=0A =
From: Boris =0ADerzhavets <bderzhavets@yahoo.com>=0A =
To: Pasi =0AK=E4rk= k=E4inen <pasik@iki.fi>, enming.teo@asiasoftsea.net=0A =
Cc: Sander =0AEikelenboom <= ;linux@eikelenboom.it>, xen-devel@lists.xensource.com=0A =
Date: Fri, 24 =0AJul 2009 10:5= 7:49 -0700 (PDT)=0A =
Subject: Re: =0ARe[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Je= remy's PVOPS Kernel =0A
=0A =
=0A = =0A = =0A =0A = =0A =
=0A =
Te= o, it is up to you how to manage, if you =0Ajust having fun.=0A =
=0AOtherwise, download= ing 64-bit OpenSuse 11.1 ISO image=0A =
takes =0Ajust 12-14 hr even at slow ADSL speed (= like 100 KB/sec).=0A =
Install =0Atakes 30 minutes and brings you to the trusted result= s, instead=0A of =0Awasting a lot of time in case of business environment assignment.= =0A
Pasi ha= s =0A32-bit experience due to hardware limitations, which you don't=0A =
have.=0A =
=0A =
Boris.=0A =
=0A =
--- On =0A Fri, 7/24/09, Teo En Ming < enming.teo@asiasoftsea.net > =0A wrote: =
=0A =
=0A
=0A =0A =
From: Teo =0AEn = Ming < enming.teo@asiasoftsea.net >=0A =
Subject: =0ARe: Re[8]: [Xen-devel] Unable= to Configure Xen Dom 0 in Jeremy's PVOPS =0AKernel=0A =
To: =0A"Boris Derzhavets" <b= derzhavets@yahoo.com>, "Pasi K=E4rkk=E4inen" =0A<pasik@iki.fi>=0A =
Cc: =0A"San= der Eikelenboom" <linux@eikelenboom.it>, =0Axen-devel@lists.xensource= .com=0A
Dat= e: =0AFriday, July 24, 2009, 12:56 PM
=0A =
=0A =
=0A =
=0A =
Dear Boris, =0A =
=0A =
=0A =
=0A =
  =0A =
=0A =
=0A =
=0A =
My colleague installed OpenSUSE 11.1 32-bit on =0Athe Core 2 Duo machi= ne in our labs. Please see my earlier replies in the =0Asame topic. = =0A =0A
= =0A
=0A =
  =0A =
=0A =
=0A =
=0A =
I was too lazy t= o reformat and install 64-bit =0AOpenSUSE, so I proceeded with Xen Dom 0 pv= ops kernel compilation on 32-bit =0ALinux host. =0A =
=0A =
=0A =
=0A =
  =0A =
=0A =
=0A =
=0A I admit I am getting a lot of headache= . Haha.=0A <= br> =0A  =0A =
=0A =
=0A =
=0A =
Mr. Teo En Ming (Zhang Enming)= =0ADip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) =0A=0A =
=0A =0A
=0A =
Technical Support Engineer =0A =
=0A =
=0A =
=0A =
Information Technology Department=0A =
=0AAsiasoft Online Pte Ltd=0A =
=0ATampines Cent= ral 1 #04-01 Tampines Plaza=0A =
=0ASingapore 529541
=0A =
=0A =
=0A =
=0A =
=0ARepublic of Singapore=0A =
=0AMobile Phone
: +65-964= 8-9798=0A MSN: =0Ateoenming@hotmail.com =0A =
=0A =
=0A =
=0A =
 =0A =
=0A =
=0A -----Original =0AMessage-----=0A =
From: =0ABoris Derzhavets <bderzhav= ets@yahoo.com>=0A =
To: =0Aenming.teo@asiasoftsea.net , Pasi K=E4rkk=E4inen <p= asik@iki.fi>=0A =
Cc: =0ASander Eikelenboom <linux@eikelenboom.it>, =0Axen-= devel@lists.xensource.com=0A =
Date: =0AFri, 24 Jul 2009 09:57:18 -0700 (PDT)=0A =
=0ASubject= : Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's =0APVOPS= Kernel
=0A =
=0A = =0A = =0A = =0A = =0A=0A =
=0A =
Once again, i don't see any reason to to run =0A32-b= it OS on Core2Duo,=0A =
=0Aunless you like Xen head ache. Core development (PVOP= S) is obviously=0A =
=0Arunning in 64-bit environment.=0A =
=0A =
=0ABoris.=0A =
=0A =
=0A--- On <= span style=3D"font-weight: bold;">Fri, 7/24/09, Boris Derzhavets =0A <bderzhavets@yahoo.com>
=0A wrote:
=0A =
=0A =
=0A =0A =
=0AFrom: Boris Derzhavets <bderzhavets@yah= oo.com>=0A =
=0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0= in Jeremy's =0APVOPS Kernel=0A =
=0ATo: enming.teo@asiasoftsea.net , "Pasi K=E4= rkk=E4inen" <pasik@iki.fi>=0A =
=0ACc: "Sander Eikelenboom" <linux@eike= lenboom.it>, =0Axen-devel@lists.xensource.com=0A =
=0ADate: Friday, July 24, = 2009, 12:47 PM
=0A =
=0A =
=0A = =0A = =0A = =0A = =0A= =0A =
=0A =
=0A >After doing the =0Aabove, I re-installed ba= ck the Xen hypervisor, libraries and tools, and also =0A>the kernel, ini= trd, and modules. Then I proceeded to reboot my machine. =0AAfter rebooting= , > my CentOS 4.7 32-bit PV guest is still able to start =0Aand run! =0A= = =0A
=0A = =0A
Why it wouldn't ? If your image stays  the same.
=0A =0A = =0A
=0A =
=0A=0A = =0A
> I am still very puzzled! =0AWhat causes = the PV guest initially cannot start? Then what >subsequently =0Acauses t= he PV guest to suddenly be able to start and run??? =0A = =0A=0A = =0A
=0A =
=0A=0A = =0A
  =0A = =0A
=0A = =0A
=0A =
=0A = =0A=
That is not supposed to happen. I would suggest clean OS (without any = =0Abuilt in xen presence) install , followed by  Xen 3.4.1+pvops kerne= l =0Aclean install.=0A = =0A
=0A = =0A
Boris.=0A = =0A
=0A = =0A
--- On Fri, 7/24/09, Teo En Ming =0A < enming.teo@asiasoftsea.net =0A> <= /i>
wrote:
=0A = =0A
=0A =
=0A =0A = =0A
From: Teo En Ming &l= t; enming.teo@asiasoftsea.net >=0A = =0A
Subject: Re: Re[8]: [Xen-devel]= Unable to Configure Xen Dom 0 in =0AJeremy's PVOPS Kernel=0A = =0A
To: "Te= o En Ming" < enming.teo@asiasoftsea.net >, "Pasi =0AK=E4rkk=E4inen" &= lt;pasik@iki.fi>=0A = =0A
Cc: "Sander Eikelenboom" <linux@eikelenboom= .it>, =0Axen-devel@lists.xensource.com=0A = =0A
Date: Friday, July 24, 2= 009, 12:19 PM
=0A = =0A
=0A =
=0A = =0A
=0A = = =0A
Dear All, =0A = =0A=
=0A = =0A
=0A = =0A
=0A = =0A
&= nbsp; =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
I am very puzzled. In =0Ainvestigating the cause = of the sudden success of the CentOS 4.7 32-bit PV =0Aguest being able to ru= n, I have uninstalled virt-manager and all of its =0Adependencies: = =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
<= font face=3D"inherit" size=3D"2">  =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A=
docbook =0A = =0A
= =0A = =0A
=0A = =0A
=0A = =0A
python-= gtk-vnc =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
xen-libs 3.3.1 =0A = =0A
=0A= = =0A
=0A = =0A
=0A = =0A
scrollkee= per =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
xen-tools 3.3.1 =0A=0A = =0A
=0A = =0A=
=0A = =0A
=0A = =0A
libvirt 0.4.= 6 =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
libvirt-python =0A = =0A
=0A = =0A
= =0A = =0A
=0A = =0A
vm-install 0.3.24 = =0A=0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
  =0A = =0A
=0A = =0A
=0A = =0A<= div>=0A = =0A
Then I proceeded to "mak= e =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 = =0A
=0A = =0A
=0A = =0A
=0A = =0A
  =0A = =0A
=0A = =0A
=0A = =0A
= =0A = =0A
After doing the above, I =0A= re-installed back the Xen hypervisor, libraries and tools, and also the =0A= kernel, initrd, and modules. Then I proceeded to reboot my machine. After = =0Arebooting, my CentOS 4.7 32-bit PV guest is still able to start and run!= =0A=0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
  =0A = =0A
=0A = =0A
=0A = =0A<= div>=0A = =0A
I am still very puzzled!= What =0Acauses the PV guest initially cannot start? Then what subsequently= causes =0Athe PV guest to suddenly be able to start and run??? =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
  =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A ***scratches head*** =0A= =0A = =0A
=0A = =0A=0A = =0A
=0A = =0A
  =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
Anyway my CentOS 4.7 guest =0Adomain is no= w running. I shall now proceed to virtualize OpenSolaris =0A2009.06. =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
=   =0A = =0A
=0A = =0A
=0A = =0A
=0A = = =0A
Thank you. =0A = = =0A
=0A = =0A
=0A = =0A
=0A = =0A
  =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
Also see screenshots of my =0ACentOS 4.7 PV = guest here: =0A= =0Ahttp://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/creating-cento= s-47-32-bit.html=0A=0A = =0A
 
=0A = =0A
=0A = = =0A
=0A = =0A
=0A = =0A
Mr. Teo E= n Ming (Zhang =0AEnming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanica= l Engineering) =0A=0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A Technical Support Engineer =0A= =0A = =0A
=0A = =0A=0A = =0A
=0A = =0A
<= font face=3D"inherit" size=3D"3">Information Technology =0ADepartment=0A = =0A
Asiasoft Onl= ine Pte Ltd=0A = =0A
Tampines Central 1 #04-01 Tampines Plaza=0A = =0A <= br> Singapore 529541
=0A = =0A
=0A = =0A
=0A = =0A
=0A = = =0A
= =0ARepublic of Singapore=0A = =0A
Mobile Phone
: +65-9648-9798=0A = =0A =
MSN: teoenming@hotmail.com
=0A = =0A
=0A = =0A
=0A = =0A=
=0A = =0A
&n= bsp;=0A = =0A
=0A = =0A
=0A-----Original Message-----=0A = =0A From: "Teo En Ming" < enming.teo@asiasoftsea.net >=0A = =0A
To= : "Teo En Ming" < enming.teo@asiasoftsea.net >, "Pasi =0AK=E4rkk=E4in= en" <pasik@iki.fi>=0A = =0A
Cc: Sander Eikelenboom <linux@eike= lenboom.it>, =0Axen-devel@lists.xensource.com=0A = =0A
Date: Fri, 24= Jul 2009 22:54:26 +0800=0A = =0A
Subject: Re: Re[8]: [Xen-devel] Unabl= e to Configure Xen Dom 0 in =0AJeremy's PVOPS Kernel
=0A = =0A
=0A = =0A
=0A = =0A
Hi Pasi, =0A = =0A
=0A = =0A
=0A = = =0A
=0A = =0A
  =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
It's very strange. Suddenly =0Amy CentOS 4.7 32-bit PV guest= is able to start!!! Previously it refuses to =0Astart at all. =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
  =0A = =0A
=0A = =0A
=0A = =0A=0A = =0A
I think I must have change= d =0Asomething in Dom 0 when I attempted "yast --install virt-manager". Thi= s =0Aaction might have solved the problem. When I tried to install virt-man= ager, =0Ait also tries to install xen-libs-3.3.1 and xen-tools-3.3.1 as dep= endencies. =0AHowever, I started off my Xen Dom 0 pvops kernel install with= Xen 3.4.1 rc8 =0Abranch. =0A = =0A
=0A = =0A=0A = =0A=
=0A = =0A
  = =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
<= font face=3D"inherit" size=3D"2">I need to investigate more =0Awhy suddenly my CentOS 4.7 32-bi= t PV guest is able to start.=0A = =0A
 
=0A = =0A <= /div>=0A = =0A
=0A = =0A
=0A = =0A
Mr. Teo En Ming (Zhang =0AEnming) Dip(Mechatronics Engineering) BEng(Ho= ns)(Mechanical Engineering) =0A=0A = =0A
=0A = =0A
= =0A = =0A
=0A = =0A
Technical Sup= port Engineer =0A =0A = =0A
=0A = =0A
=0A = =0A
=0A= = =0A
Information Technology =0ADepa= rtment=0A = =0A
Asiasoft Online Pte Ltd=0A = =0A
Tampines Centr= al 1 #04-01 Tampines Plaza=0A = =0A
Singapore 529541
= =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
=0ARepublic of Singapore=0A = = =0A
Mobile Phone
: +65-9648-9798=0A = =0A
MSN: teoenming@hotma= il.com
=0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
 =0A = =0A
=0A = =0A
=0A-----Original Message-----=0A = =0A
From: "= Teo En Ming" < enming.teo@asiasoftsea.net >=0A = =0A
To: "Pasi = K=E4rkk=E4inen" <pasik@iki.fi>=0A = =0A
Cc: Sander Eikelenboom = <linux@eikelenboom.it>, =0Axen-devel@lists.xensource.com=0A = =0A Date: Fri, 24 Jul 2009 21:54:00 +0800=0A = =0A
Subject: Re: Re[8]:= [Xen-devel] Unable to Configure Xen Dom 0 in =0AJeremy's PVOPS Kernel
=0A = =0A
=0A = =0A
=0A = =0A=
Hi Pasi, =0A = =0A=
=0A = =0A
=0A = =0A
=0A = =0A
<= font face=3D"inherit" size=3D"2">  =0A = =0A
=0A = =0A
=0A = =0A =
=0A = =0A
= I realized that Fedo= ra 10 =0A32-bit anaconda installer does not install PAE kernel after mounti= ng the =0Aguest disk image file. I mounted the guest disk image file using = losetup and =0Akpartx which adds device nodes to /dev/mapper. I examined th= e /boot =0Adirectory after mounting the guest disk image file and found no = PAE vmlinuz =0Aand initrd. =0A = =0A
=0A = =0A
= =0A = =0A
=0A = =0A
  =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
Still using the mounted =0AFedora 10 32-bit = guest disk image file, I changed root to the guest disk =0Afilesystems and = attempted to install the PAE kernel. Then I modified =0Amenu.lst to boot th= e PAE kernel. After modifying the grub configuration of =0Athe guest domain= , I un-mounted the guest filesystem. =0A = =0A
=0A = = =0A
=0A = =0A
=0A = =0A
&= nbsp; =0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A =
I proceeded to boot the F10 =0A32-= bit guest, since I changed to PAE kernel. It is able to boot now (since =0A= the PAE kernel is xen-aware) but then it complains cannot mount /dev/root. = =0AProbably something to do with the PAE initrd file. =0A = = =0A
=0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A
 
=0A = =0A
=0A= = =0A
=0A = =0A
=0A = =0A
Mr. Teo En Ming (Zhang =0AEnming) Dip(Mechatronics Engineering) BEng(Hons)= (Mechanical Engineering) =0A=0A = =0A
=0A = =0A
= =0A = =0A
=0A = =0A
Technical S= upport Engineer =0A =0A = =0A
=0A = =0A
=0A = =0A =
=0A = =0A
= Information Technolo= gy =0ADepartment=0A = =0A
Asiasoft Online Pte Ltd=0A = =0A
= Tampines Central 1 #04-01 Tampines Plaza=0A = =0A
Singapore 529541 =
=0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A =0ARepu= blic of Singapore=0A = =0A
Mobile Phone
: +65-9648-9798=0A = =0A =
MSN: teoenming@hotmail.com
=0A = =0A
=0A = =0A =0A = =0A
=0A = =0A
<= font face=3D"inherit" size=3D"3">  =0A = =0A
=0A = =0A
=0A-----Original= Message-----=0A = =0A
From: Pasi K=E4rkk=E4inen <pasik@iki.fi&g= t;=0A = =0A
To: Teo En Ming < enming.teo@asiasoftsea.net >=0A= = =0A
Cc: Sander Eikelenboom <linux@eikelenboom.it>, =0Axen-= devel@lists.xensource.com=0A = =0A
Date: Fri, 24 Jul 2009 16:31:19 = +0300=0A = =0A
Subject: Re: Re[8]: [Xen-devel] Unable to Configure = Xen Dom 0 in =0AJeremy's PVOPS Kernel
=0A = =0A
=0A = = =0A
=0A = =0A
On Fri, Jul 24, 2009 at 08:37:= 09PM +0800, Teo En =0AMing wrote:=0A = =0A
> Hi=0A = =0A =
>=0A = =0A
> I attempted to install Fedora 10 32-bit P= V guest using=0A = =0A
> images/pxeboot/vmlinuz-PAE and =0Aima= ges/pxeboot/initrd-PAE.img from the F10=0A = =0A
> media. The = non-PAE kernel could not load the installer. I =0Afinished my Fedora=0A = = =0A
> 10 32-bit PV guest installation but it also cannot boot= =0Aup after=0A = =0A
> installation, same as the CentOS 4.7 P= V guest =0Ainstallation.=0A = =0A
>=0A = =0A
=0A = =0A=
Fedora 10 installer has a bug, as a default it installs =0Anon-= PAE kernel for=0A = =0A
xen domU. You need to use a kickstart scr= ipt (like this) to =0Afix it:=0A = =0A
= =0Ahttp://pasik.reaktio.net/fedora/f10-xen-domu-ks.cfg=0A = =0A =0A = =0A
The important lines being:=0A = =0A
=0A = =0A=
-kernel=0A = =0A
kernel-PAE=0A = =0A
=0A = = =0A
(Fedora 10 and Fedora 11 default kernels are compiled with = =0Apv_ops Xen domU=0A = =0A
support enabled, so there's no need f= or separate kernel-xen =0Awith these distros).=0A = =0A
=0A = =0A =
Fedora 11 doesn't have that installer bug, so it installs =0Arigh= t=0A = =0A
out-of-the-box as Xen domU.=0A = =0A
=0A = =0A=
What's the error you get when you start the guest after =0Ainst= allation?=0A = =0A
Please paste the "xm log" as text.=0A = =0A =
=0A = =0A
I don't have any problems with CentOS 5.3 dom0.= =0A = =0A
=0A = =0A
-- Pasi
=0A = =0A <= /div>=0A = =0A
=0A = =0A
=0A = =0A
=0A = =0A=0A = =0A
=0A =
=0A =0A = =0A
-----Inline Attachment Follows-----
= =0A = =0A
=0A =
=0A=0A = =0A
=0A__________= _____________________________________=0A = =0A
Xen-devel mailing list=0A = = =0A
Xen-devel@lists.xensource.com=0A = =0A
=0Ahttp://lists.= xensource.com/xen-devel
=0A = =0A
=0A = =0A
=0A =
 =0A =
=0A =
=0A =
=0A =0A =
=0A-----= Inline Attachment Follows-----
=0A =
=0A =
=0A =
=0A_______________________________________________=0A =
=0AXen-devel mail= ing list=0A =
=0AXen-devel@lists.xensource.com=0A =
=0A =0Ahttp://lists.= xensource.com/xen-devel
=0A =
=0A =
=0A
=0A =
=  =0A =
=0A =
=0A =
=0A =
=0A =0A =0A-----Inline Attachment Follows----- =0A =
=0A =
=0A =
=0A_____= __________________________________________=0A =
=0AXen-devel mailing list=0A =
=0AXen-devel@lists= .xensource.com=0A =
=0Ahttp://lists.xensource.com/xen-devel
=0A
=0A =
=0A =
=0A  =0A =
=0A =0A
= =0A



=
=0A =



_______________________________________________

Xen-d= evel mailing list

Xen-devel@lists.xensource.com


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


 
=0A
=0A  =0A =
=0A =
=0A
=0A =
-----Inline =0AAttachment Foll= ows-----
=0A <= /div>=0A
=0A =
=0A=0A
No virus = found in =0Athis outgoing message.=0A =
Checked by AVG - =0Awww.avg.com=0A =
Version: 8.5.392 =0A/ Virus Database: 270.13.= 29/2260 - Release Date: 07/25/09 01:48:00
=0A
=0A =
=0A =
=0A =
=0A =
-----Inline =0AAttach= ment Follows-----
=0A =
=0A
=0A =
= =0A _______________________________________________=0A =
Xen-devel mailing =0Alist= =0A
=0AXen-devel@li= sts.xensource.com=0A =0Ahttp://lists.xensource.com/xen-devel
=0A =
=0A =
=0A
  =0A =
=0A



=0A =


_______________________________________________

Xen-= devel mailing list

Xen-devel@lists.xensource.com


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


 
=0A
  =0A =
=0A
=0A =
=0A =
-----Inline Attachment =0AFollows-----
=0A =
=0A =
=0A
=0A =
No virus found in this =0Aoutgoing message.=0A =
Checked by AVG - www.avg.com=0A =
Version: 8.5.392 / =0AVirus Database: 270= .13.29/2260 - Release Date: 07/25/09 01:48:00
=0A
=0A =
=0A =
=0A
=0A =
-----Inline Attachment =0AFollows-----
=0A
=0A =
=0A =
________________________= _______________________=0A Xen-devel mailing list=0A =0AXen-devel@lists.xensource.com=0A =
=0Ahttp://lists.xensource.com/xen-devel<= /font>=0A
=0A =
=0A=
=0A  =0A =0A
    

<= /pre>=0A




____________= ___________________________________

Xen-devel mailing list

Xe= n-devel@lists.xensource.com


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


 
=0A =
=0A  = =0A
=0A =


 
=0A =



=0A =





No virus found in this ou= tgoing message.

Checked by AVG -


www.avg.com



Versi= on: 8.5.392 / Virus Database: 270.13.30/2262 - Release Date: 07/25/09
18= :01:00



 
=0A =



=0A =




_______________________________________= ________

Xen-devel mailing list

Xen-devel@lists.xensource.com=


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


&n= bsp;
=0A
=0A  =0A =
=0A
=0A=
=0A -----Inline Attachment =0AFollows----- =0A =
=0A
=0A =
= =0A
No virus found in this =0Ao= utgoing message.=0A
Checked by = AVG - www= .avg.com=0A
Version: 8.5.39= 2 / Virus =0ADatabase: 270.13.30/2262 - Release Date: 07/25/09 18:01:00
=0A
=0A =
=0A
=0A =
-----Inline Attachment =0AFollows-----
=0A
=0A =
=0A
=0A_________________________________________= ______=0A
Xen-devel mailing lis= t=0A
Xen-devel@lists.xensource.= com=0A
=0Ahttp://list= s.xensource.com/xen-devel
=0A =
=0A
=0A
&nb= sp;=0A
=0A =
 =0A =
=0A
=0A =
=0A
-----Inline Attachment =0AF= ollows-----
=0A
=0A =
=0A
=0A
No virus found in thi= s outgoing =0Amessage.=0A
Checked by = AVG - www.avg.com=0A
Version: 8.5.392= / Virus Database: =0A270.13.30/2262 - Release Date: 07/25/09 18:01:00
=0A
=0A =
=0A
 =0A
=0A =
No virus found in this incoming =0Amessa= ge.=0A
Checked by AVG - www.avg.com=0A =
Version: 8.5.339 / Virus Database: =0A270.13.24= /2255 - Release Date: 07/22/09 18:00:00
=0A =
=0A
=0A =0A
=0A
-----Inlin= e Attachment Follows-----=0A
=0A =
=0A
=0A___________________= ____________________________=0A
Xen-devel mailing = list=0A
=0AXen-devel@lists.xe= nsource.com=0A
=0Ahttp://lists.xenso= urce.com/xen-devel=0A
=0A <= /div>=0A
=0A
=0A
= =0A =0A
=0A
=0A
=0A
=0A

-----In= line Attachment Follows-----

______________= _________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.= com/xen-devel

=0A=0A=0A=0A = --0-67275313-1248700529=:51163-- --===============2127786861== 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 --===============2127786861==--