All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Nielsen <john@jnielsen.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 1329956] [NEW] multi-core FreeBSD guest hangs after warm reboot
Date: Mon, 16 Jun 2014 18:33:07 -0000	[thread overview]
Message-ID: <7AEA9A58-EA61-4369-8078-180020AA6B8A@jnielsen.net> (raw)
In-Reply-To: 20140616181712.GK466@ubuntumail

Our KVM hosts run CentOS 6 plus a custom 3.12 kernel rather than Ubuntu
or Debian, so I won't be able to use the PPA directly. However, I will
build and test with the latest Qemu git sources.

On Jun 16, 2014, at 12:17 PM, Serge Hallyn <1329956@bugs.launchpad.net>
wrote:

> Hi,
> 
> could you verify that you have the same result when using
> https://launchpad.net/~ubuntu-virt/+archive/virt-daily-upstream

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

Title:
  multi-core FreeBSD guest hangs after warm reboot

Status in QEMU:
  Incomplete

Bug description:
  On some Linux KVM hosts in our environment, FreeBSD guests fail to
  reboot properly if they have more than one CPU (socket, core, and/or
  thread). They will boot fine the first time, but after issuing a
  "reboot" command via the OS the guest starts to boot but hangs during
  SMP initialization. Fully shutting down and restarting the guest works
  in all cases.

  The only meaningful difference between hosts with the problem and those without is the CPU. Hosts with Xeon E5-26xx v2 processors have the problem, including at least the "Intel(R) Xeon(R) CPU E5-2667 v2" and the "Intel(R) Xeon(R) CPU E5-2650 v2".
  Hosts with any other CPU, including "Intel(R) Xeon(R) CPU E5-2650 0", "Intel(R) Xeon(R) CPU E5-2620 0", or "AMD Opteron(TM) Processor 6274" do not have the problem. Note the "v2" in the names of the problematic CPUs.

  On hosts with a "v2" Xeon, I can reproduce the problem under Linux
  kernel 3.10 or 3.12 and Qemu 1.7.0 or 2.0.0.

  The problem occurs with all currently-supported versions of FreeBSD,
  including 8.4, 9.2, 10.0 and 11-CURRENT.

  On a Linux KVM host with a "v2" Xeon, this command line is adequate to
  reproduce the problem:

  /usr/bin/qemu-system-x86_64 -machine accel=kvm -name bsdtest -m 512
  -smp 2,sockets=1,cores=1,threads=2 -drive
  file=./20140613_FreeBSD_9.2-RELEASE_ufs.qcow2,if=none,id=drive0,format=qcow2
  -device virtio-blk-pci,scsi=off,drive=drive0 -vnc 0.0.0.0:0 -net none

  I have tried many variations including different models of -machine
  and -cpu for the guest with no visible difference.

  A native FreeBSD installation on a host with a "v2" Xeon does not have
  the problem, nor do a paravirtualized FreeBSD guests under bhyve (the
  BSD legacy-free hypervisor) using the same FreeBSD disk images as on
  the Linux hosts. So it seems unlikely the cause is on the FreeBSD side
  of things.

  I would greatly appreciate any feedback or developer attention to
  this. I am happy to provide additional details, test patches, etc.

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

  reply	other threads:[~2014-06-16 18:41 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-13 21:14 [Qemu-devel] [Bug 1329956] [NEW] multi-core FreeBSD guest hangs after warm reboot John Nielsen
2014-06-16 17:55 ` [Qemu-devel] [Bug 1329956] " Matt
2014-06-16 18:17 ` [Qemu-devel] [Bug 1329956] [NEW] " Serge Hallyn
2014-06-16 18:33   ` John Nielsen [this message]
2014-06-16 20:32 ` [Qemu-devel] [Bug 1329956] " John Nielsen
2014-06-16 21:19 ` John Nielsen
2014-09-22 20:40 ` radhakrishnan
2014-09-22 21:02 ` John Nielsen
2014-09-22 21:07 ` radhakrishnan
2015-06-23  5:35 ` Vasiliy Tolstov
2015-06-24 16:11 ` Paolo Bonzini
2015-06-24 19:40 ` John Nielsen
2015-08-20  8:30 ` Venkateswara Rao Dokku
2015-08-20 13:48   ` John Nielsen
2016-02-16  4:48 ` Venkateswara Rao Dokku
2016-10-18  8:38 ` T. Huth
2017-11-23  8:00 ` Matt Keys
2017-11-23  8:12 ` Matt Keys
2017-11-23  8:20 ` Matt Keys
2017-11-23  8:21 ` Matt Keys
2017-11-24 17:31 ` John Nielsen

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=7AEA9A58-EA61-4369-8078-180020AA6B8A@jnielsen.net \
    --to=john@jnielsen.net \
    --cc=1329956@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.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 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.