From: "Teo En Ming" Subject: Re: Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel Date: Mon, 27 Jul 2009 21:46:37 +0800 Message-ID: References: <828086.51163.qm@web56107.mail.re3.yahoo.com> Reply-To: enming.teo@asiasoftsea.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0506000867==" Return-path: In-Reply-To: <828086.51163.qm@web56107.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 --===============0506000867== Content-Type: multipart/alternative; boundary="0727_1346_37_PART-BREAK" --0727_1346_37_PART-BREAK Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear Boris, I have to use static IP instead of dhcp because we are going to run serve= rs. I have managed to enable GNOME GUI and solved the DNS resolver issue base= d=20 on the following guides: http://blogs.sun.com/timthomas/entry/a_simple_vnc_server_and http://defect.opensolaris.org/bz/show_bug.cgi?id=3D125 Please see my screenshots here: http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/creating-opensol= aris-unix-200906-32-bit.html I shall now work on hard coding static IP. 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: enming.teo@asiasoftsea.net, xen-devel@lists.xensource.com Cc:=20 Date: Mon, 27 Jul 2009 06:15:29 -0700 (PDT) Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS=20 Kernel 1) I need to edit ~/.vnc/xstartup so that it will launch a GUI=20 interface instead of a text console. During installation, I was able to c= opy=20 .Xclients to xstartup but after installation, .Xclients do not exist anym= ore=20 under my personal account. I have configured vncserver before in Linux an= d I=20 was able to port the GNOME desktop to my remote vnc client. =20 *************************************************************************= *** 1) It's easy to to grab content of .Xclients just simulating new install = and save content of .Xclients via any editor. Done just now :- 20. Spanish =20 21. Swedish =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. SunOS 5.11 snv_111b 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=20 0.0.0.0/8 --> 0.0.0.0 nexthop is not directly connected jack@opensolaris:~$ pfexec ifconfig -a lo0: flags=3D2001000849 mtu 8= 232=20 index 1 inet 127.0.0.1 netmask ff000000=20 xnf0: flags=3D1004843 mtu 1500 = index=20 2 inet 192.168.1.39 netmask ffffff00 broadcast 192.168.1.255 ether 0:16:3e:60:19:a=20 lo0: flags=3D2002000849 mtu 8= 252=20 index 1 inet6 ::1/128=20 xnf0: flags=3D2004841 mtu 1500 index 2 inet6 fe80::216:3eff:fe60:190a/10=20 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 # GDM Custom Configuration file. # overrides: /usr/share/gdm/defaults.conf [daemon] RemoteGreeter=3D/usr/lib/gdmgreeter [security] DisallowTCP=3Dfalse # AllowRoot=3Dtrue # AllowRemoteRoot=3Dtrue [xdmcp] Enable=3Dtrue [gui] [greeter] [chooser] [debug] [servers] Services restart:- svcadm disable xvnc-inetd gdm svcadm enable xvnc-inetd gdm *************************************************************** 2) I could not hard code IP address (static definition, not dhcp) and=20 network settings inside OpenSolaris like what I usually do in Linux. It=20 seems that configuring /etc/hostname.xnf0 did not help. My VM's actual=20 hostname is "opensolaris", so do I change that to /etc/opensolaris.xnf0?=20 After OpenSolaris PV guest boots up, I had to manually configure the IP=20 address, netmask and default route. *************************************************************************= ** Switching OSOL DomU to static IP via SMF ( per Jurgen Keil same as per Su= n=20 :) ) :- 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 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=20 Kernel To: "Teo En Ming" , "Boris Derzhavets"=20 , xen-devel@lists.xensource.com Date: Monday, July 27, 2009, 7:25 AM Dear All, I am now able to run OpenSolaris 2009.06 32-bit paravirtualized on Xen=20 3.4.1-rc8 Dom 0 Kernel 2.6.30-rc6 on OpenSUSE 11.1 32-bit. However, there are still some outstanding configuration issues as I am=20 not very familiar with Solaris UNIX. I am more of a Linux guy. 1) I need to edit ~/.vnc/xstartup so that it will launch a GUI=20 interface instead of a text console. During installation, I was able to c= opy=20 .Xclients to xstartup but after installation, .Xclients do not exist anym= ore=20 under my personal account. I have configured vncserver before in Linux an= d I=20 was able to port the GNOME desktop to my remote vnc client. 2) I could not hard code IP address (static definition, not dhcp) and=20 network settings inside OpenSolaris like what I usually do in Linux. It=20 seems that configuring /etc/hostname.xnf0 did not help. My VM's actual=20 hostname is "opensolaris", so do I change that to /etc/opensolaris.xnf0?=20 After OpenSolaris PV guest boots up, I had to manually configure the IP=20 address, netmask and default route. 3) Configuring name servers in /etc/resolv.conf inside Solaris did not=20 work. But I could still go out to the internet by pinging the IP addresse= s=20 of Singapore's Starhub and Singnet ISP DNS servers. Just that name=20 resolution didn't work on Solaris. Please see the screenshots here: http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/creating-opensol= aris-unix-200906-32-bit.html More questions: 4) Are there any paravirtualized device drivers/tools I can install=20 inside PV guests to enhance VM's performance? Like VMware tools? 5) Are there any benchmarking tools to measure I/O throughput of my PV=20 guests? Thank you very much. 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: "Teo En Ming" =20 To: "Boris Derzhavets" ,=20 xen-devel@lists.xensource.com =20 Cc: =20 Date: Mon, 27 Jul 2009 18:22:17 +0800 =20 Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's=20 PVOPS Kernel =20 =20 Dear Boris, =20 =20 I used the same ethernet network bridge in both installation and=20 actually running of the pv guest. During installation, dhcpdiscover was s= ent=20 out by the opensolaris pv guest. Dom 0 also sent out DHCPOFFER. However,=20 opensolaris pv guest could not configure the virtual network interface us= ing=20 dhcp. So I had to manually configure the virtual network interface. =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 Tampines Plaza =20 Singapore 529541 =20 Republic of Singapore =20 Mobile Phone: +65-9648-9798 =20 MSN: teoenming@hotmail.com =20 =20 -----Original=20 Message----- =20 From: Boris Derzhavets =20 To: xen-devel@lists.xensource.com, enming.teo@asiasoftsea.net =20 Cc: =20 Date: Mon, 27 Jul 2009 03:15:24 -0700 (PDT) =20 Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in=20 Jeremy's PVOPS Kernel =20 =20 =20 OK. What=20 happens if you put the same vif=3D['bridge=3D...'] in OSOL installation =20 profile. Are you unable to get IP for install in this case ? =20 =20 Boris. =20 =20 --- On Mon, 7/27/09, Teo En Ming wrote: =20 =20 From: Teo En Ming =20 Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in=20 Jeremy's PVOPS Kernel =20 To: "Boris Derzhavets" ,=20 xen-devel@lists.xensource.com =20 Date: Monday, July 27, 2009, 5:57 AM =20 =20 =20 Dear Boris, =20 =20 My CentOS 4.7 32-bit PV guest is getting the dynamic IP=20 address assignment from the dnsmasq dhcp server I have setup and configur= ed=20 on Xen Dom 0 OpenSUSE 11.1 32-bit host correctly. =20 =20 So I think the issue is OpenSolaris specific. =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 Online Pte Ltd =20 Tampines Central 1 #04-01 Tampines Plaza =20 Singapore 529541 =20 Republic of Singapore =20 Mobile Phone: +65-9648-9798 =20 MSN: teoenming@hotmail.com =20 =20 -----Original Message----- =20 From: Boris Derzhavets =20 To: xen-devel@lists.xensource.com,=20 enming.teo@asiasoftsea.net =20 Date: Mon, 27 Jul 2009 01:57:43 -0700 (PDT) =20 Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0=20 in Jeremy's PVOPS Kernel =20 =20 =20 Please, submit "brctl show" =20 =20 Boris. =20 =20 --- On Mon, 7/27/09, Teo En Ming wrote: =20 =20 From: Teo En Ming=20 =20 Subject: Re: [Xen-devel] Unable to Configure Xen=20 Dom 0 in Jeremy's PVOPS Kernel =20 To: "Boris Derzhavets"=20 , xen-devel@lists.xensource.com =20 Date: Monday, July 27, 2009, 12:58 AM =20 =20 =20 Dear Boris, =20 =20 I have changed my opensolaris vm configuration.=20 Please see=20 http://1.bp.blogspot.com/_zzjv8MCM2sk/Sm0yIVtghCI/AAAAAAAAAGE/ZGkYbBhhx5w= /s1600-h/01.jpeg =20 =20 http://1.bp.blogspot.com/_zzjv8MCM2sk/Sm0yIDWV0RI/AAAAAAAAAF8/aP9riPOEZyk= /s1600-h/02.jpeg =20 =20 http://2.bp.blogspot.com/_zzjv8MCM2sk/Sm0yHzY3WCI/AAAAAAAAAF0/gFxy7zJZXi8= /s1600-h/03.jpeg =20 =20 http://3.bp.blogspot.com/_zzjv8MCM2sk/Sm0yHm0RO8I/AAAAAAAAAFs/hIgei-yTbx4= /s1600-h/04.jpeg =20 =20 http://1.bp.blogspot.com/_zzjv8MCM2sk/Sm0yHcUoQ_I/AAAAAAAAAFk/9AiZKPqmG80= /s1600-h/05.jpeg =20 =20 http://4.bp.blogspot.com/_zzjv8MCM2sk/Sm0zdXRfyuI/AAAAAAAAAGM/ZqOaIbmTzB8= /s1600-h/06.jpeg =20 =20 I see my OpenSolaris guest sending DHCPDISCOVER=20 and my OpenSUSE 11.1 32-bit Dom 0 Xen host sending DHCPOFFER but the=20 OpenSolaris virtual machine is not setting the offered dynamic IP address= to=20 it's virtual NIC. =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 Online Pte Ltd =20 Tampines Central 1 #04-01 Tampines Plaza =20 Singapore 529541 =20 Republic of Singapore =20 Mobile Phone: +65-9648-9798 =20 MSN: teoenming@hotmail.com =20 =20 -----Original Message----- =20 From: "Boris Derzhavets"=20 =20 To: ,=20 =20 Date: Mon, 27 Jul 2009 13:01:54 +0800 =20 Subject: Re: [Xen-devel] Unable to Configure=20 Xen Dom 0 in Jeremy's 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=20 IP:- =20 =20 pfexec svcadm disable=20 network/physical:nwam && \ =20 pfexec svcadm enable =20 network/physical:default =20 pfexec ifconfig xnf0 down =20 pfexec ifconfig xnf0 192.168.1.102=20 netmask 255.255.255.0 mtu 1492 =20 pfexec ifconfig xnf0 up =20 pfexec route add default=20 192.168.1.102 =20 =20 which i can/do @ installer time to=20 use static IP assignements. i just =20 can't seem to get them to 'stick' or=20 'be happy' after reboot and xen, =20 run-time launch. =20 =20 Use the same commands with the=20 installed system. =20 =20 To make the settings permanent you=20 also need (Jurgen Keil) : =20 =20 echo 192.168.1.102 netmask=20 255.255.255.0 mtu 1492 > /etc/hostname.xnf0 =20 =20 rm /etc/dhcp.xnf0 =20 =20 echo 192.168.1.102 >=20 /etc/defaultrouter =20 =20 =20 Boris. =20 =20 --- On Sun, 7/26/09, Mr. Teo En Ming (Zhang Enming) <=20 enming.teo@asiasoftsea.net > wrote: =20 From: Mr. Teo En Ming (Zhang Enming)=20 < enming.teo@asiasoftsea.net > =20 Subject: Re: [Xen-devel] Unable to=20 Configure Xen Dom 0 in Jeremy's PVOPS Kernel =20 To: bderzhavets@yahoo.com,=20 xen-devel@lists.xensource.com =20 Date: Sunday, July 26, 2009, 5:08=20 AM =20 I am using static IP address. -- 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 =20 Boris Derzhavets wrote: =20 Does=20 your OpenSuse 11.1 32-bit has static IP address or it obtain it via DHCP = ? =20 If second option is in place=20 please submit =20 # brctl show =20 =20 Boris. =20 =20 --- On Sat, 7/25/09, Mr. Teo En Ming (Zhang Enming)=20 wrote: =20 From: Mr. Teo En Ming (Zhang=20 Enming) =20 Subject: Re: [Xen-devel] Unable=20 to Configure Xen Dom 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,=20 10:50 PM =20 At the moment there is only=20 one network card installed on my lab PC in my company running OpenSUSE 11= .1=20 32-bit with Xen 3.4.1-rc8 Dom 0 kernel 2.6.30-rc6 (jeremy). So when there= =20 are more network cards installed, there will be eth0, eth1, eth2 ethernet= =20 bridges, etc. =20 =20 Then I can assign the virtual=20 network card in each virtual machine to a specific ethernet network bridg= e=20 (out of 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 =20 Mr. Teo En Ming (Zhang=20 Enming) wrote: =20 Dear Boris, =20 =20 The ethernet network bridge=20 on OpenSUSE 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 =20 Boris Derzhavets wrote: =20 This means that OSOL installer (by default ) will issue=20 DHCPDISCOVER via your Xen bridge, looking for DHCP server on your LAN. On= ly=20 on RHEL 5.3 =20 (F10 with Xen 3.3.1=20 src.rpm been installed along with generated packages) with libvirtd &=20 dnsmasq up and running you can specify =20 =20 vif=3D['bridge=3Dvirbr0' ] to detect DHCP 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=20 experience with OpenSuse 11.1 . I hardly remind they tried to reproduce R= H's=20 technology. Most probably they did it in SLES 11 (not sure). Check for=20 libvirtd&dnsmasq daemons up and running. =20 But if your OpenSuse 11.1=20 Dom0 is on "dhcp" bridge itself , then no problems. Just=20 vif=3D['bridge=3Deth0']. =20 =20 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=20 (Zhang Enming) < enming.teo@asiasoftsea.net > =20 Subject: Re: [Xen-devel]=20 Unable to Configure 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,=20 2009, 12:32 PM =20 Dear Boris, =20 =20 This means I have to=20 install a DHCP server or dnsmasq in my Dom 0, listening on my Dom 0's IP=20 address, so that it can assign dynamic IP addresses to the DomU. =20 =20 By the way, are there=20 any paravirtualized device drivers that I can install in DomU to improve = the=20 performance of the virtual machine? =20 =20 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 =20 Boris Derzhavets wrote: =20 >I noticed under the guest domain configuration there is a parameter=20 called >'extra' kernel parameter. Does the 'nowin' argument stand for no=20 >graphical windows? =20 =20 Login as jack/jack=20 to text console. =20 =20 Wait until :- =20 =20 $ pfexec ifconfig=20 -a =20 =20 will show up your=20 IPv4 address =20 =20 $ mkdir .vnc =20 $ cp .Xclients=20 .vnc/xstartup =20 $ vncserver =20 =20 Connect via=20 vncviewer IP-DomU:1 from another terminal session to OSOL DomU. In case O= SOL=20 installer will fail to obtain IP via DHCPDISCOVER, =20 let me know. It=20 might happen and requires Solaris Kernel Model Debugger =20 to disable checksum=20 offloading at boot up. Seems to be hardware dependent issue for OSOL 2009= .06 =20 =20 =20 ********************************** =20 Copy ramdisk and=20 kernel to Dom0 =20 =20 **********************************[root@ServerXen isos]# cat copy.sh =20 mount -o loop,ro osol-0906-x86.iso /mnt =20 cp /mnt/boot/amd64/x86.microroot=20 /home/boris/solaris =20 cp /mnt/platform/i86xpv/kernel/amd64/unix=20 /home/boris/solaris*********************** =20 Installation=20 profile:- =20 =20 ***********************[root@ServerXen solaris]# cat osol200906.install =20 name =3D "sol0906" =20 vcpus =3D 1 =20 memory =3D "1024" =20 kernel =3D "/home/boris/solaris/unix" =20 ramdisk =3D "/home/boris/solaris/x86.microroot" =20 extra =3D "/platform/i86xpv/kernel/amd64/unix - nowin -B=20 install_media=3Dcdrom" =20 disk =3D=20 ['phy:/dev/loop0,xvdc:cdrom,r','phy:/dev/sdb5,xvda,w'] =20 # Would 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 =3D "destroy" =20 on_crash =3D "destroy"Boris =20 =20 --- On Sat, 7/25/09, Mr. Teo En Ming (Zhang Enming) <=20 enming.teo@asiasoftsea.net > wrote: =20 From: Mr. Teo En=20 Ming (Zhang Enming) < enming.teo@asiasoftsea.net > =20 Subject: Re:=20 [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel =20 To:=20 enming.teo@asiasoftsea.net =20 Cc: "Sander=20 Eikelenboom" , "Boris Derzhavets"=20 , xen-devel@lists.xensource.com,=20 =3D?ISO-8859-1?Q?Pasi_K=3DE4r?=3D@yahoo.com =20 Date: Saturday,=20 July 25, 2009, 7:14 AM =20 Dear All, =20 =20 I am trying to=20 install OpenSolaris 2009.06 32-bit paravirtualized guest on OpenSUSE 11.1= =20 32-bit paravirt-ops enabled Xen 3.4.1-rc8 Dom 0 Kernel 2.6.30-rc6. =20 =20 However, I am=20 getting an opensolaris console login prompt. There is no GNOME DE for me = to=20 launch the GUI installer for OpenSolaris. I am using the OpenSolaris Live= CD=20 32-bit. =20 =20 I noticed under=20 the guest domain configuration there is a parameter called 'extra' kernel= =20 parameter. Does the '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=20 the "invalid disk device number (768)" error. Do I need to use xvda inste= ad=20 of hda? =20 =20 Thank you very=20 much. -- 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 =20 Teo En Ming=20 wrote: =20 As a matter of fact, our servers are either Dell PowerEdge=20 1950/2950 and IBM xSeries. =20 =20 I am just testing it out on our lab PC first. =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=20 Pte Ltd =20 Tampines=20 Central 1 #04-01 Tampines Plaza =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" < enming.teo@asiasoftsea.net > =20 To: "Boris=20 Derzhavets" , "Pasi K=E4rkk=E4inen"=20 =20 Cc: Sander=20 Eikelenboom , xen-devel@lists.xensource.com =20 Date: Sat, 25=20 Jul 2009 02:27:02 +0800 =20 Subject: Re:=20 Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel =20 Dear Boris, =20 =20 My next step will be a 64-bit Xen Dom 0 host. =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 Singapore=20 529541 =20 Republicof Singapore =20 Mobile=20 Phone: +65-9648-9798 =20 MSN:=20 teoenming@hotmail.com =20 -----Original Message----- =20 From: Boris=20 Derzhavets =20 To: Pasi=20 K=E4rkk=E4inen , enming.teo@asiasoftsea.net =20 Cc: Sander=20 Eikelenboom , xen-devel@lists.xensource.com =20 Date: Fri, 24=20 Jul 2009 10:57:49 -0700 (PDT) =20 Subject: Re:=20 Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel =20 Teo, it is up to you how to manage, if you=20 just having fun. =20 =20 Otherwise, downloading 64-bit OpenSuse 11.1 ISO image =20 takes=20 just 12-14 hr even at slow ADSL speed ( like 100 KB/sec). =20 Install=20 takes 30 minutes and brings you to the trusted results, instead =20 of=20 wasting a lot of time in case of business environment assignment. =20 Pasi has=20 32-bit experience due to hardware limitations, which you don't =20 have. =20 =20 Boris. =20 =20 --- On Fri, 7/24/09, Teo En Ming < enming.teo@asiasoftsea.net > wrote: =20 From: Teo=20 En Ming < enming.teo@asiasoftsea.net > =20 Subject:=20 Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS=20 Kernel =20 To:=20 "Boris Derzhavets" , "Pasi K=E4rkk=E4inen"=20 =20 Cc:=20 "Sander Eikelenboom" ,=20 xen-devel@lists.xensource.com =20 Date:=20 Friday, July 24, 2009, 12:56 PM =20 Dear Boris, =20 =20 My colleague installed OpenSUSE 11.1 32-bit on=20 the Core 2 Duo machine in our labs. Please see my earlier replies in the=20 same topic. =20 =20 I was too lazy to reformat and install 64-bit=20 OpenSUSE, so I proceeded with Xen Dom 0 pvops kernel compilation on 32-bi= t=20 Linux host. =20 =20 I admit I am getting a lot of headache. Haha. =20 Mr. Teo En Ming (Zhang Enming)=20 Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) =20 Technical Support Engineer =20 Information Technology Department =20 =20 Asiasoft Online Pte Ltd =20 =20 Tampines Central 1 #04-01 Tampines Plaza =20 =20 Singapore 529541 =20 Republicof Singapore =20 =20 Mobile Phone: +65-9648-9798 =20 MSN:=20 teoenming@hotmail.com =20 -----Original=20 Message----- =20 From:=20 Boris Derzhavets =20 To:=20 enming.teo@asiasoftsea.net , Pasi K=E4rkk=E4inen =20 Cc:=20 Sander Eikelenboom ,=20 xen-devel@lists.xensource.com =20 Date:=20 Fri, 24 Jul 2009 09:57:18 -0700 (PDT) =20 =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's= =20 PVOPS Kernel =20 Once again, i don't see any reason to to run=20 32-bit OS on Core2Duo, =20 =20 unless you like Xen head ache. Core development (PVOPS) is obviously =20 =20 running in 64-bit environment. =20 =20 =20 Boris. =20 =20 =20 --- On Fri, 7/24/09, Boris Derzhavets=20 wrote: =20 From: Boris Derzhavets =20 =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's= =20 PVOPS Kernel =20 =20 To: enming.teo@asiasoftsea.net , "Pasi K=E4rkk=E4inen" =20 =20 Cc: "Sander Eikelenboom" ,=20 xen-devel@lists.xensource.com =20 =20 Date: Friday, July 24, 2009, 12:47 PM =20 >After doing the=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 machine.=20 After rebooting, > my CentOS 4.7 32-bit PV guest is still able to start=20 and run!Why it wouldn't ? If your image stays the same. =20 > I am still very puzzled!=20 What causes the PV guest initially cannot start? Then what >subsequently=20 causes the PV guest to suddenly be able to start and run??? =20 =20 That is not supposed to happen. I would suggest clean OS (without any=20 built in xen presence) install , followed by Xen 3.4.1+pvops kernel=20 clean install. = =20 = =20 Boris. = =20 = =20 --- On Fri, 7/24/09, Teo En Ming=20 < enming.teo@asiasoftsea.net=20 > wrote: =20 From: Teo En Ming < enming.teo@asiasoftsea.net > = =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=20 Jeremy's PVOPS Kernel = =20 To: "Teo En Ming" < enming.teo@asiasoftsea.net >, "Pasi=20 K=E4rkk=E4inen" = =20 Cc: "Sander Eikelenboom" ,=20 xen-devel@lists.xensource.com = =20 Date: Friday, July 24, 2009, 12:19 PM =20 Dear All, = =20 = =20 I am very puzzled. In=20 investigating the cause of the sudden success of the CentOS 4.7 32-bit PV= =20 guest being able to run, I have uninstalled virt-manager and all of its=20 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=20 uninstall" in xen-3.4-testing source tree, which also removed my self=20 compiled Xen Dom 0 pvops enabled kernel, initrd and kernel modules. = =20 = =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 run! = =20 = =20 I am still very puzzled! What=20 causes the PV guest initially cannot start? Then what subsequently causes= =20 the PV guest to suddenly be able to start and run??? = =20 = =20 ***scratches head*** = =20 = =20 Anyway my CentOS 4.7 guest=20 domain is now running. I shall now proceed to virtualize OpenSolaris=20 2009.06. = =20 = =20 Thank you. = =20 = =20 Also see screenshots of my=20 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=20 Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) = =20 Technical Support Engineer = =20 Information Technology=20 Department = =20 =20 Asiasoft Online Pte Ltd = =20 =20 Tampines Central 1 #04-01 Tampines Plaza = =20 =20 Singapore 529541 = =20 Republicof Singapore = =20 =20 Mobile Phone: +65-9648-9798 = =20 =20 MSN: teoenming@hotmail.com = =20 -----Original Message----- = =20 =20 From: "Teo En Ming" < enming.teo@asiasoftsea.net > = =20 =20 To: "Teo En Ming" < enming.teo@asiasoftsea.net >, "Pasi=20 K=E4rkk=E4inen" = =20 =20 Cc: Sander Eikelenboom ,=20 xen-devel@lists.xensource.com = =20 =20 Date: Fri, 24 Jul 2009 22:54:26 +0800 = =20 =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=20 Jeremy's PVOPS Kernel = =20 Hi Pasi, = =20 = =20 It's very strange. Suddenly=20 my CentOS 4.7 32-bit PV guest is able to start!!! Previously it refuses t= o=20 start at all. = =20 = =20 I think I must have changed=20 something in Dom 0 when I attempted "yast --install virt-manager". This=20 action might have solved the problem. When I tried to install virt-manage= r,=20 it also tries to install xen-libs-3.3.1 and xen-tools-3.3.1 as dependenci= es.=20 However, I started off my Xen Dom 0 pvops kernel install with Xen 3.4.1 r= c8=20 branch. = =20 = =20 I need to investigate more=20 why suddenly my CentOS 4.7 32-bit PV guest is able to start. = =20 Mr. Teo En Ming (Zhang=20 Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) = =20 Technical Support Engineer = =20 Information Technology=20 Department = =20 =20 Asiasoft Online Pte Ltd = =20 =20 Tampines Central 1 #04-01 Tampines Plaza = =20 =20 Singapore 529541 = =20 Republic of Singapore = =20 =20 Mobile Phone: +65-9648-9798 = =20 =20 MSN: teoenming@hotmail.com = =20 -----Original Message----- = =20 =20 From: "Teo En Ming" < enming.teo@asiasoftsea.net > = =20 =20 To: "Pasi K=E4rkk=E4inen" = =20 =20 Cc: Sander Eikelenboom ,=20 xen-devel@lists.xensource.com = =20 =20 Date: Fri, 24 Jul 2009 21:54:00 +0800 = =20 =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=20 Jeremy's PVOPS Kernel = =20 =20 Hi Pasi, = =20 =20 = =20 =20 I realized that Fedora 10=20 32-bit anaconda installer does not install PAE kernel after mounting the=20 guest disk image file. I mounted the guest disk image file using losetup = and=20 kpartx which adds device nodes to /dev/mapper. I examined the /boot=20 directory after mounting the guest disk image file and found no PAE vmlin= uz=20 and initrd. = =20 =20 = =20 =20 Still using the mounted=20 Fedora 10 32-bit guest disk image file, I changed root to the guest disk=20 filesystems and attempted to install the PAE kernel. Then I modified=20 menu.lst to boot the PAE kernel. After modifying the grub configuration o= f=20 the guest domain, I un-mounted the guest filesystem. = =20 =20 = =20 =20 I proceeded to boot the F10=20 32-bit guest, since I changed to PAE kernel. It is able to boot now (sinc= e=20 the PAE kernel is xen-aware) but then it complains cannot mount /dev/root= .=20 Probably something to do with the PAE initrd file. = =20 =20 = =20 =20 Mr. Teo En Ming (Zhang=20 Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) = =20 =20 Technical Support Engineer = =20 =20 Information Technology=20 Department = =20 =20 Asiasoft Online Pte Ltd = =20 =20 Tampines Central 1 #04-01 Tampines Plaza = =20 =20 Singapore 529541 = =20 =20 Republic of Singapore = =20 =20 Mobile Phone: +65-9648-9798 = =20 =20 MSN: teoenming@hotmail.com = =20 =20 -----Original Message----- = =20 =20 From: Pasi K=E4rkk=E4inen = =20 =20 To: Teo En Ming < enming.teo@asiasoftsea.net > = =20 =20 Cc: Sander Eikelenboom ,=20 xen-devel@lists.xensource.com = =20 =20 Date: Fri, 24 Jul 2009 16:31:19 +0300 = =20 =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=20 Jeremy's PVOPS Kernel = =20 =20 On Fri, Jul 24, 2009 at 08:37:09PM +0800, Teo En=20 Ming wrote: = =20 =20 > Hi = =20 =20 > = =20 =20 > I attempted to install Fedora 10 32-bit PV guest using = =20 =20 > images/pxeboot/vmlinuz-PAE and=20 images/pxeboot/initrd-PAE.img from the F10 = =20 =20 > media. The non-PAE kernel could not load the installer. I=20 finished my Fedora = =20 =20 > 10 32-bit PV guest installation but it also cannot boot=20 up after = =20 =20 > installation, same as the CentOS 4.7 PV guest=20 installation. = =20 =20 > = =20 =20 = =20 =20 Fedora 10 installer has a bug, as a default it installs=20 non-PAE kernel for = =20 =20 xen domU. You need to use a kickstart script (like this) to=20 fix it: = =20 =20 http://pasik.reaktio.net/fedora/f10-xen-domu-ks.cfg=20 [http://pasik.reaktio.net/fedora/f10-xen-domu-ks.cfg] = =20 =20 = =20 =20 The important lines being: = =20 =20 = =20 =20 -kernel = =20 =20 kernel-PAE = =20 =20 = =20 =20 (Fedora 10 and Fedora 11 default kernels are compiled with=20 pv_ops Xen domU = =20 =20 support enabled, so there's no need for separate kernel-xen=20 with these distros). = =20 =20 = =20 =20 Fedora 11 doesn't have that installer bug, so it installs=20 right = =20 =20 out-of-the-box as Xen domU. = =20 =20 = =20 =20 What's the error you get when you start the guest after=20 installation? = =20 =20 Please paste the "xm log" as text. = =20 =20 = =20 =20 I don't have any problems with CentOS 5.3 dom0. = =20 =20 = =20 =20 -- Pasi =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 _______________________________________________ =20 =20 Xen-devel mailing list =20 =20 Xen-devel@lists.xensource.com =20 =20 http://lists.xensource.com/xen-devel [http://lists.xensource.com/xen-deve= l] =20 -----Inline Attachment Follows----- =20 _______________________________________________ =20 =20 Xen-devel mailing list =20 =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=20 Attachment Follows----- =20 No virus found in=20 this outgoing message. =20 Checked by AVG -=20 www.avg.com [http://www.avg.com/] =20 Version: 8.5.392=20 / Virus Database: 270.13.29/2260 - Release Date: 07/25/09 01:48:00 =20 -----Inline=20 Attachment 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 =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=20 Follows----- =20 No virus found in this=20 outgoing message. =20 Checked by AVG - www.avg.com [http://www.avg.com/] =20 Version: 8.5.392 /=20 Virus Database: 270.13.29/2260 - Release Date: 07/25/09 01:48:00 =20 -----Inline Attachment=20 Follows----- =20 _______________________________________________ =20 Xen-devel mailing list =20 =20 Xen-devel@lists.xensource.com =20 http://lists.xensource.com/xen-devel [http://lists.xensource.com/xen-dev= el] =20 =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 No virus found in this outgoing=20 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 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=20 Follows----- =20 No virus found in this=20 outgoing message. =20 Checked by AVG - www.avg.com [http://www.avg.com/] =20 Version: 8.5.392 / Virus=20 Database: 270.13.30/2262 - Release Date: 07/25/09 18:01:00 =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 -----Inline Attachment=20 Follows----- =20 No virus found in this outgoing=20 message. =20 Checked by AVG - www.avg.com =20 Version: 8.5.392 / Virus Database:=20 270.13.30/2262 - Release Date: 07/25/09 18:01:00 =20 =20 No virus found in this incoming=20 message. =20 Checked by AVG - www.avg.com =20 Version: 8.5.339 / Virus Database:=20 270.13.24/2255 - Release Date: 07/22/09 18:00:00 =20 -----Inline Attachment Follows----- =20 =20 =20 _______________________________________________ =20 Xen-devel mailing list =20 Xen-devel@lists.xensource.com =20 http://lists.xensource.com/xen-devel [http://lists.xensource.com/xen-deve= l] -----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_1346_37_PART-BREAK Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear Boris,
 
I have to use static IP instead of dhcp because we are going to run=20 servers.
 
I have managed to enable GNOME GUI and solved the DNS resolver issue= =20 based on the following guides:
 
http://blogs.sun.com/timthomas/entry/a_simple_vnc_server_and
 
http://defect.opensolaris.org/bz/show_bug.cgi?id=3D125
 
Please see my screenshots here:
 
http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/creating-opensol= aris-unix-200906-32-bit.html
 
I shall now work on hard coding static IP.
 
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: enming.teo@asiasoftsea.net, xen-devel@lists.xensource.com
Cc:
Date: Mon, 27 Jul 2009 06:15:29 -0700 (PDT)
Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy= 's=20 PVOPS Kernel

1) I need to edit ~/.vnc/xstartup so that it will launch a GUI= =20 interface instead of a text console. During installation, I was able to c= opy=20 .Xclients to xstartup but after installation, .Xclients do not exist anym= ore=20 under my personal account. I have configured vncserver before in Linux an= d I=20 was able to port the GNOME desktop to my remote vnc client.

*************************************************************************= ***
1) It's easy to to grab content of .Xclients just simulatin= g=20 new install and
 save content of .Xclients via any editor. Done just n= ow=20 :-

20.=20 Spanish           =            
21.=20 Swedish           =            
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=20 5.11     =20 snv_111b        November 2008
jack@opensolaris:~$ cat .Xclients
#!/bin/ksh
#
# CDDL HEADER START
#
# For automatic login, we just invoke the default Gnome=20 desktop
exec /usr/bin/dtstart jds

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

jack@opensolaris:~$ pfexec ifconfig -a
lo0:=20 flags=3D2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu = 8232=20 index 1
        inet 127.0.0.1=20 netmask ff000000
xnf0:=20 flags=3D1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 = index=20 2
        inet 192.168.1.3= 9=20 netmask ffffff00 broadcast 192.168.1.255
        ether=20 0:16:3e:60:19:a
lo0:=20 flags=3D2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu = 8252=20 index 1
        inet6 ::1/128
xnf0: flags=3D2004841<UP,RUNNING,MULTICAST,DHCP,IPv6>= mtu=20 1500 index 2
        inet6=20 fe80::216:3eff:fe60:190a/10
        ether=20 0:16:3e:60:19:a

NO PROBLEMS WITH OBTAIN IP VIA DHCPDISCOVER,DHCPACK,=20 ....,DHCPOFFER

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

cat /etc/X11/gdm/custom.conf
# GDM Custom Configuration file.
# overrides: /usr/share/gdm/defaults.conf
[daemon]
RemoteGreeter=3D/usr/lib/gdmgreeter
[security]
DisallowTCP=3Dfalse
# AllowRoot=3Dtrue
# AllowRemoteRoot=3Dtrue
[xdmcp]
Enable=3Dtrue
[gui]
[greeter]
[chooser]
[debug]
[servers]

Services restart:-

svcadm disable xvnc-inetd gdm
svcadm enable xvnc-inetd gdm

***************************************************************

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

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

View=20 http://www.opensolaris.org/jive/thread.jspa?threadID=3D104509&tstart=3D= 75

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

pfexec svcadm disable network/physical:nwam && \
pfexec svcadm enable  network/physical:default
pfexec ifconfig xnf0 down
pfexec ifconfig xnf0 192.168.1.45 netmask 255.255.255.0 mtu= =20 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 >=20 /etc/hostname.xnf0
rm /etc/dhcp.xnf0

echo 192.168.1.102 > /etc/defaultrouter
*************************************************************************= *****

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: "Teo En Ming" <enming.teo@asiasoftsea.net>, "Bori= s=20 Derzhavets" <bderzhavets@yahoo.com>, xen-devel@lists.xensource.com
Date: Monday, July 27, 2009, 7:25 AM

Dear All,
 
I am now able to run OpenSolaris 2009.06 32-bit=20 paravirtualized on Xen 3.4.1-rc8 Dom 0 Kernel 2.6.30-rc6 on OpenSUSE 11.1= =20 32-bit.
 
However, there are still some outstanding configuration=20 issues as I am not very familiar with Solaris UNIX. I am more of a Linux=20 guy.
 
1) I need to edit ~/.vnc/xstartup so that it will launch a= =20 GUI interface instead of a text console. During installation, I was able = to=20 copy .Xclients to xstartup but after installation, .Xclients do not exist= =20 anymore under my personal account. I have configured vncserver before in=20 Linux and I was able to port the GNOME desktop to my remote vnc client.
 
2) I could not hard code IP address (static definition, no= t=20 dhcp) and network settings inside OpenSolaris like what I usually do in=20 Linux. It seems that configuring /etc/hostname.xnf0 did not help. My VM's= =20 actual hostname is "opensolaris", so do I change that to=20 /etc/opensolaris.xnf0? After OpenSolaris PV guest boots up, I had to=20 manually configure the IP address, netmask and default route.
 
3) Configuring name servers in /etc/resolv.conf inside=20 Solaris did not work. But I could still go out to the internet by pinging= =20 the IP addresses of Singapore's Starhub and Singnet ISP DNS servers. Just= =20 that name resolution didn't work on Solaris.
 
Please see the screenshots here:
 
=20 http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/creating-opensol= aris-unix-200906-32-bit.html
 
More questions:
 
4) Are there any paravirtualized device drivers/tools I ca= n=20 install inside PV guests to enhance VM's performance? Like VMware tools?
 
5) Are there any benchmarking tools to measure I/O through= put=20 of my PV guests?
 
Thank you very much.

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: "Teo En Ming" <enming.teo@asiasoftsea.net>
To: "Boris Derzhavets" <bderzhavets@yahoo.com>,=20 xen-devel@lists.xensource.com
Cc:
Date: Mon, 27 Jul 2009 18:22:17 +0800
Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0= in=20 Jeremy's PVOPS Kernel

Dear Boris,
 
I used the same ethernet network bridge in both=20 installation and actually running of the pv guest. During installation,=20 dhcpdiscover was sent out by the opensolaris pv guest. Dom 0 also sent ou= t=20 DHCPOFFER. However, opensolaris pv guest could not configure the virtual=20 network interface using dhcp. So I had to manually configure the virtual=20 network interface.
 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics=20 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


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

OK. What happens if you put the same vif=3D['bridge=3D...'= ] in OSOL=20 installation
profile. Are you unable to get IP for install in=20 this case ?

Boris.

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

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

 
 
Dear Boris,

My CentOS 4.7 32-bit PV guest is getting the=20 dynamic IP address assignment from the dnsmasq dhcp server I have setup a= nd=20 configured on Xen Dom 0 OpenSUSE 11.1 32-bit host correctly.
 
So I think the issue is OpenSolaris specific.
 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronic= s=20 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


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

Please, submit "brctl show"

Boris.

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

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

Dear Boris,
 
I have changed my opensolaris vm=20 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=20 DHCPDISCOVER and my OpenSUSE 11.1 32-bit Dom 0 Xen host sending DHCPOFFER= =20 but the OpenSolaris virtual machine is not setting the offered dynamic IP= =20 address to it's virtual NIC.
 

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


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

=20

View:-

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

To switch OSOL DomU run=20 with static IP:-

pfexec svcadm disable=20 network/physical:nwam && \
pfexec svcadm enable&nbs= p;=20 network/physical:default
pfexec ifconfig xnf0 dow= n
pfexec ifconfig xnf0=20 192.168.1.102 netmask 255.255.255.0 mtu 1492
pfexec ifconfig xnf0 up
pfexec route add default= =20 192.168.1.102

which i can/do @ install= er=20 time to use static IP assignements.  i just
can't seem to get them t= o=20 'stick' or 'be happy' after reboot and xen,
run-time launch.

Use the same commands wi= th=20 the installed system.

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

echo 192.168.1.102 netma= sk=20 255.255.255.0 mtu 1492 > /etc/hostname.xnf0

rm /etc/dhcp.xnf0

echo 192.168.1.102 >=20 /etc/defaultrouter


Boris.

--- On Sun, 7/26/09, Mr. Teo En Ming (Zhang Enming)= < enming.teo@asiasoftsea.net=20 >
wrote:
=
From: Mr. Teo En Ming=20 (Zhang Enming) < enming.teo@asiasoftsea.net >
Subject: Re: [Xen-devel]= =20 Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel
To: bderzhavets@yahoo.co= m,=20 xen-devel@lists.xensource.com
Date: Sunday, July 26,=20 2009, 5:08 AM
I am using static IP address.
--

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
>I noticed under the guest domain=20 configuration there is a parameter called >'extra' kernel parameter. D= oes=20 the 'nowin' argument stand for no >graphical windows?

Login = as=20 jack/jack to text console.

Wait=20 until :-

$ pfex= ec=20 ifconfig -a

will s= how=20 up your IPv4 address

$ mkdi= r=20 .vnc
$ cp=20 .Xclients .vnc/xstartup
$=20 vncserver

Connec= t=20 via vncviewer IP-DomU:1 from another terminal session to OSOL DomU. In ca= se=20 OSOL installer will fail to obtain IP via DHCPDISCOVER,
let me= =20 know. It might happen and requires Solaris Kernel Model Debugger
to=20 disable checksum offloading at boot up. Seems to be hardware dependent is= sue=20 for OSOL 2009.06

=20 **********************************
Copy=20 ramdisk and kernel to Dom0
=20 **********************************

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



=20 ***********************
=20 Installation profile:-
=20 ***********************

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

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


Boris

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

From: = Mr.=20 Teo En Ming (Zhang Enming) < enming.teo@asiasoftsea.net >
Subjec= t:=20 Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel
To:=20 enming.teo@asiasoftsea.net
Cc:=20 "Sander Eikelenboom" <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:=20 Saturday, July 25, 2009, 7:14 AM
Dear All,

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

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

I=20 noticed under the guest domain configuration there is a parameter called=20 'extra' kernel parameter. Does the 'nowin' argument stand for no graphica= l=20 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=20 also get the "invalid disk device number (768)" error. Do I need to use x= vda=20 instead of hda?

Than= k=20 you very much.

--

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=20 Ming wrote:
As a matter of fact, our servers are either= =20 Dell PowerEdge 1950/2950 and IBM xSeries.
 
I am just testing it out on our lab PC firs= t.
=20  
Mr. Teo En Ming (Zhang Enming)=20 Dip(Mechatronics 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 Singapor= e
=20 Mobile Phone
: +65-9648-9798
MS= N:=20 teoenming@hotmail.com
  -----Original=20 Message-----
Fr= om:=20 "Teo En Ming" < enming.teo@asiasoftsea.net >
To= :=20 "Boris Derzhavets" <bderzhavets@yahoo.com>, "Pasi K=E4rkk=E4inen"=20 <pasik@iki.fi>
Cc= :=20 Sander Eikelenboom <linux@eikelenboom.it>,=20 xen-devel@lists.xensource.com
Da= te:=20 Sat, 25 Jul 2009 02:27:02 +0800
=20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's= =20 PVOPS Kernel
Dear Boris,
 
My next step will be a 64-bit Xen Dom 0 hos= t.
=20  
Mr. Teo En Ming (Zhang Enming)=20 Dip(Mechatronics 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 Singapor= e
=20 Mobile Phone
: +65-9648-9798
=20 MSN: teoenming@hotmail.com
  -----Original=20 Message-----
=20 From: Boris Derzhavets <bderzhavets@yahoo.com>
= To:=20 Pasi K=E4rkk=E4inen <pasik@iki.fi>, enming.teo@asiasoftsea.net
= Cc:=20 Sander Eikelenboom <linux@eikelenboom.it>,=20 xen-devel@lists.xensource.com
=20 Date: Fri, 24 Jul 2009 10:57:49 -0700 (PDT)
=20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's= =20 PVOPS Kernel
Teo, it is up to you how to manage, if you=20 just having fun. =20 Otherwise, downloading 64-bit OpenSuse 11.1 ISO image =20 takes just 12-14 hr even at slow ADSL speed ( like 100 KB/sec). =20 Install takes 30 minutes and brings you to the trusted results, instead =20 of wasting a lot of time in case of business environment assignment. =20 Pasi has 32-bit experience due to hardware limitations, which you don't =20 have. =20 Boris. =20 --- On Fri, 7/24/09, Teo En Ming <= i> < enming.teo@asiasoftsea.net ><= /span> wrote: =20 From: 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 =20 To: "Boris Derzhavets" <bderzhavets@yahoo.com>, "Pasi K=E4rkk=E4ine= n"=20 <pasik@iki.fi> =20 Cc: "Sander Eikelenboom" <linux@eikelenboom.it>,=20 xen-devel@lists.xensource.com =20 Date: Friday, July 24, 2009, 12:56 PM <= div=20 class=3D"MsoNormal"> Dear Boris, =20 <= div=20 class=3D"MsoNormal">   =20 <= div=20 class=3D"MsoNormal"> My colleague installed OpenSUSE 11.1 32-bit= on=20 the Core 2 Duo machine in our labs. Please see my earlier replies in the=20 same topic. =20 <= div=20 class=3D"MsoNormal">   =20 <= div=20 class=3D"MsoNormal"> I was too lazy to reformat and install 64-b= it=20 OpenSUSE, so I proceeded with Xen Dom 0 pvops kernel compilation on 32-bi= t=20 Linux host. =20 <= div=20 class=3D"MsoNormal">   =20 <= div=20 class=3D"MsoNormal"> I admit I am getting a lot of headache. Hah= a. = =20
 
=20 <= div=20 class=3D"MsoNormal"> Mr. Teo En Ming (Zhang Enming)=20 Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) =20 =20 <= div=20 class=3D"MsoNormal"> Technical Support Engineer =20 <= div=20 class=3D"MsoNormal"> Information Technology Department = =20
Asiasoft Online Pte Ltd = =20
Tampines Central 1 #04-01 Tampines Plaza = =20
Singapore 529541
=20 <= div=20 class=3D"MsoNormal" style=3D"margin-bottom: 12pt;"> =20 Republic of Singapore = =20
Mobile Phone
: +65-9648-9798 = =20
MSN: teoenming@hotmail.com
=20 =20
<= div=20 class=3D"MsoNormal">   =20 <= div=20 class=3D"MsoNormal" style=3D"margin-bottom: 12pt;"> -----Original=20 Message----- = =20
From: Boris Derzhavets <bderzhavets@yahoo.com> = =20
To: enming.teo@asiasoftsea.net , Pasi K=E4rkk=E4inen=20 <pasik@iki.fi> = =20
Cc: Sander Eikelenboom <linux@eikelenboom.it>,=20 xen-devel@lists.xensource.com = =20
Date: Fri, 24 Jul 2009 09:57:18 -0700 (PDT) = =20
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=20 Jeremy's PVOPS Kernel
=20 =20
Does your OpenSuse 11.1 32-bit has static IP address or it obta= in=20 it via DHCP ?
If second option i= s=20 in place please submit
# brctl show

Boris.

--- On Sat, 7/25/09, Mr. Teo En Ming (Zhang Enming= ) =20 =20 <enming.teo@asiasoftsea.net>
wrote: =20
At the moment there is = only=20 one network card installed on my lab PC in my company running OpenSUSE 11= .1=20 32-bit with Xen 3.4.1-rc8 Dom 0 kernel 2.6.30-rc6 (jeremy). So when there= =20 are more network cards installed, there will be eth0, eth1, eth2 ethernet= =20 bridges, etc.

Then I can assig= n=20 the virtual network card in each virtual machine to a specific ethernet=20 network bridge (out of many bridges) in Domain 0 using the vif command in= =20 guest domain 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=20 (Zhang Enming) wrote:
Dear Boris,

The ethernet=20 network bridge on OpenSUSE 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= =20 wrote:
This means that OSOL installer (by default ) will issue=20 DHCPDISCOVER via your Xen bridge, looking for DHCP server on your LAN. On= ly=20 on RHEL 5.3
(F10 with Xe= n=20 3.3.1 src.rpm been installed along with generated packages) with libvirtd= =20 & dnsmasq up and running you can specify
=20  vif=3D['bridge=3Dvirbr0' ] to detect DHCP Server at your Dom0.

View for=20 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= =20 any experience with OpenSuse 11.1 . I hardly remind they tried to reprodu= ce=20 RH's technology. Most probably they did it in SLES 11 (not sure). Check f= or=20 libvirtd&dnsmasq daemons up and running.
But if your=20 OpenSuse 11.1 Dom0 is on "dhcp" bridge itself , then no problems. Just=20 vif=3D['bridge=3Deth0'].

Boris.

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

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

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

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

Thank=20 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=20 Derzhavets wrote:
=20 = =20 = =20 = =20 =20
= =20
Once again, i don't see= any=20 reason to to run 32-bit OS on Core2Duo, = =20
unless you like Xen head ache. Core development (PVOPS) is obviou= sly = =20
running in 64-bit environment. = =20
= =20
Boris. = =20
= =20
--- On Fri, 7/24/09, Boris= =20 Derzhavets <bderzhavets@yahoo.com> wrote: = =20
= =20
= =20
From: Boris Derzhavets <bderzhavets@yahoo.com> = =20
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=20 Jeremy's PVOPS Kernel = =20
To: enming.teo@asiasoftsea.net , "Pasi K=E4rkk=E4inen"=20 <pasik@iki.fi> = =20
Cc: "Sander Eikelenboom" <linux@eikelenboom.it>,=20 xen-devel@lists.xensource.com = =20
Date: Friday, July 24, 2009, 12:47 PM
= =20
= =20
= =20 =20 = =20 = =20 = =20 = =20
= =20
>After doing the above, I re-installed back the Xen hypervisor, librar= ies=20 and tools, and also >the kernel, initrd, and modules. Then I proceeded= to=20 reboot my machine. After rebooting, > my CentOS 4.7 32-bit PV guest is= =20 still able to start and run! = =20
= =20
Why it wouldn't ? If your image stays  the same.
= =20
= =20
= =20
> I am still very puz= zled!=20 What causes the PV guest initially cannot start? Then what >subsequent= ly=20 causes the PV guest to suddenly be able to start and run??? = =20
= =20
= =20
= =20
  = =20
= =20
= =20
= =20
That is not supposed to happen. I would suggest clean OS=20 (without any built in xen presence) install , followed by  Xen=20 3.4.1+pvops kernel clean install. = =20
= =20
Boris. = =20
= =20
--- On Fri, 7/24/09, = Teo=20 En Ming <=20 enming.teo@asiasoftsea.net > wrote: = =20
= =20
= =20
From: Teo En Ming < enming.teo@asiasoftsea.net > = =20
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom= 0=20 in Jeremy's PVOPS Kernel = =20
To: "Teo En Ming" < enming.teo@asiasoftsea.net >, "Pa= si=20 K=E4rkk=E4inen" <pasik@iki.fi> = =20
Cc: "Sander Eikelenboom" <linux@eikelenboom.it>,=20 xen-devel@lists.xensource.com = =20
Date: Friday, July 24, 2009, 12:19 PM
= =20
= =20
= =20
= =20
Dear All, = =20
= =20
= =20
= =20
  = =20
= =20
= =20
= =20
I am very puzzled. In=20 investigating the cause of the sudden success of the CentOS 4.7 32-bit PV= =20 guest being able to run, I have uninstalled virt-manager and all of its=20 dependencies: = =20
= =20
= =20
= =20
  = =20
= =20
= =20
= =20
docbook = =20
= =20
= =20
= =20
python-gtk-vnc = =20
= =20
= =20
= =20
xen-libs 3.3.1 = =20
= =20
= =20
= =20
scrollkeeper = =20
= =20
= =20
= =20
xen-tools 3.3.1 <= /font> = =20
= =20
= =20
= =20
libvirt 0.4.6 = =20
= =20
= =20
= =20
libvirt-python = =20
= =20
= =20
= =20
vm-install 0.3.24 =20 = =20
= =20
= =20
= =20
  = =20
= =20
= =20
= =20
Then I proceeded to "mak= e=20 uninstall" in xen-3.4-testing source tree, which also removed my self=20 compiled Xen Dom 0 pvops enabled kernel, initrd and kernel modules. =20 = =20
= =20
= =20
= =20
  = =20
= =20
= =20
= =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 run!=20 = =20
= =20
= =20
= =20
  = =20
= =20
= =20
= =20
I am still very puzzled!= What=20 causes the PV guest initially cannot start? Then what subsequently causes= =20 the PV guest to suddenly be able to start and run??? = =20
= =20
= =20
= =20
  = =20
= =20
= =20
= =20
***scratches head*** =20 = =20
= =20
= =20
= =20
  = =20
= =20
= =20
= =20
Anyway my CentOS 4.7 gue= st=20 domain is now running. I shall now proceed to virtualize OpenSolaris=20 2009.06. = =20
= =20
= =20
= =20
  = =20
= =20
= =20
= =20
Thank you. = =20
= =20
= =20
= =20
  = =20
= =20
= =20
= =20
Also see screenshots of = my=20 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
 
= =20
= =20
= =20
= =20
Mr. Teo En Ming (Zhang=20 Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)=20 = =20
= =20
= =20
= =20
Technical Support Engine= er=20 = =20
= =20
= =20
= =20
Information Technology=20 Department = =20
Asiasoft Online Pte Ltd = =20
Tampines Central 1 #04-01 Tampines Plaza = =20
Singapore 529541
= =20
= =20
= =20
= =20
=20 Republic of Singapore = =20
Mobile Phone
: +65-9648-9798 = =20
MSN: teoenming@hotmail.com
= =20
= =20
= =20
= =20
  = =20
= =20
= =20 -----Original Message----- = =20
From: "Teo En Ming" < enming.teo@asiasoftsea.net >= ; = =20
To: "Teo En Ming" < enming.teo@asiasoftsea.net >,= =20 "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 22:54:26 +0800 = =20
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen= =20 Dom 0 in Jeremy's PVOPS Kernel
= =20
= =20
= =20
Hi Pasi, = =20
= =20
= =20
= =20
  = =20
= =20
= =20
= =20
It's very strange. Sudde= nly=20 my CentOS 4.7 32-bit PV guest is able to start!!! Previously it refuses t= o=20 start at all. = =20
= =20
= =20
= =20
  = =20
= =20
= =20
= =20
I think I must have chan= ged=20 something in Dom 0 when I attempted "yast --install virt-manager". This=20 action might have solved the problem. When I tried to install virt-manage= r,=20 it also tries to install xen-libs-3.3.1 and xen-tools-3.3.1 as dependenci= es.=20 However, I started off my Xen Dom 0 pvops kernel install with Xen 3.4.1 r= c8=20 branch. = =20
= =20
= =20
= =20
  = =20
= =20
= =20
= =20
I need to investigate mo= re=20 why suddenly my CentOS 4.7 32-bit PV guest is able to start. = =20
 
= =20
= =20
= =20
= =20
Mr. Teo En Ming (Zhang=20 Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)=20 = =20
= =20
= =20
= =20
Technical Support Engine= er=20 = =20
= =20
= =20
= =20
Information Technology=20 Department = =20
Asiasoft Online Pte Ltd = =20
Tampines Central 1 #04-01 Tampines Plaza = =20
Singapore 529541
= =20
= =20
= =20
= =20
Republic of Singapore = =20
Mobile Phone
: +65-9648-9798 = =20
MSN: teoenming@hotmail.com
= =20
= =20
= =20
= =20
  = =20
= =20
-----Original Message----- = =20
From: "Teo En Ming" < enming.teo@asiasoftsea.net &= gt; = =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 X= en=20 Dom 0 in Jeremy's PVOPS Kernel
= =20
= =20
= =20
<= span=20 style=3D"font-size: 10pt; font-family: inherit;">Hi Pasi, = =20
= =20
= =20
= =20
<= span=20 style=3D"font-size: 10pt; font-family: inherit;">  = =20
= =20
= =20
= =20
<= span=20 style=3D"font-size: 10pt; font-family: inherit;">I realized that Fedora 1= 0=20 32-bit anaconda installer does not install PAE kernel after mounting the=20 guest disk image file. I mounted the guest disk image file using losetup = and=20 kpartx which adds device nodes to /dev/mapper. I examined the /boot=20 directory after mounting the guest disk image file and found no PAE vmlin= uz=20 and initrd. = =20
= =20
= =20
= =20
<= span=20 style=3D"font-size: 10pt; font-family: inherit;">  = =20
= =20
= =20
= =20
<= span=20 style=3D"font-size: 10pt; font-family: inherit;">Still using the mounted=20 Fedora 10 32-bit guest disk image file, I changed root to the guest disk=20 filesystems and attempted to install the PAE kernel. Then I modified=20 menu.lst to boot the PAE kernel. After modifying the grub configuration o= f=20 the guest domain, I un-mounted the guest filesystem. = =20
= =20
= =20
= =20
<= span=20 style=3D"font-size: 10pt; font-family: inherit;">  = =20
= =20
= =20
= =20
<= span=20 style=3D"font-size: 10pt; font-family: inherit;">I proceeded to boot the = F10=20 32-bit guest, since I changed to PAE kernel. It is able to boot now (sinc= e=20 the PAE kernel is xen-aware) but then it complains cannot mount /dev/root= .=20 Probably something to do with the PAE initrd file. = =20
= =20
= =20
= =20
<= span=20 style=3D"font-size: 10pt; font-family: inherit;"> = =20
 
= =20
= =20
= =20
= =20
<= span=20 style=3D"font-size: 12pt; font-family: inherit;">Mr. Teo En Ming (Zhang=20 Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)=20 = =20
= =20
= =20
= =20
<= span=20 style=3D"font-size: 12pt; font-family: inherit;">Technical Support Engine= er=20 = =20
= =20
= =20
= =20
<= span=20 style=3D"font-size: 12pt; font-family: inherit;">Information Technology=20 Department = =20
Asiasoft Online Pte Ltd = =20
Tampines Central 1 #04-01 Tampines Plaza = =20
Singapore 529541
= =20
= =20
= =20
= =20
Republic of Singapore = =20
Mobile Phone
: +65-9648-9798 = =20
MSN: teoenming@hotmail.com
= =20
= =20
= =20
= =20
<= span=20 style=3D"font-size: 12pt; font-family: inherit;">   = =20
= =20
-----Original 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= =20 Xen Dom 0 in Jeremy's PVOPS Kernel
= =20
= =20
= =20
On Fri, Jul 24, 2009 at 08:37:09PM +0800= , Teo=20 En Ming wrote: = =20
> Hi = =20
> = =20
> I attempted to install Fedora 10 32-bit PV=20 guest using = =20
> images/pxeboot/vmlinuz-PAE and=20 images/pxeboot/initrd-PAE.img from the F10 = =20
> media. The non-PAE kernel could not load the= =20 installer. I finished my Fedora = =20
> 10 32-bit PV guest installation but it also=20 cannot boot up after = =20
> installation, same as the CentOS 4.7 PV gues= t=20 installation. = =20
> = =20
= =20
Fedora 10 installer has a bug, as a default it=20 installs non-PAE kernel for = =20
xen domU. You need to use a kickstart script (lik= e=20 this) to fix it: = =20
=20 http://pasik.reaktio.net/fedora/f10-xen-domu-ks.cfg = =20
= =20
The important lines being: = =20
= =20
-kernel = =20
kernel-PAE = =20
= =20
(Fedora 10 and Fedora 11 default kernels are=20 compiled with pv_ops Xen domU = =20
support enabled, so there's no need for separate=20 kernel-xen with these distros). = =20
= =20
Fedora 11 doesn't have that installer bug, so it=20 installs right = =20
out-of-the-box as Xen domU. = =20
= =20
What's the error you get when you start the guest= =20 after installation? = =20
Please paste the "xm log" as text. = =20
= =20
I don't have any problems with CentOS 5.3 dom0. = =20
= =20
-- Pasi
= =20
= =20
= =20
= =20
= =20
= =20
= =20
= =20
-----Inline Attachment Follows-----
= =20
= =20
= =20
=20 _______________________________________________ = =20
Xen-devel mailing list = =20
Xen-devel@lists.xensource.com = =20
=20 http://lists.xensource.com/xen-devel
= =20
= =20
= =20
  = =20
= =20
= =20
= =20
-----Inline Attachment Follows-----
= =20
= =20
= =20
=20 _______________________________________________ = =20
Xen-devel mailing list = =20
Xen-devel@lists.xensource.com = =20
=20 http://lists.xensource.com/xen-devel
= =20
= =20
<= div=20 class=3D"MsoNormal">   =20
=20 =20 -----Inline Attachment Follows-----
=20 _______________________________________________ <= br=20 /> Xen-devel mailing list <= br=20 /> Xen-devel@lists.xensource.com <= br=20 /> =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-----

No=20 virus found in this outgoing message.
Chec= ked=20 by AVG - www.avg.com
=20 Version: 8.5.392 / Virus Database: 270.13.29/2260 - Release Date: 07/25/0= 9=20 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
 



_______________________________________________

Xen-devel mailing list

Xen-devel@lists.xensource.com

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

  
 

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

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

-----Inline=20 Attachment Follows-----
_______________________________________________
Xen-devel=20 mailing 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

  
=  


 

    






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

  
=  

-----Inline=20 Attachment Follows-----
=
No virus found i= n=20 this outgoing message.
Checked by AVG -= www.avg.co= m
Version: 8.5.392= /=20 Virus Database: 270.13.30/2262 - Release Date: 07/25/09 18:01:00

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

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

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

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



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

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

--0727_1346_37_PART-BREAK-- --===============0506000867== 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 --===============0506000867==--