From: Boris Derzhavets Subject: Re: Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel Date: Sat, 25 Jul 2009 04:45:56 -0700 (PDT) Message-ID: <799923.88088.qm@web56107.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0174904058==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: enming.teo@asiasoftsea.net Cc: =?ISO-8859-1?Q?Pasi_K=E4r?=@yahoo.com, Sander Eikelenboom , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0174904058== Content-Type: multipart/alternative; boundary="0-466689784-1248522356=:88088" --0-466689784-1248522356=:88088 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable >I noticed under the guest domain configuration there is a parameter=0Acall= ed >'extra' kernel parameter. Does the 'nowin' argument stand for no=0A>gra= phical windows? Login as jack/jack to text console. Wait until :- $ pfexec ifconfig -a will show up your IPv4 address=20 $ mkdir .vnc $ cp .Xclients .vnc/xstartup $ vncserver =0AConnect via vncviewer IP-DomU:1 from another terminal session to OSOL Do= mU. 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 i= ssue for OSOL 2009.06 ********************************** =0ACopy ramdisk and kernel to Dom0 =0A********************************** =0A =0A[root@ServerXen isos]# cat copy.sh =0Amount -o loop,ro osol-0906-x86.iso /mnt =0Acp /mnt/boot/amd64/x86.microroot /home/boris/solaris =0Acp /mnt/platform/i86xpv/kernel/amd64/unix /home/boris/solaris =0A *********************** =0AInstallation profile:- =0A*********************** =0A =0A[root@ServerXen solaris]# cat osol200906.install =0Aname =3D "sol0906" =0Avcpus =3D 1 =0Amemory =3D "1024" =0Akernel =3D "/home/boris/solaris/unix" =0Aramdisk =3D "/home/boris/solaris/x86.microroot" =0Aextra =3D "/platform/i86xpv/kernel/amd64/unix - nowin -B install_media= =3Dcdrom" =0Adisk =3D ['phy:/dev/loop0,xvdc:cdrom,r','phy:/dev/sdb5,xvda,w'] # Would work as well # =0Adisk =3D ['phy:/dev/loop0,6:cdrom,r','phy:/dev/sdb5,0,w'] =0Avif =3D ['bridge=3Deth1'] =0Aon_shutdown =3D "destroy" =0Aon_reboot =3D "destroy" =0Aon_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 Ke= rnel To: enming.teo@asiasoftsea.net Cc: "Sander Eikelenboom" , "Boris Derzhavets" , xen-devel@lists.xensource.com, =3D?ISO-8859-1?Q?Pasi_K=3D= E4r?=3D@yahoo.com Date: Saturday, July 25, 2009, 7:14 AM =0A=0A=0A =0ADear All, =0A =0AI am trying to install OpenSolaris 2009.06 32-bit paravirtualized guest= =0Aon OpenSUSE 11.1 32-bit paravirt-ops enabled Xen 3.4.1-rc8 Dom 0 Kernel= =0A2.6.30-rc6. =0A =0AHowever, I am getting an opensolaris console login prompt. There is no= =0AGNOME DE for me to launch the GUI installer for OpenSolaris. I am using= =0Athe OpenSolaris LiveCD 32-bit.=20 =0A =0AI noticed under the guest domain configuration there is a parameter=0Aca= lled 'extra' kernel parameter. Does the 'nowin' argument stand for no=0Agra= phical windows? =0A =0Ahttp://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT4kZta-I/AAAAAAAAAE0/xxUGuNunPo= Y/s1600-h/01.jpeg =0A =0Ahttp://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT5YG2sNI/AAAAAAAAAFM/H0ntFt6LCx= 4/s1600-h/04.jpeg =0A =0Ahttp://2.bp.blogspot.com/_zzjv8MCM2sk/SmoT5uzjF6I/AAAAAAAAAFU/2Y3KNWPUwW= k/s1600-h/05.jpeg =0A =0AThen I also get the "invalid disk device number (768)" error. Do I need= =0Ato use xvda instead of hda? =0A =0AThank you very much. =0A =0A--=20 Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mec= hanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile Phone: +65-9648-9798 MSN: teoenming@hotmail.com =0A =0A =0ATeo En Ming wrote:=0A=0A As a matter of fact, our servers are either De= ll PowerEdge=0A1950/2950 and IBM xSeries.=0A =0A =A0=0A =0A I am just t= esting it out on our lab PC first.=20 =0A=A0=0A =0A =0A Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engine= ering)=0ABEng(Hons)(Mechanical Engineering)=0A =0A Technical Support Engi= neer=0A =0A Information Technology Department=20 =0AAsiasoft Online Pte Ltd=20 =0ATampines Central 1 #04-01 Tampines Plaza=20 =0ASingapore 529541=0A =0A Republic of Singapore=20 =0AMobile Phone: +65-9648-9798=20 =0AMSN: teoenming@hotmail.com=20 =0A =20 =0A =0A =20 =0A =0A-----Original Message-----=20 =0AFrom: "Teo En Ming" =20 =0ATo: "Boris Derzhavets" , "Pasi K=E4rkk=E4inen"=0A= =20 =0ACc: Sander Eikelenboom ,=0Axen-devel@lists.xensour= ce.com=20 =0ADate: Sat, 25 Jul 2009 02:27:02 +0800=20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0A =20 =0A =0A Dear Boris, =0A =A0 =0A My next step will be a 64-bit X= en Dom 0 host.=20 =0A=A0 =0A =0A Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engine= ering)=0ABEng(Hons)(Mechanical Engineering) =0A Technical Support Engine= er =0A Information Technology Department=20 =0AAsiasoft Online Pte Ltd=20 =0ATampines Central 1 #04-01 Tampines Plaza=20 =0ASingapore 529541 =0A Republic of Singapore=20 =0AMobile Phone: +65-9648-9798=20 =0AMSN: teoenming@hotmail.com=20 =0A =20 =0A =0A =20 =0A =0A-----Original Message-----=20 =0AFrom: Boris Derzhavets =20 =0ATo: Pasi K=E4rkk=E4inen , enming.teo@asiasoftsea.net=20 =0ACc: Sander Eikelenboom ,=0Axen-devel@lists.xensour= ce.com=20 =0ADate: Fri, 24 Jul 2009 10:57:49 -0700 (PDT)=20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0A =20 =0A =0A =0A =0A Teo, it is up to you how to= manage, if you just having=0Afun.=20 =0AOtherwise, downloading 64-bit OpenSuse 11.1 ISO image=20 =0Atakes just 12-14 hr even at slow ADSL speed ( like 100 KB/sec).=20 =0AInstall takes 30 minutes and brings you to the trusted results, instead= =0A =20 =0Aof wasting a lot of time in case of business environment assignment.=20 =0APasi has 32-bit experience due to hardware limitations, which you don't= =0A =20 =0Ahave.=20 =0A =20 =0ABoris.=20 =0A =20 =0A--- On Fri, 7/24/09, Teo En Ming =0A wrote:= =20 =0A =0A =20 =0AFrom: Teo En Ming =20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0ATo: "Boris Derzhavets" , "Pasi K=E4rkk=E4inen"=0A= =20 =0ACc: "Sander Eikelenboom" ,=0Axen-devel@lists.xenso= urce.com=20 =0ADate: Friday, July 24, 2009, 12:56 PM=20 =0A =20 =0A =0A Dear Boris, =0A =A0 =0A = My colleague installed OpenSUSE 11.1 32-bit on the=0ACore 2 Duo m= achine in our labs. Please see my earlier replies in the=0Asame topic. =0A = =A0 =0A I was too lazy to reformat and install 64= -bit=0AOpenSUSE, so I proceeded with Xen Dom 0 pvops kernel compilation on= =0A32-bit Linux host. =0A =A0 =0A I admit I am ge= tting a lot of headache. Haha.=20 =0A=A0 =0A =0A Mr. Teo En Ming (Zhang Enming) Dip= (Mechatronics=0AEngineering) BEng(Hons)(Mechanical Engineering) =0A = Technical Support Engineer =0A Information Technology De= partment=20 =0AAsiasoft Online Pte Ltd=20 =0ATampines Central 1 #04-01 Tampines Plaza=20 =0ASingapore 529541 =0A Republic of Singapore=20 =0AMobile Phone: +65-9648-9798=20 =0AMSN: teoenming@hotmail.com=20 =0A =20 =0A =0A =20 =0A =0A-----Original Message-----=20 =0AFrom: Boris Derzhavets =20 =0ATo: enming.teo@asiasoftsea.net, Pasi K=E4rkk=E4inen =20 =0ACc: Sander Eikelenboom ,=0Axen-devel@lists.xensour= ce.com=20 =0ADate: Fri, 24 Jul 2009 09:57:18 -0700 (PDT)=20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0A =20 =0A =0A =0A =0A = Once again, i don't see any reason to to run 32-bit OS on=0ACo= re2Duo,=20 =0Aunless you like Xen head ache. Core development (PVOPS) is obviously=20 =0Arunning in 64-bit environment.=20 =0A =20 =0ABoris.=20 =0A =20 =0A--- On Fri, 7/24/09, Boris Derzhavets =0A wrote:= =20 =0A =0A =20 =0AFrom: Boris Derzhavets =20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0ATo: enming.teo@asiasoftsea.net, "Pasi K=E4rkk=E4inen" =20 =0ACc: "Sander Eikelenboom" ,=0Axen-devel@lists.xenso= urce.com=20 =0ADate: Friday, July 24, 2009, 12:47 PM=20 =0A =20 =0A =0A =0A = =0A =0A >Af= ter doing the=0Aabove, I re-installed back the Xen hypervisor, libraries an= d tools, and=0Aalso >the kernel, initrd, and modules. Then I proceeded to r= eboot my=0Amachine. After rebooting, > my CentOS 4.7 32-bit PV guest is sti= ll=0Aable to start and run! =20 =0A =20 =0AWhy it wouldn't ? If your image stays=A0 the same.=20 =0A =20 =0A =0A > I am st= ill very puzzled! What=0Acauses the PV guest initially cannot start? Then w= hat >subsequently=0Acauses the PV guest to suddenly be able to start and ru= n??? =0A =A0 =0A = =20 =0AThat is not supposed to happen. I would suggest clean OS (without any=0A= built in xen presence) install , followed by=A0 Xen 3.4.1+pvops kernel=0Acl= ean install.=20 =0A =20 =0ABoris.=20 =0A =20 =0A--- On Fri, 7/24/09, Teo En Ming =0A wrote:= =20 =0A =0A =20 =0AFrom: Teo En Ming =20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0ATo: "Teo En Ming" , "Pasi K=E4rkk=E4inen"=0A= =20 =0ACc: "Sander Eikelenboom" ,=0Axen-devel@lists.xenso= urce.com=20 =0ADate: Friday, July 24, 2009, 12:19 PM=20 =0A =20 =0A =0A Dear= All, =0A =A0 =0A = I am very puzzled. In=0Ainvestigating the cause of the sudden success = of the CentOS 4.7 32-bit=0APV guest being able to run, I have uninstalled v= irt-manager and all of=0Aits dependencies: =0A = =A0 =0A docbook =0A = python-gtk-vnc =0A xen-libs 3.3.1 = =0A scrollkeeper =0A = xen-tools 3.3.1 =0A libvirt 0.4.6 = =0A libvirt-python =0A = vm-install 0.3.24 =0A =A0 =0A = Then I proceeded to "make=0Auninstall" in xen-3.= 4-testing source tree, which also removed my self=0Acompiled Xen Dom 0 pvop= s enabled kernel, initrd and kernel modules. =0A = =A0 =0A After doing the above, I=0Are-i= nstalled back the Xen hypervisor, libraries and tools, and also the=0Akerne= l, initrd, and modules. Then I proceeded to reboot my machine.=0AAfter rebo= oting, my CentOS 4.7 32-bit PV guest is still able to start=0Aand run! =0A = =A0 =0A I am = still very puzzled! What=0Acauses the PV guest initially cannot start? Then= what subsequently=0Acauses the PV guest to suddenly be able to start and r= un??? =0A =A0 =0A = ***scratches head*** =0A =A0 =0A = Anyway my CentOS 4.7 guest domain=0Ais now running= . I shall now proceed to virtualize OpenSolaris 2009.06. =0A = =A0 =0A Thank you. =0A = =A0 =0A Also see = screenshots of my CentOS=0A4.7 PV guest here:=0Ahttp://teo-en-ming-aka-zhan= g-enming.blogspot.com/2009/07/creating-centos-47-32-bit.html=0A = =20 =0A=A0 =0A =0A = Mr. Teo En Ming (Zhang Enming)=0ADip(Mechatronics Engineering) BEng(Hons)= (Mechanical Engineering) =0A Technical Suppo= rt Engineer =0A Information Technology Depar= tment=20 =0AAsiasoft Online Pte Ltd=20 =0ATampines Central 1 #04-01 Tampines Plaza=20 =0ASingapore 529541 =0A Republic of Singapor= e=20 =0AMobile Phone: +65-9648-9798=20 =0AMSN: teoenming@hotmail.com=20 =0A =20 =0A =0A =20 =0A =0A-----Original Message-----=20 =0AFrom: "Teo En Ming" =20 =0ATo: "Teo En Ming" , "Pasi K=E4rkk=E4inen"=0A= =20 =0ACc: Sander Eikelenboom ,=0Axen-devel@lists.xensour= ce.com=20 =0ADate: Fri, 24 Jul 2009 22:54:26 +0800=20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0A =20 =0A =0A H= i Pasi, =0A =A0 =0A = It's very strange. Suddenly my=0ACentOS 4.7 32-bit PV guest is a= ble to start!!! Previously it refuses to=0Astart at all. =0A = =A0 =0A I think I must = have changed=0Asomething in Dom 0 when I attempted "yast --install virt-man= ager". This=0Aaction might have solved the problem. When I tried to install= =0Avirt-manager, it also tries to install xen-libs-3.3.1 and=0Axen-tools-3.= 3.1 as dependencies. However, I started off my Xen Dom 0=0Apvops kernel ins= tall with Xen 3.4.1 rc8 branch. =0A =A0 = =0A I need to investigate more why=0Asudde= nly my CentOS 4.7 32-bit PV guest is able to start.=20 =0A=A0 =0A =0A = Mr. Teo En Ming (Zhang Enming)=0ADip(Mechatronics Engineering) BEng(H= ons)(Mechanical Engineering) =0A Technical= Support Engineer =0A Information Technolo= gy=0ADepartment=20 =0AAsiasoft Online Pte Ltd=20 =0ATampines Central 1 #04-01 Tampines Plaza=20 =0ASingapore 529541 =0A Republic of Singap= ore=20 =0AMobile Phone: +65-9648-9798=20 =0AMSN: teoenming@hotmail.com=20 =0A =20 =0A =0A = =20 =0A =0A-----Original Message-----=20 =0AFrom: "Teo En Ming" =20 =0ATo: "Pasi K=E4rkk=E4inen" =20 =0ACc: Sander Eikelenboom ,=0Axen-devel@lists.xensour= ce.com=20 =0ADate: Fri, 24 Jul 2009 21:54:00 +0800=20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0A =20 =0A =0A = Hi Pasi, =0A =A0 =0A = I realized that Fedora 10=0A32-bit anaconda installer do= es not install PAE kernel after mounting=0Athe guest disk image file. I mou= nted the guest disk image file using=0Alosetup and kpartx which adds device= nodes to /dev/mapper. I examined=0Athe /boot directory after mounting the = guest disk image file and found=0Ano PAE vmlinuz and initrd. =0A = =A0 =0A Still u= sing the mounted Fedora=0A10 32-bit guest disk image file, I changed root t= o the guest disk=0Afilesystems and attempted to install the PAE kernel. The= n I modified=0Amenu.lst to boot the PAE kernel. After modifying the grub co= nfiguration=0Aof the guest domain, I un-mounted the guest filesystem. =0A = =A0 =0A = I proceeded to boot the F10=0A32-bit guest, since I changed to PAE kernel= . It is able to boot now=0A(since the PAE kernel is xen-aware) but then it = complains cannot mount=0A/dev/root. Probably something to do with the PAE i= nitrd file. =0A =20 =0A=A0 =0A =0A = Mr. Teo En Ming (Zhang Enming)=0ADip(Mechatronics Engineering) BE= ng(Hons)(Mechanical Engineering) =0A Tec= hnical Support Engineer =0A Information = Technology=0ADepartment=20 =0AAsiasoft Online Pte Ltd=20 =0ATampines Central 1 #04-01 Tampines Plaza=20 =0ASingapore 529541 =0A Republic of Sing= apore=20 =0AMobile Phone: +65-9648-9798=20 =0AMSN: teoenming@hotmail.com=20 =0A =20 =0A =0A = =20 =0A =0A-----Original Message-----=20 =0AFrom: Pasi K=E4rkk=E4inen =20 =0ATo: Teo En Ming =20 =0ACc: Sander Eikelenboom ,=0Axen-devel@lists.xensour= ce.com=20 =0ADate: Fri, 24 Jul 2009 16:31:19 +0300=20 =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel=20 =0A =20 =0A On Fri, Jul 24,=0A2009 at 08:37:0= 9PM +0800, Teo En Ming wrote:=20 =0A> Hi=20 =0A>=20 =0A> I attempted to install Fedora 10 32-bit PV guest using=20 =0A> images/pxeboot/vmlinuz-PAE and images/pxeboot/initrd-PAE.img from=0Ath= e F10=20 =0A> media. The non-PAE kernel could not load the installer. I finished=0Am= y Fedora=20 =0A> 10 32-bit PV guest installation but it also cannot boot up after=20 =0A> installation, same as the CentOS 4.7 PV guest installation.=20 =0A>=20 =0A =20 =0AFedora 10 installer has a bug, as a default it installs non-PAE kernel= =0Afor=20 =0Axen domU. You need to use a kickstart script (like this) to fix it:=20 =0A =0Ahttp://pasik.reaktio.net/fedora= /f10-xen-domu-ks.cfg=20 =0A =20 =0AThe important lines being:=20 =0A =20 =0A-kernel=20 =0Akernel-PAE=20 =0A =20 =0A(Fedora 10 and Fedora 11 default kernels are compiled with pv_ops Xen=0A= domU=20 =0Asupport enabled, so there's no need for separate kernel-xen with these= =0Adistros).=20 =0A =20 =0AFedora 11 doesn't have that installer bug, so it installs right=20 =0Aout-of-the-box as Xen domU.=20 =0A =20 =0AWhat's the error you get when you start the guest after installation?=20 =0APlease paste the "xm log" as text.=20 =0A =20 =0AI don't have any problems with CentOS 5.3 dom0.=20 =0A =20 =0A-- Pasi=20 =0A =0A = =0A =0A = =0A =0A =20 =0A-----Inline Attachment Follows-----=20 =0A =20 =0A =0A_____________________________________= __________=20 =0AXen-devel mailing list=20 =0A =0AXen-devel@lists.xensource.com=20 =0A =0Ahttp://lists.xensource.com/xen-devel= =20 =0A =0A =0A = =0A =0A = =0A =0A =20 =0A =0A =20 =0A-----Inline Attachment Follows-----=20 =0A =20 =0A =0A_____________________________________________= __=20 =0AXen-devel mailing list=20 =0A =0AXen-devel@lists.xensource.com=20 =0A =0Ahttp://lists.xensource.com/xen-devel=20 =0A =0A =0A = =0A =0A =0A =0A = =20 =0A =0A =0A =20 =0A-----Inline Attachment Follows-----=20 =0A =20 =0A =0A_______________________________________________=20 =0AXen-devel mailing list=20 =0A =0AXen-devel@lists.xensource.com=20 =0A http://lists.xensource.com/xen-devel=0A =20 =0A =0A =0A =0A =0A =0A = =0A =20 =0A =0A =0A =20 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A =0A =0A -----Inline Attachment Follows----- No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.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 =0A=0A=0A --0-466689784-1248522356=:88088 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
>I noticed under the guest domain configur= ation there is a parameter=0Acalled >'extra' kernel parameter. Does the = 'nowin' argument stand for no=0A>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

=0AConnect 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 So= laris Kernel Model Debugger
to disable checksum offloading at boot up. S= eems to be hardware dependent issue for OSOL 2009.06

***************= *******************
=0ACopy ramdisk and kernel to Dom0
=0A***********= ***********************
=0A
=0A[root@ServerXen isos]# cat copy.= sh
=0Amount -o loop,ro osol-0906-x86.iso /mnt
=0Acp /mnt/boot/amd64/= x86.microroot /home/boris/solaris
=0Acp /mnt/platform/i86xpv/kernel/amd6= 4/unix /home/boris/solaris
=0A



**********************= *
=0AInstallation profile:-
=0A***********************
=0A=0A[root@ServerXen solaris]# cat osol200906.install
=0Aname =3D "sol09= 06"
=0Avcpus =3D 1
=0Amemory =3D "1024"
=0Akernel =3D "/home/boris= /solaris/unix"
=0Aramdisk =3D "/home/boris/solaris/x86.microroot"
=0A= extra =3D "/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=3Dcd= rom"
=0Adisk =3D ['phy:/dev/loop0,xvdc:cdrom,r','phy:/dev/sdb5,xvda,w']<= br># Would work as well
#
=0Adisk =3D ['phy:/dev/loop0,6:cd= rom,r','phy:/dev/sdb5,0,w']
=0Avif =3D ['bridge=3Deth1']=0Aon_shutdown =3D "destroy"
=0Aon_reboot =3D "destroy"
=0Aon_crash = =3D "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) <enm= ing.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, =3D?ISO-8859-1?Q= ?Pasi_K=3DE4r?=3D@yahoo.com
Date: Saturday, July 25, 2009, 7:14 AM
=0A=0A=0A =0ADear All,
=0A
=0AI am tryin= g to install OpenSolaris 2009.06 32-bit paravirtualized guest=0Aon OpenSUSE= 11.1 32-bit paravirt-ops enabled Xen 3.4.1-rc8 Dom 0 Kernel=0A2.6.30-rc6.<= br>=0A
=0AHowever, I am getting an opensolaris console login prompt. The= re is no=0AGNOME DE for me to launch the GUI installer for OpenSolaris. I a= m using=0Athe OpenSolaris LiveCD 32-bit.
=0A
=0AI noticed under the = guest domain configuration there is a parameter=0Acalled 'extra' kernel par= ameter. Does the 'nowin' argument stand for no=0Agraphical windows?
=0A<= br>=0Ahttp://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT4kZta-I/= AAAAAAAAAE0/xxUGuNunPoY/s1600-h/01.jpeg
=0A
=0Ahttp://4.bp.blogspot.com/_zzjv8MCM2sk/SmoT5YG2sNI/AAAAAAAAAFM/H0ntFt6LCx4/= s1600-h/04.jpeg
=0A
=0Ahttp://2.bp.blogspot.co= m/_zzjv8MCM2sk/SmoT5uzjF6I/AAAAAAAAAFU/2Y3KNWPUwWk/s1600-h/05.jpeg
= =0A
=0AThen I also get the "invalid disk device number (768)" error. Do = I need=0Ato use xvda instead of hda?
=0A
=0AThank you very much.
= =0A
=0A
-- 
Mr. Teo En Ming (Zhang Enming= ) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Techn= ical Support Engineer
Information Technology Department
Asiasoft Onli= ne Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541<= br>Republic of Singapore
Mobile Phone: +65-9648-9798
MSN: teoenming@hotmail.com
=0A
=0A
=0ATeo En Ming wrote:=0A=0A
As a matte= r of fact, our servers are either Dell PowerEdge=0A1950/2950 and IBM xSerie= s.=0A
=0A
 =0A
=0A
I am just testing it out = on our lab PC first.
=0A =0A
=0A
=0A
Mr. Teo = En Ming (Zhang Enming) Dip(Mechatronics Engineering)=0ABEng(Hons)(Mechanica= l Engineering)=0A
=0A
Technical Support Engineer=0A
=0A=
Information Technology Department
=0AAsiasoft Online Pte Ltd =0ATampines Central 1 #04-01 Tampines Plaza
=0ASingapore 529541=0A =0A
Republic of Singapore
=0AMobile Phone: +65-9648-9798
= =0AMSN: teoenming@hotmail.com
=0A
=0A
=0A =
=0A
=0A---= --Original Message-----
=0AFrom: "Teo En Ming" <e= nming.teo@asiasoftsea.net>
=0ATo: "Boris Derzhavets" &l= t;bderzhavets@yahoo.com>, "Pasi K=E4rkk=E4inen"=0A<pasik@iki.fi> =0ACc: Sander Eikelenboom <linux@eikelenboom.it>,=0Axen-devel@lists.xensource.com
=0ADate: Sat,= 25 Jul 2009 02:27:02 +0800
=0ASubject: Re: Re[8]: [Xen-devel] Unable t= o Configure Xen Dom 0 in=0AJeremy's PVOPS Kernel
=0A
=0A =0A
Dear Boris,
=0A
&nbs= p;
=0A
My next step will be a 64-bit Xen Dom 0 host.
=0A&= nbsp;
=0A =0A
Mr. Teo En Ming (Zhang Enming) Dip(Me= chatronics Engineering)=0ABEng(Hons)(Mechanical Engineering)
=0A <= div>Technical Support Engineer
=0A
Information Technology Dep= artment
=0AAsiasoft Online Pte Ltd
=0ATampines Central 1 #04-01 Tam= pines Plaza
=0ASingapore 529541
=0A
Republic of Singapore=
=0AMobile Phone: +65-9648-9798
=0AMSN: teoenming@hot= mail.com
=0A
=0A
=0A
=0A
=0A-----Original Message----- <= br>=0AFrom: Boris Derzhavets <bderzhavets@yahoo.com> =0ATo: Pasi K=E4rkk=E4inen <pasik@iki.fi>, enming.t= eo@asiasoftsea.net
=0ACc: Sander Eikelenboom <linux@eikel= enboom.it>,=0Axen-devel@lists.xensource.= com
=0ADate: Fri, 24 Jul 2009 10:57:49 -0700 (PDT)
=0ASubject: = Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJeremy's PVOPS Ke= rnel
=0A
=0A =0A =0A =0A =0A =0A = =0A =0A
Teo, it is up to you how to m= anage, if you just having=0Afun.
=0AOtherwise, downloading 64-bit OpenS= use 11.1 ISO image
=0Atakes just 12-14 hr even at slow ADSL speed ( lik= e 100 KB/sec).
=0AInstall takes 30 minutes and brings you to the truste= d results, instead=0A
=0Aof wasting a lot of time in case of= business environment assignment.
=0APasi has 32-bit experience due to = hardware limitations, which you don't=0A
=0Ahave.
=0A =
=0ABoris.
=0A
=0A--- On Fri, 7/24/09, Te= o En Ming =0A<enming.teo@asiasoftsea.net> wrote:
=0A
=0A =
=0AFrom: Teo En Ming <enming.teo@asiasoftsea.net&= gt;
=0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom = 0 in=0AJeremy's PVOPS Kernel
=0ATo: "Boris Derzhavets" <bde= rzhavets@yahoo.com>, "Pasi K=E4rkk=E4inen"=0A<pasik@iki.fi>
=0A= Cc: "Sander Eikelenboom" <linux@eikelenboom.it>,=0Axen-devel@lists.xensource.com
=0ADate: Friday= , July 24, 2009, 12:56 PM
=0A
=0A
=0A
D= ear Boris,
=0A
 
=0A
M= y colleague installed OpenSUSE 11.1 32-bit on the=0ACore 2 Duo machine in o= ur labs. Please see my earlier replies in the=0Asame topic.
=0A =
 
=0A
I was too lazy to reformat = and install 64-bit=0AOpenSUSE, so I proceeded with Xen Dom 0 pvops kernel c= ompilation on=0A32-bit Linux host.
=0A
  =0A
I admit I am getting a lot of headache. Haha.
= =0A 
=0A
=0A
Mr. Teo En Mi= ng (Zhang Enming) Dip(Mechatronics=0AEngineering) BEng(Hons)(Mechanical Eng= ineering)
=0A
Technical Support Engineer
=0A =
Information Technology Department
=0AAsiasoft Online = Pte Ltd
=0ATampines Central 1 #04-01 Tampines Plaza
=0ASingapore 52= 9541
=0A
Republic of Singapore
=0AMobile Phone:= +65-9648-9798
=0AMSN: teoenming@hotmail.com
=0A =
=0A
=0A
=0A =
=0A-----Origin= al Message-----
=0AFrom: Boris Derzhavets <bderzhavets@yaho= o.com>
=0ATo: enming.teo@asiasoftsea.net= , Pasi K=E4rkk=E4inen <pasik@iki.fi>
=0ACc: Sander Eikelenboom <linux@eikelenboom.it>,=0Axen-dev= el@lists.xensource.com
=0ADate: Fri, 24 Jul 2009 09:57:18 -0700 (PD= T)
=0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in= =0AJeremy's PVOPS Kernel
=0A
=0A =0A =0A
Once again, i don't see any reason= to to run 32-bit OS on=0ACore2Duo,
=0Aunless you like Xen head ache. C= ore development (PVOPS) is obviously
=0Arunning in 64-bit environment. =
=0A
=0ABoris.
=0A =0A--- On Fri, 7/24/09, Boris Derzhavets =0A<bderzhavets= @yahoo.com> wrote:
=0A
=0A
=0AFrom: Boris Derzhavets <bderzhavets@yahoo.com>
=0ASubject: Re: Re[8]: [Xen-devel= ] Unable to Configure Xen Dom 0 in=0AJeremy's PVOPS Kernel
=0ATo: enming.teo@asiasoftsea.net, "Pasi K=E4rkk=E4inen" <pasik@iki= .fi>
=0ACc: "Sander Eikelenboom" <linux@eikelenboom.it= >,=0Axen-devel@lists.xensource.com =
=0ADate: Friday, July 24, 2009, 12:47 PM
=0A =
=0A
=0A = =0A = =0A =0A = =0A = =0A =0A =0A
=0A =0A =
=0A-----Inline Attachment Follows-----
=0A =
=0A
=0A_______________________________________________
=0AXen-devel mailin= g list
=0A =0AXen-devel@list= s.xensource.com
=0A =0Ahttp://lists= .xensource.com/xen-devel
=0A
=0A = =0A =0A = =0A =0A
>After doing the=0Aabove, I r= e-installed back the Xen hypervisor, libraries and tools, and=0Aalso >th= e kernel, initrd, and modules. Then I proceeded to reboot my=0Amachine. Aft= er rebooting, > my CentOS 4.7 32-bit PV guest is still=0Aable to start a= nd run!
=0A
=0AWhy it w= ouldn't ? If your image stays  the same.
=0A =
=0A =0A
> I am still very puzzled! What= =0Acauses the PV guest initially cannot start? Then what >subsequently= =0Acauses the PV guest to suddenly be able to start and run???
=0A =
 
=0A =

=0AThat is not supposed to happen. I would suggest clean OS = (without any=0Abuilt in xen presence) install , followed by  Xen 3.4.1= +pvops kernel=0Aclean install.
=0A
=0A= Boris.
=0A
=0A--- On Fri, 7/24/09, = Teo En Ming =0A<enming.teo@asiasoftsea.net>= wrote:
=0A
=0A
=0AFrom: Teo En Ming <enming.teo@asiasoftsea.net>
=0ASubject: Re: Re[8]: [X= en-devel] Unable to Configure Xen Dom 0 in=0AJeremy's PVOPS Kernel
=0AT= o: "Teo En Ming" <enming.teo@asiasoftsea.net>,= "Pasi K=E4rkk=E4inen"=0A<pasik@iki.fi>
=0ACc: "Sander Eikelenboom" <= a rel=3D"nofollow" class=3D"moz-txt-link-rfc2396E" ymailto=3D"mailto:linux@= eikelenboom.it" target=3D"_blank" href=3D"/mc/compose?to=3Dlinux@eikelenboo= m.it"><linux@eikelenboom.it>,=0Axen-d= evel@lists.xensource.com
=0ADate: Friday, July 24, 2009, 12:19 PM <= br>=0A
=0A =
=0A =
Dear All,
=0A =
 
=0A
I am very puzzle= d. In=0Ainvestigating the cause of the sudden success of the CentOS 4.7 32-= bit=0APV guest being able to run, I have uninstalled virt-manager and all o= f=0Aits dependencies:
=0A
  =
=0A
docbook
=0A =
python-gtk-vnc
=0A =
xen-libs 3.3.1
=0A
scr= ollkeeper
=0A
xen-tools 3.3.1 =0A
libvirt 0.4.6
=0A =
libvirt-python
=0A =
vm-install 0.3.24
=0A  
=0A
Then I proceeded to= "make=0Auninstall" in xen-3.4-testing source tree, which also removed my s= elf=0Acompiled Xen Dom 0 pvops enabled kernel, initrd and kernel modules. <= /div>=0A
 
=0A =
After doing the above, I=0Are-installed back the Xen= hypervisor, libraries and tools, and also the=0Akernel, initrd, and module= s. Then I proceeded to reboot my machine.=0AAfter rebooting, my CentOS 4.7 = 32-bit PV guest is still able to start=0Aand run!
=0A =
 
=0A
I= am still very puzzled! What=0Acauses the PV guest initially cannot start? = Then what subsequently=0Acauses the PV guest to suddenly be able to start a= nd run???
=0A
 
=0A =
***scratches head***
=0A =
 
=0A <= div>Anyway my CentOS 4.7 guest domain=0Ais now running. I shall now proceed= to virtualize OpenSolaris 2009.06.
=0A =
 
=0A
Thank you. =0A
 
=0A =
Also see screenshots of my CentOS=0A4.7 PV guest here:= =0Ahttp://teo-en-ming-aka-zhang-enming.blogspot.com/2009/0= 7/creating-centos-47-32-bit.html=0A
= =0A 
=0A
=0A =
Mr. Teo En Ming (Zhang Enming)=0ADip(Mechatronics En= gineering) BEng(Hons)(Mechanical Engineering)
=0A =
Technical Support Engineer
=0A =
Information Technology Department
=0AAsiasoft Online Pte= Ltd
=0ATampines Central 1 #04-01 Tampines Plaza
=0ASingapore 52954= 1
=0A
Republic of Singapore
= =0AMobile Phone: +65-9648-9798
=0AMSN: teoenming@hotmail.co= m
=0A
=0A =
=0A
=0A =
= =0A-----Original Message-----
=0AFrom: "Teo En Ming" <enming.teo@asiasoftsea.net>
=0ATo: "Teo En Ming" <enming.teo@asiasoftsea.net>, "Pasi K=E4rkk=E4inen"=0A<pasik@i= ki.fi>
=0ACc: Sander Eikelenboom <linux@eikelenboom.it= >,=0Axen-devel@lists.xensource.com =
=0ADate: Fri, 24 Jul 2009 22:54:26 +0800
=0ASubject: Re: Re[8]: [Xe= n-devel] Unable to Configure Xen Dom 0 in=0AJeremy's PVOPS Kernel
=0A =
=0A =0A
Hi= Pasi,
=0A
 
=0A =
It's very strange. Suddenly my=0ACentOS = 4.7 32-bit PV guest is able to start!!! Previously it refuses to=0Astart at= all.
=0A
 
=0A =
I think I must have changed=0Asomething i= n Dom 0 when I attempted "yast --install virt-manager". This=0Aaction might= have solved the problem. When I tried to install=0Avirt-manager, it also t= ries to install xen-libs-3.3.1 and=0Axen-tools-3.3.1 as dependencies. Howev= er, I started off my Xen Dom 0=0Apvops kernel install with Xen 3.4.1 rc8 br= anch.
=0A
 
=0A =
I need to investigate more why=0Asuddenly= my CentOS 4.7 32-bit PV guest is able to start.
=0A 
=0A = =0A =
Mr. Teo En Ming (Zhang Enming)=0ADip(Mechatronics Engineering) BEng(Ho= ns)(Mechanical Engineering)
=0A Technical Support Engineer
=0A Information Technology=0ADepartment
=0AAsiasoft Online Pte Ltd
=0A= Tampines Central 1 #04-01 Tampines Plaza
=0ASingapore 529541
=0A =
Republic of Singapore
=0AMobile P= hone: +65-9648-9798
=0AMSN: teoenming@hotmail.com
= =0A
=0A =
=0A
=0A =
=0A= -----Original Message-----
=0AFrom: "Teo En Ming" &l= t;enming.teo@asiasoftsea.net>
=0ATo: "Pasi K=E4rkk=E4inen" <pasik@iki.= fi>
=0ACc: Sander Eikelenboom <linux@eikelenboom.it>= ;,=0Axen-devel@lists.xensource.com
= =0ADate: Fri, 24 Jul 2009 21:54:00 +0800
=0ASubject: Re: Re[8]: [Xen-de= vel] Unable to Configure Xen Dom 0 in=0AJeremy's PVOPS Kernel
=0A =
=0A =0A
= Hi Pasi,
=0A
 
=0A=
I realized that Fedora 10=0A32-bit= anaconda installer does not install PAE kernel after mounting=0Athe guest = disk image file. I mounted the guest disk image file using=0Alosetup and kp= artx which adds device nodes to /dev/mapper. I examined=0Athe /boot directo= ry after mounting the guest disk image file and found=0Ano PAE vmlinuz and = initrd.
=0A
 
=0A =
Still using the mounted Fedora=0A10= 32-bit guest disk image file, I changed root to the guest disk=0Afilesyste= ms and attempted to install the PAE kernel. Then I modified=0Amenu.lst to b= oot the PAE kernel. After modifying the grub configuration=0Aof the guest d= omain, I un-mounted the guest filesystem.
=0A =
 
=0A
I= proceeded to boot the F10=0A32-bit guest, since I changed to PAE kernel. I= t is able to boot now=0A(since the PAE kernel is xen-aware) but then it com= plains cannot mount=0A/dev/root. Probably something to do with the PAE init= rd file.
=0A

=0A  <= /div>=0A =0A =
Mr. Teo En Ming (Zhang Enming)=0ADip(Mechatronics Engin= eering) BEng(Hons)(Mechanical Engineering)
=0A =
Technical Support Engineer
=0A =
Information Technology=0ADepartment
=0AAsiasoft Onl= ine Pte Ltd
=0ATampines Central 1 #04-01 Tampines Plaza
=0ASingapor= e 529541
=0A
Republic of Sing= apore
=0AMobile Phone: +65-9648-9798
=0AMSN: teoenming@= hotmail.com
=0A
=0A =
=0A =0A
=0A-----Original Message-----
=0AFrom: Pasi K= =E4rkk=E4inen <pasik@iki.fi>
=0ATo: Teo En Ming &= lt;enming.teo@asiasoftsea.net>
=0ACc: Sander Eikelenboom <linux@eikelenboom.it>,=0Axen-devel@= lists.xensource.com
=0ADate: Fri, 24 Jul 2009 16:31:19 +0300
= =0ASubject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=0AJerem= y's PVOPS Kernel
=0A
=0A =
On Fri, Jul 24,=0A2009 at 08:37:09PM +0800, Teo En Ming wr= ote:
=0A> Hi
=0A>
=0A> I attempted to install Fedora 1= 0 32-bit PV guest using
=0A> images/pxeboot/vmlinuz-PAE and images/p= xeboot/initrd-PAE.img from=0Athe F10
=0A> media. The non-PAE kernel = could not load the installer. I finished=0Amy Fedora
=0A> 10 32-bit = PV guest installation but it also cannot boot up after
=0A> installa= tion, same as the CentOS 4.7 PV guest installation.
=0A>
=0A =
=0AFedora 10 installer has a bug, as = a default it installs non-PAE kernel=0Afor
=0Axen domU. You need to use= a kickstart script (like this) to fix it:
=0A = =0Ahttp://pasik.reaktio.net/fedora/f10= -xen-domu-ks.cfg
=0A
=0ATh= e important lines being:
=0A
= =0A-kernel
=0Akernel-PAE
=0A <= br>=0A(Fedora 10 and Fedora 11 default kernels are compiled with pv_ops Xen= =0AdomU
=0Asupport enabled, so there's no need for separate kernel-xen = with these=0Adistros).
=0A
=0A= Fedora 11 doesn't have that installer bug, so it installs right
=0Aout-= of-the-box as Xen domU.
=0A
= =0AWhat's the error you get when you start the guest after installation? =0APlease paste the "xm log" as text.
=0A =
=0AI don't have any problems with CentOS 5.3 dom0.
=0A =
=0A-- Pasi
=0A =
=0A =0A
=0A =
=0A =0A =
=0A-----Inline Attachment Follows-----
= =0A
=0A <= div class=3D"plainMail">=0A_______________________________________________ =
=0AXen-devel mailing list
=0A =0AXen-devel@lists.xensource.com
=0A = =0Ahttp://lists.xensource.com/xen-devel
=0A= =0A =0A
=0A =
=0A
=0A =0A =
=0A-----Inline Attachment Follows-----
=0A =
=0A
=0A__________________________= _____________________
=0AXen-devel mailing list
=0A =0AXen-devel@lists.xensource.com
=0A = http://lists.xensource.com/xen-devel=0A
=0A =
=0A =0A
=0A
=0A =0A
=0A


__________= _____________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
=0A
=0A
=0A =0A
-----Inline Attachment Follows---= --


No virus found in this outgoing mess= age.
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 A= ttachment Follows-----

____________________= ___________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-= devel

=0A=0A=0A=0A --0-466689784-1248522356=:88088-- --===============0174904058== 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 --===============0174904058==--