Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#54982 - [linux] 4.12.3 KVM

Attached to Project: Arch Linux
Opened by Sadar (Sadar) - Sunday, 30 July 2017, 20:32 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 30 July 2017, 22:34 GMT
Task Type Bug Report
Category Kernel
Status Assigned
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description: after update kernel version 4.12.3, kvm no longer starts the existing vm.

I recreate a vm from scratch with the same features. It works, but it is very very very slow (...)

I deleted and re-created a new vm with a disk import of a vm that did not want to start. It works, but it is very very very slow (...)

My VM are on lvm2

Additional info:
* package version(s) libvirt 3.5.0-1
*

virsh start vmarchlinux
error: Failed to start domain archlinux
error: unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules.

system log :
libvirtd[403]: 2017-07-30 20:11:07.743+0000: 501: error : qemuProcessStartValidate:4867 : unsupported configurati
on: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules

# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 82975X Memory Controller Hub [8086:277c]
00:01.0 PCI bridge [0604]: Intel Corporation 82975X PCI Express Root Port [8086:277d]
00:1b.0 Audio device [0403]: Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 01)
00:1c.0 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 1 [8086:27d0] (rev 01)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 [8086:27e0] (rev 01)
00:1c.5 PCI bridge [0604]: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 [8086:27e2] (rev 01)
00:1d.0 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 [8086:27c8] (rev 01)
00:1d.1 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 [8086:27c9] (rev 01)
00:1d.2 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 [8086:27ca] (rev 01)
00:1d.3 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 [8086:27cb] (rev 01)
00:1d.7 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller [8086:27cc] (rev 01)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev e1)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge [8086:27b8] (rev 01)
00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 01)
00:1f.2 IDE interface [0101]: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] [8086:27c0] (rev 01)
00:1f.3 SMBus [0c05]: Intel Corporation NM10/ICH7 Family SMBus Controller [8086:27da] (rev 01)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV380 [Radeon X600] [1002:3e50]
01:00.1 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] RV380 [Radeon X600] (Secondary) [1002:3e70]
04:00.0 Ethernet controller [0200]: Broadcom Limited NetXtreme BCM5754 Gigabit Ethernet PCI Express [14e4:167a] (rev 02)

# lsmod | grep kvm
kvm 520192 0
irqbypass 16384 1 kvm

# modinfo kvm-intel
filename: /lib/modules/4.12.3-1-ARCH/kernel/arch/x86/kvm/kvm-intel.ko.gz
license: GPL
author: Qumranet
alias: cpu:type:x86,ven*fam*mod*:feature:*0085*
depends: kvm
intree: Y
vermagic: 4.12.3-1-ARCH SMP preempt mod_unload modversions
parm: vpid:bool
parm: flexpriority:bool
parm: ept:bool
parm: unrestricted_guest:bool
parm: eptad:bool
parm: emulate_invalid_guest_state:bool
parm: fasteoi:bool
parm: enable_apicv:bool
parm: enable_shadow_vmcs:bool
parm: nested:bool
parm: pml:bool
parm: preemption_timer:bool
parm: ple_gap:int
parm: ple_window:int
parm: ple_window_grow:int
parm: ple_window_shrink:int
parm: ple_window_max:int

modprobe kvm-intel nested=1
modprobe: ERROR: could not insert 'kvm_intel': Input/output error

# zgrep -i kvm /proc/config.gz
CONFIG_KVM_GUEST=y
# CONFIG_KVM_DEBUG_FS is not set
CONFIG_PTP_1588_CLOCK_KVM=m
CONFIG_DRM_I915_GVT_KVMGT=m
CONFIG_HAVE_KVM=y
CONFIG_HAVE_KVM_IRQCHIP=y
CONFIG_HAVE_KVM_IRQFD=y
CONFIG_HAVE_KVM_IRQ_ROUTING=y
CONFIG_HAVE_KVM_EVENTFD=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_HAVE_KVM_MSI=y
CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y
CONFIG_KVM_VFIO=y
CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y
CONFIG_KVM_COMPAT=y
CONFIG_HAVE_KVM_IRQ_BYPASS=y
CONFIG_KVM=m
CONFIG_KVM_INTEL=m
CONFIG_KVM_AMD=m
CONFIG_KVM_MMU_AUDIT=y

# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 15
Model name: Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
Stepping: 6
CPU MHz: 1600.000
CPU max MHz: 1867,0000
CPU min MHz: 1600,0000
BogoMIPS: 3725.60
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 2048K
NUMA node0 CPU(s): 0,1
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow dtherm

This task depends upon

Comment by Sadar (Sadar) - Sunday, 06 August 2017, 10:49 GMT
HI

After doing a roolback to 2017-07-25 and re-upgrading my system with the latest versions of pacakages everything works again. Except that I have not applied the latest versions of the kernel:

Core / linux 4.11.9-1 -> 4.12.4-1
Core / linux-headers 4.11.9-1 -> 4.12.4-1

I tried to redo the update with the kernel versions update, but I have the same errors again

[code]Libvirtd [428]: 2017-08-06 10: 24: 18.054 + 0000: 467: error: qemuConnectGetDomainCapabilities: 19033: invalid argument: KVM is not supported by '/usr/sbin/qemu-system-x86_64' on this host
Libvirtd [428]: 2017-08-06 10: 24: 45.754 + 0000: 466: error: qemuProcessStartValidate: 4619: unsupported configuration: Domain requires KVM, but it is not available. BIOS, and host configuration is setup to load the kvm modules[/code]
Comment by Sebastian Rachuj (Rachus) - Monday, 07 August 2017, 18:49 GMT
Upstream report for reference: https://lkml.org/lkml/2017/8/5/145

Loading...