Package Base Details: linux-vfio

Git Clone URL: https://aur-dev.archlinux.org/linux-vfio.git (read-only)
Keywords: acs arbiter assignment gpu i915 kvm override passthrough pci qemu vfio vga
Submitter: zman0900
Maintainer: zman0900 (markzz)
Last Packager: markzz
Votes: 28
Popularity: 2.995029
First Submitted: 2015-01-30 06:41
Last Updated: 2016-12-10 05:37

Pinned Comments

electricprism commented on 2016-01-04 04:30

Requires importing GPG Keys to build

# Linus Torvalds
gpg --recv-keys 79BE3E4300411886

# Greg Kroah-Hartman (Linux kernel stable release signing key)
gpg --recv-keys 38DBBDC86092693E

Latest Comments

« First ‹ Previous ... 2 3 4 5 6 7 8 Next › Last »

PureTryOut commented on 2015-09-26 15:02

Building 4.1.6 fails:

fixdep: error opening config file: /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/include/stdarg.h: No such file or directory
scripts/Makefile.build:264: recipe for target 'drivers/input/serio/serio.o' failed
make[2]: *** [drivers/input/serio/serio.o] Error 2
scripts/Makefile.build:403: recipe for target 'drivers/input/serio' failed
make[1]: *** [drivers/input/serio] Error 2
Makefile:947: recipe for target 'drivers' failed
make: *** [drivers] Error 2

anoa commented on 2015-08-15 09:33

wwwkeys.de.pgp.net didn't seem to work for me.

Instead pool.sks-keyservers.net seems to be up.

gpg --keyserver pool.sks-keyservers.net --recv-keys 79BE3E4300411886
gpg --keyserver pool.sks-keyservers.net --recv-keys 38DBBDC86092693E

zman0900 commented on 2015-07-03 04:03

I have added the patch from https://bugs.archlinux.org/task/43885 at the suggestion of Frans-Willem to fix the separate build of the headers package.

zman0900 commented on 2015-06-29 06:27

Yeah, builds fine in the chroot too.

zman0900 commented on 2015-06-29 05:42

It built fine on my system...but I'm giving it a try now in a clean chroot (testing-x86_64-build). Are you sure you have base-devel and all the dependencies installed?

Frans-Willem commented on 2015-06-27 12:28

Current version (4.0.6-1) fails to create linux-vfio-headers package.
Error:
==> Entering fakeroot environment...
==> Starting package_linux-vfio-headers()...
cp: cannot stat ‘arch//Makefile’: No such file or directory
==> ERROR: A failure occurred in package_linux-vfio-headers().
Aborting...
==> ERROR: Makepkg was unable to build linux-vfio.

I have yet to debug the PKGBUILD, but I figured a warning for anyone else using this was in order.

zman0900 commented on 2015-05-23 00:17

If you've been using this kernel (or the main arch kernel) and you have a filesystem mounted with the discard option on raid0, read this: https://www.archlinux.org/news/data-corruption-on-software-raid-0-when-discard-is-used/ You may have corrupted data. Current 4.0.4-2 update has the patch that is supposed to fix it.

PureTryOut commented on 2015-03-31 21:34

Getting the following error when running a VM with GPU passthrough:

qemu-system-x86_64: -device vfio-pci,host=02:00.0,x-vga=on: vfio: error no iommu_group for device
qemu-system-x86_64: -device vfio-pci,host=02:00.0,x-vga=on: Device initialization failed.
qemu-system-x86_64: -device vfio-pci,host=02:00.0,x-vga=on: Device 'vfio-pci' could not be initialized

I've reported this on the Arch Linux thread (https://bbs.archlinux.org/viewtopic.php?id=162768), and they say it means IOMMU isn't enabled in the kernel config. Could this be the case?

kingd commented on 2015-03-26 06:10

####
gpg --recv-keys 79BE3E4300411886
gpg --recv-keys 38DBBDC86092693E
####

Won`t work in my case. I manually had to add a keyserver like this:

gpg --keyserver wwwkeys.de.pgp.net --recv-keys 79BE3E4300411886
gpg --keyserver wwwkeys.de.pgp.net --recv-keys 38DBBDC86092693E


PureTryOut commented on 2015-03-24 15:53

Thanks that did the trick!
Thanks for putting this in the AUR, much more convenient then patching it myself every time.