You are not logged in.

#1 2019-07-29 06:26:50

easy
Member
Registered: 2015-09-23
Posts: 18

[SOLVED] Problem with VMs with linux-5.2

Hello,

after upgrading to the new linux-5.2 kernel I have massive problems with my VMs.

I run 2 Wintendo-VMs, one is a Win10-VM and one is a Win7-VM.
As soon as there is CPU and/or network load, the programs inside the VM crashes. The OS itself seems to run without any errors.

Example:

In the Win10-VM I have a NVR-Client running. After the program is started and I started a camera-stream it crashes round about 2-3 seconds later. Every time.
On both machines, if I run speedtest.net in Chrome/Firefox, the tab/browser crashes after about 3-4 seconds.

After downgrading the host the linux-5.1.16-arch1-1 (without any configuration change) the problems are gone and the programs inside the VM runs normal.
Searching at google does not really bring anything up like this. And there are no errors/segfaults/etc.. logged. Not in the journal of systemd nor in the logging of libvirt.

My setup:

    CPU is an Intel i5-6500, with 32GB of ram and an EVO 860 SATA SSD.
    VMs are running with libvirt + qemu + kvm with standard settings.
    It does not depend on the virtual NIC. The behavior is the same with e1000 and virtio.

Does anyone have an idea? At the moment I downgrade the kernel by hand after any updates. But I think this will not work for a long time and it's also annoying.


Regards,
  easy.

Last edited by easy (2019-08-02 06:40:28)

Offline

#2 2019-07-29 12:36:47

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,961

Re: [SOLVED] Problem with VMs with linux-5.2

Do things work with linux-lts (can coexist with normal kernel) ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2019-07-29 14:24:33

Joe S
Member
Registered: 2013-01-18
Posts: 15

Re: [SOLVED] Problem with VMs with linux-5.2

easy wrote:

after upgrading to the new linux-5.2 kernel I have massive problems with my VMs.

...

Does anyone have an idea? At the moment I downgrade the kernel by hand after any updates. But I think this will not work for a long time and it's also annoying.

Hi, several problems regarding kernel 5.2 and KVM were reported in this forum (including by me). Downgrading to linux 5.1 or linux-lts is the only easy solution atm. Several patches regarding kvm were applied to kernel 5.2.4 which is in the testing repository of arch right now and should be released soon.

Greetings

Edit:
In the meantime I have tested kernel 5.2.4 and besides many kvm patches my virtual machines still keep crashing - what a nightmare... sad

Last edited by Joe S (2019-07-29 14:39:36)

Offline

#4 2019-07-29 15:43:35

loqs
Member
Registered: 2014-03-06
Posts: 17,436

Re: [SOLVED] Problem with VMs with linux-5.2

Have you tried cherry-picking https://github.com/torvalds/linux/commi … 2b1357e7cc ?
Edit:
commit is queued for 5.2.5

Last edited by loqs (2019-07-29 16:21:36)

Offline

#5 2019-07-30 08:19:51

easy
Member
Registered: 2015-09-23
Posts: 18

Re: [SOLVED] Problem with VMs with linux-5.2

Well... Then I'll wait for the 5.2.5 release and hope that this will fix it..

Offline

#6 2019-07-31 09:44:31

Joe S
Member
Registered: 2013-01-18
Posts: 15

Re: [SOLVED] Problem with VMs with linux-5.2

Running kernel 5.2.5, all of my VMs work as expected (that is 4 concurrent running VMs with 32GB of RAM) . Thank you for fixing.

Offline

#7 2019-08-02 06:39:43

easy
Member
Registered: 2015-09-23
Posts: 18

Re: [SOLVED] Problem with VMs with linux-5.2

Yes, can also confirm 5.2.5 do the job.. No crashes anymore (at the first look). Great. smile

Offline

Board footer

Powered by FluxBB