From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mr. Teo En Ming (Zhang Enming)" Subject: Re: Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel Date: Sun, 26 Jul 2009 10:42:08 +0800 Message-ID: <4A6BC280.9020401@asiasoftsea.net> References: <244990.77411.qm@web56103.mail.re3.yahoo.com> Reply-To: enming.teo@asiasoftsea.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=======AVGMAIL-090072C8=======" Return-path: In-Reply-To: <244990.77411.qm@web56103.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: bderzhavets@yahoo.com Cc: Sander Eikelenboom , "Pasi Kr"@yahoo.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --=======AVGMAIL-090072C8======= Content-Type: multipart/alternative; boundary="------------010002070706090406010806" --------------010002070706090406010806 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Dear Boris, The ethernet network bridge on OpenSUSE 11.1 is eth0. --=20 Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(M= echanical 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: > This means that OSOL installer (by default ) will issue DHCPDISCOVER=20 > via your Xen bridge, looking for DHCP server on your LAN. Only on RHEL = 5.3 > (F10 with Xen 3.3.1 src.rpm been installed along with generated=20 > packages) with libvirtd & dnsmasq up and running you can specify > vif=3D['bridge=3Dvirbr0' ] to detect DHCP Server at your Dom0. > > View for instance :- > http://bderzhavets.wordpress.com/2009/05/07/backport-zfs-support-to-xen= -331-f10-dom0-kernel-2630-rc3-tip/ > > I don't have any experience with OpenSuse 11.1 . I hardly remind they=20 > tried to reproduce RH's technology. Most probably they did it in SLES=20 > 11 (not sure). Check for libvirtd&dnsmasq daemons up and running. > But if your OpenSuse 11.1 Dom0 is on "dhcp" bridge itself , then no=20 > problems. Just vif=3D['bridge=3Deth0']. > > Boris. > > --- On *Sat, 7/25/09, Mr. Teo En Ming (Zhang Enming)=20 > //* wrote: > > > From: Mr. Teo En Ming (Zhang Enming) > Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's > PVOPS Kernel > To: bderzhavets@yahoo.com > Cc: "Sander Eikelenboom" , Pasi > Kr@yahoo.com, xen-devel@lists.xensource.com > Date: Saturday, July 25, 2009, 12:32 PM > > Dear Boris, > > This means I have to install a DHCP server or dnsmasq in my Dom 0, > listening on my Dom 0's IP address, so that it can assign dynamic > IP addresses to the DomU. > > By the way, are there any paravirtualized device drivers that I > can install in DomU to improve the performance of the virtual machi= ne? > > Thank you. > > --=20 > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(H= ons)(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: >> >I noticed under the guest domain configuration there is a >> parameter called >'extra' kernel parameter. Does the 'nowin' >> argument stand for no >graphical windows? >> >> Login as jack/jack to text console. >> >> Wait until :- >> >> $ pfexec ifconfig -a >> >> will show up your IPv4 address >> >> $ mkdir .vnc >> $ cp .Xclients .vnc/xstartup >> $ vncserver >> >> Connect via vncviewer IP-DomU:1 from another terminal session to >> OSOL DomU. In case OSOL installer will fail to obtain IP via >> DHCPDISCOVER, >> let me know. It might happen and requires Solaris Kernel Model >> Debugger >> to disable checksum offloading at boot up. Seems to be hardware >> dependent issue for OSOL 2009.06 >> >> ********************************** >> Copy ramdisk and kernel to Dom0 >> ********************************** >> | >> [root@ServerXen isos]# cat copy.sh >> mount -o loop,ro osol-0906-x86.iso /mnt >> cp /mnt/boot/amd64/x86.microroot /home/boris/solaris >> cp /mnt/platform/i86xpv/kernel/amd64/unix /home/boris/solaris >> | >> >> >> *********************** >> Installation profile:- >> *********************** >> | >> [root@ServerXen solaris]# cat osol200906.install >> name =3D "sol0906" >> vcpus =3D 1 >> memory =3D "1024" >> kernel =3D "/home/boris/solaris/unix" >> ramdisk =3D "/home/boris/solaris/x86.microroot" >> extra =3D "/platform/i86xpv/kernel/amd64/unix - nowin -B >> install_media=3Dcdrom" >> disk =3D ['phy:/dev/loop0,xvdc:cdrom,r','phy:/dev/sdb5,xvda,w'] >> # Would work as well >> # || disk =3D ['phy:/dev/loop0,6:cdrom,r','phy:/dev/sdb5,0,w']| >> |vif =3D ['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 Enming) >> //* wrote: >> >> >> From: Mr. Teo En Ming (Zhang Enming) >> Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in >> Jeremy's PVOPS Kernel >> To: enming.teo@asiasoftsea.net >> Cc: "Sander Eikelenboom" , "Boris >> Derzhavets" , >> xen-devel@lists.xensource.com, >> =3D?ISO-8859-1?Q?Pasi_K=3DE4r?=3D@yahoo.com >> Date: Saturday, July 25, 2009, 7:14 AM >> >> Dear All, >> >> I am trying to install OpenSolaris 2009.06 32-bit >> paravirtualized guest on OpenSUSE 11.1 32-bit paravirt-ops >> enabled Xen 3.4.1-rc8 Dom 0 Kernel 2.6.30-rc6. >> >> However, I am getting an opensolaris console login prompt. >> There is no GNOME DE for me to launch the GUI installer for >> OpenSolaris. I am using the OpenSolaris LiveCD 32-bit. >> >> I noticed under the guest domain configuration there is a >> parameter called 'extra' kernel parameter. Does the 'nowin' >> argument stand for no graphical windows? >> >> http://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT4kZta-I/AAAAAAAAAE0/= xxUGuNunPoY/s1600-h/01.jpeg >> >> http://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT5YG2sNI/AAAAAAAAAFM/= H0ntFt6LCx4/s1600-h/04.jpeg >> >> http://2.bp.blogspot.com/_zzjv8MCM2sk/SmoT5uzjF6I/AAAAAAAAAFU/= 2Y3KNWPUwWk/s1600-h/05.jpeg >> >> Then I also get the "invalid disk device number (768)" error. >> Do I need to use xvda instead of hda? >> >> Thank you very much. >> >> --=20 >> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) B= Eng(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 wrote: >>> As a matter of fact, our servers are either Dell PowerEdge >>> 1950/2950 and IBM xSeries. >>> =20 >>> I am just testing it out on our lab PC first. >>> =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 >>> >>> >>> -----Original Message----- >>> From: "Teo En Ming" >>> To: "Boris Derzhavets" , "Pasi >>> K=E4rkk=E4inen" >>> Cc: Sander Eikelenboom , >>> xen-devel@lists.xensource.com >>> Date: Sat, 25 Jul 2009 02:27:02 +0800 >>> Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen >>> Dom 0 in Jeremy's PVOPS Kernel >>> >>> Dear Boris, >>> =20 >>> My next step will be a 64-bit Xen Dom 0 host. >>> =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 >>> >>> >>> -----Original Message----- >>> From: Boris Derzhavets >>> To: Pasi K=E4rkk=E4inen , >>> enming.teo@asiasoftsea.net >>> Cc: Sander Eikelenboom , >>> xen-devel@lists.xensource.com >>> Date: Fri, 24 Jul 2009 10:57:49 -0700 (PDT) >>> Subject: Re: Re[8]: [Xen-devel] Unable to Configure >>> Xen Dom 0 in Jeremy's PVOPS Kernel >>> >>> Teo, it is up to you how to manage, if you just >>> having fun. >>> Otherwise, downloading 64-bit OpenSuse 11.1 ISO image >>> takes just 12-14 hr even at slow ADSL speed ( like >>> 100 KB/sec). >>> Install takes 30 minutes and brings you to the >>> trusted results, instead >>> of wasting a lot of time in case of business >>> environment assignment. >>> Pasi has 32-bit experience due to hardware >>> limitations, which you don't >>> have. >>> >>> Boris. >>> >>> --- On *Fri, 7/24/09, Teo En Ming / >>> /* wrote: >>> >>> >>> From: Teo En Ming >>> Subject: Re: Re[8]: [Xen-devel] Unable to >>> Configure Xen Dom 0 in Jeremy's PVOPS Kernel >>> To: "Boris Derzhavets" , >>> "Pasi K=E4rkk=E4inen" >>> Cc: "Sander Eikelenboom" , >>> xen-devel@lists.xensource.com >>> Date: Friday, July 24, 2009, 12:56 PM >>> >>> Dear Boris, >>> =20 >>> My colleague installed OpenSUSE 11.1 32-bit on >>> the Core 2 Duo machine in our labs. Please see >>> my earlier replies in the same topic. >>> =20 >>> I was too lazy to reformat and install 64-bit >>> OpenSUSE, so I proceeded with Xen Dom 0 pvops >>> kernel compilation on 32-bit Linux host. >>> =20 >>> I admit I am getting a lot of headache. Haha. >>> =20 >>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics >>> Engineering) 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 >>> To: enming.teo@asiasoftsea.net, Pasi >>> K=E4rkk=E4inen >>> Cc: Sander Eikelenboom >>> , >>> xen-devel@lists.xensource.com >>> Date: Fri, 24 Jul 2009 09:57:18 -0700 (PDT) >>> Subject: Re: Re[8]: [Xen-devel] Unable to >>> Configure Xen Dom 0 in Jeremy's PVOPS Kernel >>> >>> Once again, i don't see any reason to to run >>> 32-bit OS on Core2Duo, >>> unless you like Xen head ache. Core >>> development (PVOPS) is obviously >>> running in 64-bit environment. >>> >>> Boris. >>> >>> --- On *Fri, 7/24/09, Boris Derzhavets / >>> /* wrote: >>> >>> >>> From: Boris Derzhavets >>> >>> Subject: Re: Re[8]: [Xen-devel] Unable >>> to Configure Xen Dom 0 in Jeremy's PVOPS >>> Kernel >>> To: enming.teo@asiasoftsea.net, "Pasi >>> K=E4rkk=E4inen" >>> Cc: "Sander Eikelenboom" >>> , >>> xen-devel@lists.xensource.com >>> Date: Friday, July 24, 2009, 12:47 PM >>> >>> >After doing the above, I re-installed >>> back the Xen hypervisor, libraries and >>> tools, and also >the kernel, initrd, and >>> modules. Then I proceeded to reboot my >>> machine. After rebooting, > my CentOS >>> 4.7 32-bit PV guest is still able to >>> start and run! >>> >>> Why it wouldn't ? If your image stays=20 >>> the same. >>> >>> > I am still very puzzled! What causes >>> the PV guest initially cannot start? >>> Then what >subsequently causes the PV >>> guest to suddenly be able to start and >>> run??? >>> =20 >>> >>> That is not supposed to happen. I would >>> suggest clean OS (without any built in >>> xen presence) install , followed by Xen >>> 3.4.1+pvops kernel clean install. >>> >>> Boris. >>> >>> --- On *Fri, 7/24/09, Teo En Ming / >>> /* wrote: >>> >>> >>> From: Teo En Ming >>> >>> Subject: Re: Re[8]: [Xen-devel] >>> Unable to Configure Xen Dom 0 in >>> Jeremy's PVOPS Kernel >>> To: "Teo En Ming" >>> , "Pasi >>> K=E4rkk=E4inen" >>> Cc: "Sander Eikelenboom" >>> , >>> xen-devel@lists.xensource.com >>> Date: Friday, July 24, 2009, 12:19 PM >>> >>> Dear All, >>> =20 >>> I am very puzzled. In investigating >>> the cause of the sudden success of >>> the CentOS 4.7 32-bit PV guest being >>> able to run, I have uninstalled >>> virt-manager and all of its >>> dependencies: >>> =20 >>> docbook >>> python-gtk-vnc >>> xen-libs 3.3.1 >>> scrollkeeper >>> xen-tools 3.3.1 >>> libvirt 0.4.6 >>> libvirt-python >>> vm-install 0.3.24 >>> =20 >>> Then I proceeded to "make uninstall" >>> in xen-3.4-testing source tree, >>> which also removed my self compiled >>> Xen Dom 0 pvops enabled kernel, >>> initrd and kernel modules. >>> =20 >>> After doing the above, I >>> re-installed back the Xen >>> hypervisor, libraries and tools, and >>> also the kernel, initrd, and >>> modules. Then I proceeded to reboot >>> my machine. After rebooting, my >>> CentOS 4.7 32-bit PV guest is still >>> able to start and run! >>> =20 >>> I am still very puzzled! What causes >>> the PV guest initially cannot start? >>> Then what subsequently causes the PV >>> guest to suddenly be able to start >>> and run??? >>> =20 >>> ***scratches head*** >>> =20 >>> Anyway my CentOS 4.7 guest domain is >>> now running. I shall now proceed to >>> virtualize OpenSolaris 2009.06. >>> =20 >>> Thank you. >>> =20 >>> Also see screenshots of my CentOS >>> 4.7 PV guest here: >>> http://teo-en-ming-aka-zhang-enming.b= logspot.com/2009/07/creating-centos-47-32-bit.html >>> >>> =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 >>> >>> >>> -----Original Message----- >>> From: "Teo En Ming" >>> >>> To: "Teo En Ming" >>> , >>> "Pasi K=E4rkk=E4inen" >>> Cc: Sander Eikelenboom >>> , >>> xen-devel@lists.xensource.com >>> Date: Fri, 24 Jul 2009 22:54:26 >>> +0800 >>> Subject: Re: Re[8]: [Xen-devel] >>> Unable to Configure Xen Dom 0 in >>> Jeremy's PVOPS Kernel >>> >>> Hi Pasi, >>> =20 >>> It's very strange. Suddenly my >>> CentOS 4.7 32-bit PV guest is >>> able to start!!! Previously it >>> refuses to start at all. >>> =20 >>> I think I must have changed >>> something in Dom 0 when I >>> attempted "yast --install >>> virt-manager". This action might >>> have solved the problem. When I >>> tried to install virt-manager, >>> it also tries to install >>> xen-libs-3.3.1 and >>> xen-tools-3.3.1 as dependencies. >>> However, I started off my Xen >>> Dom 0 pvops kernel install with >>> Xen 3.4.1 rc8 branch. >>> =20 >>> I need to investigate more why >>> suddenly my CentOS 4.7 32-bit PV >>> guest is able to start. >>> =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 >>> >>> >>> -----Original Message----- >>> From: "Teo En Ming" >>> >>> To: "Pasi K=E4rkk=E4inen" >>> >>> Cc: Sander Eikelenboom >>> , >>> xen-devel@lists.xensource.com >>> Date: Fri, 24 Jul 2009 >>> 21:54:00 +0800 >>> Subject: Re: Re[8]: >>> [Xen-devel] Unable to >>> Configure Xen Dom 0 in >>> Jeremy's PVOPS Kernel >>> >>> Hi Pasi, >>> =20 >>> I realized that Fedora 10 >>> 32-bit anaconda installer >>> does not install PAE kernel >>> after mounting the guest >>> disk image file. I mounted >>> the guest disk image file >>> using losetup and kpartx >>> which adds device nodes to >>> /dev/mapper. I examined the >>> /boot directory after >>> mounting the guest disk >>> image file and found no PAE >>> vmlinuz and initrd. >>> =20 >>> Still using the mounted >>> Fedora 10 32-bit guest disk >>> image file, I changed root >>> to the guest disk >>> filesystems and attempted to >>> install the PAE kernel. Then >>> I modified menu.lst to boot >>> the PAE kernel. After >>> modifying the grub >>> configuration of the guest >>> domain, I un-mounted the >>> guest filesystem. >>> =20 >>> I proceeded to boot the F10 >>> 32-bit guest, since I >>> changed to PAE kernel. It is >>> able to boot now (since the >>> PAE kernel is xen-aware) but >>> then it complains cannot >>> mount /dev/root. Probably >>> something to do with the PAE >>> initrd file. >>> >>> =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 >>> >>> >>> -----Original Message----= - >>> From: Pasi K=E4rkk=E4inen >>> >>> To: Teo En Ming >>> >>> >>> Cc: Sander Eikelenboom >>> , >>> xen-devel@lists.xensource= .com >>> >>> Date: Fri, 24 Jul 2009 >>> 16:31:19 +0300 >>> Subject: Re: Re[8]: >>> [Xen-devel] Unable to >>> Configure Xen Dom 0 in >>> Jeremy's PVOPS Kernel >>> >>> On Fri, Jul 24, 2009 at >>> 08:37:09PM +0800, Teo En >>> Ming wrote: >>> > Hi >>> > >>> > I attempted to install >>> Fedora 10 32-bit PV >>> guest using >>> > >>> images/pxeboot/vmlinuz-PA= E >>> and >>> images/pxeboot/initrd-PAE= .img >>> from the F10 >>> > media. The non-PAE >>> kernel could not load >>> the installer. I >>> finished my Fedora >>> > 10 32-bit PV guest >>> installation but it also >>> cannot boot up after >>> > installation, same as >>> the CentOS 4.7 PV guest >>> installation. >>> > >>> >>> Fedora 10 installer has >>> a bug, as a default it >>> installs non-PAE kernel f= or >>> xen domU. You need to >>> use a kickstart script >>> (like this) to fix it: >>> http://pasik.reaktio.net/= fedora/f10-xen-domu-ks.cfg >>> >>> >>> The important lines being= : >>> >>> -kernel >>> kernel-PAE >>> >>> (Fedora 10 and Fedora 11 >>> default kernels are >>> compiled with pv_ops Xen >>> domU >>> support enabled, so >>> there's no need for >>> separate kernel-xen with >>> these distros). >>> >>> Fedora 11 doesn't have >>> that installer bug, so >>> it installs right >>> out-of-the-box as Xen dom= U. >>> >>> What's the error you get >>> when you start the guest >>> after installation? >>> Please paste the "xm >>> log" as text. >>> >>> I don't have any >>> problems with CentOS 5.3 >>> dom0. >>> >>> -- Pasi >>> >>> >>> -----Inline Attachment Follows----- >>> >>> _____________________________________= __________ >>> >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel >>> >>> >>> >>> -----Inline Attachment Follows----- >>> >>> _________________________________________= ______ >>> >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel >>> >>> >>> >>> -----Inline Attachment Follows----- >>> >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel >>> >>> >>> -------------------------------------------------------------= ----------- >>> >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel >>> =20 >> >> >> -----Inline Attachment Follows----- >> >> >> No virus found in this outgoing message. >> Checked by AVG - www.avg.com >> Version: 8.5.392 / Virus Database: 270.13.29/2260 - Release >> Date: 07/25/09 01:48:00 >> >> -----Inline Attachment Follows----- >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> >> >> ------------------------------------------------------------------= ------ >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> =20 > > > -----Inline Attachment Follows----- > > > No virus found in this outgoing message. > Checked by AVG - www.avg.com > Version: 8.5.392 / Virus Database: 270.13.29/2260 - Release Date: > 07/25/09 01:48:00 > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > -----------------------------------------------------------------------= - > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > =20 =20 --------------010002070706090406010806 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Dear Boris,

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

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

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

Boris.

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

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

Dear Boris,

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

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

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

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

Login as jack/jack to text console.

Wait until :-

$ pfexec ifconfig -a

will show up your IPv4 address

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

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

**********************************
Copy ramdisk and kernel to Dom0
**********************************

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



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

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


Boris

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

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

Dear All,

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

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

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

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

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

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

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

Thank 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 Ming wrote:
As a matter of fact, our servers are either Dell PowerEdge 1950/2950 and IBM xSeries.
 
I am just testing it out on our lab PC first.
 
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


-----Original Message-----
From: "Teo En Ming" <enming.teo@asiasoftsea.net>
To: "Boris Derzhavets" <bderzhavets@yahoo.com>, "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: Sander Eikelenboom <linux@eikelenboom.it>, xen-devel@lists.xensource.com
Date: Sat, 25 Jul 2009 02:27:02 +0800
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel

Dear Boris,
 
My next step will be a 64-bit Xen Dom 0 host.
 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) 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: Pasi Kärkkäinen <pasik@iki.fi>, enming.teo@asiasoftsea.net
Cc: Sander Eikelenboom <linux@eikelenboom.it>, xen-devel@lists.xensource.com
Date: Fri, 24 Jul 2009 10:57:49 -0700 (PDT)
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel

Teo, it is up to you how to manage, if you just having fun.
Otherwise, downloading 64-bit OpenSuse 11.1 ISO image
takes just 12-14 hr even at slow ADSL speed ( like 100 KB/sec).
Install takes 30 minutes and brings you to the trusted results, instead
of wasting a lot of time in case of business environment assignment.
Pasi has 32-bit experience due to hardware limitations, which you don't
have.

Boris.

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

From: Teo En Ming <enming.teo@asiasoftsea.net>
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel
To: "Boris Derzhavets" <bderzhavets@yahoo.com>, "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: "Sander Eikelenboom" <linux@eikelenboom.it>, xen-devel@lists.xensource.com
Date: Friday, July 24, 2009, 12:56 PM

Dear Boris,
 
My colleague installed OpenSUSE 11.1 32-bit on the Core 2 Duo machine in our labs. Please see my earlier replies in the same topic.
 
I was too lazy to reformat and install 64-bit OpenSUSE, so I proceeded with Xen Dom 0 pvops kernel compilation on 32-bit Linux host.
 
I admit I am getting a lot of headache. Haha.
 
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


-----Original Message-----
From: Boris Derzhavets <bderzhavets@yahoo.com>
To: enming.teo@asiasoftsea.net, Pasi Kärkkäinen <pasik@iki.fi>
Cc: Sander Eikelenboom <linux@eikelenboom.it>, xen-devel@lists.xensource.com
Date: Fri, 24 Jul 2009 09:57:18 -0700 (PDT)
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel

Once again, i don't see any reason to to run 32-bit OS on Core2Duo,
unless you like Xen head ache. Core development (PVOPS) is obviously
running in 64-bit environment.

Boris.

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

From: Boris Derzhavets <bderzhavets@yahoo.com>
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel
To: enming.teo@asiasoftsea.net, "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: "Sander Eikelenboom" <linux@eikelenboom.it>, xen-devel@lists.xensource.com
Date: Friday, July 24, 2009, 12:47 PM

>After doing the above, I re-installed back the Xen hypervisor, libraries and tools, and also >the kernel, initrd, and modules. Then I proceeded to reboot my machine. After rebooting, > my CentOS 4.7 32-bit PV guest is still able to start and run!

Why it wouldn't ? If your image stays  the same.

> I am still very puzzled! What causes the PV guest initially cannot start? Then what >subsequently causes the PV guest to suddenly be able to start and run???
 

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

Boris.

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

From: Teo En Ming <enming.teo@asiasoftsea.net>
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel
To: "Teo En Ming" <enming.teo@asiasoftsea.net>, "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: "Sander Eikelenboom" <linux@eikelenboom.it>, xen-devel@lists.xensource.com
Date: Friday, July 24, 2009, 12:19 PM

Dear All,
 
I am very puzzled. In investigating the cause of the sudden success of the CentOS 4.7 32-bit PV guest being able to run, I have uninstalled virt-manager and all of its dependencies:
 
docbook
python-gtk-vnc
xen-libs 3.3.1
scrollkeeper
xen-tools 3.3.1
libvirt 0.4.6
libvirt-python
vm-install 0.3.24
 
Then I proceeded to "make uninstall" in xen-3.4-testing source tree, which also removed my self compiled Xen Dom 0 pvops enabled kernel, initrd and kernel modules.
 
After doing the above, I re-installed back the Xen hypervisor, libraries and tools, and also the kernel, initrd, and modules. Then I proceeded to reboot my machine. After rebooting, my CentOS 4.7 32-bit PV guest is still able to start and run!
 
I am still very puzzled! What causes the PV guest initially cannot start? Then what subsequently causes the PV guest to suddenly be able to start and run???
 
***scratches head***
 
Anyway my CentOS 4.7 guest domain is now running. I shall now proceed to virtualize OpenSolaris 2009.06.
 
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


-----Original Message-----
From: "Teo En Ming" <enming.teo@asiasoftsea.net>
To: "Teo En Ming" <enming.teo@asiasoftsea.net>, "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: Sander Eikelenboom <linux@eikelenboom.it>, xen-devel@lists.xensource.com
Date: Fri, 24 Jul 2009 22:54:26 +0800
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel

Hi Pasi,
 
It's very strange. Suddenly my CentOS 4.7 32-bit PV guest is able to start!!! Previously it refuses to start at all.
 
I think I must have changed something in Dom 0 when I attempted "yast --install virt-manager". This action might have solved the problem. When I tried to install virt-manager, it also tries to install xen-libs-3.3.1 and xen-tools-3.3.1 as dependencies. However, I started off my Xen Dom 0 pvops kernel install with Xen 3.4.1 rc8 branch.
 
I need to investigate more why suddenly my CentOS 4.7 32-bit PV guest is able to start.
 
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


-----Original Message-----
From: "Teo En Ming" <enming.teo@asiasoftsea.net>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: Sander Eikelenboom <linux@eikelenboom.it>, xen-devel@lists.xensource.com
Date: Fri, 24 Jul 2009 21:54:00 +0800
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel

Hi Pasi,
 
I realized that Fedora 10 32-bit anaconda installer does not install PAE kernel after mounting the guest disk image file. I mounted the guest disk image file using losetup and kpartx which adds device nodes to /dev/mapper. I examined the /boot directory after mounting the guest disk image file and found no PAE vmlinuz and initrd.
 
Still using the mounted Fedora 10 32-bit guest disk image file, I changed root to the guest disk filesystems and attempted to install the PAE kernel. Then I modified menu.lst to boot the PAE kernel. After modifying the grub configuration of the guest domain, I un-mounted the guest filesystem.
 
I proceeded to boot the F10 32-bit guest, since I changed to PAE kernel. It is able to boot now (since the PAE kernel is xen-aware) but then it complains cannot mount /dev/root. Probably something to do with the PAE initrd file.

 
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


-----Original Message-----
From: Pasi Kärkkäinen <pasik@iki.fi>
To: Teo En Ming <enming.teo@asiasoftsea.net>
Cc: Sander Eikelenboom <linux@eikelenboom.it>, xen-devel@lists.xensource.com
Date: Fri, 24 Jul 2009 16:31:19 +0300
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel

On Fri, Jul 24, 2009 at 08:37:09PM +0800, Teo En Ming wrote:
> Hi
>
> I attempted to install Fedora 10 32-bit PV guest using
> images/pxeboot/vmlinuz-PAE and images/pxeboot/initrd-PAE.img from the F10
> media. The non-PAE kernel could not load the installer. I finished my Fedora
> 10 32-bit PV guest installation but it also cannot boot up after
> installation, same as the CentOS 4.7 PV guest installation.
>

Fedora 10 installer has a bug, as a default it installs non-PAE kernel for
xen domU. You need to use a kickstart script (like this) to fix it:
http://pasik.reaktio.net/fedora/f10-xen-domu-ks.cfg

The important lines being:

-kernel
kernel-PAE

(Fedora 10 and Fedora 11 default kernels are compiled with pv_ops Xen domU
support enabled, so there's no need for separate kernel-xen with these distros).

Fedora 11 doesn't have that installer bug, so it installs right
out-of-the-box as Xen domU.

What's the error you get when you start the guest after installation?
Please paste the "xm log" as text.

I don't have any problems with CentOS 5.3 dom0.

-- Pasi

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

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


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

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


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

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


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


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


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

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

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


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


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


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

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

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


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

 
--------------010002070706090406010806-- --=======AVGMAIL-090072C8======= Content-Type: multipart/alternative; boundary="=======AVGMAIL-47422570=======" --=======AVGMAIL-47422570======= Content-Type: text/plain; x-avg=cert; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-Description: "AVG certification" No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.30/2262 - Release Date: 07/25/09 1= 8:01:00 --=======AVGMAIL-47422570=======-- --=======AVGMAIL-090072C8======= 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 --=======AVGMAIL-090072C8=======--