← Back to team overview

kernel-packages team mailing list archive

[Bug 1431473] Re: kvm_intel (nested) module will not load [Input/output error]

 

I did a quick analysis if the flag (doublecheck might be needed).
All systems which WORK CORRECTLY has these guest flags:
x2apic vnmi ept

Systems which fail don't have any of these flags.

x2apic -- improves guest performance by reducing the overhead of APIC access, which is used to program timers and for issuing inter-processor interrupts
vnmi -- Intel Virtual NMI feature which helps with certain sorts of interrupt events in guests
ept -- Intel Extended Page Table

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1431473

Title:
  kvm_intel (nested) module will not load [Input/output error]

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Utopic:
  Confirmed
Status in linux source package in Vivid:
  Confirmed

Bug description:
  I have 2 different systems, both are kvm instances themselves, both running vivid.
  One of them has /dev/kvm and kvm working fine (well, fine-ish bug 1413540).
  The other will not load the kvm_intel module.

  
  === system 1 ===
  $ sudo kvm-ok
  INFO: /dev/kvm does not exist
  HINT:   sudo modprobe kvm_intel
  INFO: Your CPU supports KVM extensions
  KVM acceleration can be used

  $ cat /proc/cpuinfo 
  processor	: 0
  vendor_id	: GenuineIntel
  cpu family	: 6
  model		: 15
  model name	: Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz
  stepping	: 11
  microcode	: 0x1
  cpu MHz		: 2400.084
  cache size	: 4096 KB
  physical id	: 0
  siblings	: 1
  core id		: 0
  cpu cores	: 1
  apicid		: 0
  initial apicid	: 0
  fpu		: yes
  fpu_exception	: yes
  cpuid level	: 10
  wp		: yes
  flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc rep_good nopl pni vmx ssse3 cx16 sse4_1 sse4_2 popcnt hypervisor lahf_lm
  bugs		:
  bogomips	: 4800.16
  clflush size	: 64
  cache_alignment	: 64
  address sizes	: 40 bits physical, 48 bits virtual
  power management:

  $ ls -l /dev/kvm
  ls: cannot access /dev/kvm: No such file or directory

  $ sudo modprobe kvm_intel
  modprobe: ERROR: could not insert 'kvm_intel': Input/output error

  
  === system 2 ===
  $ sudo kvm-ok
  INFO: /dev/kvm exists
  KVM acceleration can be used

  $ cat /proc/cpuinfo 
  processor	: 0
  vendor_id	: GenuineIntel
  cpu family	: 6
  model		: 42
  model name	: Intel Xeon E312xx (Sandy Bridge)
  stepping	: 1
  microcode	: 0x1
  cpu MHz		: 1995.191
  cache size	: 4096 KB
  physical id	: 0
  siblings	: 1
  core id		: 0
  cpu cores	: 1
  apicid		: 0
  initial apicid	: 0
  fpu		: yes
  fpu_exception	: yes
  cpuid level	: 13
  wp		: yes
  flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx hypervisor lahf_lm vnmi ept xsaveopt
  bugs		:
  bogomips	: 3990.38
  clflush size	: 64
  cache_alignment	: 64
  address sizes	: 40 bits physical, 48 bits virtual
  power management:

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: linux-image-3.19.0-7-generic 3.19.0-7.7
  ProcVersionSignature: User Name 3.19.0-7.7-generic 3.19.0
  Uname: Linux 3.19.0-7-generic x86_64
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Mar 12 17:07 seq
   crw-rw---- 1 root audio 116, 33 Mar 12 17:07 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
  ApportVersion: 2.16.2-0ubuntu1
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CRDA: Error: [Errno 2] No such file or directory: 'iw'
  Date: Thu Mar 12 17:12:26 2015
  Ec2AMI: ami-00000c86
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: m1.small
  Ec2Kernel: aki-00000548
  Ec2Ramdisk: ari-00000548
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
  Lsusb:
   Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd 
   Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: OpenStack Foundation OpenStack Nova
  PciMultimedia:
   
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB:
   
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-7-generic root=LABEL=cloudimg-rootfs ro init=/lib/systemd/systemd console=tty1 console=ttyS0
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
  SourcePackage: linux
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/01/2007
  dmi.bios.vendor: Bochs
  dmi.bios.version: Bochs
  dmi.chassis.type: 1
  dmi.chassis.vendor: Bochs
  dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2007:svnOpenStackFoundation:pnOpenStackNova:pvr2013.1.5:cvnBochs:ct1:cvr:
  dmi.product.name: OpenStack Nova
  dmi.product.version: 2013.1.5
  dmi.sys.vendor: OpenStack Foundation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1431473/+subscriptions


References