1 |
On Sunday, March 23, 2014 07:53:22 AM Facundo Curti wrote: |
2 |
> Hi list! :) First at all, I apologize if my english is not perfect, |
3 |
> I know i'm not the only non-english speak on list, but I apologize any |
4 |
> way jeje :P |
5 |
> |
6 |
> I'm trying to install XEN for first time on my gentoo desktop machine. |
7 |
> my hardware specs to take into consideration are: |
8 |
> i7 proccessor - 4GB ram |
9 |
> SDD disk parted using GPT |
10 |
> EFI mother. But also supports boot like BIOS. |
11 |
> |
12 |
> I'm following the guide from wiki for firsts steeps [1], but having in |
13 |
> consideration the xen doc [2] and arch wiki [3]. |
14 |
> |
15 |
> The question is that I'm having 2 problems :/ |
16 |
> |
17 |
> First: I installed xen, and xen-tools. But I don't know why now I cant |
18 |
> recompile xen-tools ._. The output is [tmp1]. I just can see a "econf |
19 |
> failed", but I cant find how to fix it. My |
20 |
> emerge --info '=app-emulation/xen-tools-4.3.1-r5::gentoo' is [tmp2] |
21 |
> emerge -pqv '=app-emulation/xen-tools-4.3.1-r5::gentoo' is [tmp3] |
22 |
> /var/tmp/portage/app-emulation/xen-tools-4.3.1-r5/temp/build.log [tmp4] |
23 |
> /var/tmp/portage/app-emulation/xen-tools-4.3.1-r5/temp/environment[tmp5] |
24 |
|
25 |
I see this in "tmp": |
26 |
***** |
27 |
checking whether the C compiler works... no |
28 |
configure: error: in `/var/tmp/portage/app-emulation/xen-tools-4.3.1- |
29 |
r5/work/xen-4.3.1/tools': |
30 |
configure: error: C compiler cannot create executables |
31 |
****** |
32 |
|
33 |
Please fix your C-compiler. What does the following command return? |
34 |
# gcc-config -L |
35 |
|
36 |
> But really, this is my minor problem :/ XEN does not work at all :P |
37 |
> |
38 |
> I re-emerged all my system with emerge -e world, compiled my kernel, |
39 |
> and configured grub. The system looks like starts with XEN. (When I |
40 |
> boot the system, shows something about XEN that I cant read, and next |
41 |
> starts loading the kernel). |
42 |
> |
43 |
> Once in the system, I try to make a xm list, xm show and also I try to |
44 |
> execute xend from a console. But every one says: |
45 |
> |
46 |
> Traceback (most recent call last): |
47 |
> File "/usr/sbin/xend", line 36, in <module> |
48 |
> from xen.xend.server import SrvDaemon |
49 |
> ImportError: No module named xen.xend.server |
50 |
> |
51 |
> Looks like XEN can't find the modules, but I cant find where XEN stores |
52 |
> it :/ I made a |
53 |
> find / xen.xend |
54 |
|
55 |
Please use the " xl" command set. " xm" is deprecated. |
56 |
|
57 |
Please also ensure you start the xen services: |
58 |
# /etc/init.d/xencommons start |
59 |
# /etc/init.d/xenstored start |
60 |
# /etc/init.d/xenconsoled start |
61 |
|
62 |
before trying the xl commands. |
63 |
|
64 |
> and this give me 0 results. maybe this wasn't installed? |
65 |
> |
66 |
> My .config from kernel is [configKernel] and my [grub.cfg] |
67 |
|
68 |
I will check those if the above didn't solve it. |
69 |
|
70 |
I have the following installed on my server: |
71 |
[I] app-emulation/xen |
72 |
Installed versions: 4.3.1-r5^t{tbz2}(12:09:22 PM 02/21/2014) |
73 |
(efi -custom-cflags -debug -flask -xsm) |
74 |
|
75 |
[I] app-emulation/xen-tools |
76 |
Installed versions: 4.3.1-r5^t{tbz2}(12:14:51 PM 02/21/2014) |
77 |
(api hvm pam qemu screen -custom-cflags -debug -doc -flask -ocaml -pygrub - |
78 |
python -static-libs -xend |
79 |
PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 - |
80 |
python2_6") |
81 |
|
82 |
-- |
83 |
Joost |