public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Riccardo" <andrighetto.riccardo@gmail.com>
To: kvm@vger.kernel.org
Cc: kvm@vger.kernel.org
Subject: Re: Gentoo guest with smp: emerge freeze while recompile world
Date: Sun, 23 May 2010 23:15:16 +0200	[thread overview]
Message-ID: <20100523211152.M77599@gmail.com> (raw)
In-Reply-To: <4BF92DDE.3040803@redhat.com>

---------- Original Message ----------- 
 From: Avi Kivity <avi@redhat.com> 
 To: Riccardo <andrighetto.riccardo@gmail.com> 
 Cc: kvm@vger.kernel.org 
 Sent: Sun, 23 May 2010 16:30:06 +0300 
 Subject: Re: Gentoo guest with smp: emerge freeze while recompile world

> On 05/23/2010 03:12 PM, Riccardo wrote: 
> > ---------- Original Message ----------- 
> >   From: Avi Kivity<avi@redhat.com> 
> >   To: Riccardo<andrighetto.riccardo@gmail.com> 
> >   Cc: kvm@vger.kernel.org 
> >   Sent: Sun, 23 May 2010 14:38:42 +0300 
> >   Subject: Re: Gentoo guest with smp: emerge freeze while recompile world 
> > 
> >     
> >> On 05/21/2010 07:47 PM, Riccardo wrote: 
> >>       
> >>>         
> >>>> If you are using kvm-clock, maybe try disabling that. 
> >>>> 
> >>>> 
> >>>>           
> >>> $ cat /sys/devices/system/clocksource/clocksource0/current_clocksource 
> >>> hpet 
> >>> 
> >>> This is from server, not from VM (that have freeze). 
> >>> 
> >>>         
> >> What about the guest? 
> >> 
> >> -- 
> >> error compiling committee.c: too many arguments to function 
> >>       
> > ------- End of Original Message ------- 
> > 
> > # dmesg | grep clock 
> > [    0.000000] kvm-clock: cpu 0, msr 0:1845bc1, boot clock 
> > [    0.000000] kvm-clock: cpu 0, msr 0:28047bc1, primary cpu clock 
> > [    0.000999] hpet clockevent registered 
> > [    0.084027] kvm-clock: cpu 1, msr 0:28063bc1, secondary cpu clock 
> > [    0.102059] kvm-clock: cpu 2, msr 0:2807fbc1, secondary cpu clock 
> > [    0.120035] kvm-clock: cpu 3, msr 0:2809bbc1, secondary cpu clock 
> > [    0.148051] kvm-clock: cpu 4, msr 0:280b7bc1, secondary cpu clock 
> > [    0.173039] kvm-clock: cpu 5, msr 0:280d3bc1, secondary cpu clock 
> > # cat /sys/devices/system/clocksource/clocksource0/current_clocksource 
> > kvm-clock 
> > # cat /sys/devices/system/clocksource/clocksource0/available_clocksource 
> > kvm-clock tsc hpet acpi_pm 
> > 
> >     
> 
> Please try with kvmclock disabled.

I have recompile gentoo-sources-2.6.34 without kvm-clock: 
# cat /sys/devices/system/clocksource/clocksource0/current_clocksource 
tsc 
# dmesg | grep clock 
[    0.000000] hpet clockevent registered 
[    0.661050] Switching to clocksource tsc

And with this kernel all working fine! (emerge -e world) 
It's a problem in the kvm-clock for kernel >=2.6.32

> > Do you think it's a related issue with the system freeze under compiling with 
> > newer kernel? 
> >     
> 
> That's what we're trying to find out. 
> 
Ok, It's only a simple question :) 
Thanks for your support and to Brian Jackson


  reply	other threads:[~2010-05-23 21:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-19  8:33 Gentoo guest with smp: emerge freeze while recompile world Riccardo
2010-05-19 16:25 ` Avi Kivity
2010-05-19 17:49   ` Alexander Graf
2010-05-21 14:11   ` Riccardo
     [not found]   ` <20100521130924.M32603@gmail.com>
2010-05-21 15:21     ` Avi Kivity
2010-05-21 15:46       ` Riccardo
2010-05-21 16:35         ` Brian Jackson
2010-05-21 16:47           ` Riccardo
2010-05-23 11:38             ` Avi Kivity
2010-05-23 12:12               ` Riccardo
2010-05-23 13:30                 ` Avi Kivity
2010-05-23 21:15                   ` Riccardo [this message]
2010-05-25  9:09                     ` Avi Kivity
2010-05-22 14:32       ` Riccardo

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=20100523211152.M77599@gmail.com \
    --to=andrighetto.riccardo@gmail.com \
    --cc=kvm@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