All of lore.kernel.org
 help / color / mirror / Atom feed
* DomU Windows Server Essentials crashes with xen 4.16 but works with xen 4.14
@ 2022-04-25 17:19 Steffen Einsle
  2022-04-26  7:06 ` Roger Pau Monné
  0 siblings, 1 reply; 4+ messages in thread
From: Steffen Einsle @ 2022-04-25 17:19 UTC (permalink / raw)
  To: xen-devel

Hello Everyone,

I have some xen servers I recently tried to update from xen 4.14 to xen 4.16

Everything worked without problem, except for the Windows Server 
Essentials DomUs.

With xen 4.16 those domains crashed (reproducable) during boot - 
KMODE_EXCEPTION_NOT_HANDLED.

I tried to install a new DomU Windows Server 2019 Essentials - this VM 
crashed at the first reboot
(still in the installation routine) with the same error. No PV-drivers 
installed yet.

I switched back to xen 4.14 and all VMs booted ok without problem.

All other VMs (Linux-PV, Windows-HVM (2008r2, 2012r2, 2016, 2019, 2022)  
show no problems, only
the Windows Server Essentials crashes with xen 4.16.

The system is a gentoo kernel 5.17.3, qemu-6.2.0-r4, xen-4.16.0-r5, 
xen-tools-4.16.0-r1

My working configuration is gentoo kernel 5.17.3, qemu-5.2.0-r2, 
xen-4.14.3-r2, xen-tools-4.14.3

My DomU config file looks like this

name = 'DC-Server'
type = 'hvm'
memory = '8192'
vcpus = '6'
vif = [ 'mac=00:16:3E:ab:cd:50,bridge=br0' ]
disk = [ '/dev/vg1/ServerSys,raw,hda,rw',
               '/dev/vg1/ServerData,raw,hdb,rw' ]
viridian = 'all'
localtime = '1'
vnc = '1'
keymap = 'de'
vnclisten = '0.0.0.0:10,websocket'
usb = '1'
usbdevice = 'tablet'
on_crash  = 'restart'
boot = 'c'
xen_platform_pci = '1'
max_grant_frames = 128

I tried disabling viridian but this made no change.

Is this a known problem?


-- 

Steffen




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

* Re: DomU Windows Server Essentials crashes with xen 4.16 but works with xen 4.14
  2022-04-25 17:19 DomU Windows Server Essentials crashes with xen 4.16 but works with xen 4.14 Steffen Einsle
@ 2022-04-26  7:06 ` Roger Pau Monné
  2022-04-26  8:10   ` Steffen Einsle
  0 siblings, 1 reply; 4+ messages in thread
From: Roger Pau Monné @ 2022-04-26  7:06 UTC (permalink / raw)
  To: Steffen Einsle; +Cc: xen-devel

On Mon, Apr 25, 2022 at 07:19:08PM +0200, Steffen Einsle wrote:
> Hello Everyone,
> 
> I have some xen servers I recently tried to update from xen 4.14 to xen 4.16
> 
> Everything worked without problem, except for the Windows Server Essentials
> DomUs.
> 
> With xen 4.16 those domains crashed (reproducable) during boot -
> KMODE_EXCEPTION_NOT_HANDLED.
> 
> I tried to install a new DomU Windows Server 2019 Essentials - this VM
> crashed at the first reboot
> (still in the installation routine) with the same error. No PV-drivers
> installed yet.
> 
> I switched back to xen 4.14 and all VMs booted ok without problem.
> 
> All other VMs (Linux-PV, Windows-HVM (2008r2, 2012r2, 2016, 2019, 2022) 
> show no problems, only
> the Windows Server Essentials crashes with xen 4.16.
> 
> The system is a gentoo kernel 5.17.3, qemu-6.2.0-r4, xen-4.16.0-r5,
> xen-tools-4.16.0-r1
> 
> My working configuration is gentoo kernel 5.17.3, qemu-5.2.0-r2,
> xen-4.14.3-r2, xen-tools-4.14.3
> 
> My DomU config file looks like this
> 
> name = 'DC-Server'
> type = 'hvm'
> memory = '8192'
> vcpus = '6'
> vif = [ 'mac=00:16:3E:ab:cd:50,bridge=br0' ]
> disk = [ '/dev/vg1/ServerSys,raw,hda,rw',
>               '/dev/vg1/ServerData,raw,hdb,rw' ]
> viridian = 'all'
> localtime = '1'
> vnc = '1'
> keymap = 'de'
> vnclisten = '0.0.0.0:10,websocket'
> usb = '1'
> usbdevice = 'tablet'
> on_crash  = 'restart'
> boot = 'c'
> xen_platform_pci = '1'
> max_grant_frames = 128

Could you try adding:

msr_relaxed=1

And see if that makes a difference?

Thanks, Roger.


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

* Re: DomU Windows Server Essentials crashes with xen 4.16 but works with xen 4.14
  2022-04-26  7:06 ` Roger Pau Monné
@ 2022-04-26  8:10   ` Steffen Einsle
  2022-04-26 16:37     ` Roger Pau Monné
  0 siblings, 1 reply; 4+ messages in thread
From: Steffen Einsle @ 2022-04-26  8:10 UTC (permalink / raw)
  To: xen-devel

Hello,

I can confirm that "msr_relaxed = 1" solves the problem with Server 2019 
Essentials crashing.

Am 26.04.2022 um 09:06 schrieb Roger Pau Monné:
> On Mon, Apr 25, 2022 at 07:19:08PM +0200, Steffen Einsle wrote:
>> Hello Everyone,
>>
>> I have some xen servers I recently tried to update from xen 4.14 to xen 4.16
>>
>> Everything worked without problem, except for the Windows Server Essentials
>> DomUs.
>>
>> With xen 4.16 those domains crashed (reproducable) during boot -
>> KMODE_EXCEPTION_NOT_HANDLED.
>>
>> I tried to install a new DomU Windows Server 2019 Essentials - this VM
>> crashed at the first reboot
>> (still in the installation routine) with the same error. No PV-drivers
>> installed yet.
>>
>> I switched back to xen 4.14 and all VMs booted ok without problem.
>>
>> All other VMs (Linux-PV, Windows-HVM (2008r2, 2012r2, 2016, 2019, 2022)
>> show no problems, only
>> the Windows Server Essentials crashes with xen 4.16.
>>
>> The system is a gentoo kernel 5.17.3, qemu-6.2.0-r4, xen-4.16.0-r5,
>> xen-tools-4.16.0-r1
>>
>> My working configuration is gentoo kernel 5.17.3, qemu-5.2.0-r2,
>> xen-4.14.3-r2, xen-tools-4.14.3
>>
>> My DomU config file looks like this
>>
>> name = 'DC-Server'
>> type = 'hvm'
>> memory = '8192'
>> vcpus = '6'
>> vif = [ 'mac=00:16:3E:ab:cd:50,bridge=br0' ]
>> disk = [ '/dev/vg1/ServerSys,raw,hda,rw',
>>                '/dev/vg1/ServerData,raw,hdb,rw' ]
>> viridian = 'all'
>> localtime = '1'
>> vnc = '1'
>> keymap = 'de'
>> vnclisten = '0.0.0.0:10,websocket'
>> usb = '1'
>> usbdevice = 'tablet'
>> on_crash  = 'restart'
>> boot = 'c'
>> xen_platform_pci = '1'
>> max_grant_frames = 128
> Could you try adding:
>
> msr_relaxed=1
>
> And see if that makes a difference?
>
> Thanks, Roger.


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

* Re: DomU Windows Server Essentials crashes with xen 4.16 but works with xen 4.14
  2022-04-26  8:10   ` Steffen Einsle
@ 2022-04-26 16:37     ` Roger Pau Monné
  0 siblings, 0 replies; 4+ messages in thread
From: Roger Pau Monné @ 2022-04-26 16:37 UTC (permalink / raw)
  To: Steffen Einsle; +Cc: xen-devel

On Tue, Apr 26, 2022 at 10:10:37AM +0200, Steffen Einsle wrote:
> Hello,
> 
> I can confirm that "msr_relaxed = 1" solves the problem with Server 2019
> Essentials crashing.

Can you post which CPU model are you using?

A dump of the first CPU entry in /proc/cpuinfo will do.

Thanks, Roger.


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

end of thread, other threads:[~2022-04-26 16:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-25 17:19 DomU Windows Server Essentials crashes with xen 4.16 but works with xen 4.14 Steffen Einsle
2022-04-26  7:06 ` Roger Pau Monné
2022-04-26  8:10   ` Steffen Einsle
2022-04-26 16:37     ` Roger Pau Monné

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.