From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Teo En Ming" Subject: Re: Re[8]: Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel Date: Fri, 24 Jul 2009 20:37:09 +0800 Message-ID: References: <20090723194843.GG24960@edu.joroinen.fi> <20090723202455.GH24960@edu.joroinen.fi> Reply-To: enming.teo@asiasoftsea.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1477912047==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Teo En Ming , Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Cc: Sander Eikelenboom , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1477912047== Content-Type: multipart/alternative; boundary="0724_1237_09_PART-BREAK" --0724_1237_09_PART-BREAK Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi I attempted to install Fedora 10 32-bit PV guest using=20 images/pxeboot/vmlinuz-PAE and images/pxeboot/initrd-PAE.img from the F10= =20 media. The non-PAE kernel could not load the installer. I finished my Fed= ora=20 10 32-bit PV guest installation but it also cannot boot up after=20 installation, same as the CentOS 4.7 PV guest installation. 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: "Teo En Ming" To: "Teo En Ming" , "Pasi K=E4rkk=E4inen"=20 Cc: Sander Eikelenboom , xen-devel@lists.xensource.= com Date: Fri, 24 Jul 2009 16:19:49 +0800 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's= =20 PVOPS Kernel Dear Pasi, I have checked my OpenSUSE 11.1 host system. The apparmor kernel module is not loaded. Please see screenshot:=20 http://3.bp.blogspot.com/_zzjv8MCM2sk/SmlvTJYX4LI/AAAAAAAAADM/9Pk3opGAocc= /s1600-h/xen23.jpeg For SELinux, the configuration is different from Fedora-style systems. I have to add selinux=3D0 as a boot parameter to the kernel. Please see=20 screenshot:=20 http://4.bp.blogspot.com/_zzjv8MCM2sk/SmlvTbCn8TI/AAAAAAAAADU/i5cWpZpb8jE= /s1600-h/xen24.jpeg Now, both apparmor and SELinux are not enforcing. But my CentOS 4.7=20 32-bit guest VM still cannot start. 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: "Teo En Ming" , "Pasi=20 K=E4rkk=E4inen" =20 Cc: Sander Eikelenboom ,=20 xen-devel@lists.xensource.com =20 Date: Fri, 24 Jul 2009 04:32:24 +0800 =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=20 Jeremy's PVOPS Kernel =20 =20 Dear Pasi, =20 =20 My screenshots are all here:=20 http://teo-en-ming-aka-zhang-enming.blogspot.com/ =20 =20 If you come across anything unusual or feel that something is=20 missing, please let me know. =20 =20 Thank you. =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: "Teo En Ming" =20 To: "Pasi K=E4rkk=E4inen" =20 Cc: Sander Eikelenboom ,=20 xen-devel@lists.xensource.com =20 Date: Fri, 24 Jul 2009 04:25:43 +0800 =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in=20 Jeremy's PVOPS Kernel =20 =20 Dear Pasi, =20 =20 > How do you install the guest? =20 =20 I copied the kernel and initial ramdisk image from the images/xen=20 directory on the CentOS 4.7 x32 cd-rom and specified this kernel and init= rd=20 in my guest config in /etc/xen on Dom 0. Then I successfully finished the= =20 guest installation using HTTP method. I reached the end where I was asked= to=20 reboot after installation completes. =20 =20 > So how do you try to start the guest after installation? "xm=20 create guest" ? =20 > or virt-manager? =20 =20 I did not use virt-manager at all. I used "xm create domain". =20 =20 > What's the error you get? =20 =20 > Did you check "xm log" ? "xm dmesg" ? =20 =20 I have earlier provided logs from /var/log/xen/ and xm dmesg in=20 this xen-devel mailing list topic. =20 =20 > do you have selinux or apparmor? Did you disable them? =20 =20 On RHEL/CentOS/Fedora systems I will normally disable SELinux by=20 using the following commands: =20 =20 # echo 0 > /selinux/enforce =20 =20 # vi /etc/selinux/config =20 =20 and change the policy to disabled. =20 =20 I am not very sure about the SELinux implementation on OpenSUSE=20 11.1 and I forgot to check this. Later in the day I will use yast to chec= k=20 the SELinux and apparmor settings. =20 =20 Thank you!!! =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: Pasi K=E4rkk=E4inen =20 To: Teo En Ming =20 Cc: Sander Eikelenboom ,=20 xen-devel@lists.xensource.com =20 Date: Thu, 23 Jul 2009 23:24:55 +0300 =20 Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0=20 in Jeremy's PVOPS Kernel =20 =20 =20 On Fri, Jul=20 24, 2009 at 03:51:07AM +0800, Teo En Ming wrote: =20 > Dear Pasi, =20 > =20 > The strange part is that I _can_ _install_ CentOS 4.7=20 32-bit guest, but =20 > after guest installation completes, the guest won't=20 start using pygrub or =20 > pv_grub. =20 > =20 =20 How do you install the guest? =20 =20 > Maybe I am using OpenSuSE 11.1 as Xen Dom 0, whereas the=20 others are using =20 > either Fedora or Ubuntu as Dom 0 host, so maybe=20 something is broken/missing =20 > along the way. =20 > =20 =20 So how do you try to start the guest after installation? "xm=20 create guest" ? =20 or virt-manager? =20 =20 What's the error you get? =20 =20 Did you check "xm log" ? "xm dmesg" ? =20 =20 /var/log/messages or /var/log/syslog on dom0? =20 =20 do you have selinux or apparmor? Did you disable them? =20 =20 -- Pasi =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-dev= el] --0724_1237_09_PART-BREAK Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi
 
I attempted to install Fedora 10 32-bit PV guest using=20 images/pxeboot/vmlinuz-PAE and images/pxeboot/initrd-PAE.img from the F10= =20 media. The non-PAE kernel could not load the installer. I finished my Fed= ora=20 10 32-bit PV guest installation but it also cannot boot up after=20 installation, same as the CentOS 4.7 PV guest installation.
 
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: "Teo En Ming" <enming.teo@asiasoftsea.net>
To: "Teo En Ming" <enming.teo@asiasoftsea.net>, "Pasi=20 K=E4rkk=E4inen" <pasik@iki.fi>
Cc: Sander Eikelenboom <linux@eikelenboom.it>,=20 xen-devel@lists.xensource.com
Date: Fri, 24 Jul 2009 16:19:49 +0800
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in= =20 Jeremy's PVOPS Kernel

Dear Pasi,
 
I have checked my OpenSUSE 11.1 host system.
 
The apparmor kernel module is not loaded. Please see screenshot:=20 http://3.bp.blogspot.com/_zzjv8MCM2sk/SmlvTJYX4LI/AAAAAAAAADM/9Pk3opGAocc= /s1600-h/xen23.jpeg
 
For SELinux, the configuration is different from Fedora-style=20 systems.
 
I have to add selinux=3D0 as a boot parameter to the kernel. Pleas= e see=20 screenshot:=20 http://4.bp.blogspot.com/_zzjv8MCM2sk/SmlvTbCn8TI/AAAAAAAAADU/i5cWpZpb8jE= /s1600-h/xen24.jpeg
 
Now, both apparmor and SELinux are not enforcing. But my CentOS 4.= 7=20 32-bit guest VM still cannot start.
 
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


-----Origi= nal=20 Message-----
From: "Teo En Ming" <enming.teo@asiasoftsea.net>
To: "Teo En Ming" <enming.teo@asiasoftsea.net>, "Pasi=20 K=E4rkk=E4inen" <pasik@iki.fi>
Cc: Sander Eikelenboom <linux@eikelenboom.it>,=20 xen-devel@lists.xensource.com
Date: Fri, 24 Jul 2009 04:32:24 +0800
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 = in=20 Jeremy's PVOPS Kernel

Dear Pasi,
 
My screenshots are all here:=20 http://teo-en-ming-aka-zhang-enming.blogspot.com/
 
If you come across anything unusual or feel that something is=20 missing, please let me know.
 
Thank you.
 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile Phone: +65-9648-9798
MSN: teoenming@hotmail.com


-----Origi= nal=20 Message-----
From: "Teo En Ming" <enming.teo@asiasoftsea.net>
To: "Pasi K=E4rkk=E4inen" <pasik@iki.fi>
Cc: Sander Eikelenboom <linux@eikelenboom.it>,=20 xen-devel@lists.xensource.com
Date: Fri, 24 Jul 2009 04:25:43 +0800
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom = 0=20 in Jeremy's PVOPS Kernel

Dear Pasi,
 
> How do you install the guest?
 
I copied the kernel and initial ramdisk image from the images/= xen=20 directory on the CentOS 4.7 x32 cd-rom and specified this kernel and init= rd=20 in my guest config in /etc/xen on Dom 0. Then I successfully finished the= =20 guest installation using HTTP method. I reached the end where I was asked= to=20 reboot after installation completes.
 
> So how do you try to start the guest after installation? = "xm=20 create guest" ?
> or virt-manager?
 
I did not use virt-manager at all. I used "xm create domain".
 
> What's the error you get?

> Did you check "xm log" ? "xm dmesg" ?
 
I have earlier provided logs from /var/log/xen/ and xm dmesg i= n=20 this xen-devel mailing list topic.
 
> do you have selinux or apparmor? Did you disable them?
 
On RHEL/CentOS/Fedora systems I will normally disable SELinux = by=20 using the following commands:
 
# echo 0 > /selinux/enforce
 
# vi /etc/selinux/config
 
and change the policy to disabled.
 
I am not very sure about the SELinux implementation on OpenSUS= E=20 11.1 and I forgot to check this. Later in the day I will use yast to chec= k=20 the SELinux and apparmor settings.
 
Thank you!!!
 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile Phone: +65-9648-9798
MSN: teoenming@hotmail.com


-----Origi= nal=20 Message-----
From: Pasi K=E4rkk=E4inen <pasik@iki.fi>
To: Teo En Ming <enming.teo@asiasoftsea.net>
Cc: Sander Eikelenboom <linux@eikelenboom.it>,=20 xen-devel@lists.xensource.com
Date: Thu, 23 Jul 2009 23:24:55 +0300
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Do= m 0=20 in Jeremy's PVOPS Kernel

On Fr= i,=20 Jul 24, 2009 at 03:51:07AM +0800, Teo En Ming wrote:
> Dear Pasi,
>
> The strange part is that I _can_ _install_ CentOS 4= .7=20 32-bit guest, but
> after guest installation completes, the guest won't= =20 start using pygrub or
> pv_grub.
>

How do you install the guest?

> Maybe I am using OpenSuSE 11.1 as Xen Dom 0, wherea= s=20 the others are using
> either Fedora or Ubuntu as Dom 0 host, so maybe=20 something is broken/missing
> along the way.
>

So how do you try to start the guest after installation?= =20 "xm create guest" ?
or virt-manager?

What's the error you get?

Did you check "xm log" ? "xm dmesg" ?

/var/log/messages or /var/log/syslog on dom0?

do you have selinux or apparmor? Did you disable them?

-- Pasi


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
--0724_1237_09_PART-BREAK-- --===============1477912047== 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 --===============1477912047==--