2014-03-23 16:03 GMT-03:00 J. Roeleveld <jo...@antarean.org>:
> On Sun, March 23, 2014 19:26, Facundo Curti wrote:
>> 2014-03-23 9:35 GMT-03:00 J. Roeleveld <jo...@antarean.org>:
>>> On Sunday, March 23, 2014 05:47:53 PM Nilesh Govindrajan wrote:
>>>> I'm not meaning to hijack this thread, but isn't KVM a better option?
>>>> The
>>>> difference between Xen and KVM is tiny I think, no?
>>
>> What I see on web, is that XEN uses paravirtualization. If you have
>> the correct hardware (like i have), XEN have better perfonmance. My
>> intel i7 have virtualization instructions. See [1][2] y [3]
>>
>> I'm new in virtualization, i'm doing this for a desktop machine. Just
>> for learn. Instead of use VirtualBOX or VMware, I'm installing XEN.
>> Best perfonmance, and I can learn in the process.
>
> On desktop, I would recommend something like Virtualbox.
> Xen works best with a minimal host environment on a dedicated machine.

Thank you for advice. I'm reading about so I can take a choice.

>> 2014-03-23 9:14 GMT-03:00 J. Roeleveld <jo...@antarean.org>:
>>>
>>> I see this in "tmp":
>>> *****
>>> checking whether the C compiler works... no
>>> configure: error: in `/var/tmp/portage/app-emulation/xen-tools-4.3.1-
>>> r5/work/xen-4.3.1/tools':
>>> configure: error: C compiler cannot create executables
>>> ******
>>>
>>> Please fix your C-compiler. What does the following command return?
>>> # gcc-config -L
>>>
>>
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3:/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
>
> what about gcc-config -l (sorry, meant lower-case in previous email)
>

 [1] x86_64-pc-linux-gnu-4.7.3 *

>>> Please use the " xl"  command set. " xm" is deprecated.
>>>
>> :O I didn't know it was deprecated.
>>
>>> Please also ensure you start the xen services:
>>> # /etc/init.d/xencommons start
>>> # /etc/init.d/xenstored start
>>> # /etc/init.d/xenconsoled start
>>>
>>> before trying the xl commands.
>>>
>> I'm using systemd, so I tried to start this way:
>>        systemctl enable xencommons
>>        systemctl enable xenstored
>>        systemctl enable xencosnsoled
>> And none exists :P (No such file or directory)
>
> I don't use systemd. You will need to find the correct unit-files for Xen.
> Alternatively, use OpenRC.
>

yep, but I cant find this. Maybe is because XEN is not installed rigth now.

>> Instead, if I make it with /etc/init.d/xenstored start
>> it says:
>> WARNING: xenstored is already starting
>> (the same with xencommons and xenconsoled)
>>
>> So, I try do xl list, and says:
>>
>> libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running?
>> failed to stat /var/run/xenstored.pid: No such file or directory
>> cannot init xl context
>>
>> The correct way is start it from systemd? Or through /etc/init.d ?
>
> Correct way depends on the init-system you are using. Systemd does things
> differently compared to OpenRC.
>
>>>> My .config from kernel is [configKernel] and my [grub.cfg]
>>>
>>> I will check those if the above didn't solve it.
>>>
>>> I have the following installed on my server:
>>> [I] app-emulation/xen
>>>      Installed versions:  4.3.1-r5^t{tbz2}(12:09:22 PM 02/21/2014)
>>> (efi -custom-cflags -debug -flask -xsm)
>>>
>>> [I] app-emulation/xen-tools
>>>   Installed versions:  4.3.1-r5^t{tbz2}(12:14:51 PM 02/21/2014)
>>> (api hvm pam qemu screen -custom-cflags -debug -doc -flask -ocaml
>>> -pygrub -
>>> python -static-libs -xend
>>> PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -
>>> python2_6")
>> I have:
>>
>> o.o. I dont have xen installed. ¿Is that possible? ._.
>
> Yes, xen-tools can be installed seperately.
> You need xen installed to be able to boot with it.
>
I have xen-tools. But I dont have xen.

>> [ebuild  N     ] app-emulation/xen-4.3.1-r5  USE="efi xsm
>> -custom-cflags -debug -flask"
>
>> I'm trying to install it but says:
>>
>> !!! copy
>> /var/tmp/portage/app-emulation/xen-4.3.1-r5/image/boot/efi/gentoo/xen-4.3.1.efi
>> -> /boot/efi/gentoo/xen-4.3.1.efi failed.
>> !!! [Errno 28] No space left on device
>>
>> Maybe is because I tried to re-emerge this? o.o
>
> Actually, you haven't got xen installed yet.
> And the install fails because your EFI-boot partition is full.
> Also, you need to ensure you boot correctly using Xen. The Linux kernel
> should be loaded and started by Xen as the primary domain.
>

Yes. I had xen installed. I booted from grub with it, and XEN loaded
my system. But once inside, I tried to re-emerge. So, XEN was
unistalled, and right now it can't be emerged any more ._.

I didn't shutdown my computer yet, So I still using a kernel XEN, in a domain0.

I dont know why i dont have space on EFI anymore ._. If I installed it
once, why I cant do this twice? ._. I cleaned, on efi, the files from
old install xen.

This is all i have:

/boot/efi:
EFI
tmp

/boot/efi/EFI:
gentoo

/boot/efi/EFI/gentoo:
grubx64.efi

df -h:
/dev/sdb1        2,0M   124K  1,9M   7% /boot/efi

It just have 2MB space, because I do it following the gentoo handbook
that recommends 4MB of space (less 2 from filesystem).

Is that enough space? Any way to fix it Without changing the
partitions? I dont use LVM :/

Thank you for help!

Reply via email to