[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] How to build xen on x86_64?



I tried Xen 3.0.1 from portage like you advised, but I'm still getting
same error message. I followed your message exactly. Only difference was
including "=sys-kernel/xen-sources-2.6.12.6-r3" also
to /etc/portage/package.unmask. I don't know what kind of info I could
still add. It looks that problem isn't my build commands.
la, 2006-04-08 kello 16:21 +0200, Jan Philipp Giel kirjoitti:

> I have a running configuration of Xen 3.0.1 on Gentoo amd64 using the masked 
> Xen ebuild which are in portage (the kernel sources are not masked hard 
> without a reason, maybe it is safer in terms of security to use a later 
> version. for my setup i have used the "insecure" version):
> 
> 1. unmasked the ebuilds
> - /etc/portage/package.keywords:
> =sys-kernel/xen-sources-2.6.12.6-r3
> <=app-emulation/xen-3.0.1-r999
> <=app-emulation/xen-tools-3.0.1-r999
> sys-devel/dev86
> 
> - /etc/portage/package.keywords:
> =sys-kernel/xen-sources-2.6.12.6-r3
> 
> 2. installed xen-sources, the xen hypervisor and the tools package:
> emerge xen-sources xen xen-tools
> 
> 3. compiled the dom0 kernel (if you have already compiled other kernels, make 
> sure the symlink /usr/src/linux points to the xen kernel sources 
> ( /usr/src/linux-2.6.12.6-xen-r3 in my case ))
> cd /usr/src/linux
> make menuconfig
> (select the needed hardware support to be compiled in so you do not need an 
> initrd)
> make all
> 
> 4. copy the kernel to /boot (mount /boot before, if it is on a seperate 
> partition) and install the kernel modules
> cp vmlinuz /boot/vmlinuz-2.6.12.6-xen-r3
> make modules_install
> 
> 5. Modify your /boot/grub/grub.conf like this
> title  Xen 3.0 / Linux 2.6.12.6-xen-r3
> root   (hd0,0)
> kernel /xen.gz dom0_mem=512M
> module /vmlinuz-2.6.12.6-xen-r3 root=/dev/sda2
> 
> Now if I did not forget anything your System should boot the Xen dom0.
> 
> Best Regards
> Philipp
> 
> 
> 
> 
> 
> 
> Am Samstag 08 April 2006 14:49 schrieb Juho Mäntysaari:
> > I downloaded xen-3.0-testing snapshot from
> > http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads.html
> > and ran "make world" and "make install DESTDIR=/xen". When I tried to
> > boot it I just got "dom0 image is not a Xen-compatible Elf image".
> >
> > I have Gentoo Linux with gcc-3.4.5 and binutils-2.16.1.
> >
> > I used these lines in /boot/grub/menu.lst
> > title Xen
> > root(hd0,2)
> > kernel /xen/boot/xen-3.gz
> > module /xen/boot/vmlinuz-2.6-xen root=/dev/hda3 vga=0x317 nmi_watchdog=2
> >
> > So does xen work on amd64 and if it does how should I build it?
> >
> > Sorry about my bad English.
> >
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> 


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.