1 |
2014-03-23 9:35 GMT-03:00 J. Roeleveld <joost@××××××××.org>: |
2 |
> On Sunday, March 23, 2014 05:47:53 PM Nilesh Govindrajan wrote: |
3 |
>> I'm not meaning to hijack this thread, but isn't KVM a better option? The |
4 |
>> difference between Xen and KVM is tiny I think, no? |
5 |
|
6 |
What I see on web, is that XEN uses paravirtualization. If you have |
7 |
the correct hardware (like i have), XEN have better perfonmance. My |
8 |
intel i7 have virtualization instructions. See [1][2] y [3] |
9 |
|
10 |
I'm new in virtualization, i'm doing this for a desktop machine. Just |
11 |
for learn. Instead of use VirtualBOX or VMware, I'm installing XEN. |
12 |
Best perfonmance, and I can learn in the process. |
13 |
|
14 |
|
15 |
2014-03-23 9:14 GMT-03:00 J. Roeleveld <joost@××××××××.org>: |
16 |
> |
17 |
> I see this in "tmp": |
18 |
> ***** |
19 |
> checking whether the C compiler works... no |
20 |
> configure: error: in `/var/tmp/portage/app-emulation/xen-tools-4.3.1- |
21 |
> r5/work/xen-4.3.1/tools': |
22 |
> configure: error: C compiler cannot create executables |
23 |
> ****** |
24 |
> |
25 |
> Please fix your C-compiler. What does the following command return? |
26 |
> # gcc-config -L |
27 |
> |
28 |
|
29 |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3:/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32 |
30 |
|
31 |
> Please use the " xl" command set. " xm" is deprecated. |
32 |
> |
33 |
:O I didn't know it was deprecated. |
34 |
|
35 |
> Please also ensure you start the xen services: |
36 |
> # /etc/init.d/xencommons start |
37 |
> # /etc/init.d/xenstored start |
38 |
> # /etc/init.d/xenconsoled start |
39 |
> |
40 |
> before trying the xl commands. |
41 |
> |
42 |
I'm using systemd, so I tried to start this way: |
43 |
systemctl enable xencommons |
44 |
systemctl enable xenstored |
45 |
systemctl enable xencosnsoled |
46 |
And none exists :P (No such file or directory) |
47 |
|
48 |
Instead, if I make it with /etc/init.d/xenstored start |
49 |
it says: |
50 |
WARNING: xenstored is already starting |
51 |
(the same with xencommons and xenconsoled) |
52 |
|
53 |
So, I try do xl list, and says: |
54 |
|
55 |
libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running? |
56 |
failed to stat /var/run/xenstored.pid: No such file or directory |
57 |
cannot init xl context |
58 |
|
59 |
The correct way is start it from systemd? Or through /etc/init.d ? |
60 |
|
61 |
>> My .config from kernel is [configKernel] and my [grub.cfg] |
62 |
> |
63 |
> I will check those if the above didn't solve it. |
64 |
> |
65 |
> I have the following installed on my server: |
66 |
> [I] app-emulation/xen |
67 |
> Installed versions: 4.3.1-r5^t{tbz2}(12:09:22 PM 02/21/2014) |
68 |
> (efi -custom-cflags -debug -flask -xsm) |
69 |
> |
70 |
> [I] app-emulation/xen-tools |
71 |
> Installed versions: 4.3.1-r5^t{tbz2}(12:14:51 PM 02/21/2014) |
72 |
> (api hvm pam qemu screen -custom-cflags -debug -doc -flask -ocaml -pygrub - |
73 |
> python -static-libs -xend |
74 |
> PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 - |
75 |
> python2_6") |
76 |
I have: |
77 |
|
78 |
o.o. I dont have xen installed. ¿Is that possible? ._. |
79 |
|
80 |
[ebuild N ] app-emulation/xen-4.3.1-r5 USE="efi xsm |
81 |
-custom-cflags -debug -flask" |
82 |
|
83 |
I'm trying to install it but says: |
84 |
|
85 |
!!! copy /var/tmp/portage/app-emulation/xen-4.3.1-r5/image/boot/efi/gentoo/xen-4.3.1.efi |
86 |
-> /boot/efi/gentoo/xen-4.3.1.efi failed. |
87 |
!!! [Errno 28] No space left on device |
88 |
|
89 |
Maybe is because I tried to re-emerge this? o.o |
90 |
|
91 |
> |
92 |
> -- |
93 |
> Joost |
94 |
> |
95 |
|
96 |
Thank you for help! |
97 |
|
98 |
|
99 |
[1] http://www.linux.com/news/enterprise/systems-management/327628-kvm-or-xen-choosing-a-virtualization-platform |
100 |
[2] http://iopscience.iop.org/1742-6596/219/4/042005/pdf/1742-6596_219_4_042005.pdf |
101 |
[3] http://ark.intel.com/es/products/75122/intel-core-i7-4770-processor-8m-cache-up-to-3_90-ghz |