Package Details: xen-stubdom 4.20.0-2

Git Clone URL: https://aur.archlinux.org/xen.git (read-only, click to copy)
Package Base: xen
Description: Xen hypervisor stubdom files
Upstream URL: https://xenproject.org/
Keywords: hypervisor virtualization xen
Licenses: GPL2
Submitter: sergej
Maintainer: Refutationalist
Last Packager: Refutationalist
Votes: 184
Popularity: 0.071098
First Submitted: 2009-11-09 11:22 (UTC)
Last Updated: 2025-03-13 08:19 (UTC)

Dependencies (42)

Required by (3)

Sources (13)

Pinned Comments

Refutationalist commented on 2025-03-12 12:06 (UTC) (edited on 2025-03-13 08:23 (UTC) by Refutationalist)

We've moved to the newly-stable 4.20.0 branch. There are also other changes:

  • stubdom is fixed by disabling the vtmp and vtpmmgr components. This gets rid of a few source files and our remaining patches.
  • Debug files are only removed if the debug option is not set in makepkg.cfg (or the PKGBUILD itself)
  • pygrub has been removed
  • optdepends are adjusted for the upcoming xen-grub split package for the various Xen flavored builds.

If you're still using pygrub note that it is deprecated. The solution is to build PV grub instead, which used to be in AUR but is now missing. I am asking a couple questions on the mailing list, and I intend to put my current build of xen-grub (which supersedes xen-pvhgrub) on AUR as soon as possible. If you need to build it before that occurs, you can find it in my PKGBUILD repo.

EDIT: 4.20.0-2 adds support for the xen-edk2 package, which has a fixed UEFI for xen

Latest Comments

« First ‹ Previous 1 .. 85 86 87 88 89 90 91 92 93 94 95 .. 101 Next › Last »

<deleted-account> commented on 2012-09-01 13:17 (UTC)

The error was resolved after installing texi2html version 1.82, as stated by Xaseron. Otherwise there was no problem.

<deleted-account> commented on 2012-09-01 10:31 (UTC)

The build process error: *** No rule to make target 'unxz.o', needed by 'built_in.o'. Stop. *** Any ideas about where could be the problem? Thanks

<deleted-account> commented on 2012-08-30 19:48 (UTC)

I can only get xen to detect my full memory with this patch. This seems to be a problem of certain UEFI mainboards, see https://bugzilla.redhat.com/show_bug.cgi?id=819235#c3 and http://serverfault.com/questions/342109/xen-only-sees-512mb-of-system-ram-should-be-8gb-uefi-boot: This seems to work fine on my machine, however I can not say anthing about potential side-effects. -----------snip----------------- diff -Naur xen-4.1.3.org/xen/arch/x86/setup.c xen-4.1.3/xen/arch/x86/setup.c --- xen-4.1.3.org/xen/arch/x86/setup.c 2012-08-30 21:15:37.414593798 +0200 +++ xen-4.1.3/xen/arch/x86/setup.c 2012-08-30 21:24:41.801533785 +0200 @@ -661,6 +661,8 @@ if ( ((unsigned long)cpu0_stack & (STACK_SIZE-1)) != 0 ) EARLY_FAIL("Misaligned CPU0 stack.\n"); +#if 0 + /* disable raw e801 and e820 for now in favor of multiboot provided maps */ if ( e820_raw_nr != 0 ) { memmap_type = "Xen-e820"; @@ -676,7 +678,9 @@ e820_raw[1].type = E820_RAM; e820_raw_nr = 2; } - else if ( mbi->flags & MBI_MEMMAP ) + else +#endif + if ( mbi->flags & MBI_MEMMAP ) { memmap_type = "Multiboot-e820"; while ( (bytes < mbi->mmap_length) && (e820_raw_nr < E820MAX) )

<deleted-account> commented on 2012-08-13 09:35 (UTC)

Have updated for 4.1.3. Not sure what causes stubdom to break for you guys. Works for me (I need it for pv-grub). If you work out a fix let me know.

Xaseron commented on 2012-08-13 08:49 (UTC)

In order to compile my PKGBUILD of 4.1.3 you need an old version of texi2html, below 5.0. Stubdom still breaks, but i don't need it ;-) #Mantainer: Luceo #Contributor: Revellion #Contributor: Sergej pkgname=xen pkgver=4.1.3 pkgrel=1 pkgdesc="Xen 4 (hypervisor and tools)" arch=(i686 x86_64) url="http://xen.org/" license="GPL" depends=('bin86' 'xz' 'bzip2' 'iproute' 'bridge-utils' 'python2' 'sdl' 'zlib' 'e2fsprogs' 'pkgconfig' 'gnutls' 'lzo2' 'glibc') [ "$CARCH" == "x86_64" ] && depends=(${depends} 'lib32-glibc') optdepends=('xen-docs: Xen Official Documentation') makedepends=('dev86' 'ocaml-findlib' 'iasl') conflicts=('xen-4.2' 'xen-hg-unstable' 'xen-gdbsx' 'xen4-hg' 'xen4' 'xen3' 'xen-hv-tools' 'libxen4') provides=('xen') backup=('etc/xen/xend-config.sxp' 'etc/xen/xend-pci-permissive.sxp' 'etc/xen/xend-pci-quirks.sxp') options=(!strip) optional=('xen-docs: documentation for xen') install=xen.install source=( http://bits.xensource.com/oss-xen/release/${pkgver}/xen-${pkgver}.tar.gz 09_xen archinit.patch dom0_xz_decompression.patch ) build() { cd $srcdir/xen-${pkgver} patch -p1 -i ../archinit.patch patch -p1 -i ../dom0_xz_decompression.patch unset CFLAGS LDFLAGS make PYTHON=python2 DESTDIR=$pkgdir install-xen make PYTHON=python2 DESTDIR=$pkgdir install-tools #make PYTHON=python2 DESTDIR=$pkgdir install-stubdom sed -i 's#XENDOM_CONFIG=/etc/sysconfig/xendomains#XENDOM_CONFIG=/etc/conf.d/xendomains#' $pkgdir/etc/init.d/xendomains sed -i "s#touch /var/lock/subsys/xend#mkdir -p /var/lock/subsys\n touch /var/lock/subsys/xend#" $pkgdir/etc/init.d/xend [ -d $pkgdir/usr/lib64 ] && ( cd $pkgdir/usr && cp -R lib64/* lib/ && rm -R lib64 ) ( cd $pkgdir/etc && mv init.d rc.d ) || return 1 rm -f $pkgdir/usr/share/man/man1/qemu-img.1* \ $pkgdir/usr/share/man/man1/qemu.1* ## First experiment to generate grub2.cfg entry #mkdir -p $pkgdir/etc/grub.d #chmod +x $srcdir/09_xen #cp $srcdir/09_xen $pkgdir/etc/grub.d ############ kill unwanted stuff ############ # stubdom: newlib rm -rf $pkgdir/usr/*-xen-elf # hypervisor symlinks rm -rf $pkgdir/boot/xen-4.1.gz rm -rf $pkgdir/boot/xen-4.gz rm -rf $pkgdir/boot/xen.gz # silly doc dir fun rm -rf $pkgdir/usr/share/doc/xen rm -rf $pkgdir/usr/share/doc/qemu # Pointless helper rm -f $pkgdir/usr/sbin/xen-python-path # qemu stuff (unused or available from upstream) rm -rf $pkgdir/usr/share/xen/man rm -rf $pkgdir/usr/bin/qemu-*-xen for file in bios.bin openbios-sparc32 openbios-sparc64 ppc_rom.bin \ pxe-e1000.bin pxe-ne2k_pci.bin pxe-pcnet.bin pxe-rtl8139.bin \ vgabios.bin vgabios-cirrus.bin video.x openbios-ppc bamboo.dtb do rm -f $pkgdir/usr/share/xen/qemu/$file done # adhere to Static Library Packaging Guidelines rm -rf $pkgdir/usr/lib/*.a } md5sums=( 'bed929d5c5e5135cab40e2a6aab73fa0' '86b98d762ebb43230a038f0a41b0326b' '7a1ed81ecc828037724bb3280058c9fc' '4aebccf16b578ed97aa8bab945011f35' )

robertfoster commented on 2012-08-11 00:47 (UTC)

4.1.3 is out

workdowg commented on 2012-08-06 17:41 (UTC)

@beej175560 - "This package builds correctly for me if I set MAKEFLAGS="-j1" in /etc/makepkg.conf" Didn't see this the first time...I concur.

workdowg commented on 2012-08-05 02:53 (UTC)

i8259.c:66:9: error: initialization from incompatible pointer type [-Werror] (MANY lines in between...) i8259.c:70:5: error: (near initialization for 'interrupt[255]') [-Werror] cc1: all warnings being treated as errors make[4]: *** [i8259.o] Error 1 make[4]: Leaving directory `/tmp/packerbuild-0/xen/xen/src/xen-4.1.2/xen/arch/x86' make[3]: *** [/tmp/packerbuild-0/xen/xen/src/xen-4.1.2/xen/arch/x86/built_in.o] Error 2 make[3]: Leaving directory `/tmp/packerbuild-0/xen/xen/src/xen-4.1.2/xen/arch/x86' make[2]: *** [/tmp/packerbuild-0/xen/xen/src/xen-4.1.2/xen/xen] Error 2 make[2]: Leaving directory `/tmp/packerbuild-0/xen/xen/src/xen-4.1.2/xen' make[1]: *** [install] Error 2 make[1]: Leaving directory `/tmp/packerbuild-0/xen/xen/src/xen-4.1.2/xen' make: *** [install-xen] Error 2 ==> ERROR: A failure occurred in build(). Aborting... The build failed. Anyone else...

miffe commented on 2012-07-31 11:52 (UTC)

This patch to the PKGBUILD makes it build on i686, fixes parallel make and depends on x86_64 --- PKGBUILD.old 2012-07-23 20:30:26.000000000 +0200 +++ PKGBUILD 2012-07-31 13:49:55.524274223 +0200 @@ -12 +12 @@ -[ "$CARCH" == "x86_64" ] && depends=(${depends} 'lib32-glibc') +[ "$CARCH" == "x86_64" ] && depends=(${depends[*]} 'lib32-glibc') @@ -18 +18 @@ -options=(!strip) +options=(!strip !makeflags !buildflags) @@ -28,0 +29 @@ + fix-i8259.patch::http://lists.xen.org/archives/html/xen-devel/2012-01/txto1FW8UIpuq.txt @@ -40,2 +41 @@ - -unset CFLAGS LDFLAGS + patch -p1 -i $srcdir/fix-i8259.patch