Re: [Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2011-08-29 Thread Serge Hallyn
Quoting Rishi Singhal (452...@bugs.launchpad.net):
 Hi,
 
 I am confused whether my CPU supports KVM or not? Can anyone please help
 
 Ubuntu 11.04
 # kvm-ok
 INFO: Your CPU does not support KVM extensions
 INFO: /dev/kvm does not exist
 HINT:   sudo modprobe kvm

Try this command ('sudo modprobe kvm') and then run kvm-ok
again.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/452323

Title:
  kvm disabled in bios (was: Unable to start EUC instances - no
  supported architecture for os type 'hvm')

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2011-08-29 Thread Dustin Kirkland
This is a bug in the kvm-ok utility.  I'll try to get it fixed.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/452323

Title:
  kvm disabled in bios (was: Unable to start EUC instances - no
  supported architecture for os type 'hvm')

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2011-08-27 Thread Rishi Singhal
Hi,

I am confused whether my CPU supports KVM or not? Can anyone please help

Ubuntu 11.04
# kvm-ok
INFO: Your CPU does not support KVM extensions
INFO: /dev/kvm does not exist
HINT:   sudo modprobe kvm_
INFO: Your CPU supports KVM extensions
FAIL: Unknown virtualization extension:
KVM acceleration can NOT be used

# cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Xeon(TM) CPU 2.80GHz
stepping: 9
cpu MHz : 2798.828
cache size  : 512 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 1
apicid  : 0
initial apicid  : 0
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat 
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
bogomips: 5597.65
clflush size: 64
cache_alignment : 128
address sizes   : 36 bits physical, 32 bits virtual
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Xeon(TM) CPU 2.80GHz
stepping: 9
cpu MHz : 2798.828
cache size  : 512 KB
physical id : 3
siblings: 2
core id : 0
cpu cores   : 1
apicid  : 6
initial apicid  : 6
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat 
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
bogomips: 5598.76
clflush size: 64
cache_alignment : 128
address sizes   : 36 bits physical, 32 bits virtual
power management:

processor   : 2
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Xeon(TM) CPU 2.80GHz
stepping: 9
cpu MHz : 2798.828
cache size  : 512 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 1
apicid  : 1
initial apicid  : 1
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat 
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
bogomips: 5598.76
clflush size: 64
cache_alignment : 128
address sizes   : 36 bits physical, 32 bits virtual
power management:

processor   : 3
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Xeon(TM) CPU 2.80GHz
stepping: 9
cpu MHz : 2798.828
cache size  : 512 KB
physical id : 3
siblings: 2
core id : 0
cpu cores   : 1
apicid  : 7
initial apicid  : 7
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat 
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
bogomips: 5598.77
clflush size: 64
cache_alignment : 128
address sizes   : 36 bits physical, 32 bits virtual
power management:

Regards,
Rishi

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/452323

Title:
  kvm disabled in bios (was: Unable to start EUC instances - no
  supported architecture for os type 'hvm')

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2010-10-31 Thread Dustin Kirkland
Xen is not an option.

If KVM is disabled in BIOS, you will be told this by the MOTD the first
time you log in.

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2010-10-29 Thread Alex Baeza
I am having the same issue, and after several hours of research spread
across several days, I've come to this bug.

I agree with mohanv in that it should not have let me setup the node if
it won't work with UEC.

If kvm requires hardware supported virtual machines hvm, (as indicated
here: http://open.eucalyptus.com/forum/problem-node-registration), then
I would like to request that the node installation process either:

A) Prevents you from installing and gives you an explanation (you hardware is 
not compatible: hvm required for kvm)
OR
B) The node installation asks if you would like to use xen.

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2010-04-06 Thread mohanv
Attached the screenshot.

** Attachment added: Screenshot of the install process that warns that there 
is no hardware acceleration but proceeds witht he installation
   http://launchpadlibrarian.net/43322721/Eucalyptusnc-install.png

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2010-04-05 Thread mohanv
I am having the same i ssue when i try to run on a virtualized node.
--
[EUCAERROR ] libvirt: internal error no supported architecture for os type 
'hvm' (code=1)
[EUCAFATAL ] hypervisor failed to start domain
[EUCAERROR ] libvirt: Domain not found: no domain with matching name 
'i-3ACA0721' (code=42)
[EUCAINFO  ] vrun(): [rm -rf /var/lib/eucalyptus/instances/admin/i-3ACA0721/]
[EUCAINFO  ] stopping the network (vlan=10)
--

Now my question is when i installed the UEC Node, it said that hardware
acceleration will not be available.  It didnt mention that my attempts
in running the VM in the node will be futile..  Or is there a way to
bypass this?  if its not possible, it shouldnt have allowed me to
install it in the first place.

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-11-09 Thread Launchpad Bug Tracker
This bug was fixed in the package qemu-kvm - 0.11.0-0ubuntu6.3

---
qemu-kvm (0.11.0-0ubuntu6.3) karmic-security; urgency=low

  * SECURITY UPDATE: linux = 2.6.25 guests (e.g. hardy) with virtio
networking are subject to DoS by qemu-kvm application crash;
the crash can be remotely triggered by a malicious user flooding any
open network port (LP: #458521)
- debian/patches/12_whitelist_host_virtio_networking_features.patch:
  fix accounting of virtio networking features available to make
  available to the guests
- CVE-2009-
  * debian/kvm-ok: check for other common reasons why KVM might not be
usable, LP: #452323
  * debian/control: build-depend on libcurl devel, to allow booting from
ISOs over http, LP: #453441

 -- Dustin Kirkland kirkl...@ubuntu.com   Thu, 29 Oct 2009 11:36:18
-0500

** Changed in: qemu-kvm (Ubuntu Karmic)
   Status: Fix Committed = Fix Released

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-11-03 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/karmic-proposed/qemu-kvm

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-11-03 Thread Launchpad Bug Tracker
This bug was fixed in the package qemu-kvm - 0.11.0-0ubuntu6.3

---
qemu-kvm (0.11.0-0ubuntu6.3) karmic-security; urgency=low

  * SECURITY UPDATE: linux = 2.6.25 guests (e.g. hardy) with virtio
networking are subject to DoS by qemu-kvm application crash;
the crash can be remotely triggered by a malicious user flooding any
open network port (LP: #458521)
- debian/patches/12_whitelist_host_virtio_networking_features.patch:
  fix accounting of virtio networking features available to make
  available to the guests
- CVE-2009-
  * debian/kvm-ok: check for other common reasons why KVM might not be
usable, LP: #452323
  * debian/control: build-depend on libcurl devel, to allow booting from
ISOs over http, LP: #453441

 -- Dustin Kirkland kirkl...@ubuntu.com   Thu, 29 Oct 2009 11:36:18
-0500

** Changed in: qemu-kvm (Ubuntu Karmic)
   Status: Fix Committed = Fix Released

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-11-03 Thread Martin Pitt
Copied karmic-proposed to lucid.

** Changed in: qemu-kvm (Ubuntu)
   Status: In Progress = Fix Released

** Changed in: qemu-kvm (Ubuntu Karmic)
   Status: Fix Released = Fix Committed

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-11-02 Thread Martin Pitt
Dustin, fine for me to update again. Please upload with a new changelog
and use -vversion in karmic final so that the source.changes covers
both versions in -proposed (this will make SRU bug tracking much
easier). Thanks!

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-11-02 Thread Dustin Kirkland
Thanks, Martin.

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-11-02 Thread Dustin Kirkland
Joe,

Can you test 0.11.0-0ubuntu6.3 now in karmic-proposed?

:-Dustin

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-11-02 Thread Dustin Kirkland
FWIW, I tested the new /usr/bin/kvm-ok and it seems to work well.

Hopefully Joe can run his little barrage of tests and confirm the new
behavior as provided in the updated package.

:-Dustin

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-11-02 Thread Joseph Salisbury
I re-ran all of the tests using the latest in karmic-proposed.  All
tests passed:

$ dpkg -l | grep qemu
ii  qemu-kvm  0.11.0-0ubuntu6.3 Full 

virtualization on i386 and amd64 hardwa


Test 1: VT Enabled in BIOS(On a machine that supports VT):
$ kvm-ok
INFO: Your CPU supports KVM extensions
INFO: /dev/kvm exists
KVM acceleration can be used


Test 2a: (run this on a system that does not support VT)
j...@jts-ubuntu:/etc/apt$ kvm-ok
INFO: Your CPU does not support KVM extensions
KVM acceleration can NOT be used


Test 2b: (sudo modprobe -r kvm, and then re-run kvm-ok and see that /dev/kvm is 
gone)
$ kvm-ok
INFO: Your CPU supports KVM extensions
INFO: /dev/kvm does not exist
HINT: sudo modprobe kvm
KVM acceleration can NOT be used


Test 2c: (reboot into BIOS, disable VT, and re-run kvm-ok)
$ kvm-ok
INFO: Your CPU supports KVM extensions
INFO: KVM is disabled by your BIOS
HINT: Enter your BIOS setup and enable Virtualization Technology (VT)
KVM acceleration can NOT be used


Thanks,

Joe

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-10-30 Thread Martin Pitt
Accepted qemu-kvm into karmic-proposed, the package will build now and
be available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Tags added: verification-needed

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-10-30 Thread Joseph Salisbury
I can give this a test today.  I will post feedback shortly.

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-10-30 Thread Joseph Salisbury
Here are the results from my testing:

Test 1: VT Enabled in BIOS(On a machine that supports VT):

$ kvm-ok
INFO: Your CPU supports KVM extensions
INFO: /dev/kvm exists
KVM acceleration can be used


Test 2a: (run this on a system that does not support VT)

j...@jts-ubuntu:/etc/apt$ kvm-ok
INFO: Your CPU does not support KVM extensions
INFO: /dev/kvm does not exist
HINT: sudo modprobe kvm
KVM acceleration can NOT be used


Test 2b: (sudo modprobe -r kvm, and then re-run kvm-ok and see that /dev/kvm is 
gone)
Note: I had to remove the kvm_intel module on my system before I could remove 
kvm.

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


Test 2c: (reboot into BIOS, disable VT, and re-run kvm-ok)

$ kvm-ok
INFO: Your CPU supports KVM extensions
INFO: /dev/kvm does not exist
HINT: sudo modprobe kvm
INFO: KVM is disable by your BIOS
HINT: Enter your BIOS setup and enable Virtualization Technology (VT)
KVM acceleration can NOT be used


All of the tests worked as expected.  Only two minor things that could
be changed:

1.  The text when VT Extensions are disabled in the bios could be updated to 
say KVM is disabled instead of KVM is disable.
2.  Maybe not print the text HINT: sudo modprobe kvm in the cases in the 
cases when it would not work anyway, such as in test 2a and 2c.

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-10-30 Thread Dustin Kirkland
Great testing, Joe!

Martin, I agree with Joe's two cosmetic suggestions.  Shall I fix
those, and re-upload to -proposed?

Attaching a debdiff that addresses these two concerns.

Joe, prior to getting this into proposed, could you re-test with:
 * http://rookery.canonical.com/~kirkland/kvm-ok

:-Dustin


** Attachment added: out
   http://launchpadlibrarian.net/34703999/out

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-10-30 Thread Etienne Goyer
Dustin, thanks a lot for that fix!  This will save tons of grieves to
lots of people down the road.  I know *I* lost a couple of hours before
figuring out that VT extensions where disabled in the BIOS ... :D

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-10-29 Thread Dustin Kirkland
** Summary changed:

- kvm disable in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
+ kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-10-29 Thread Dustin Kirkland
** Description changed:

  I'm having an issue starting an instance.  I see errors stating disk
  not found and no domain with matching name found.  I'm also seeing an
  error saying no supported architecture for os type 'hvm':
  
  Snippet from nc.log:
  [Wed Oct 14 14:57:00 2009][001691][EUCAINFO ] currently running/booting: 
i-39A80763
  [Wed Oct 14 14:57:00 2009][001691][EUCAERROR ] libvirt: internal error no 
supported architecture for os type 'hvm' (code=1)
  [Wed Oct 14 14:57:00 2009][001691][EUCAFATAL ] hypervisor failed to start 
domain
  [Wed Oct 14 14:57:00 2009][001691][EUCAERROR ] libvirt: Domain not found: no 
domain with matching name 'i-39A80763' (code=42)
  [Wed Oct 14 14:57:00 2009][001691][EUCAINFO ] vrun(): [rm -rf 
/var/lib/eucalyptus/instances/admin/i-39A80763/]
  [Wed Oct 14 14:57:01 2009][001691][EUCAINFO ] stopping the network (vlan=10)
  
  I have complete log files if needed.
  
  The host os is Karmic i386 and I'm trying to start an i386 instance.  There 
might be a bug trying to run EMIs registered as i386 under
  karmic/libvirt.
  
  As a test, I disabled apparmor, but the problem did not go away.
+ 
+ ===
+ SRU Justification
+ 
+ Users trying KVM for the first time often fail to realize that VT is not
+ enabled in their BIOS.  We created a kvm-ok script some time ago to help
+ detect if the user's CPU has either the svm or the vmx flag.  This has
+ tremendously helped us support KVM, giving users a tool to detect the
+ ability to use KVM.  For no good reason, many new laptops shipping with
+ VT extensions in the CPU actually disable this in BIOS by default.
+ Usually, a message is emitted in dmesg.  We can very easily detect that
+ message as part of the kvm-ok script.  We can and should also check that
+ /dev/kvm exists, ensuring that the kvm kernel module is loaded.
+ 
+ This is a very low risk fix, that provides a a large, positive impact
+ for new KVM users.
+ 
+ TEST CASE:
+ Assuming you have a system that really does support KVM...
+  1) Run kvm-ok.  You should see that:
+   a) your cpu supports VT
+   b) your /dev/kvm device exists
+   c) no warning message in bios
+   d) that you can use KVM
+  2) Now manually cripple your ability to use KVM by doing each of the 
following, one at a time:
+   a) run this on a system that does not support VT (such as a virtual machine)
+   b) sudo modprobe -r kvm, and then re-run kvm-ok and see that /dev/kvm is 
gone
+   c) reboot into BIOS, disable VT, and re-run kvm-ok
+ 
+ ===

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-10-29 Thread Dustin Kirkland
Attaching patch for SRU review.

This will be uploaded with two other fixes, once approved.

:-Dustin

** Attachment added: 452323.patch
   http://launchpadlibrarian.net/34608998/452323.patch

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-10-29 Thread Dustin Kirkland
** Changed in: qemu-kvm (Ubuntu Karmic)
   Status: In Progress = Fix Committed

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 452323] Re: kvm disabled in bios (was: Unable to start EUC instances - no supported architecture for os type 'hvm')

2009-10-29 Thread Martin Pitt
** Changed in: qemu-kvm (Ubuntu)
Milestone: karmic-updates = None

-- 
kvm disabled in bios (was: Unable to start EUC instances - no supported 
architecture for os type 'hvm')
https://bugs.launchpad.net/bugs/452323
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs