mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Clayton <andrew@digital-domain.net>
To: kvm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: qemu-kvm hangs at start up under 3.8.0-rc3-00074-gb719f43 (works with CONFIG_LOCKDEP)
Date: Sun, 13 Jan 2013 22:29:58 +0000	[thread overview]
Message-ID: <20130113222958.64840242@omega.digital-domain.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1521 bytes --]

When running qemu-kvm under 64but Fedora 16 under current 3.8, it just
hangs at start up. Dong a ps -ef hangs the process at the point where it
would display the qemu process (trying to list the qemu-kvm /proc pid
directory contents just hangs ls).

I also noticed some other weirdness at this point like Firefox hanging
for many seconds at a time and increasing load average.

The qemu command I was trying to run was

$ qemu-kvm -m 512 -smp 2 -vga vmware -k en-gb -drive
file=/home/andrew/machines/qemu/f16-i386.img,if=virtio

Here's the last few lines of a strace on it at start up.

open("/home/andrew/machines/qemu/f16-i386.img", O_RDWR|O_DSYNC|O_CLOEXEC) = 8
lseek(8, 0, SEEK_END)                   = 9100722176
pread(8, "QFI\373\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0\2\200\0\0\0"..., 512, 0) = 512
pread(8, "\200\0\0\0\0\4\0\0\200\0\0\0\0\10\0\0\200\0\0\0\2\210\0\0\200\0\0\0\2\233\0\0"..., 512, 65536) = 512
brk(0)                                  = 0x7faf12db0000
brk(0x7faf12ddd000

It's hanging in that brk syscall. The load average also then starts to increase.


However. I can make it run fine, if I enable CONFIG_LOCKDEP. But the only
thing in dmesg I get is the usual.

kvm: SMP vm created on host with unstable TSC; guest TSC will not be reliable

I've attached both working and non-working .configs. The only difference being
the lock checking enabled in config.good.

The most recent kernel I had it working in was 3.7.0

System is a Quad Core Intel running 64bit Fedora 16.

Cheers,
Andrew

 

[-- Attachment #2: config.bad.gz --]
[-- Type: application/x-gzip, Size: 15275 bytes --]

[-- Attachment #3: config.good.gz --]
[-- Type: application/x-gzip, Size: 15269 bytes --]

             reply	other threads:[~2013-01-13 23:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-13 22:29 Andrew Clayton [this message]
2013-01-14 13:27 ` Gleb Natapov
2013-01-14 18:24   ` Andrew Clayton
2013-01-14 18:57     ` Gleb Natapov
2013-01-15 16:48     ` Rik van Riel
2013-01-15 17:17       ` Andrew Clayton
2013-01-15 18:40         ` Andrew Clayton
2013-01-15 18:41         ` Jiri Kosina
2013-01-15 19:01           ` Andrew Clayton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130113222958.64840242@omega.digital-domain.net \
    --to=andrew@digital-domain.net \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®