xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* How to install Xen on Fedora 23?
       [not found] <2050184546.2011904.1461682821700.JavaMail.yahoo.ref@mail.yahoo.com>
@ 2016-04-26 15:00 ` Jason Long
  2016-04-27  4:33   ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 7+ messages in thread
From: Jason Long @ 2016-04-26 15:00 UTC (permalink / raw)
  To: Xen-devel, xen-users

Hello.
I installed Fedora 23 x64 on my PC and id below command for installing Xen :

# cd /etc/yum.repos.d/
# wget http://fedorapeople.org/groups/virt/...t-preview.repo
# yum update
# yum -y install xen xen-hypervisor xen-libs xen-runtime
# systemctl enable xend.service
# systemctl enable xendomains.service

After it I run below command :

# grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2
Fedora (4.4.7-300.fc23.i686) 23 (Workstation Edition)
Fedora (4.2.3-300.fc23.i686) 23 (Workstation Edition)
Fedora (0-rescue-204e260309794cee901bd6e0b46ace3a) 23 (Workstation Edition)

But, I can't see any "Fedora, with Xen hypervisor" !!! and when I run "xl info" it show me below error :

# xl info
xc: error: Could not obtain handle on privileged command interface (2 = No such file or directory): Internal error
libxl: error: libxl.c:114:libxl_ctx_alloc: cannot open libxc handle: No such file or directory
cannot init xl context

How can I solve it?

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to install Xen on Fedora 23?
  2016-04-26 15:00 ` How to install Xen on Fedora 23? Jason Long
@ 2016-04-27  4:33   ` Konrad Rzeszutek Wilk
  2016-04-27  5:23     ` [Xen-users] " Jason Long
  0 siblings, 1 reply; 7+ messages in thread
From: Konrad Rzeszutek Wilk @ 2016-04-27  4:33 UTC (permalink / raw)
  To: Jason Long; +Cc: Xen-devel, xen-users

On Tue, Apr 26, 2016 at 03:00:21PM +0000, Jason Long wrote:
> Hello.
> I installed Fedora 23 x64 on my PC and id below command for installing Xen :
> 
> # cd /etc/yum.repos.d/
> # wget http://fedorapeople.org/groups/virt/...t-preview.repo

Why? No need for that.
> # yum update
> # yum -y install xen xen-hypervisor xen-libs xen-runtime
> # systemctl enable xend.service
> # systemctl enable xendomains.service
> 
> After it I run below command :

You are missing 'grub2-mkconfig -o /boot/grub2/grub.cfg'

> 
> # grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2

> Fedora (4.4.7-300.fc23.i686) 23 (Workstation Edition)
> Fedora (4.2.3-300.fc23.i686) 23 (Workstation Edition)
> Fedora (0-rescue-204e260309794cee901bd6e0b46ace3a) 23 (Workstation Edition)
> 
> But, I can't see any "Fedora, with Xen hypervisor" !!! and when I run "xl info" it show me below error :
> 
> # xl info
> xc: error: Could not obtain handle on privileged command interface (2 = No such file or directory): Internal error
> libxl: error: libxl.c:114:libxl_ctx_alloc: cannot open libxc handle: No such file or directory
> cannot init xl context
> 
> How can I solve it?
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xen-users]  How to install Xen on Fedora 23?
  2016-04-27  4:33   ` Konrad Rzeszutek Wilk
@ 2016-04-27  5:23     ` Jason Long
  2016-04-27  5:50       ` Jason Long
  0 siblings, 1 reply; 7+ messages in thread
From: Jason Long @ 2016-04-27  5:23 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: Xen-devel, xen-users

Not matter.
I did it too :

# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.7-300.fc23.i686
Found initrd image: /boot/initramfs-4.4.7-300.fc23.i686.img
Found linux image: /boot/vmlinuz-4.2.3-300.fc23.i686
Found initrd image: /boot/initramfs-4.2.3-300.fc23.i686.img
Found linux image: /boot/vmlinuz-0-rescue-204e260309794cee901bd6e0b46ace3a
Found initrd image: /boot/initramfs-0-rescue-204e260309794cee901bd6e0b46ace3a.img
done


Problem not solved :(



On Wednesday, April 27, 2016 9:06 AM, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
On Tue, Apr 26, 2016 at 03:00:21PM +0000, Jason Long wrote:
> Hello.
> I installed Fedora 23 x64 on my PC and id below command for installing Xen :
> 
> # cd /etc/yum.repos.d/
> # wget http://fedorapeople.org/groups/virt/...t-preview.repo

Why? No need for that.
> # yum update
> # yum -y install xen xen-hypervisor xen-libs xen-runtime
> # systemctl enable xend.service
> # systemctl enable xendomains.service
> 
> After it I run below command :

You are missing 'grub2-mkconfig -o /boot/grub2/grub.cfg'


> 
> # grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2

> Fedora (4.4.7-300.fc23.i686) 23 (Workstation Edition)
> Fedora (4.2.3-300.fc23.i686) 23 (Workstation Edition)
> Fedora (0-rescue-204e260309794cee901bd6e0b46ace3a) 23 (Workstation Edition)
> 
> But, I can't see any "Fedora, with Xen hypervisor" !!! and when I run "xl info" it show me below error :
> 
> # xl info
> xc: error: Could not obtain handle on privileged command interface (2 = No such file or directory): Internal error
> libxl: error: libxl.c:114:libxl_ctx_alloc: cannot open libxc handle: No such file or directory
> cannot init xl context
> 
> How can I solve it?
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users 

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xen-users]  How to install Xen on Fedora 23?
  2016-04-27  5:23     ` [Xen-users] " Jason Long
@ 2016-04-27  5:50       ` Jason Long
  2016-04-28 18:49         ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 7+ messages in thread
From: Jason Long @ 2016-04-27  5:50 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: Xen-devel, xen-users

Can it work on Workstation version too? Or just server version of fedora needed?



On Wednesday, April 27, 2016 9:53 AM, Jason Long <hack3rcon@yahoo.com> wrote:
Not matter.
I did it too :

# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.7-300.fc23.i686
Found initrd image: /boot/initramfs-4.4.7-300.fc23.i686.img
Found linux image: /boot/vmlinuz-4.2.3-300.fc23.i686
Found initrd image: /boot/initramfs-4.2.3-300.fc23.i686.img
Found linux image: /boot/vmlinuz-0-rescue-204e260309794cee901bd6e0b46ace3a
Found initrd image: /boot/initramfs-0-rescue-204e260309794cee901bd6e0b46ace3a.img
done


Problem not solved :(




On Wednesday, April 27, 2016 9:06 AM, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
On Tue, Apr 26, 2016 at 03:00:21PM +0000, Jason Long wrote:
> Hello.
> I installed Fedora 23 x64 on my PC and id below command for installing Xen :
> 
> # cd /etc/yum.repos.d/
> # wget http://fedorapeople.org/groups/virt/...t-preview.repo

Why? No need for that.
> # yum update
> # yum -y install xen xen-hypervisor xen-libs xen-runtime
> # systemctl enable xend.service
> # systemctl enable xendomains.service
> 
> After it I run below command :

You are missing 'grub2-mkconfig -o /boot/grub2/grub.cfg'


> 
> # grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2

> Fedora (4.4.7-300.fc23.i686) 23 (Workstation Edition)
> Fedora (4.2.3-300.fc23.i686) 23 (Workstation Edition)
> Fedora (0-rescue-204e260309794cee901bd6e0b46ace3a) 23 (Workstation Edition)
> 
> But, I can't see any "Fedora, with Xen hypervisor" !!! and when I run "xl info" it show me below error :
> 
> # xl info
> xc: error: Could not obtain handle on privileged command interface (2 = No such file or directory): Internal error
> libxl: error: libxl.c:114:libxl_ctx_alloc: cannot open libxc handle: No such file or directory
> cannot init xl context
> 
> How can I solve it?
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users 

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xen-users]  How to install Xen on Fedora 23?
  2016-04-27  5:50       ` Jason Long
@ 2016-04-28 18:49         ` Konrad Rzeszutek Wilk
  2016-05-01  6:56           ` Jason Long
  0 siblings, 1 reply; 7+ messages in thread
From: Konrad Rzeszutek Wilk @ 2016-04-28 18:49 UTC (permalink / raw)
  To: Jason Long; +Cc: Xen-devel, xen-users

On Wed, Apr 27, 2016 at 05:50:56AM +0000, Jason Long wrote:
> Can it work on Workstation version too? Or just server version of fedora needed?

I do it under workstation.


> 
> 
> 
> On Wednesday, April 27, 2016 9:53 AM, Jason Long <hack3rcon@yahoo.com> wrote:
> Not matter.
> I did it too :
> 
> # grub2-mkconfig -o /boot/grub2/grub.cfg
> Generating grub configuration file ...
> Found linux image: /boot/vmlinuz-4.4.7-300.fc23.i686
> Found initrd image: /boot/initramfs-4.4.7-300.fc23.i686.img
> Found linux image: /boot/vmlinuz-4.2.3-300.fc23.i686
> Found initrd image: /boot/initramfs-4.2.3-300.fc23.i686.img
> Found linux image: /boot/vmlinuz-0-rescue-204e260309794cee901bd6e0b46ace3a
> Found initrd image: /boot/initramfs-0-rescue-204e260309794cee901bd6e0b46ace3a.img
> done
> 
> 
> Problem not solved :(

Weird.

Oh wait, i686?!? I don't think the Xen RPM is even present for that?


> 
> 
> 
> 
> On Wednesday, April 27, 2016 9:06 AM, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
> On Tue, Apr 26, 2016 at 03:00:21PM +0000, Jason Long wrote:
> > Hello.
> > I installed Fedora 23 x64 on my PC and id below command for installing Xen :
> > 
> > # cd /etc/yum.repos.d/
> > # wget http://fedorapeople.org/groups/virt/...t-preview.repo
> 
> Why? No need for that.
> > # yum update
> > # yum -y install xen xen-hypervisor xen-libs xen-runtime
> > # systemctl enable xend.service
> > # systemctl enable xendomains.service
> > 
> > After it I run below command :
> 
> You are missing 'grub2-mkconfig -o /boot/grub2/grub.cfg'
> 
> 
> > 
> > # grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2
> 
> > Fedora (4.4.7-300.fc23.i686) 23 (Workstation Edition)
> > Fedora (4.2.3-300.fc23.i686) 23 (Workstation Edition)
> > Fedora (0-rescue-204e260309794cee901bd6e0b46ace3a) 23 (Workstation Edition)
> > 
> > But, I can't see any "Fedora, with Xen hypervisor" !!! and when I run "xl info" it show me below error :
> > 
> > # xl info
> > xc: error: Could not obtain handle on privileged command interface (2 = No such file or directory): Internal error
> > libxl: error: libxl.c:114:libxl_ctx_alloc: cannot open libxc handle: No such file or directory
> > cannot init xl context
> > 
> > How can I solve it?
> > 
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xen.org
> > http://lists.xen.org/xen-devel
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xen.org
> http://lists.xen.org/xen-users 

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xen-users]  How to install Xen on Fedora 23?
  2016-04-28 18:49         ` Konrad Rzeszutek Wilk
@ 2016-05-01  6:56           ` Jason Long
  2016-05-02  0:40             ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 7+ messages in thread
From: Jason Long @ 2016-05-01  6:56 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: Xen-devel, xen-users

I used Fedora Server edition with enable "Headless Virtualization" and problem Solved.

Thank you.



On Friday, April 29, 2016 12:20 AM, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
On Wed, Apr 27, 2016 at 05:50:56AM +0000, Jason Long wrote:
> Can it work on Workstation version too? Or just server version of fedora needed?

I do it under workstation.


> 
> 
> 
> On Wednesday, April 27, 2016 9:53 AM, Jason Long <hack3rcon@yahoo.com> wrote:
> Not matter.
> I did it too :
> 
> # grub2-mkconfig -o /boot/grub2/grub.cfg
> Generating grub configuration file ...
> Found linux image: /boot/vmlinuz-4.4.7-300.fc23.i686
> Found initrd image: /boot/initramfs-4.4.7-300.fc23.i686.img
> Found linux image: /boot/vmlinuz-4.2.3-300.fc23.i686
> Found initrd image: /boot/initramfs-4.2.3-300.fc23.i686.img
> Found linux image: /boot/vmlinuz-0-rescue-204e260309794cee901bd6e0b46ace3a
> Found initrd image: /boot/initramfs-0-rescue-204e260309794cee901bd6e0b46ace3a.img
> done
> 
> 
> Problem not solved :(

Weird.

Oh wait, i686?!? I don't think the Xen RPM is even present for that?


> 
> 
> 
> 
> On Wednesday, April 27, 2016 9:06 AM, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
> On Tue, Apr 26, 2016 at 03:00:21PM +0000, Jason Long wrote:
> > Hello.
> > I installed Fedora 23 x64 on my PC and id below command for installing Xen :
> > 
> > # cd /etc/yum.repos.d/
> > # wget http://fedorapeople.org/groups/virt/...t-preview.repo
> 
> Why? No need for that.
> > # yum update
> > # yum -y install xen xen-hypervisor xen-libs xen-runtime
> > # systemctl enable xend.service
> > # systemctl enable xendomains.service
> > 
> > After it I run below command :
> 
> You are missing 'grub2-mkconfig -o /boot/grub2/grub.cfg'
> 
> 
> > 
> > # grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2
> 
> > Fedora (4.4.7-300.fc23.i686) 23 (Workstation Edition)
> > Fedora (4.2.3-300.fc23.i686) 23 (Workstation Edition)
> > Fedora (0-rescue-204e260309794cee901bd6e0b46ace3a) 23 (Workstation Edition)
> > 
> > But, I can't see any "Fedora, with Xen hypervisor" !!! and when I run "xl info" it show me below error :
> > 
> > # xl info
> > xc: error: Could not obtain handle on privileged command interface (2 = No such file or directory): Internal error
> > libxl: error: libxl.c:114:libxl_ctx_alloc: cannot open libxc handle: No such file or directory
> > cannot init xl context
> > 
> > How can I solve it?
> > 
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xen.org
> > http://lists.xen.org/xen-devel
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xen.org
> http://lists.xen.org/xen-users 


_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xen-users]  How to install Xen on Fedora 23?
  2016-05-01  6:56           ` Jason Long
@ 2016-05-02  0:40             ` Konrad Rzeszutek Wilk
  0 siblings, 0 replies; 7+ messages in thread
From: Konrad Rzeszutek Wilk @ 2016-05-02  0:40 UTC (permalink / raw)
  To: Jason Long; +Cc: Xen-devel, xen-users

On Sun, May 01, 2016 at 06:56:13AM +0000, Jason Long wrote:
> I used Fedora Server edition with enable "Headless Virtualization" and problem Solved.
> 

OK, so you re-installed. Good. The problem is that you had the i686
instead of the i686-PAE (or x86_64). The i686 is a kernel built for
machines with less than 1GB of memory and does not support Xen.

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-05-02  0:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <2050184546.2011904.1461682821700.JavaMail.yahoo.ref@mail.yahoo.com>
2016-04-26 15:00 ` How to install Xen on Fedora 23? Jason Long
2016-04-27  4:33   ` Konrad Rzeszutek Wilk
2016-04-27  5:23     ` [Xen-users] " Jason Long
2016-04-27  5:50       ` Jason Long
2016-04-28 18:49         ` Konrad Rzeszutek Wilk
2016-05-01  6:56           ` Jason Long
2016-05-02  0:40             ` Konrad Rzeszutek Wilk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).