@das_j: There is a bug in this package which will result in systemd failing to load kernel modules:
Nov 24 15:09:49 server systemd-modules-load[4287]: Failed to find module 'gntdev'
Nov 24 15:09:49 server systemd-modules-load[4287]: Failed to find module 'netbk'
Nov 24 15:09:49 server systemd-modules-load[4287]: Failed to find module 'blkbk'
Nov 24 15:09:49 server systemd-modules-load[4287]: Failed to find module 'xen-scsibk'
Nov 24 15:09:49 server systemd-modules-load[4287]: Failed to find module 'usbbk'
Nov 24 15:09:49 server systemd-modules-load[4287]: Failed to find module 'pciback'
Nov 24 15:09:49 server systemd-modules-load[4287]: Failed to find module 'blktap2'
Nov 24 15:09:49 server systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Nov 24 15:09:49 server systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Nov 24 15:09:49 server systemd[1]: Failed to start Load Kernel Modules.
The reason is because the shipped xen.conf is never installed during package build, therefore the xen default is installed but not working for Arch Linux kernels. Could you please apply the following patch to PKGBUILD:
https://zuppy.pm/patches/xen-modules-load-fix.patch
Search Criteria
Package Details: xen 4.19.1pre-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/xen.git (read-only, click to copy) |
---|---|
Package Base: | xen |
Description: | Open-source type-1 or baremetal hypervisor |
Upstream URL: | https://xenproject.org/ |
Keywords: | hypervisor virtualization xen |
Licenses: | GPL2 |
Submitter: | sergej |
Maintainer: | Refutationalist |
Last Packager: | Refutationalist |
Votes: | 185 |
Popularity: | 0.67 |
First Submitted: | 2009-11-09 11:22 (UTC) |
Last Updated: | 2024-09-20 00:31 (UTC) |
Dependencies (63)
- acpica
- bridge-utils
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- gnutls (gnutls-gitAUR)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR)
- iproute2 (iproute2-gitAUR, busybox-coreutilsAUR, iproute2-selinuxAUR)
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR, lib32-glibc-eac-rocoAUR)
- libaio (libaio-gitAUR)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libseccomp (libseccomp-gitAUR)
- libuuid.so (util-linux-libs-selinuxAUR, util-linux-libs-aesAUR, lib32-util-linux, util-linux-libs)
- libx11 (libx11-gitAUR)
- lzo
- ncurses (ncurses-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- pciutils (pciutils-gitAUR)
- pixman (pixman-gitAUR)
- pkgconf (pkgconf-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- Show 43 more dependencies...
Required by (3)
Sources (7)
Latest Comments
« First ‹ Previous 1 .. 17 18 19 20 21 22 23 24 25 26 27 .. 101 Next › Last »
mbroemme commented on 2017-11-24 14:17 (UTC) (edited on 2017-11-24 14:17 (UTC) by mbroemme)
ipdown commented on 2017-11-09 17:20 (UTC)
Does anyone knows how to get coretemp/lm_sensors to work with xen-kernel?
I am able to monitor cpu temperature with regular kernel, but not in dom0/xen-kernel.
ArthurBorsboom commented on 2017-10-19 18:05 (UTC)
If this only installs one package, what about changing the make dependency in the package from pandoc to pandoc-bin?
Or does this have side effects?
zootboy commented on 2017-10-19 03:41 (UTC)
@ArthurBorsboom
You can install pandoc-bin in its place.
ArthurBorsboom commented on 2017-10-15 08:45 (UTC)
Xen doesn't build (anymore):
entry.S: Assembler messages:
entry.S:42: Error: invalid operands (*ABS* and *UND* sections) for `-'
entry.S:61: Error: invalid operands (*UND* and *UND* sections) for `+'
entry.S:115: Error: invalid operands (*ABS* and *UND* sections) for `-'
entry.S:110: Error: invalid operands (*UND* and *UND* sections) for `-'
make[6]: *** [/opt/tmp/makepkg/xen/src/xen-4.9.0/xen/Rules.mk:177: entry.o] Error 1
Any idea how to solve this?
ArthurBorsboom commented on 2017-10-14 08:11 (UTC)
Is the pandoc make dependency really necessary?
It brings in exactly 101 haskell-* (dependency) packages.
JohnTh commented on 2017-10-01 01:19 (UTC)
Thanks das_j
Hi finnland,
I didn't have any issues installing or running win10 or freebsd11 amd64 iso zroot with ovmf.
This patch for xen-4.9.0 built-in ovmf:
https://github.com/tianocore/edk2/commit/fe4a28ccbfd33cae9e1f56b174d46b4eb2329efd.patch
Or the full ovmf BIOS built with a modified Arch ovmf PKGBUILD.
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index f9297d0..098ab18 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -1,6 +1,7 @@
# $Id$
# Maintainer: Thomas Bächler <thomas@archlinux.org>
-pkgname=ovmf
+pkgbase=ovmf
+pkgname=('ovmf' 'ovmf-unsplit')
pkgver=r22345.bec7a86c70
epoch=1
pkgrel=1
@@ -51,10 +52,15 @@ build() {
./BaseTools/BinWrappers/PosixLike/build
}
-package() {
+package_ovmf() {
#install -D -m644 "${srcdir}"/edk2/Build/OvmfIa32/RELEASE_${_toolchain_opt}/FV/OVMF_CODE.fd "${pkgdir}"/usr/share/ovmf/ia32/OVMF_CODE.fd
#install -D -m644 "${srcdir}"/edk2/Build/OvmfIa32/RELEASE_${_toolchain_opt}/FV/OVMF_VARS.fd "${pkgdir}"/usr/share/ovmf/ia32/OVMF_VARS.fd
install -D -m644 "${srcdir}"/edk2/Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF_CODE.fd "${pkgdir}"/usr/share/ovmf/x64/OVMF_CODE.fd
install -D -m644 "${srcdir}"/edk2/Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF_VARS.fd "${pkgdir}"/usr/share/ovmf/x64/OVMF_VARS.fd
install -D -m644 "${srcdir}"/edk2/OvmfPkg/License.txt "${pkgdir}"/usr/share/licenses/ovmf/License.txt
}
+
+package_ovmf-unsplit() {
+ install -D -m644 "${srcdir}"/edk2/Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF.fd "${pkgdir}"/usr/share/ovmf/ovmf_x64.bin
+ install -D -m644 "${srcdir}"/edk2/OvmfPkg/License.txt "${pkgdir}"/usr/share/licenses/"${pkgname[2]}"/License.txt
+}
VM config
### Xen VM options
## http://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html
name="win10.cfg"
builder="hvm"
memory=2048
bios="ovmf"
bios_path_override="/usr/share/ovmf/ovmf_x64.bin"
#device_model_args=[ "-debugcon", "file:ovmf_debug.log", "-global", "isa-debugcon.iobase=0x402"]
hdtype="ahci"
disk=[
"/mnt/server/software/os/Microsoft_Windows/to_check/Win10_1703_EnglishInternational_x64.iso, raw, xvdc, cdrom",
# "/mnt/server/software/os/FreeBSD-11.1-RELEASE-amd64-disc1.iso, raw, xvdc, cdrom",
"/dev/mapper/sda1_vg-win10, raw, xvda, rw"
]
vif=[ "" ]
vnc=1
vnclisten="0.0.0.0"
vncunused=1
vncpasswd="pass"
usb=1
usbdevice=[ "tablet" ]
<deleted-account> commented on 2017-09-30 21:14 (UTC)
@tony_42 Thank you, applied :)
@maldo Building from AUR requires base-devel
@maldo @asura Added SPICE dependency
@JohnTh Applied all XSA patches
finnland commented on 2017-09-25 12:52 (UTC)
Hi JohnTh,
after quite a bit of tinkering I got Xen built with the in tree ovmf. It does not build out of the box so i had to select a newer version, the one it selects from git by default has a bug in it. Anyhow I got it so far that I can start a machine using ovmf but it seems quite flaky, win 10 just reboots immediately , Freebsd 11 crashes. Arch works tho. I gave up for now and sticking with seabios, which seems to work.
JohnTh commented on 2017-09-24 00:57 (UTC)
Hi finnland,
There was some discussion about this on the Xen lists.
It is not clear if Xen currently will work with ovmf split code and vars.
http://markmail.org/message/vh5kk53z3v4fxhpa
If you do want to use system ovmf:
Test if the Arch PKGBUILD ovmf combined image works with xen.
I think it did when I tested some time ago.
Easiest to makepkg ovmf and copy the combined image somewhere.
Then use the xl vm guest options
bios="ovmf"
bios_path_override="path to ovmf"
If this works, we could ask the Arch ovmf package maintainer to change the PKGBUILD to produce split packages of ovmf (as is) and ovmf-combined (only package the merged ovmf). Should be minimal changes to the PKGBUILD.
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/ovmf
There are also a number of XSA patches for xen-4.9.0
Pinned Comments
Refutationalist commented on 2024-05-22 22:08 (UTC) (edited on 2024-05-23 00:07 (UTC) by Refutationalist)
As of now (2024-22-05) Xen with stubdom doesn't build because of a problem in the imported code. Been this way for about two weeks. Anyone else seeing this behavior?
Also, there is a lot of work happening on Xen in my development repo, thanks to @Serus. Check it out at: https://github.com/refutationalist/saur