Emre Erenoglu schrieb:
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
Well, the 64bit kernel has 32bit compatibility layer enabled. Speaking for
DomU's, I can confirm it works with 32bit userland. There should be no
difference for dom0, but this is unconfirmed. Remember the xen-utils,
libxen and python-xen packages I made are build for 64bit, so installing
them later can leave an ugly arch-mixture...
If you're not glued to some 32bit-only apps in dom0 I would nonetheless
switch over and start with a 64bit Ubuntu 7.10 installation.
2) remove existing hypervisor and xen packages (or issue make uninstall
There's no need to install the 3.1 packages first, but if you want, the
package dependencies in 3.1 / 3.2 should resolve right.
if you have a self build one from mercurial)
I cannot speak for the case of an existent xensource build as I avoided
this always. But having a look at xen-devel/xen-user people do encounter
issues with this.
3) reboot the system with standard ubuntu kernel, non-xen environment
4) install 64 bit hypervisor
keep this for later, see below at 6)
5) install/extract kernel, initrd and modules to necessary locations
yep, sorry for this, but it's always a pain to make kernel packages "the
right way", so you should extract the archive and move kernel and initrd
to /boot, modules to /lib/modules/.
6) install xen packages, libraries, tools and others
install the deb-packages, begin with python-xen and libxen followed by
xen-hypervisor,xen-utils,xen-hypervisor and optionally xen-ioemu and
xen-docs.
7) edit GRUB menu.lst to point to new hypervisor and kernel
Yes, this is straight forward. As an example:
title Xen 3.2 / Ubuntu 7.10, kernel 2.6.18.8-xen
root (hd0,0)
kernel /xen-3.2.gz swiotlb=128
module /vmlinuz-2.6.18.8-xen
root=UUID=2c9954c1-d8f5-477a-a808-39f768b10ac3 ro console=tty0 swiotlb=128
module /initrd.img-2.6.18.8-xen
quiet
(On machines with much RAM (>=32G) and heavy PCIe traffic I found it necessary
to set the swiotlb)
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?
As said, I can confirm this for domUs. Besides this i would recommend 64bit, so
my scenario differs:
- install 7.10 64bit
- download and install the python-xen,libxen,xen-hypervisor... packages
- optionally, apt-get install the 2.6.22-14-xen image / modules from upstream
repository, this kernel is build on 3.1.0,
but also working (indeed, I found issues with this kernel but in general it
should work also)
- download and copy over the 2.6.18.8 kernel (don't use the 32bit kernel as
dom0 on the 64bit hypervisor)
- optionally, depmod and mkinitramfs a new initrd image. (Depends on your
hardware, but should not be necessary)
- edit grub entry (in general, update-grub should provide all boot combinations)
- reboot
Much luck!
cheers,
Stephan
Thanks,
Emre
2008/2/1 Stephan Seitz <s.seitz@xxxxxxxxxxxx <mailto: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 <http://2.6.18.8> 64bit and 2.6.18.8
<http://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> <mailto: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>>
> > <mailto: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>>>
> > [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
<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>>
> <mailto:erenoglu@xxxxxxxxx <mailto:erenoglu@xxxxxxxxx>
<mailto:erenoglu@xxxxxxxxx <mailto:erenoglu@xxxxxxxxx>>>
> >
> >
> >
> >
> > --
> > Emre Erenoglu
> > erenoglu@xxxxxxxxx <mailto:erenoglu@xxxxxxxxx>
<mailto:erenoglu@xxxxxxxxx <mailto:erenoglu@xxxxxxxxx>>
> <mailto:erenoglu@xxxxxxxxx <mailto:erenoglu@xxxxxxxxx>
<mailto:erenoglu@xxxxxxxxx <mailto:erenoglu@xxxxxxxxx>>>
> >
> >
> >
>
------------------------------------------------------------------------
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
<mailto:Xen-users@xxxxxxxxxxxxxxxxxxx>
<mailto: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>
> <http://www.netz-haut.de/>
>
> registriergericht: amtsgericht würzburg, hra 5054
>
>
>
>
> --
> Emre Erenoglu
> erenoglu@xxxxxxxxx <mailto:erenoglu@xxxxxxxxx>
<mailto: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>
<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
s_seitz.vcf
Description: Vcard
signature.asc
Description: OpenPGP digital signature
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|