All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 196161] New: Kernel freezes by starting a kvm vm.
@ 2017-06-22 20:09 bugzilla-daemon
  2017-06-22 20:11 ` [Bug 196161] " bugzilla-daemon
                   ` (38 more replies)
  0 siblings, 39 replies; 40+ messages in thread
From: bugzilla-daemon @ 2017-06-22 20:09 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=196161

            Bug ID: 196161
           Summary: Kernel freezes by starting a kvm vm.
           Product: Virtualization
           Version: unspecified
    Kernel Version: 4.11.6
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: kvm
          Assignee: virtualization_kvm@kernel-bugs.osdl.org
          Reporter: paulkek@protonmail.com
        Regression: No

Created attachment 257135
  --> https://bugzilla.kernel.org/attachment.cgi?id=257135&action=edit
dmesg

Hey,

I've been getting system freezes from time to time but I wasn't sure what
caused them because there were no logs or anything. A hard reboot was required
then.

Today I've actually found a way to reproduce this freeze and I was lucky enough
that I was able to get some logs about this freezes through a remote ssh
session which was very slow (you will see why.)

First of all my system:

uname -a: Linux 4.11.6-1-ck #1 SMP PREEMPT Thu Jun 22 02:06:23 CEST 2017 x86_64
GNU/Linux

CPU: Intel i7 6700k
RAM: 4 x 8GB DDR4 @ 2400MHz
GPU: NVIDIA GTX 1060 with NVIDIA's latest proprietary drivers
MB: Asus Z170-A with the latest BIOS

Note this this also happens with the vanilla kernel as I am also using a kernel
with the muqss scheduler (ck-patchset).

I can reproduce this issue by doing the following:

1.) Start applications like (chromium/pidgin/spotify)
2.) Start a windows 7 vm (libvirt/kvm/virt-manager) (the vm image is on an ssd)
3.) Start a windows 10 vm (the vm image is on an hdd)

This isn't a scientific reproduction and I am not even sure how exactly but
this worked every time I tried it.

I have observed the following:

- The system freezes / It's actually more like everything is going slow (The
audio was looping). Usually everything freezes and only a hard reboot was
possible. But I had luck that somehow it froze (audio was in a loop, everything
desktop wise was unresponsive) but I could actually move the mouse, so I
quickly changed to a different tty session and could login again but again
everything was very slow I couldn't even run a proper command.

But I guess this was helpful because I actually saw some proper kernel
warnings:

NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [CPU 1/KVM:2411]
NMI watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [CPU 1/KVM:2629]
NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [CPU 1/KVM:2411]
NMI watchdog: BUG: soft lockup - CPU#6 stuck for 22s! [CPU 1/KVM:2629]

INFO: rcu_preempt self-detected stall on CPU
INFO: rcu_preempt self-detected stall on CPU
...

More warning which contains lots of stuff so I've simply taken a picture and
attached it here.

Finally I've added the dmesg from the ssh session, it is probably incomplete as
after some minutes it completely froze and the connection was broken.

The crash happens after the "kvm_get_msr_common: 6 callbacks suppressed" lines.
It basically starts with the messages about NVRM and followed by some ata4
error messages and more.

I've also included this in the attachments.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

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

end of thread, other threads:[~2017-11-26 23:38 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-22 20:09 [Bug 196161] New: Kernel freezes by starting a kvm vm bugzilla-daemon
2017-06-22 20:11 ` [Bug 196161] " bugzilla-daemon
2017-06-22 21:53 ` bugzilla-daemon
2017-06-22 23:01 ` bugzilla-daemon
2017-06-23 22:31 ` bugzilla-daemon
2017-06-23 23:53 ` bugzilla-daemon
2017-06-23 23:55 ` bugzilla-daemon
2017-06-24 14:33 ` bugzilla-daemon
2017-06-24 15:54 ` bugzilla-daemon
2017-07-11 20:28 ` bugzilla-daemon
2017-07-20  1:12 ` bugzilla-daemon
2017-07-27 15:58 ` bugzilla-daemon
2017-07-27 16:24 ` bugzilla-daemon
2017-07-27 16:45 ` bugzilla-daemon
2017-07-27 16:46 ` bugzilla-daemon
2017-07-27 16:49 ` bugzilla-daemon
2017-07-27 16:50 ` bugzilla-daemon
2017-07-27 16:52 ` bugzilla-daemon
2017-07-27 16:52 ` bugzilla-daemon
2017-07-27 16:58 ` bugzilla-daemon
2017-07-27 16:59 ` bugzilla-daemon
2017-07-27 17:05 ` bugzilla-daemon
2017-07-27 17:13 ` bugzilla-daemon
2017-07-27 20:54 ` [Bug 196161] Kernel freezes when using AVAST under nested virtualization bugzilla-daemon
2017-07-27 20:56 ` bugzilla-daemon
2017-08-03 16:18 ` bugzilla-daemon
2017-08-07 17:38 ` bugzilla-daemon
2017-08-08  9:14 ` bugzilla-daemon
2017-08-08 16:39 ` bugzilla-daemon
2017-08-11  1:32 ` bugzilla-daemon
2017-08-15 15:48 ` bugzilla-daemon
2017-08-19 22:47 ` bugzilla-daemon
2017-08-22  1:37 ` bugzilla-daemon
2017-08-30 16:53 ` bugzilla-daemon
2017-09-03 21:34 ` bugzilla-daemon
2017-09-07  0:15 ` bugzilla-daemon
2017-09-17 17:56 ` bugzilla-daemon
2017-09-30 16:19 ` bugzilla-daemon
2017-10-26 21:31 ` bugzilla-daemon
2017-11-26 23:38 ` bugzilla-daemon

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.