1 |
2014-03-23 16:03 GMT-03:00 J. Roeleveld <joost@××××××××.org>: |
2 |
> On Sun, March 23, 2014 19:26, Facundo Curti wrote: |
3 |
>> 2014-03-23 9:35 GMT-03:00 J. Roeleveld <joost@××××××××.org>: |
4 |
>>> On Sunday, March 23, 2014 05:47:53 PM Nilesh Govindrajan wrote: |
5 |
>>>> I'm not meaning to hijack this thread, but isn't KVM a better option? |
6 |
>>>> The |
7 |
>>>> difference between Xen and KVM is tiny I think, no? |
8 |
>> |
9 |
>> What I see on web, is that XEN uses paravirtualization. If you have |
10 |
>> the correct hardware (like i have), XEN have better perfonmance. My |
11 |
>> intel i7 have virtualization instructions. See [1][2] y [3] |
12 |
>> |
13 |
>> I'm new in virtualization, i'm doing this for a desktop machine. Just |
14 |
>> for learn. Instead of use VirtualBOX or VMware, I'm installing XEN. |
15 |
>> Best perfonmance, and I can learn in the process. |
16 |
> |
17 |
> On desktop, I would recommend something like Virtualbox. |
18 |
> Xen works best with a minimal host environment on a dedicated machine. |
19 |
|
20 |
Thank you for advice. I'm reading about so I can take a choice. |
21 |
|
22 |
>> 2014-03-23 9:14 GMT-03:00 J. Roeleveld <joost@××××××××.org>: |
23 |
>>> |
24 |
>>> I see this in "tmp": |
25 |
>>> ***** |
26 |
>>> checking whether the C compiler works... no |
27 |
>>> configure: error: in `/var/tmp/portage/app-emulation/xen-tools-4.3.1- |
28 |
>>> r5/work/xen-4.3.1/tools': |
29 |
>>> configure: error: C compiler cannot create executables |
30 |
>>> ****** |
31 |
>>> |
32 |
>>> Please fix your C-compiler. What does the following command return? |
33 |
>>> # gcc-config -L |
34 |
>>> |
35 |
>> |
36 |
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3:/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32 |
37 |
> |
38 |
> what about gcc-config -l (sorry, meant lower-case in previous email) |
39 |
> |
40 |
|
41 |
[1] x86_64-pc-linux-gnu-4.7.3 * |
42 |
|
43 |
>>> Please use the " xl" command set. " xm" is deprecated. |
44 |
>>> |
45 |
>> :O I didn't know it was deprecated. |
46 |
>> |
47 |
>>> Please also ensure you start the xen services: |
48 |
>>> # /etc/init.d/xencommons start |
49 |
>>> # /etc/init.d/xenstored start |
50 |
>>> # /etc/init.d/xenconsoled start |
51 |
>>> |
52 |
>>> before trying the xl commands. |
53 |
>>> |
54 |
>> I'm using systemd, so I tried to start this way: |
55 |
>> systemctl enable xencommons |
56 |
>> systemctl enable xenstored |
57 |
>> systemctl enable xencosnsoled |
58 |
>> And none exists :P (No such file or directory) |
59 |
> |
60 |
> I don't use systemd. You will need to find the correct unit-files for Xen. |
61 |
> Alternatively, use OpenRC. |
62 |
> |
63 |
|
64 |
yep, but I cant find this. Maybe is because XEN is not installed rigth now. |
65 |
|
66 |
>> Instead, if I make it with /etc/init.d/xenstored start |
67 |
>> it says: |
68 |
>> WARNING: xenstored is already starting |
69 |
>> (the same with xencommons and xenconsoled) |
70 |
>> |
71 |
>> So, I try do xl list, and says: |
72 |
>> |
73 |
>> libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running? |
74 |
>> failed to stat /var/run/xenstored.pid: No such file or directory |
75 |
>> cannot init xl context |
76 |
>> |
77 |
>> The correct way is start it from systemd? Or through /etc/init.d ? |
78 |
> |
79 |
> Correct way depends on the init-system you are using. Systemd does things |
80 |
> differently compared to OpenRC. |
81 |
> |
82 |
>>>> My .config from kernel is [configKernel] and my [grub.cfg] |
83 |
>>> |
84 |
>>> I will check those if the above didn't solve it. |
85 |
>>> |
86 |
>>> I have the following installed on my server: |
87 |
>>> [I] app-emulation/xen |
88 |
>>> Installed versions: 4.3.1-r5^t{tbz2}(12:09:22 PM 02/21/2014) |
89 |
>>> (efi -custom-cflags -debug -flask -xsm) |
90 |
>>> |
91 |
>>> [I] app-emulation/xen-tools |
92 |
>>> Installed versions: 4.3.1-r5^t{tbz2}(12:14:51 PM 02/21/2014) |
93 |
>>> (api hvm pam qemu screen -custom-cflags -debug -doc -flask -ocaml |
94 |
>>> -pygrub - |
95 |
>>> python -static-libs -xend |
96 |
>>> PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 - |
97 |
>>> python2_6") |
98 |
>> I have: |
99 |
>> |
100 |
>> o.o. I dont have xen installed. ¿Is that possible? ._. |
101 |
> |
102 |
> Yes, xen-tools can be installed seperately. |
103 |
> You need xen installed to be able to boot with it. |
104 |
> |
105 |
I have xen-tools. But I dont have xen. |
106 |
|
107 |
>> [ebuild N ] app-emulation/xen-4.3.1-r5 USE="efi xsm |
108 |
>> -custom-cflags -debug -flask" |
109 |
> |
110 |
>> I'm trying to install it but says: |
111 |
>> |
112 |
>> !!! copy |
113 |
>> /var/tmp/portage/app-emulation/xen-4.3.1-r5/image/boot/efi/gentoo/xen-4.3.1.efi |
114 |
>> -> /boot/efi/gentoo/xen-4.3.1.efi failed. |
115 |
>> !!! [Errno 28] No space left on device |
116 |
>> |
117 |
>> Maybe is because I tried to re-emerge this? o.o |
118 |
> |
119 |
> Actually, you haven't got xen installed yet. |
120 |
> And the install fails because your EFI-boot partition is full. |
121 |
> Also, you need to ensure you boot correctly using Xen. The Linux kernel |
122 |
> should be loaded and started by Xen as the primary domain. |
123 |
> |
124 |
|
125 |
Yes. I had xen installed. I booted from grub with it, and XEN loaded |
126 |
my system. But once inside, I tried to re-emerge. So, XEN was |
127 |
unistalled, and right now it can't be emerged any more ._. |
128 |
|
129 |
I didn't shutdown my computer yet, So I still using a kernel XEN, in a domain0. |
130 |
|
131 |
I dont know why i dont have space on EFI anymore ._. If I installed it |
132 |
once, why I cant do this twice? ._. I cleaned, on efi, the files from |
133 |
old install xen. |
134 |
|
135 |
This is all i have: |
136 |
|
137 |
/boot/efi: |
138 |
EFI |
139 |
tmp |
140 |
|
141 |
/boot/efi/EFI: |
142 |
gentoo |
143 |
|
144 |
/boot/efi/EFI/gentoo: |
145 |
grubx64.efi |
146 |
|
147 |
df -h: |
148 |
/dev/sdb1 2,0M 124K 1,9M 7% /boot/efi |
149 |
|
150 |
It just have 2MB space, because I do it following the gentoo handbook |
151 |
that recommends 4MB of space (less 2 from filesystem). |
152 |
|
153 |
Is that enough space? Any way to fix it Without changing the |
154 |
partitions? I dont use LVM :/ |
155 |
|
156 |
Thank you for help! |