WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS K

Dear Pasi,
 
I have checked my OpenSUSE 11.1 host system.
 
The apparmor kernel module is not loaded. Please see screenshot: 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=0 as a boot parameter to the kernel. Please see screenshot: 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 32-bit guest VM still cannot 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@xxxxxxxxxxx


-----Original Message-----
From: "Teo En Ming" <enming.teo@xxxxxxxxxxxxxxx>
To: "Teo En Ming" <enming.teo@xxxxxxxxxxxxxxx>, "Pasi Kärkkäinen" <pasik@xxxxxx>
Cc: Sander Eikelenboom <linux@xxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Date: Fri, 24 Jul 2009 04:32:24 +0800
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel

Dear Pasi,
 
My screenshots are all here: http://teo-en-ming-aka-zhang-enming.blogspot.com/
 
If you come across anything unusual or feel that something is missing, please let me know.
 
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@xxxxxxxxxxx


-----Original Message-----
From: "Teo En Ming" <enming.teo@xxxxxxxxxxxxxxx>
To: "Pasi Kärkkäinen" <pasik@xxxxxx>
Cc: Sander Eikelenboom <linux@xxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Date: Fri, 24 Jul 2009 04:25:43 +0800
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 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 directory on the CentOS 4.7 x32 cd-rom and specified this kernel and initrd in my guest config in /etc/xen on Dom 0. Then I successfully finished the guest installation using HTTP method. I reached the end where I was asked to reboot after installation completes.
 
> So how do you try to start the guest after installation? "xm 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 in 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 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 OpenSUSE 11.1 and I forgot to check this. Later in the day I will use yast to check the SELinux and apparmor settings.
 
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@xxxxxxxxxxx


-----Original Message-----
From: Pasi Kärkkäinen <pasik@xxxxxx>
To: Teo En Ming <enming.teo@xxxxxxxxxxxxxxx>
Cc: Sander Eikelenboom <linux@xxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Date: Thu, 23 Jul 2009 23:24:55 +0300
Subject: Re: Re[8]: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel

On Fri, 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 32-bit guest, but
> after guest installation completes, the guest won't start using pygrub or
> pv_grub.
>

How do you install the guest?

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

So how do you try to start the guest after installation? "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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>