All of lore.kernel.org
 help / color / mirror / Atom feed
* xen client installation question
@ 2009-04-16  8:38 Jun Koi
  2009-04-16  8:51 ` Jean Guyader
  0 siblings, 1 reply; 9+ messages in thread
From: Jun Koi @ 2009-04-16  8:38 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

Hi,

I am trying to install XCI. To my horrified, it tries to download and
compile a lot of softwares, like binutils and even gcc 4.2.4. Is there
any good idea to do that??

The problem is that binutils itself has some code not tested on gcc
4.3 on Ubuntu 8.10, and the compilation fails!

Thanks,
Jun

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: xen client installation question
  2009-04-16  8:38 xen client installation question Jun Koi
@ 2009-04-16  8:51 ` Jean Guyader
  2009-04-16 10:54   ` Jun Koi
  2009-04-16 10:56   ` Jun Koi
  0 siblings, 2 replies; 9+ messages in thread
From: Jean Guyader @ 2009-04-16  8:51 UTC (permalink / raw)
  To: Jun Koi; +Cc: xen-devel@lists.xensource.com

2009/4/16 Jun Koi <junkoi2004@gmail.com>:
> Hi,
>
> I am trying to install XCI. To my horrified, it tries to download and
> compile a lot of softwares, like binutils and even gcc 4.2.4. Is there
> any good idea to do that??
>
> The problem is that binutils itself has some code not tested on gcc
> 4.3 on Ubuntu 8.10, and the compilation fails!
>

Hi,

For xenclient we are using buildroot which is based on busybox + uclibc.
Because we use another libc we have to cross compiled environment, that why we
compile binutils and gcc.

If it doesn't work with ubuntu you can still create a debian chroot.

Thanks,

-- 
Jean Guyader

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: xen client installation question
  2009-04-16  8:51 ` Jean Guyader
@ 2009-04-16 10:54   ` Jun Koi
  2009-04-16 11:06     ` Jean Guyader
  2009-04-16 11:16     ` Vincent Hanquez
  2009-04-16 10:56   ` Jun Koi
  1 sibling, 2 replies; 9+ messages in thread
From: Jun Koi @ 2009-04-16 10:54 UTC (permalink / raw)
  To: Jean Guyader; +Cc: xen-devel@lists.xensource.com

On Thu, Apr 16, 2009 at 5:51 PM, Jean Guyader <jean.guyader@gmail.com> wrote:
> 2009/4/16 Jun Koi <junkoi2004@gmail.com>:
>> Hi,
>>
>> I am trying to install XCI. To my horrified, it tries to download and
>> compile a lot of softwares, like binutils and even gcc 4.2.4. Is there
>> any good idea to do that??
>>
>> The problem is that binutils itself has some code not tested on gcc
>> 4.3 on Ubuntu 8.10, and the compilation fails!
>>
>
> Hi,
>
> For xenclient we are using buildroot which is based on busybox + uclibc.
> Because we use another libc we have to cross compiled environment, that why we
> compile binutils and gcc.
>
> If it doesn't work with ubuntu you can still create a debian chroot.

Could you explain how to "create a debian chroot" to avoid my
compilation problem?

It is not hard to fix the bugs of binutils, but I want to avoid
messing with that if possible.

Thank you,
Jun

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: xen client installation question
  2009-04-16  8:51 ` Jean Guyader
  2009-04-16 10:54   ` Jun Koi
@ 2009-04-16 10:56   ` Jun Koi
  2009-04-16 11:07     ` Jean Guyader
  2009-04-16 11:26     ` Vincent Hanquez
  1 sibling, 2 replies; 9+ messages in thread
From: Jun Koi @ 2009-04-16 10:56 UTC (permalink / raw)
  To: Jean Guyader; +Cc: xen-devel@lists.xensource.com

On Thu, Apr 16, 2009 at 5:51 PM, Jean Guyader <jean.guyader@gmail.com> wrote:
> 2009/4/16 Jun Koi <junkoi2004@gmail.com>:
>> Hi,
>>
>> I am trying to install XCI. To my horrified, it tries to download and
>> compile a lot of softwares, like binutils and even gcc 4.2.4. Is there
>> any good idea to do that??
>>
>> The problem is that binutils itself has some code not tested on gcc
>> 4.3 on Ubuntu 8.10, and the compilation fails!
>>
>
> Hi,
>
> For xenclient we are using buildroot which is based on busybox + uclibc.
> Because we use another libc we have to cross compiled environment, that why we
> compile binutils and gcc.

And could you explain why we have to use buildroot, and what is the
benefit of using busybox+uclibc?

Thanks,
J

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: xen client installation question
  2009-04-16 10:54   ` Jun Koi
@ 2009-04-16 11:06     ` Jean Guyader
  2009-04-16 11:16     ` Vincent Hanquez
  1 sibling, 0 replies; 9+ messages in thread
From: Jean Guyader @ 2009-04-16 11:06 UTC (permalink / raw)
  To: Jun Koi; +Cc: xen-devel@lists.xensource.com

2009/4/16 Jun Koi <junkoi2004@gmail.com>:
> On Thu, Apr 16, 2009 at 5:51 PM, Jean Guyader <jean.guyader@gmail.com> wrote:
>> 2009/4/16 Jun Koi <junkoi2004@gmail.com>:
>>> Hi,
>>>
>>> I am trying to install XCI. To my horrified, it tries to download and
>>> compile a lot of softwares, like binutils and even gcc 4.2.4. Is there
>>> any good idea to do that??
>>>
>>> The problem is that binutils itself has some code not tested on gcc
>>> 4.3 on Ubuntu 8.10, and the compilation fails!
>>>
>>
>> Hi,
>>
>> For xenclient we are using buildroot which is based on busybox + uclibc.
>> Because we use another libc we have to cross compiled environment, that why we
>> compile binutils and gcc.
>>
>> If it doesn't work with ubuntu you can still create a debian chroot.
>
> Could you explain how to "create a debian chroot" to avoid my
> compilation problem?
>
> It is not hard to fix the bugs of binutils, but I want to avoid
> messing with that if possible.
>

You said the issue was coming from your gcc version.
I know that the build works under debian, that why it will help.

Thanks,
-- 
Jean Guyader

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: xen client installation question
  2009-04-16 10:56   ` Jun Koi
@ 2009-04-16 11:07     ` Jean Guyader
  2009-04-16 11:26     ` Vincent Hanquez
  1 sibling, 0 replies; 9+ messages in thread
From: Jean Guyader @ 2009-04-16 11:07 UTC (permalink / raw)
  To: Jun Koi; +Cc: xen-devel@lists.xensource.com

2009/4/16 Jun Koi <junkoi2004@gmail.com>:
> On Thu, Apr 16, 2009 at 5:51 PM, Jean Guyader <jean.guyader@gmail.com> wrote:
>> 2009/4/16 Jun Koi <junkoi2004@gmail.com>:
>>> Hi,
>>>
>>> I am trying to install XCI. To my horrified, it tries to download and
>>> compile a lot of softwares, like binutils and even gcc 4.2.4. Is there
>>> any good idea to do that??
>>>
>>> The problem is that binutils itself has some code not tested on gcc
>>> 4.3 on Ubuntu 8.10, and the compilation fails!
>>>
>>
>> Hi,
>>
>> For xenclient we are using buildroot which is based on busybox + uclibc.
>> Because we use another libc we have to cross compiled environment, that why we
>> compile binutils and gcc.
>
> And could you explain why we have to use buildroot, and what is the
> benefit of using busybox+uclibc?
>

We wanted to have a very small and self contain dom0 (less than 30MB).
I only way to reach that was to use busybox and uclibc. There is also
newlib out there, but the buildroot project provide a build system
that we can use directly.

-- 
Jean Guyader

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: xen client installation question
  2009-04-16 10:54   ` Jun Koi
  2009-04-16 11:06     ` Jean Guyader
@ 2009-04-16 11:16     ` Vincent Hanquez
  1 sibling, 0 replies; 9+ messages in thread
From: Vincent Hanquez @ 2009-04-16 11:16 UTC (permalink / raw)
  To: Jun Koi; +Cc: xen-devel@lists.xensource.com, Jean Guyader

Jun Koi wrote:
> Could you explain how to "create a debian chroot" to avoid my
> compilation problem?
more generally, if you build environment doesn't work:

- you can use a debian lenny/squeeze VM to do your build.
- you can create a debian lenny/squeeze chroot. i suggest, if you don't 
know how already, to have a look at: 
https://wiki.ubuntu.com/DebootstrapChroot
- send us patches to make our build system more friendly to other 
distributions. we certainly wish to have the system work everywhere 
(within reason), but lack some time to do that.

Cheers,
-- 
Vincent

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: xen client installation question
  2009-04-16 10:56   ` Jun Koi
  2009-04-16 11:07     ` Jean Guyader
@ 2009-04-16 11:26     ` Vincent Hanquez
  2009-04-27  7:14       ` Jun Koi
  1 sibling, 1 reply; 9+ messages in thread
From: Vincent Hanquez @ 2009-04-16 11:26 UTC (permalink / raw)
  To: Jun Koi; +Cc: xen-devel@lists.xensource.com, Jean Guyader

Jun Koi wrote:
> On Thu, Apr 16, 2009 at 5:51 PM, Jean Guyader <jean.guyader@gmail.com> wrote:
>   
>
> And could you explain why we have to use buildroot, and what is the
> benefit of using busybox+uclibc?
>   
as Jean was saying, this is mostly related to the size of the output. 
and also to be in a control environment in dom0, so we don't depend of 
different udev scripts or something like that.

also, using a proper build system, make the build system consistent 
across all users, and prevent to have random problems because
<random distributions> use <random software> of <random version> but we 
support only <other random version>.

Note that you should be able to compile most of the trees (kernel, 
toolstack, ...) by yourself on any distribution, if you install 
everything that's necessary.
but it won't be as easy and guaranteed to work as inside of our build.

-- 
Vincent

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: xen client installation question
  2009-04-16 11:26     ` Vincent Hanquez
@ 2009-04-27  7:14       ` Jun Koi
  0 siblings, 0 replies; 9+ messages in thread
From: Jun Koi @ 2009-04-27  7:14 UTC (permalink / raw)
  To: Vincent Hanquez; +Cc: xen-devel@lists.xensource.com, Jean Guyader

Hi,

I temporarily switched to Ubuntu 5.01, and succesuflly built XCI.

The HOWTO instructs to install the rootfs, then reboot the machine.
But what is the next step after that?? I suppose that after that, we
can boot Xen from the newly created rootfs??


BTW, I found that in the below step in HOWTO:

....
4 - Copy the rootfs inside the root LV:
  $ bzip2 -d rootfs.i686.ext2.bz2
  $ dd if=rootfs.i686.ext2 of=/dev/xenclient/root
    (or alternately a remote push)
  $ dd if=rootfs.i686.ext2 | ssh root@target "dd of=/dev/xenclient/root"
....

The step "$ bzip2 -d rootfs.i686.ext2.bz2" not necessary, because we
already have rootfs.i686.ext2 inside binaries/xenclient/. So we can
remove that line.

Thanks,
J

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-04-27  7:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-16  8:38 xen client installation question Jun Koi
2009-04-16  8:51 ` Jean Guyader
2009-04-16 10:54   ` Jun Koi
2009-04-16 11:06     ` Jean Guyader
2009-04-16 11:16     ` Vincent Hanquez
2009-04-16 10:56   ` Jun Koi
2009-04-16 11:07     ` Jean Guyader
2009-04-16 11:26     ` Vincent Hanquez
2009-04-27  7:14       ` Jun Koi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.