WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Compile 64 bit hypervisor&kernel on 32bit kernel ?

To: "Stephan Seitz" <s.seitz@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Compile 64 bit hypervisor&kernel on 32bit kernel ?
From: "Emre Erenoglu" <erenoglu@xxxxxxxxx>
Date: Fri, 1 Feb 2008 14:33:26 +0100
Cc: XEN User - listmembers <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 01 Feb 2008 05:34:06 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=oHmM6xEnTc8+3yxE63vtj6vgKIDqHz1WTlh9cxDuWr4=; b=p/G0/LL8IIV1GNzw8fvQf41eTweqTAPNfRqcihEjSKqbOur91jLOHhTk0w+T4gziihcWVVL5m53QrszDuNC1bcklucnbZ/Rge1r1nyOaqQkwEoWwHJeyPNk5QAOg1ca9L94Jr0OFEjacPeVhvQzJkoo7Bgi9o8dpgdX/rl4omxQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=n4nnFJR/UGofo0WoykVwKuoNyzhw8hCSRpB5i7mCH4uCsmCSAL8VNOuefqcHoe68ipw41rH/Lym7XtOBwKsrJ/EC0WFDaTrVk0mwUY9hacuhaMlZKie/jjXxs1AdF+XfMXKwFKKhTw6u8jR2j+DujpqJJffQPpinGeSryhp6UJU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47A30EEA.5040305@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <fe9771a80801311250v3736ed85xacdc35f2b30b0e10@xxxxxxxxxxxxxx> <1241F505DD3E2145B9BE36BDC4342CFE024066@xxxxxxxxxxxxxxxxxxxxxx> <fe9771a80801311356t7c2a1218o4e56762559f357ac@xxxxxxxxxxxxxx> <47A29F92.30607@xxxxxxxxxxxx> <fe9771a80802010241i2d2a09fk6885cff4412d5764@xxxxxxxxxxxxxx> <47A30EEA.5040305@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Stephan,

thanks for the packages, I'll try in the evening.

Could you please confirm the steps to install it:

1) Start with 32 bit Ubuntu 7.10 with 32 bit hypervisor
2) remove existing hypervisor and xen packages (or issue make uninstall if you have a self build one from mercurial)
3) reboot the system with standard ubuntu kernel, non-xen environment
4) install 64 bit hypervisor
5) install/extract kernel, initrd and modules to necessary locations
6) install xen packages, libraries, tools and others
7) edit GRUB menu.lst to point to new hypervisor and kernel
8) reboot and select the new entry

Now what I wonder is, will the 32 bit userland environment boot just right on top of an 64 bit kernel, or if this does not work, will I be able to boot the 32 bit kernel on the 64 bit hypervisor?

Thanks,

Emre




2008/2/1 Stephan Seitz <s.seitz@xxxxxxxxxxxx>:
Hi Emre,

You might download the packages from
       http://boreas.netz-haut.net/pub/
       ftp://boreas.netz-haut.net/pub/

To answer your question, i've only made packages of the hypervisor, not of the kernel.
Anyway, I packed the 2.6.18.8 64bit and 2.6.18.8 32bit kernel, initrd and modules-dir
each into a tar.gz.

Also available are updated packages of xen-tools and rinse pulled from cvs (or svn?,
cant remember. Thanks to Steve Kemp for working on this.)

Since these packages might be of interest for others, this also goes to xen-users.

The hypervisor packages differs from the original 3.2.0 release as listed below:

- pathes are changed to fit the debian/ubuntu way (as done in the upstream xen-3.1)
  (/lib vs /lib64, /etc/xen/ vs. /etc/xen/scripts)
- default network-setup is "dummy"
- hvm bios: i'm currently trying to enhance/beautify the bios, this is ongoing work
  and not ready by now, however it works as expected.

Feel free to give me a note if something doesn't work.

cheers,

Stephan



Emre Erenoglu schrieb:
> Hi Stephan, yes I'm interested. How can I get them? from Rapidshare maybe?
>
> Is it the hypervisor or hypervisor+kernel? if so, which kernel?
>
> Thanks a lot again,
>
> Emre
>
> 2008/2/1 Stephan Seitz <s.seitz@xxxxxxxxxxxx <mailto:s.seitz@xxxxxxxxxxxx>>:
>
>     I've tried to cross compile xen on ubuntu a few times and it always
>     failed. i found it more convenient to setup a
>     seconcd, 64bit machine for developing.
>
>     i've made 64bit ubuntu 7.10 deb's of the 3.2.0 release but was too
>     short on time to setup a repo. just leave me a
>     note, if you want to try them.
>
>     cheers,
>
>     Stephan
>
>
>     Emre Erenoglu schrieb:
>      > No my OS is actually 32 bit. I guess it will be a big hassle to
>      > cross-compile a 64 bit kernel on 32 bit os. So I decided to install
>      > another Ubuntu 64 bit on another partition.
>      >
>      > Thanks anyway,
>      >
>      > Emre
>      >
>      > On Jan 31, 2008 10:49 PM, Ian Tobin <itobin@xxxxxxxxxxxxx
>     <mailto:itobin@xxxxxxxxxxxxx>
>      > <mailto:itobin@xxxxxxxxxxxxx <mailto:itobin@xxxxxxxxxxxxx>>> wrote:
>      >
>      >     Hi,
>      >
>      >
>      >
>      >     Is your OS actually 64 bit? If not then i believe it has to
>     be 64bit
>      >     before XEN will see it as 64bit.
>      >
>      >
>      >
>      >     Thanks
>      >
>      >
>      >
>      >     Ian
>      >
>      >
>      >
>      >     *From:* xen-users-bounces@xxxxxxxxxxxxxxxxxxx
>     <mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx>
>      >     <mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx
>     <mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx>>
>      >     [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx
>     <mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx>
>      >     <mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx
>     <mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx>>] *On Behalf Of *Emre
>      >     Erenoglu
>      >     *Sent:* 31 January 2008 20:51
>      >     *To:* Xen-Users
>      >     *Subject:* [Xen-users] Compile 64 bit hypervisor&kernel on 32bit
>      >     kernel ?
>      >
>      >
>      >
>      >     Hi,
>      >
>      >     I'm running 32 bit Ubuntu 7.10 on my system with a 32-bit Xen
>      >     Hypervisor. I would like try 64 bit Xen Hypervisor & 64 bit
>     kernel.
>      >
>      >     How can I build them? When I issue "make world" and "make
>     install",
>      >     it gives me 32 bit. I read the readme but no information
>     inside. I
>      >     also couldn't find something on the Wiki, just somethings about
>      >     cross-compiling, which I didn't understand well enough...
>      >
>      >     Can anyone give a clue?
>      >
>      >     Emre Erenoglu
>      >     erenoglu@xxxxxxxxx <mailto:erenoglu@xxxxxxxxx>
>     <mailto:erenoglu@xxxxxxxxx <mailto:erenoglu@xxxxxxxxx>>
>      >
>      >
>      >
>      >
>      > --
>      > Emre Erenoglu
>      > erenoglu@xxxxxxxxx <mailto:erenoglu@xxxxxxxxx>
>     <mailto:erenoglu@xxxxxxxxx <mailto:erenoglu@xxxxxxxxx>>
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > Xen-users mailing list
>      > Xen-users@xxxxxxxxxxxxxxxxxxx <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx>
>      > http://lists.xensource.com/xen-users
>
>
>     --
>     Stephan Seitz
>     Senior System Administrator
>
>     *netz-haut* e.K.
>     multimediale kommunikation
>
>     zweierweg 22
>     97074 würzburg
>
>     fon: +49 931 2876247
>     fax: +49 931 2876248
>
>     web: www.netz-haut.de <http://www.netz-haut.de>
>     <http://www.netz-haut.de/>
>
>     registriergericht: amtsgericht würzburg, hra 5054
>
>
>
>
> --
> Emre Erenoglu
> erenoglu@xxxxxxxxx <mailto:erenoglu@xxxxxxxxx>


--
Stephan Seitz
Senior System Administrator

*netz-haut* e.K.
multimediale kommunikation

zweierweg 22
97074 würzburg

fon: +49 931 2876247
fax: +49 931 2876248

web: www.netz-haut.de <http://www.netz-haut.de/>

registriergericht: amtsgericht würzburg, hra 5054



--
Emre Erenoglu
erenoglu@xxxxxxxxx
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>