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

2015-04-08 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 3.2.0-80.116 --- linux (3.2.0-80.116) precise; urgency=low [ Brad Figg ] * Release Tracking Bug - LP: #1435392 [ Andy Whitcroft ] * [Packaging] generate live watchdog blacklists - LP: #1432837 [ Upstream Kernel Changes ]

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

2015-03-30 Thread Oleg Strikov
Kernel from -proposed (3.2.0-80-generic) resolves the bug. L0: 12.04 running 3.2.0-80-generic L1: 14.10 (utopic) -> /dev/kvm is available L2: 14.04 (trusty) -> I was able to bootstrap the instance and ssh into it L0: 12.04 running 3.2.0-80-generic L1: 15.04 (vivid) -> /dev/kvm is available L2: 14

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

2015-03-28 Thread Oleg Strikov
I will do appropriate verification on Monday. Thanks for notification. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431473 Title: kvm_intel (nested) module will not load [Input/output error] To m

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

2015-03-26 Thread Brad Figg
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- precise' to 'verification-done-precise'. If verification is not done by 5 working days from

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

2015-03-23 Thread Luis Henriques
** Changed in: linux (Ubuntu Precise) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431473 Title: kvm_intel (nested) module will not load [Input/output err

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

2015-03-20 Thread Oleg Strikov
Brilliant job Stefan! Thanks for helping. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431473 Title: kvm_intel (nested) module will not load [Input/output error] To manage notifications about thi

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

2015-03-19 Thread Stefan Bader
So I found (and could verify) that it is actually this change from 3.10 which fixes nested for L1 guests >=3.15: commit 33fb20c39e98b90813b5ab2d9a0d6faa6300caca Author: Jan Kiszka Date: Wed Mar 6 15:44:03 2013 +0100 KVM: nVMX: Fix content of MSR_IA32_VMX_ENTRY/EXIT_CTLS And that change lo

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

2015-03-19 Thread Stefan Bader
"rdmsr -0 0x483" on - host 3.13:0x007f00036dff guest 3.16: 0x007f6fff00036dff - host 3.02:0x007f00036dff guest 3.16: 0x0200 Thats a few too many zeros especially in the high word. -- You received this bug notification because you are a member of Ubun

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

2015-03-19 Thread Stefan Bader
Darn, I think I got lost in version numbers. While the change mentioned in comment #21 is causing the module load to fail, it cannot be helping to make this present in L1. Because 3.13 did work with a 3.16 kernel. It was only 3.2 that failed. And the change was in 3.15. So it is something else that

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

2015-03-18 Thread Stefan Bader
Mirroring the feedback I got on the mailing list. Potentially we could add the missing bit to the required part of the 3.2 kvm-intel module. But then the comments about support and security make me wonder whether we really want to. There seems to be quite a bit of work to get even 3.13 (Trusty) int

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

2015-03-17 Thread Stefan Bader
Ok, so 3.16 on 3.12 fails (there might be more but first failure exits) with: MSR_IA32_VMX_EXIT_CTLS (0x0483) which is required to support at least VM_EXIT_SAVE_DEBUG_CONTROLS (=0x002)| VM_EXIT_HOST_ADDR_SPACE_SIZE (0x0200) but evaluating the msr returns only support for VM_EXIT_HOST_ADDR_SP

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

2015-03-17 Thread Stefan Bader
** Changed in: linux (Ubuntu Utopic) Assignee: (unassigned) => Stefan Bader (smb) ** Changed in: linux (Ubuntu Vivid) Assignee: (unassigned) => Stefan Bader (smb) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.

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

2015-03-17 Thread Stefan Bader
Thanks Oleg. I guess it being canonistack we probably can assume Precise on the host. Based on that assumption I also did some tests. And there found that it is indeed a combination of host kernel / guest kernel which causes this. Looking at the kernel code there are many places that can actually e

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

2015-03-17 Thread Oleg Strikov
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 timer

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

2015-03-17 Thread Oleg Strikov
I wonder if it's possible to change livbirt config to block some of these flags even if they are provided by host CPU. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431473 Title: kvm_intel (nested)

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

2015-03-17 Thread Oleg Strikov
> Oh... maybe for Oleg: what release/kernel is running on your host? I'm experimenting with canonistack (lcy_02) that's why I don't have such info as well as some other guys in the thread. Sorry for not mentioning canonistack in my comment. -- You received this bug notification because you are a

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

2015-03-17 Thread Stefan Bader
Oh... maybe for Oleg: what release/kernel is running on your host? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431473 Title: kvm_intel (nested) module will not load [Input/output error] To manag

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

2015-03-17 Thread Stefan Bader
So I think with the info above it should be possible to figure things out. I am pretty sure the secret lies in one of those flags. Or combination of them. But at least we have a small collection of working and not working now. -- You received this bug notification because you are a member of Ubun

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

2015-03-17 Thread Robie Basak
Joseph, Stefan: I can give you access to the guest on lcy01 that exhibits the problem if you need it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431473 Title: kvm_intel (nested) module will not

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

2015-03-17 Thread Oleg Strikov
I was able to reproduce the bug on another type of processor (core i7). /dev/kvm is not available with vivid kernel but available with trusty kernel. ubuntu@vivid-adt3:~$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 2 model name :

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

2015-03-17 Thread Pierre Amadio
In reponse to comment 7 and 8: The host instance-e403 runs on is sapodilla. It runs a 12.04 ubuntu with a 3.2.0-60-generic x86_64 kernel. attached is the /proc/cpuinfo ** Attachment added: "sapodilla cpuinfo" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1431473/+attachment/4347

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

2015-03-17 Thread Pierre Amadio
in response to comment 7 "can you attach the libvirt XML you are using?" ** Attachment added: "instance-e403.xml" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1431473/+attachment/4347731/+files/instance-e403.xml -- You received this bug notification because you are a member o

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

2015-03-17 Thread Stefan Bader
I think this is a problem very much tied to the raw host cpu type and the masking of that as core2duo for the guest. I just tried with a current Trusty host with a current Vivid guest masked to core2duo: host cpu: processor : 7 vendor_id : GenuineIntel cpu family : 6 model

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

2015-03-17 Thread Stefan Bader
I should also say that for me the guest was able to load the kvm-intel module. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431473 Title: kvm_intel (nested) module will not load [Input/output erro

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

2015-03-16 Thread Joseph Salisbury
Also, what is the L0 host running? Trusty 3.13 or something else? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431473 Title: kvm_intel (nested) module will not load [Input/output error] To manage

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

2015-03-16 Thread Joseph Salisbury
Can you confirm cpu of system 1 is really a core2duo or whether it plays some tricks there? Also, can you attach the libvirt XML you are using? ** Tags added: kernel-da-key -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bug

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

2015-03-16 Thread Joseph Salisbury
** Tags added: regression-update utopic ** Also affects: linux (Ubuntu Utopic) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Vivid) Importance: High Status: Confirmed ** Changed in: linux (Ubuntu Utopic) Importance: Undecided => High ** Changed in: linu

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

2015-03-16 Thread Robie Basak
Workaround: 1. Install http://kernel.ubuntu.com/~kernel- ppa/mainline/v3.13.11.11-trusty/linux- image-3.13.11-0313-generic_3.13.11-0313.20141336_amd64.deb 2. Edit /etc/default/grub and set: GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 3.13.11-0313-generic" 3. Run

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

2015-03-16 Thread Robie Basak
Reproduced with latest upstream kernel from: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-rc4-vivid/ linux-image-4.0.0-04rc4-generic 4.0.0-04rc4.201503152135 Linux vivid-test 4.0.0-04rc4-generic #201503152135 SMP Mon Mar 16 01:36:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux D

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

2015-03-12 Thread Alberto Salvia Novella
** Changed in: linux (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431473 Title: kvm_intel (nested) module will not load [Input/output error] To manage no

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

2015-03-12 Thread Scott Moser
Also just verified that utopic kernel (3.16) also does not have /dev/kvm here. So, short summary: vmlinuz-3.13.0-46-generic - kvm_intel loads vmlinuz-3.16.0-31-generic - Input/output error vmlinuz-3.19.0-7-generic - Input/output error -- You received this bug notification because you are a memb

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

2015-03-12 Thread Scott Moser
To show that this issue is actually kernel (rather than host kernel not having nested enabled), i booted into trusty kernel on the same 'system 1' above. $ uname -r 3.13.0-46-generic $ dpkg -S /boot/vmlinuz-$(uname -r) linux-image-3.13.0-46-generic: /boot/vmlinuz-3.13.0-46-generic $ lsmod | grep k

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

2015-03-12 Thread Scott Moser
** Summary changed: - kvm_intel (nested) module will not load + kvm_intel (nested) module will not load [Input/output error] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431473 Title: kvm_intel (