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