On Sunday, March 23, 2014 07:53:22 AM Facundo Curti wrote:
> Hi list! :) First at all, I apologize if my english is not perfect,
> I know i'm not the only non-english speak on list, but I apologize any
> way jeje :P
> 
> I'm trying to install XEN for first time on my gentoo desktop machine.
> my hardware specs to take into consideration are:
>     i7 proccessor - 4GB ram
>     SDD disk parted using GPT
>     EFI mother. But also supports boot like BIOS.
> 
> I'm following the guide from wiki for firsts steeps [1], but having in
> consideration the xen doc [2] and arch wiki [3].
> 
> The question is that I'm having 2 problems :/
> 
> First: I installed xen, and xen-tools. But I don't know why now I cant
> recompile xen-tools ._. The output is [tmp1]. I just can see a "econf
> failed", but I cant find how to fix it. My
> emerge --info '=app-emulation/xen-tools-4.3.1-r5::gentoo' is [tmp2]
> emerge -pqv '=app-emulation/xen-tools-4.3.1-r5::gentoo' is [tmp3]
> /var/tmp/portage/app-emulation/xen-tools-4.3.1-r5/temp/build.log [tmp4]
> /var/tmp/portage/app-emulation/xen-tools-4.3.1-r5/temp/environment[tmp5]

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

> But really, this is my minor problem :/ XEN does not work at all :P
> 
> I re-emerged all my system with emerge -e world, compiled my kernel,
> and configured grub. The system looks like starts with XEN. (When I
> boot the system, shows something about XEN that I cant read, and next
> starts loading the kernel).
> 
> Once in the system, I try to make a xm list, xm show and also I try to
> execute xend from a console. But every one says:
> 
> Traceback (most recent call last):
>   File "/usr/sbin/xend", line 36, in <module>
>     from xen.xend.server import SrvDaemon
> ImportError: No module named xen.xend.server
> 
> Looks like XEN can't find the modules, but I cant find where XEN stores
> it :/ I made a
>   find / xen.xend

Please use the " xl"  command set. " xm" is 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.

> and this give me 0 results. maybe this wasn't installed?
> 
> 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")                      

--
Joost

Reply via email to