All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1338277] [NEW] QEmu makes Windows 2008 guests to crash (BSOD)
@ 2014-07-06 18:51 Thiago Martins
  2014-07-06 19:40 ` [Qemu-devel] [Bug 1338277] " Thiago Martins
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Thiago Martins @ 2014-07-06 18:51 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Guys,

I'm trying to run Windows 2008 as a QEmu / KVM guest on my Ubuntu 14.04
but, after weeks of tests, I figured out that it simple doesn't work,
KVM makes Windows 2008 to crash, and it is not a Windows fault, it is a
QEmu bug, I'm pretty sure it is...


Lab environment (5 servers):

3 physical servers: Dell R610

2 physycal servers: IBM x3650


* Where Windows crash (5 servers tested) ?

Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every hour


* Where Windows do not crash (5 servers tested) ?

Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
working smoothly


So, after removing QEmu from my environment, and using Xen instead, all Windows guests are now running without any crash.

What kind of information, can I provide for you guys, to deep debug this
QEmu problem ?

Plus, it is interesting to note that a lot of times, all Windows guests
(on top of QEmu / KVM) crashed at the exactly the same time! So, it can
not be a problem within each Windows guest, but at the Hypervisor
itself!

Also, it worth to mention that this problem is probably affecting any
OpenStack IceHouse cloud out there, based on Ubuntu + KVM...


Screenshots:

http://i.imgur.com/vnJSTgg.png

http://i.imgur.com/uLpeQGV.png


Best,
Thiago

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1338277

Title:
  QEmu makes Windows 2008 guests to crash (BSOD)

Status in QEMU:
  New

Bug description:
  Guys,

  I'm trying to run Windows 2008 as a QEmu / KVM guest on my Ubuntu
  14.04 but, after weeks of tests, I figured out that it simple doesn't
  work, KVM makes Windows 2008 to crash, and it is not a Windows fault,
  it is a QEmu bug, I'm pretty sure it is...

  
  Lab environment (5 servers):

  3 physical servers: Dell R610

  2 physycal servers: IBM x3650

  
  * Where Windows crash (5 servers tested) ?

  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every
  hour

  
  * Where Windows do not crash (5 servers tested) ?

  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly

  
  So, after removing QEmu from my environment, and using Xen instead, all Windows guests are now running without any crash.

  What kind of information, can I provide for you guys, to deep debug
  this QEmu problem ?

  Plus, it is interesting to note that a lot of times, all Windows
  guests (on top of QEmu / KVM) crashed at the exactly the same time!
  So, it can not be a problem within each Windows guest, but at the
  Hypervisor itself!

  Also, it worth to mention that this problem is probably affecting any
  OpenStack IceHouse cloud out there, based on Ubuntu + KVM...

  
  Screenshots:

  http://i.imgur.com/vnJSTgg.png

  http://i.imgur.com/uLpeQGV.png

  
  Best,
  Thiago

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1338277/+subscriptions

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1338277] Re: QEmu makes Windows 2008 guests to crash (BSOD)
  2014-07-06 18:51 [Qemu-devel] [Bug 1338277] [NEW] QEmu makes Windows 2008 guests to crash (BSOD) Thiago Martins
@ 2014-07-06 19:40 ` Thiago Martins
  2014-07-06 20:54 ` Thiago Martins
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Thiago Martins @ 2014-07-06 19:40 UTC (permalink / raw)
  To: qemu-devel

** Tags added: 2008 crash qemu windows

** Tags added: bsod

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1338277

Title:
  QEmu makes Windows 2008 guests to crash (BSOD)

Status in QEMU:
  New

Bug description:
  Guys,

  I'm trying to run Windows 2008 as a QEmu / KVM guest on my Ubuntu
  14.04 but, after weeks of tests, I figured out that it simple doesn't
  work, KVM makes Windows 2008 to crash, and it is not a Windows fault,
  it is a QEmu bug, I'm pretty sure it is...

  
  Lab environment (5 servers):

  3 physical servers: Dell R610

  2 physycal servers: IBM x3650

  
  * Where Windows crash (5 servers tested) ?

  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every
  hour

  
  * Where Windows do not crash (5 servers tested) ?

  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly

  
  So, after removing QEmu from my environment, and using Xen instead, all Windows guests are now running without any crash.

  What kind of information, can I provide for you guys, to deep debug
  this QEmu problem ?

  Plus, it is interesting to note that a lot of times, all Windows
  guests (on top of QEmu / KVM) crashed at the exactly the same time!
  So, it can not be a problem within each Windows guest, but at the
  Hypervisor itself!

  Also, it worth to mention that this problem is probably affecting any
  OpenStack IceHouse cloud out there, based on Ubuntu + KVM...

  
  Screenshots:

  http://i.imgur.com/vnJSTgg.png

  http://i.imgur.com/uLpeQGV.png

  
  Best,
  Thiago

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1338277/+subscriptions

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1338277] Re: QEmu makes Windows 2008 guests to crash (BSOD)
  2014-07-06 18:51 [Qemu-devel] [Bug 1338277] [NEW] QEmu makes Windows 2008 guests to crash (BSOD) Thiago Martins
  2014-07-06 19:40 ` [Qemu-devel] [Bug 1338277] " Thiago Martins
@ 2014-07-06 20:54 ` Thiago Martins
  2014-07-06 21:05 ` Thiago Martins
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Thiago Martins @ 2014-07-06 20:54 UTC (permalink / raw)
  To: qemu-devel

** Description changed:

  Guys,
  
- I'm trying to run Windows 2008 as a QEmu / KVM guest on my Ubuntu 14.04
- but, after weeks of tests, I figured out that it simple doesn't work,
- KVM makes Windows 2008 to crash, and it is not a Windows fault, it is a
- QEmu bug, I'm pretty sure it is...
- 
+ I'm trying to run Windows 2008 as a QEmu guest on my Ubuntu 14.04 but,
+ after lots of tests, I figured out that it doesn't work, QEmu makes
+ Windows 2008 to crash, and it is not a Windows fault, I'm pretty sure
+ that it is a QEmu bug.
  
  Lab environment (5 servers):
  
  3 physical servers: Dell R610
  
  2 physycal servers: IBM x3650
  
- 
  * Where Windows crash (5 servers tested) ?
  
  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every hour
- 
  
  * Where Windows do not crash (5 servers tested) ?
  
  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly
  
- 
- So, after removing QEmu from my environment, and using Xen instead, all Windows guests are now running without any crash.
+ So, after removing QEmu from my environment, and using Xen instead, all
+ Windows guests are now running without any crash.
  
  What kind of information, can I provide for you guys, to deep debug this
  QEmu problem ?
  
  Plus, it is interesting to note that a lot of times, all Windows guests
- (on top of QEmu / KVM) crashed at the exactly the same time! So, it can
+ (on top of QEmu / KVM) crashes at the exactly the same time! So, it can
  not be a problem within each Windows guest, but at the Hypervisor
- itself!
+ itself! Something happen there, that affects almost all Windows guests
+ simultaneously.
  
- Also, it worth to mention that this problem is probably affecting any
- OpenStack IceHouse cloud out there, based on Ubuntu + KVM...
- 
+ Also, it worth to mention that this problem is probably affecting clouds
+ based on OpenStack IceHouse, on top of Ubuntu + QEmu 2.0...
  
  Screenshots:
  
  http://i.imgur.com/vnJSTgg.png
  
  http://i.imgur.com/uLpeQGV.png
  
+ NOTE: I'm using KSM (Kernel Samepage Merging) with QEmu, to save RAM. It
+ seems that when with Xen (+QEmu / HVM), KSM is not used :'( , but it is
+ enabled ( 1 > /sys/kernel/mm/ksm/run at Dom0's kernel). I did not tried
+ to disable KSM to see if Windows becomes more stable on QEmu 2.0...
+ 
+ Also, I did not run tests on this environment with Ubuntu 12.04.4 (or
+ 12.04.4 with Ubuntu Cloud Archives, to get newer versions of QEmu (but
+ not 2.0) for old LTS).
+ 
+ CURIOSITY: On older hardware, like Dell R1950 / even R200, and at my old
+ Intel Desktop Core i7, I'm running Windows 2008 and 7, on Ubuntu 14.04
+ with QEmu 2.0 without any crash... I really like to figure out what why
+ QEmu is crashing Windows guests on Dell R610 and on IBM x3650...
+ 
+ Attaching the VM's configuration files on next posts...
  
  Best,
  Thiago

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1338277

Title:
  QEmu makes Windows 2008 guests to crash (BSOD)

Status in QEMU:
  New

Bug description:
  Guys,

  I'm trying to run Windows 2008 as a QEmu guest on my Ubuntu 14.04 but,
  after lots of tests, I figured out that it doesn't work, QEmu makes
  Windows 2008 to crash, and it is not a Windows fault, I'm pretty sure
  that it is a QEmu bug.

  Lab environment (5 servers):

  3 physical servers: Dell R610

  2 physycal servers: IBM x3650

  * Where Windows crash (5 servers tested) ?

  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every
  hour

  * Where Windows do not crash (5 servers tested) ?

  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly

  So, after removing QEmu from my environment, and using Xen instead,
  all Windows guests are now running without any crash.

  What kind of information, can I provide for you guys, to deep debug
  this QEmu problem ?

  Plus, it is interesting to note that a lot of times, all Windows
  guests (on top of QEmu / KVM) crashes at the exactly the same time!
  So, it can not be a problem within each Windows guest, but at the
  Hypervisor itself! Something happen there, that affects almost all
  Windows guests simultaneously.

  Also, it worth to mention that this problem is probably affecting
  clouds based on OpenStack IceHouse, on top of Ubuntu + QEmu 2.0...

  Screenshots:

  http://i.imgur.com/vnJSTgg.png

  http://i.imgur.com/uLpeQGV.png

  NOTE: I'm using KSM (Kernel Samepage Merging) with QEmu, to save RAM.
  It seems that when with Xen (+QEmu / HVM), KSM is not used :'( , but
  it is enabled ( 1 > /sys/kernel/mm/ksm/run at Dom0's kernel). I did
  not tried to disable KSM to see if Windows becomes more stable on QEmu
  2.0...

  Also, I did not run tests on this environment with Ubuntu 12.04.4 (or
  12.04.4 with Ubuntu Cloud Archives, to get newer versions of QEmu (but
  not 2.0) for old LTS).

  CURIOSITY: On older hardware, like Dell R1950 / even R200, and at my
  old Intel Desktop Core i7, I'm running Windows 2008 and 7, on Ubuntu
  14.04 with QEmu 2.0 without any crash... I really like to figure out
  what why QEmu is crashing Windows guests on Dell R610 and on IBM
  x3650...

  Attaching the VM's configuration files on next posts...

  Best,
  Thiago

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1338277/+subscriptions

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1338277] Re: QEmu makes Windows 2008 guests to crash (BSOD)
  2014-07-06 18:51 [Qemu-devel] [Bug 1338277] [NEW] QEmu makes Windows 2008 guests to crash (BSOD) Thiago Martins
  2014-07-06 19:40 ` [Qemu-devel] [Bug 1338277] " Thiago Martins
  2014-07-06 20:54 ` Thiago Martins
@ 2014-07-06 21:05 ` Thiago Martins
  2014-07-07 16:16 ` Thiago Martins
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Thiago Martins @ 2014-07-06 21:05 UTC (permalink / raw)
  To: qemu-devel

** Description changed:

  Guys,
  
  I'm trying to run Windows 2008 as a QEmu guest on my Ubuntu 14.04 but,
  after lots of tests, I figured out that it doesn't work, QEmu makes
  Windows 2008 to crash, and it is not a Windows fault, I'm pretty sure
  that it is a QEmu bug.
  
  Lab environment (5 servers):
  
  3 physical servers: Dell R610
  
  2 physycal servers: IBM x3650
  
  * Where Windows crash (5 servers tested) ?
  
  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every hour
  
  * Where Windows do not crash (5 servers tested) ?
  
  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly
  
  So, after removing QEmu from my environment, and using Xen instead, all
  Windows guests are now running without any crash.
  
  What kind of information, can I provide for you guys, to deep debug this
  QEmu problem ?
  
  Plus, it is interesting to note that a lot of times, all Windows guests
  (on top of QEmu / KVM) crashes at the exactly the same time! So, it can
  not be a problem within each Windows guest, but at the Hypervisor
  itself! Something happen there, that affects almost all Windows guests
  simultaneously.
  
  Also, it worth to mention that this problem is probably affecting clouds
  based on OpenStack IceHouse, on top of Ubuntu + QEmu 2.0...
  
  Screenshots:
  
  http://i.imgur.com/vnJSTgg.png
  
- http://i.imgur.com/uLpeQGV.png
+ http://i.imgur.com/TYn0djk.png
  
  NOTE: I'm using KSM (Kernel Samepage Merging) with QEmu, to save RAM. It
  seems that when with Xen (+QEmu / HVM), KSM is not used :'( , but it is
  enabled ( 1 > /sys/kernel/mm/ksm/run at Dom0's kernel). I did not tried
  to disable KSM to see if Windows becomes more stable on QEmu 2.0...
  
  Also, I did not run tests on this environment with Ubuntu 12.04.4 (or
  12.04.4 with Ubuntu Cloud Archives, to get newer versions of QEmu (but
  not 2.0) for old LTS).
  
  CURIOSITY: On older hardware, like Dell R1950 / even R200, and at my old
  Intel Desktop Core i7, I'm running Windows 2008 and 7, on Ubuntu 14.04
  with QEmu 2.0 without any crash... I really like to figure out what why
  QEmu is crashing Windows guests on Dell R610 and on IBM x3650...
  
  Attaching the VM's configuration files on next posts...
  
  Best,
  Thiago

** Description changed:

  Guys,
  
  I'm trying to run Windows 2008 as a QEmu guest on my Ubuntu 14.04 but,
  after lots of tests, I figured out that it doesn't work, QEmu makes
  Windows 2008 to crash, and it is not a Windows fault, I'm pretty sure
  that it is a QEmu bug.
  
  Lab environment (5 servers):
  
  3 physical servers: Dell R610
  
  2 physycal servers: IBM x3650
  
  * Where Windows crash (5 servers tested) ?
  
  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every hour
  
+ - Installed with "apt-get install ubuntu-virt-server".
+ 
  * Where Windows do not crash (5 servers tested) ?
  
  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly
+ 
+ - Installed with "apt-get install xen-system-amd64".
  
  So, after removing QEmu from my environment, and using Xen instead, all
  Windows guests are now running without any crash.
  
  What kind of information, can I provide for you guys, to deep debug this
  QEmu problem ?
  
  Plus, it is interesting to note that a lot of times, all Windows guests
  (on top of QEmu / KVM) crashes at the exactly the same time! So, it can
  not be a problem within each Windows guest, but at the Hypervisor
  itself! Something happen there, that affects almost all Windows guests
  simultaneously.
  
  Also, it worth to mention that this problem is probably affecting clouds
  based on OpenStack IceHouse, on top of Ubuntu + QEmu 2.0...
  
  Screenshots:
  
  http://i.imgur.com/vnJSTgg.png
  
  http://i.imgur.com/TYn0djk.png
  
  NOTE: I'm using KSM (Kernel Samepage Merging) with QEmu, to save RAM. It
  seems that when with Xen (+QEmu / HVM), KSM is not used :'( , but it is
  enabled ( 1 > /sys/kernel/mm/ksm/run at Dom0's kernel). I did not tried
  to disable KSM to see if Windows becomes more stable on QEmu 2.0...
  
  Also, I did not run tests on this environment with Ubuntu 12.04.4 (or
  12.04.4 with Ubuntu Cloud Archives, to get newer versions of QEmu (but
  not 2.0) for old LTS).
  
  CURIOSITY: On older hardware, like Dell R1950 / even R200, and at my old
  Intel Desktop Core i7, I'm running Windows 2008 and 7, on Ubuntu 14.04
  with QEmu 2.0 without any crash... I really like to figure out what why
  QEmu is crashing Windows guests on Dell R610 and on IBM x3650...
  
  Attaching the VM's configuration files on next posts...
  
  Best,
  Thiago

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1338277

Title:
  QEmu makes Windows 2008 guests to crash (BSOD)

Status in QEMU:
  New

Bug description:
  Guys,

  I'm trying to run Windows 2008 as a QEmu guest on my Ubuntu 14.04 but,
  after lots of tests, I figured out that it doesn't work, QEmu makes
  Windows 2008 to crash, and it is not a Windows fault, I'm pretty sure
  that it is a QEmu bug.

  Lab environment (5 servers):

  3 physical servers: Dell R610

  2 physycal servers: IBM x3650

  * Where Windows crash (5 servers tested) ?

  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every
  hour

  - Installed with "apt-get install ubuntu-virt-server".

  * Where Windows do not crash (5 servers tested) ?

  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly

  - Installed with "apt-get install xen-system-amd64".

  So, after removing QEmu from my environment, and using Xen instead,
  all Windows guests are now running without any crash.

  What kind of information, can I provide for you guys, to deep debug
  this QEmu problem ?

  Plus, it is interesting to note that a lot of times, all Windows
  guests (on top of QEmu / KVM) crashes at the exactly the same time!
  So, it can not be a problem within each Windows guest, but at the
  Hypervisor itself! Something happen there, that affects almost all
  Windows guests simultaneously.

  Also, it worth to mention that this problem is probably affecting
  clouds based on OpenStack IceHouse, on top of Ubuntu + QEmu 2.0...

  Screenshots:

  http://i.imgur.com/vnJSTgg.png

  http://i.imgur.com/TYn0djk.png

  NOTE: I'm using KSM (Kernel Samepage Merging) with QEmu, to save RAM.
  It seems that when with Xen (+QEmu / HVM), KSM is not used :'( , but
  it is enabled ( 1 > /sys/kernel/mm/ksm/run at Dom0's kernel). I did
  not tried to disable KSM to see if Windows becomes more stable on QEmu
  2.0...

  Also, I did not run tests on this environment with Ubuntu 12.04.4 (or
  12.04.4 with Ubuntu Cloud Archives, to get newer versions of QEmu (but
  not 2.0) for old LTS).

  CURIOSITY: On older hardware, like Dell R1950 / even R200, and at my
  old Intel Desktop Core i7, I'm running Windows 2008 and 7, on Ubuntu
  14.04 with QEmu 2.0 without any crash... I really like to figure out
  what why QEmu is crashing Windows guests on Dell R610 and on IBM
  x3650...

  Attaching the VM's configuration files on next posts...

  Best,
  Thiago

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1338277/+subscriptions

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1338277] Re: QEmu makes Windows 2008 guests to crash (BSOD)
  2014-07-06 18:51 [Qemu-devel] [Bug 1338277] [NEW] QEmu makes Windows 2008 guests to crash (BSOD) Thiago Martins
                   ` (2 preceding siblings ...)
  2014-07-06 21:05 ` Thiago Martins
@ 2014-07-07 16:16 ` Thiago Martins
  2014-07-07 17:15 ` Thiago Martins
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Thiago Martins @ 2014-07-07 16:16 UTC (permalink / raw)
  To: qemu-devel

** Description changed:

  Guys,
  
  I'm trying to run Windows 2008 as a QEmu guest on my Ubuntu 14.04 but,
  after lots of tests, I figured out that it doesn't work, QEmu makes
  Windows 2008 to crash, and it is not a Windows fault, I'm pretty sure
  that it is a QEmu bug.
  
  Lab environment (5 servers):
  
  3 physical servers: Dell R610
  
  2 physycal servers: IBM x3650
  
  * Where Windows crash (5 servers tested) ?
  
  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every hour
  
  - Installed with "apt-get install ubuntu-virt-server".
  
  * Where Windows do not crash (5 servers tested) ?
  
  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly
  
  - Installed with "apt-get install xen-system-amd64".
  
  So, after removing QEmu from my environment, and using Xen instead, all
  Windows guests are now running without any crash.
  
  What kind of information, can I provide for you guys, to deep debug this
  QEmu problem ?
  
  Plus, it is interesting to note that a lot of times, all Windows guests
  (on top of QEmu / KVM) crashes at the exactly the same time! So, it can
  not be a problem within each Windows guest, but at the Hypervisor
  itself! Something happen there, that affects almost all Windows guests
  simultaneously.
  
  Also, it worth to mention that this problem is probably affecting clouds
  based on OpenStack IceHouse, on top of Ubuntu + QEmu 2.0...
  
  Screenshots:
  
  http://i.imgur.com/vnJSTgg.png
  
- http://i.imgur.com/TYn0djk.png
+ http://i.imgur.com/34nADWr.png
  
  NOTE: I'm using KSM (Kernel Samepage Merging) with QEmu, to save RAM. It
  seems that when with Xen (+QEmu / HVM), KSM is not used :'( , but it is
  enabled ( 1 > /sys/kernel/mm/ksm/run at Dom0's kernel). I did not tried
  to disable KSM to see if Windows becomes more stable on QEmu 2.0...
  
  Also, I did not run tests on this environment with Ubuntu 12.04.4 (or
  12.04.4 with Ubuntu Cloud Archives, to get newer versions of QEmu (but
  not 2.0) for old LTS).
  
  CURIOSITY: On older hardware, like Dell R1950 / even R200, and at my old
  Intel Desktop Core i7, I'm running Windows 2008 and 7, on Ubuntu 14.04
  with QEmu 2.0 without any crash... I really like to figure out what why
  QEmu is crashing Windows guests on Dell R610 and on IBM x3650...
  
  Attaching the VM's configuration files on next posts...
  
  Best,
  Thiago

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1338277

Title:
  QEmu makes Windows 2008 guests to crash (BSOD)

Status in QEMU:
  New

Bug description:
  Guys,

  I'm trying to run Windows 2008 as a QEmu guest on my Ubuntu 14.04 but,
  after lots of tests, I figured out that it doesn't work, QEmu makes
  Windows 2008 to crash, and it is not a Windows fault, I'm pretty sure
  that it is a QEmu bug.

  Lab environment (5 servers):

  3 physical servers: Dell R610

  2 physycal servers: IBM x3650

  * Where Windows crash (5 servers tested) ?

  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every
  hour

  - Installed with "apt-get install ubuntu-virt-server".

  * Where Windows do not crash (5 servers tested) ?

  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly

  - Installed with "apt-get install xen-system-amd64".

  So, after removing QEmu from my environment, and using Xen instead,
  all Windows guests are now running without any crash.

  What kind of information, can I provide for you guys, to deep debug
  this QEmu problem ?

  Plus, it is interesting to note that a lot of times, all Windows
  guests (on top of QEmu / KVM) crashes at the exactly the same time!
  So, it can not be a problem within each Windows guest, but at the
  Hypervisor itself! Something happen there, that affects almost all
  Windows guests simultaneously.

  Also, it worth to mention that this problem is probably affecting
  clouds based on OpenStack IceHouse, on top of Ubuntu + QEmu 2.0...

  Screenshots:

  http://i.imgur.com/vnJSTgg.png

  http://i.imgur.com/34nADWr.png

  NOTE: I'm using KSM (Kernel Samepage Merging) with QEmu, to save RAM.
  It seems that when with Xen (+QEmu / HVM), KSM is not used :'( , but
  it is enabled ( 1 > /sys/kernel/mm/ksm/run at Dom0's kernel). I did
  not tried to disable KSM to see if Windows becomes more stable on QEmu
  2.0...

  Also, I did not run tests on this environment with Ubuntu 12.04.4 (or
  12.04.4 with Ubuntu Cloud Archives, to get newer versions of QEmu (but
  not 2.0) for old LTS).

  CURIOSITY: On older hardware, like Dell R1950 / even R200, and at my
  old Intel Desktop Core i7, I'm running Windows 2008 and 7, on Ubuntu
  14.04 with QEmu 2.0 without any crash... I really like to figure out
  what why QEmu is crashing Windows guests on Dell R610 and on IBM
  x3650...

  Attaching the VM's configuration files on next posts...

  Best,
  Thiago

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1338277/+subscriptions

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1338277] Re: QEmu makes Windows 2008 guests to crash (BSOD)
  2014-07-06 18:51 [Qemu-devel] [Bug 1338277] [NEW] QEmu makes Windows 2008 guests to crash (BSOD) Thiago Martins
                   ` (3 preceding siblings ...)
  2014-07-07 16:16 ` Thiago Martins
@ 2014-07-07 17:15 ` Thiago Martins
  2014-07-07 19:03 ` [Qemu-devel] [Bug 1338277] Re: QEmu 2.0 " Thiago Martins
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Thiago Martins @ 2014-07-07 17:15 UTC (permalink / raw)
  To: qemu-devel

** Description changed:

  Guys,
  
  I'm trying to run Windows 2008 as a QEmu guest on my Ubuntu 14.04 but,
  after lots of tests, I figured out that it doesn't work, QEmu makes
  Windows 2008 to crash, and it is not a Windows fault, I'm pretty sure
  that it is a QEmu bug.
  
  Lab environment (5 servers):
  
  3 physical servers: Dell R610
  
  2 physycal servers: IBM x3650
  
  * Where Windows crash (5 servers tested) ?
  
  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every hour
  
  - Installed with "apt-get install ubuntu-virt-server".
  
  * Where Windows do not crash (5 servers tested) ?
  
  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly
  
  - Installed with "apt-get install xen-system-amd64".
  
  So, after removing QEmu from my environment, and using Xen instead, all
  Windows guests are now running without any crash.
  
  What kind of information, can I provide for you guys, to deep debug this
  QEmu problem ?
  
  Plus, it is interesting to note that a lot of times, all Windows guests
  (on top of QEmu / KVM) crashes at the exactly the same time! So, it can
  not be a problem within each Windows guest, but at the Hypervisor
  itself! Something happen there, that affects almost all Windows guests
  simultaneously.
  
  Also, it worth to mention that this problem is probably affecting clouds
  based on OpenStack IceHouse, on top of Ubuntu + QEmu 2.0...
  
  Screenshots:
  
  http://i.imgur.com/vnJSTgg.png
  
  http://i.imgur.com/34nADWr.png
  
  NOTE: I'm using KSM (Kernel Samepage Merging) with QEmu, to save RAM. It
  seems that when with Xen (+QEmu / HVM), KSM is not used :'( , but it is
  enabled ( 1 > /sys/kernel/mm/ksm/run at Dom0's kernel). I did not tried
  to disable KSM to see if Windows becomes more stable on QEmu 2.0...
  
  Also, I did not run tests on this environment with Ubuntu 12.04.4 (or
  12.04.4 with Ubuntu Cloud Archives, to get newer versions of QEmu (but
  not 2.0) for old LTS).
  
  CURIOSITY: On older hardware, like Dell R1950 / even R200, and at my old
  Intel Desktop Core i7, I'm running Windows 2008 and 7, on Ubuntu 14.04
- with QEmu 2.0 without any crash... I really like to figure out what why
- QEmu is crashing Windows guests on Dell R610 and on IBM x3650...
+ with QEmu 2.0 without any crash... I really like to figure out why QEmu
+ is crashing Windows guests on Dell R610 and on IBM x3650...
  
  Attaching the VM's configuration files on next posts...
  
  Best,
  Thiago

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1338277

Title:
  QEmu makes Windows 2008 guests to crash (BSOD)

Status in QEMU:
  New

Bug description:
  Guys,

  I'm trying to run Windows 2008 as a QEmu guest on my Ubuntu 14.04 but,
  after lots of tests, I figured out that it doesn't work, QEmu makes
  Windows 2008 to crash, and it is not a Windows fault, I'm pretty sure
  that it is a QEmu bug.

  Lab environment (5 servers):

  3 physical servers: Dell R610

  2 physycal servers: IBM x3650

  * Where Windows crash (5 servers tested) ?

  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every
  hour

  - Installed with "apt-get install ubuntu-virt-server".

  * Where Windows do not crash (5 servers tested) ?

  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly

  - Installed with "apt-get install xen-system-amd64".

  So, after removing QEmu from my environment, and using Xen instead,
  all Windows guests are now running without any crash.

  What kind of information, can I provide for you guys, to deep debug
  this QEmu problem ?

  Plus, it is interesting to note that a lot of times, all Windows
  guests (on top of QEmu / KVM) crashes at the exactly the same time!
  So, it can not be a problem within each Windows guest, but at the
  Hypervisor itself! Something happen there, that affects almost all
  Windows guests simultaneously.

  Also, it worth to mention that this problem is probably affecting
  clouds based on OpenStack IceHouse, on top of Ubuntu + QEmu 2.0...

  Screenshots:

  http://i.imgur.com/vnJSTgg.png

  http://i.imgur.com/34nADWr.png

  NOTE: I'm using KSM (Kernel Samepage Merging) with QEmu, to save RAM.
  It seems that when with Xen (+QEmu / HVM), KSM is not used :'( , but
  it is enabled ( 1 > /sys/kernel/mm/ksm/run at Dom0's kernel). I did
  not tried to disable KSM to see if Windows becomes more stable on QEmu
  2.0...

  Also, I did not run tests on this environment with Ubuntu 12.04.4 (or
  12.04.4 with Ubuntu Cloud Archives, to get newer versions of QEmu (but
  not 2.0) for old LTS).

  CURIOSITY: On older hardware, like Dell R1950 / even R200, and at my
  old Intel Desktop Core i7, I'm running Windows 2008 and 7, on Ubuntu
  14.04 with QEmu 2.0 without any crash... I really like to figure out
  why QEmu is crashing Windows guests on Dell R610 and on IBM x3650...

  Attaching the VM's configuration files on next posts...

  Best,
  Thiago

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1338277/+subscriptions

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1338277] Re: QEmu 2.0 makes Windows 2008 guests to crash (BSOD)
  2014-07-06 18:51 [Qemu-devel] [Bug 1338277] [NEW] QEmu makes Windows 2008 guests to crash (BSOD) Thiago Martins
                   ` (4 preceding siblings ...)
  2014-07-07 17:15 ` Thiago Martins
@ 2014-07-07 19:03 ` Thiago Martins
  2014-07-08  0:16 ` Thiago Martins
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Thiago Martins @ 2014-07-07 19:03 UTC (permalink / raw)
  To: qemu-devel

** Summary changed:

- QEmu makes Windows 2008 guests to crash (BSOD)
+ QEmu 2.0 makes Windows 2008 guests to crash (BSOD)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1338277

Title:
  QEmu 2.0 makes Windows 2008 guests to crash (BSOD)

Status in QEMU:
  New

Bug description:
  Guys,

  I'm trying to run Windows 2008 as a QEmu guest on my Ubuntu 14.04 but,
  after lots of tests, I figured out that it doesn't work, QEmu makes
  Windows 2008 to crash, and it is not a Windows fault, I'm pretty sure
  that it is a QEmu bug.

  Lab environment (5 servers):

  3 physical servers: Dell R610

  2 physycal servers: IBM x3650

  * Where Windows crash (5 servers tested) ?

  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every
  hour

  - Installed with "apt-get install ubuntu-virt-server".

  * Where Windows do not crash (5 servers tested) ?

  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly

  - Installed with "apt-get install xen-system-amd64".

  So, after removing QEmu from my environment, and using Xen instead,
  all Windows guests are now running without any crash.

  What kind of information, can I provide for you guys, to deep debug
  this QEmu problem ?

  Plus, it is interesting to note that a lot of times, all Windows
  guests (on top of QEmu / KVM) crashes at the exactly the same time!
  So, it can not be a problem within each Windows guest, but at the
  Hypervisor itself! Something happen there, that affects almost all
  Windows guests simultaneously.

  Also, it worth to mention that this problem is probably affecting
  clouds based on OpenStack IceHouse, on top of Ubuntu + QEmu 2.0...

  Screenshots:

  http://i.imgur.com/vnJSTgg.png

  http://i.imgur.com/34nADWr.png

  NOTE: I'm using KSM (Kernel Samepage Merging) with QEmu, to save RAM.
  It seems that when with Xen (+QEmu / HVM), KSM is not used :'( , but
  it is enabled ( 1 > /sys/kernel/mm/ksm/run at Dom0's kernel). I did
  not tried to disable KSM to see if Windows becomes more stable on QEmu
  2.0...

  Also, I did not run tests on this environment with Ubuntu 12.04.4 (or
  12.04.4 with Ubuntu Cloud Archives, to get newer versions of QEmu (but
  not 2.0) for old LTS).

  CURIOSITY: On older hardware, like Dell R1950 / even R200, and at my
  old Intel Desktop Core i7, I'm running Windows 2008 and 7, on Ubuntu
  14.04 with QEmu 2.0 without any crash... I really like to figure out
  why QEmu is crashing Windows guests on Dell R610 and on IBM x3650...

  Attaching the VM's configuration files on next posts...

  Best,
  Thiago

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1338277/+subscriptions

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1338277] Re: QEmu 2.0 makes Windows 2008 guests to crash (BSOD)
  2014-07-06 18:51 [Qemu-devel] [Bug 1338277] [NEW] QEmu makes Windows 2008 guests to crash (BSOD) Thiago Martins
                   ` (5 preceding siblings ...)
  2014-07-07 19:03 ` [Qemu-devel] [Bug 1338277] Re: QEmu 2.0 " Thiago Martins
@ 2014-07-08  0:16 ` Thiago Martins
  2014-07-08  3:44 ` [Qemu-devel] [Bug 1338277] Re: Ubuntu 14.04 + QEmu 2.0 + KSM = 1, makes Windows 2008 R2 " Matthew Anderson
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Thiago Martins @ 2014-07-08  0:16 UTC (permalink / raw)
  To: qemu-devel

Guys!

I can confirm that, after disabling KSM, all "guest problems"
disappeared!! All Windows 2008 R2 guests are now very stable under QEmu
2.0 but, KSM is disabled.


* Windows 2008 R2 guests running for about 6 hours without any crash *


Workaround - disabling KSM:

---
root@hyper-kvm-1:~# cat /etc/default/qemu-kvm 
KSM_ENABLED=0
SLEEP_MILLISECS=200
VHOST_NET_ENABLED=1
KVM_HUGEPAGES=0
---

---
root@hyper-kvm-1:~# cat /sys/kernel/mm/ksm/run 
0
---


But, I'm wasting a lot RAM memory, since my guests are clones of each other, I really need QEmu with KSM...     :-(


Is there any way to re-enable KSM while preserving system stability? Maybe updating to mainline Kernel? New QEmu version!? Backports?!


-
NOTE:

 Do you guys thinks that this problem might be related to the following
BUG:

 QEMU Windows guest unstable after random amount of time:
 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1322441

 ???
-


Also, Windows 7, when with KSM enabled, crashes during the installation, every time. After disabling KSM, I was able to install and use Windows 7 without any crash, and with SPICE! So, maybe, with Windows 7 ISO CD in hands, this problem might be easy to reproduce, while with Windows 2008 R2, it randomly crashes within ~2 hours...


Cheers!
Thiago

** Summary changed:

- QEmu 2.0 makes Windows 2008 guests to crash (BSOD)
+ Ubuntu 14.04 + QEmu 2.0 + KSM = 1, makes Windows 2008 R2 guests to crash (BSOD)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1338277

Title:
  Ubuntu 14.04 + QEmu 2.0 + KSM = 1, makes Windows 2008 R2 guests to
  crash (BSOD)

Status in QEMU:
  New

Bug description:
  Guys,

  I'm trying to run Windows 2008 as a QEmu guest on my Ubuntu 14.04 but,
  after lots of tests, I figured out that it doesn't work, QEmu makes
  Windows 2008 to crash, and it is not a Windows fault, I'm pretty sure
  that it is a QEmu bug.

  Lab environment (5 servers):

  3 physical servers: Dell R610

  2 physycal servers: IBM x3650

  * Where Windows crash (5 servers tested) ?

  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every
  hour

  - Installed with "apt-get install ubuntu-virt-server".

  * Where Windows do not crash (5 servers tested) ?

  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly

  - Installed with "apt-get install xen-system-amd64".

  So, after removing QEmu from my environment, and using Xen instead,
  all Windows guests are now running without any crash.

  What kind of information, can I provide for you guys, to deep debug
  this QEmu problem ?

  Plus, it is interesting to note that a lot of times, all Windows
  guests (on top of QEmu / KVM) crashes at the exactly the same time!
  So, it can not be a problem within each Windows guest, but at the
  Hypervisor itself! Something happen there, that affects almost all
  Windows guests simultaneously.

  Also, it worth to mention that this problem is probably affecting
  clouds based on OpenStack IceHouse, on top of Ubuntu + QEmu 2.0...

  Screenshots:

  http://i.imgur.com/vnJSTgg.png

  http://i.imgur.com/34nADWr.png

  NOTE: I'm using KSM (Kernel Samepage Merging) with QEmu, to save RAM.
  It seems that when with Xen (+QEmu / HVM), KSM is not used :'( , but
  it is enabled ( 1 > /sys/kernel/mm/ksm/run at Dom0's kernel). I did
  not tried to disable KSM to see if Windows becomes more stable on QEmu
  2.0...

  Also, I did not run tests on this environment with Ubuntu 12.04.4 (or
  12.04.4 with Ubuntu Cloud Archives, to get newer versions of QEmu (but
  not 2.0) for old LTS).

  CURIOSITY: On older hardware, like Dell R1950 / even R200, and at my
  old Intel Desktop Core i7, I'm running Windows 2008 and 7, on Ubuntu
  14.04 with QEmu 2.0 without any crash... I really like to figure out
  why QEmu is crashing Windows guests on Dell R610 and on IBM x3650...

  Attaching the VM's configuration files on next posts...

  Best,
  Thiago

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1338277/+subscriptions

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1338277] Re: Ubuntu 14.04 + QEmu 2.0 + KSM = 1, makes Windows 2008 R2 guests to crash (BSOD)
  2014-07-06 18:51 [Qemu-devel] [Bug 1338277] [NEW] QEmu makes Windows 2008 guests to crash (BSOD) Thiago Martins
                   ` (6 preceding siblings ...)
  2014-07-08  0:16 ` Thiago Martins
@ 2014-07-08  3:44 ` Matthew Anderson
  2014-07-08  8:46 ` Thiago Martins
  2014-07-08 11:16 ` Christopher M. Penalver
  9 siblings, 0 replies; 11+ messages in thread
From: Matthew Anderson @ 2014-07-08  3:44 UTC (permalink / raw)
  To: qemu-devel

Hi Thiago,

Your issue probably isn't related to the one I reported [1322441]. My
issue was with automatic NUMA balancing. You could certainly try
disabling numa balancing ( echo 0 > /proc/sys/kernel/numa_balancing )
and enabling KSM again to see if the fault occurs and if the crash is
resolved it may point a conflict between NUMA balancing and KSM.

I have noticed however that on one of my hosts virtual machines running
2008r2 has BSOD'd with PAGE_FAULT_IN_NON_PAGED_AREA. It's only two
guests in particular and the others run just fine (including 2012R2). I
had a theory it may have something to do with the new VAPIC in the v2
Sandy Bridge processors so I've dropped the CPU option from host to
QEMU64 and haven't been able to replicate the issue (yet). I know there
is a current issue on the Red Hat bug tracker that causes Windows not to
boot when the hv_apic and x2apic features are used together.

Hopefully that helps

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1338277

Title:
  Ubuntu 14.04 + QEmu 2.0 + KSM = 1, makes Windows 2008 R2 guests to
  crash (BSOD)

Status in QEMU:
  New

Bug description:
  Guys,

  I'm trying to run Windows 2008 as a QEmu guest on my Ubuntu 14.04 but,
  after lots of tests, I figured out that it doesn't work, QEmu makes
  Windows 2008 to crash, and it is not a Windows fault, I'm pretty sure
  that it is a QEmu bug.

  Lab environment (5 servers):

  3 physical servers: Dell R610

  2 physycal servers: IBM x3650

  * Where Windows crash (5 servers tested) ?

  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every
  hour

  - Installed with "apt-get install ubuntu-virt-server".

  * Where Windows do not crash (5 servers tested) ?

  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly

  - Installed with "apt-get install xen-system-amd64".

  So, after removing QEmu from my environment, and using Xen instead,
  all Windows guests are now running without any crash.

  What kind of information, can I provide for you guys, to deep debug
  this QEmu problem ?

  Plus, it is interesting to note that a lot of times, all Windows
  guests (on top of QEmu / KVM) crashes at the exactly the same time!
  So, it can not be a problem within each Windows guest, but at the
  Hypervisor itself! Something happen there, that affects almost all
  Windows guests simultaneously.

  Also, it worth to mention that this problem is probably affecting
  clouds based on OpenStack IceHouse, on top of Ubuntu + QEmu 2.0...

  Screenshots:

  http://i.imgur.com/vnJSTgg.png

  http://i.imgur.com/34nADWr.png

  NOTE: I'm using KSM (Kernel Samepage Merging) with QEmu, to save RAM.
  It seems that when with Xen (+QEmu / HVM), KSM is not used :'( , but
  it is enabled ( 1 > /sys/kernel/mm/ksm/run at Dom0's kernel). I did
  not tried to disable KSM to see if Windows becomes more stable on QEmu
  2.0...

  Also, I did not run tests on this environment with Ubuntu 12.04.4 (or
  12.04.4 with Ubuntu Cloud Archives, to get newer versions of QEmu (but
  not 2.0) for old LTS).

  CURIOSITY: On older hardware, like Dell R1950 / even R200, and at my
  old Intel Desktop Core i7, I'm running Windows 2008 and 7, on Ubuntu
  14.04 with QEmu 2.0 without any crash... I really like to figure out
  why QEmu is crashing Windows guests on Dell R610 and on IBM x3650...

  Attaching the VM's configuration files on next posts...

  Best,
  Thiago

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1338277/+subscriptions

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1338277] Re: Ubuntu 14.04 + QEmu 2.0 + KSM = 1, makes Windows 2008 R2 guests to crash (BSOD)
  2014-07-06 18:51 [Qemu-devel] [Bug 1338277] [NEW] QEmu makes Windows 2008 guests to crash (BSOD) Thiago Martins
                   ` (7 preceding siblings ...)
  2014-07-08  3:44 ` [Qemu-devel] [Bug 1338277] Re: Ubuntu 14.04 + QEmu 2.0 + KSM = 1, makes Windows 2008 R2 " Matthew Anderson
@ 2014-07-08  8:46 ` Thiago Martins
  2014-07-08 11:16 ` Christopher M. Penalver
  9 siblings, 0 replies; 11+ messages in thread
From: Thiago Martins @ 2014-07-08  8:46 UTC (permalink / raw)
  To: qemu-devel

** Description changed:

  Guys,
  
  I'm trying to run Windows 2008 as a QEmu guest on my Ubuntu 14.04 but,
  after lots of tests, I figured out that it doesn't work, QEmu makes
  Windows 2008 to crash, and it is not a Windows fault, I'm pretty sure
  that it is a QEmu bug.
  
  Lab environment (5 servers):
  
  3 physical servers: Dell R610
  
  2 physycal servers: IBM x3650
  
  * Where Windows crash (5 servers tested) ?
  
  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every hour
  
  - Installed with "apt-get install ubuntu-virt-server".
  
  * Where Windows do not crash (5 servers tested) ?
  
  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly
  
  - Installed with "apt-get install xen-system-amd64".
  
  So, after removing QEmu from my environment, and using Xen instead, all
  Windows guests are now running without any crash.
  
  What kind of information, can I provide for you guys, to deep debug this
  QEmu problem ?
  
  Plus, it is interesting to note that a lot of times, all Windows guests
  (on top of QEmu / KVM) crashes at the exactly the same time! So, it can
  not be a problem within each Windows guest, but at the Hypervisor
  itself! Something happen there, that affects almost all Windows guests
  simultaneously.
  
  Also, it worth to mention that this problem is probably affecting clouds
  based on OpenStack IceHouse, on top of Ubuntu + QEmu 2.0...
  
  Screenshots:
  
  http://i.imgur.com/vnJSTgg.png
  
  http://i.imgur.com/34nADWr.png
  
  NOTE: I'm using KSM (Kernel Samepage Merging) with QEmu, to save RAM. It
  seems that when with Xen (+QEmu / HVM), KSM is not used :'( , but it is
  enabled ( 1 > /sys/kernel/mm/ksm/run at Dom0's kernel). I did not tried
  to disable KSM to see if Windows becomes more stable on QEmu 2.0...
  
  Also, I did not run tests on this environment with Ubuntu 12.04.4 (or
  12.04.4 with Ubuntu Cloud Archives, to get newer versions of QEmu (but
  not 2.0) for old LTS).
  
- CURIOSITY: On older hardware, like Dell R1950 / even R200, and at my old
- Intel Desktop Core i7, I'm running Windows 2008 and 7, on Ubuntu 14.04
- with QEmu 2.0 without any crash... I really like to figure out why QEmu
- is crashing Windows guests on Dell R610 and on IBM x3650...
+ CURIOSITY: On older hardware, like Dell R1950, and at my old Intel
+ Desktop Core i7, I'm running Windows 2008 and 7, on Ubuntu 14.04 with
+ QEmu 2.0 without any crash... I really like to figure out why QEmu is
+ crashing Windows guests on Dell R610 and on IBM x3650...
  
  Attaching the VM's configuration files on next posts...
  
  Best,
  Thiago

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1338277

Title:
  Ubuntu 14.04 + QEmu 2.0 + KSM = 1, makes Windows 2008 R2 guests to
  crash (BSOD)

Status in QEMU:
  New

Bug description:
  Guys,

  I'm trying to run Windows 2008 as a QEmu guest on my Ubuntu 14.04 but,
  after lots of tests, I figured out that it doesn't work, QEmu makes
  Windows 2008 to crash, and it is not a Windows fault, I'm pretty sure
  that it is a QEmu bug.

  Lab environment (5 servers):

  3 physical servers: Dell R610

  2 physycal servers: IBM x3650

  * Where Windows crash (5 servers tested) ?

  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every
  hour

  - Installed with "apt-get install ubuntu-virt-server".

  * Where Windows do not crash (5 servers tested) ?

  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly

  - Installed with "apt-get install xen-system-amd64".

  So, after removing QEmu from my environment, and using Xen instead,
  all Windows guests are now running without any crash.

  What kind of information, can I provide for you guys, to deep debug
  this QEmu problem ?

  Plus, it is interesting to note that a lot of times, all Windows
  guests (on top of QEmu / KVM) crashes at the exactly the same time!
  So, it can not be a problem within each Windows guest, but at the
  Hypervisor itself! Something happen there, that affects almost all
  Windows guests simultaneously.

  Also, it worth to mention that this problem is probably affecting
  clouds based on OpenStack IceHouse, on top of Ubuntu + QEmu 2.0...

  Screenshots:

  http://i.imgur.com/vnJSTgg.png

  http://i.imgur.com/34nADWr.png

  NOTE: I'm using KSM (Kernel Samepage Merging) with QEmu, to save RAM.
  It seems that when with Xen (+QEmu / HVM), KSM is not used :'( , but
  it is enabled ( 1 > /sys/kernel/mm/ksm/run at Dom0's kernel). I did
  not tried to disable KSM to see if Windows becomes more stable on QEmu
  2.0...

  Also, I did not run tests on this environment with Ubuntu 12.04.4 (or
  12.04.4 with Ubuntu Cloud Archives, to get newer versions of QEmu (but
  not 2.0) for old LTS).

  CURIOSITY: On older hardware, like Dell R1950, and at my old Intel
  Desktop Core i7, I'm running Windows 2008 and 7, on Ubuntu 14.04 with
  QEmu 2.0 without any crash... I really like to figure out why QEmu is
  crashing Windows guests on Dell R610 and on IBM x3650...

  Attaching the VM's configuration files on next posts...

  Best,
  Thiago

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1338277/+subscriptions

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Qemu-devel] [Bug 1338277] Re: Ubuntu 14.04 + QEmu 2.0 + KSM = 1, makes Windows 2008 R2 guests to crash (BSOD)
  2014-07-06 18:51 [Qemu-devel] [Bug 1338277] [NEW] QEmu makes Windows 2008 guests to crash (BSOD) Thiago Martins
                   ` (8 preceding siblings ...)
  2014-07-08  8:46 ` Thiago Martins
@ 2014-07-08 11:16 ` Christopher M. Penalver
  9 siblings, 0 replies; 11+ messages in thread
From: Christopher M. Penalver @ 2014-07-08 11:16 UTC (permalink / raw)
  To: qemu-devel

** Project changed: qemu => qemu (Ubuntu)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1338277

Title:
  Ubuntu 14.04 + QEmu 2.0 + KSM = 1, makes Windows 2008 R2 guests to
  crash (BSOD)

Status in “qemu” package in Ubuntu:
  New

Bug description:
  Guys,

  I'm trying to run Windows 2008 as a QEmu guest on my Ubuntu 14.04 but,
  after lots of tests, I figured out that it doesn't work, QEmu makes
  Windows 2008 to crash, and it is not a Windows fault, I'm pretty sure
  that it is a QEmu bug.

  Lab environment (5 servers):

  3 physical servers: Dell R610

  2 physycal servers: IBM x3650

  * Where Windows crash (5 servers tested) ?

  Ubuntu 14.04 + QEmu 2.0 + VirtIO 0.1-81 = Windows 2008 crash every
  hour

  - Installed with "apt-get install ubuntu-virt-server".

  * Where Windows do not crash (5 servers tested) ?

  Ubuntu 14.04 + Xen 4.4 +  gplpv_Vista2008x64_1.0.1092.9 = Windows
  working smoothly

  - Installed with "apt-get install xen-system-amd64".

  So, after removing QEmu from my environment, and using Xen instead,
  all Windows guests are now running without any crash.

  What kind of information, can I provide for you guys, to deep debug
  this QEmu problem ?

  Plus, it is interesting to note that a lot of times, all Windows
  guests (on top of QEmu / KVM) crashes at the exactly the same time!
  So, it can not be a problem within each Windows guest, but at the
  Hypervisor itself! Something happen there, that affects almost all
  Windows guests simultaneously.

  Also, it worth to mention that this problem is probably affecting
  clouds based on OpenStack IceHouse, on top of Ubuntu + QEmu 2.0...

  Screenshots:

  http://i.imgur.com/vnJSTgg.png

  http://i.imgur.com/34nADWr.png

  NOTE: I'm using KSM (Kernel Samepage Merging) with QEmu, to save RAM.
  It seems that when with Xen (+QEmu / HVM), KSM is not used :'( , but
  it is enabled ( 1 > /sys/kernel/mm/ksm/run at Dom0's kernel). I did
  not tried to disable KSM to see if Windows becomes more stable on QEmu
  2.0...

  Also, I did not run tests on this environment with Ubuntu 12.04.4 (or
  12.04.4 with Ubuntu Cloud Archives, to get newer versions of QEmu (but
  not 2.0) for old LTS).

  CURIOSITY: On older hardware, like Dell R1950, and at my old Intel
  Desktop Core i7, I'm running Windows 2008 and 7, on Ubuntu 14.04 with
  QEmu 2.0 without any crash... I really like to figure out why QEmu is
  crashing Windows guests on Dell R610 and on IBM x3650...

  Attaching the VM's configuration files on next posts...

  Best,
  Thiago

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-07-08 11:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-06 18:51 [Qemu-devel] [Bug 1338277] [NEW] QEmu makes Windows 2008 guests to crash (BSOD) Thiago Martins
2014-07-06 19:40 ` [Qemu-devel] [Bug 1338277] " Thiago Martins
2014-07-06 20:54 ` Thiago Martins
2014-07-06 21:05 ` Thiago Martins
2014-07-07 16:16 ` Thiago Martins
2014-07-07 17:15 ` Thiago Martins
2014-07-07 19:03 ` [Qemu-devel] [Bug 1338277] Re: QEmu 2.0 " Thiago Martins
2014-07-08  0:16 ` Thiago Martins
2014-07-08  3:44 ` [Qemu-devel] [Bug 1338277] Re: Ubuntu 14.04 + QEmu 2.0 + KSM = 1, makes Windows 2008 R2 " Matthew Anderson
2014-07-08  8:46 ` Thiago Martins
2014-07-08 11:16 ` Christopher M. Penalver

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.