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@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com > > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 8 Apr 2006, at 13:49, Juho Mäntysaari wrote:> So does xen work on amd64 and if it does how should I build it?I found this page very helpful for installing Xen on Gentoo: http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo Yours, Craig -- Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net Xeriom.NET | f: +44 (0)131 661 0689 | w: http://xeriom.net _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Could you post the output of "emerge --info"? If you think this is to long for the list you can send it to my email address. Am Samstag 08 April 2006 19:51 schrieb Juho Mäntysaari:> 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._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I downloaded binary version of xen and it works even with portage version of xen-utils and kernel source (2.6.12). Here is my emerge --info if you want find out why xen didn''t build properly on my computer. emerge --info: Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.12.6-xen-local x86_64) ================================================================System uname: 2.6.12.6-xen-local x86_64 AMD Athlon(tm) 64 Processor 3000 + Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.po.opole.pl http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.etf.bg.ac.yu/gentoo" LANG="fi_FI@euro" LINGUAS="fi sv en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi apache2 audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups curl dba dbus dri dvd dvdr eds emboss encode esd evo examples exif expat fam fastbuild fbcon firefox foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gnome gpm gstream gstreamer gtk gtk2 gtkhtml hal idn imlib isdnlog jpeg lcms lzw lzw-tiff mad memlimit mng mozilla mp3 mpeg nautilus ncurses nls nptl nsplugin ogg openal oss pam pcre pdf pdflib perl png posix pppd python quicktime readline recode ruby sdl session simplexml slang soap sockets spell spl sqlite sqlite3 ssl tcpd threads tiff tokenizer truetype truetype-fonts type1-fonts udev usb vorbis wifi xine xml xml2 xmms xpm xsl xv zlib linguas_fi linguas_sv linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTDIR_OVERLAY su, 2006-04-09 kello 15:14 +0200, Jan Philipp Giel kirjoitti:> Could you post the output of "emerge --info"? If you think this is to long for > the list you can send it to my email address. > > Am Samstag 08 April 2006 19:51 schrieb Juho Mäntysaari: > > 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. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users