All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Paris <jim-XrPbb/hENzg@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: soft lockup after stop/cont
Date: Wed, 10 Oct 2007 14:54:43 -0400	[thread overview]
Message-ID: <20071010185443.GA14525@jim.sh> (raw)
In-Reply-To: <470C87AB.6050900-atKUWr5tajBWk0Htik3J/w@public.gmane.org>

Avi Kivity wrote:
> Jim Paris wrote:
> > If I stop KVM in the monitor with "stop", wait a minute, and do
> > "cont", a Linux guest gives me a "BUG: soft lockup detected on CPU#0".
> > Is that expected behavior?  
> 
> No.
> 
> > What isn't virtualized that allows it to
> > detect that?  The host is a core 2 duo.
> 
> It may be that the timer correction code detects that zillions of timer
> interrupts have not been serviced by the guest so it floods the guest
> with these interrupts.  Does -no-kvm-irqchip help?

I can't seem to reproduce the "soft lockup" at the moment, but there's
a "clocksource tsc unstable" that happens pretty reliably when I pause
the VM using stop/cont for about 15 seconds:

$ kvm -M pc -m 256 -smp 1 -boot c -hda test -net none

  stop/cont, guest reports:
    Clocksource tsc unstable (delta = 15877929568 ns)
    Time: acpi_pm clocksource has been installed.

$ kvm -no-kvm-irqchip -M pc -m 256 -smp 1 -boot c -hda test -net none

  stop/cont, guest seems not to notice.

(Host is 2.6.20.4, kvm-45 modules & userspace, guest 2.6.21)

-jim

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

  parent reply	other threads:[~2007-10-10 18:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-10  8:01 soft lockup after stop/cont Jim Paris
     [not found] ` <20071010080152.GA27601-lSbMZ+N7itA@public.gmane.org>
2007-10-10  8:04   ` Avi Kivity
     [not found]     ` <470C87AB.6050900-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10  8:50       ` Dong, Eddie
     [not found]         ` <10EA09EFD8728347A513008B6B0DA77A023643BD-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-10  9:09           ` Avi Kivity
     [not found]             ` <470C96B2.3080905-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10  9:11               ` Dong, Eddie
     [not found]                 ` <10EA09EFD8728347A513008B6B0DA77A02364404-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-10  9:18                   ` Avi Kivity
     [not found]                     ` <470C98EB.1080602-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10  9:57                       ` Dong, Eddie
     [not found]                         ` <10EA09EFD8728347A513008B6B0DA77A0236442D-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-10 10:06                           ` Avi Kivity
     [not found]                             ` <470CA429.2080607-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-11  1:17                               ` Dong, Eddie
2007-10-10 18:54       ` Jim Paris [this message]
     [not found]         ` <20071010185443.GA14525-lSbMZ+N7itA@public.gmane.org>
2007-10-11  9:03           ` Carsten Otte
     [not found]             ` <470DE6F8.9090801-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-10-11  9:29               ` Dong, Eddie
     [not found]                 ` <10EA09EFD8728347A513008B6B0DA77A02364AD6-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-11 10:57                   ` Carsten Otte
     [not found]                     ` <470E01A2.104-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-10-11 16:18                       ` Jan Glauber1

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=20071010185443.GA14525@jim.sh \
    --to=jim-xrpbb/henzg@public.gmane.org \
    --cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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.