public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Matthias Hovestadt <matthias.hovestadt@tu-berlin.de>
Cc: kvm@vger.kernel.org
Subject: Re: Problem with KVM-84 and more than 4 processors
Date: Mon, 09 Mar 2009 12:01:32 +0200	[thread overview]
Message-ID: <49B4E8FC.9000701@redhat.com> (raw)
In-Reply-To: <49AD43C6.2080407@tu-berlin.de>

Matthias Hovestadt wrote:
> Hi!
>
> I have a system with 2 processors and 4 cores each, which sums
> up to 8 processors in total. I installed the system with Gentoo.2008
> and KVM-84.
>
> Linux asok04 2.6.27-gentoo-r8 #1 SMP Tue Mar 3 11:34:26 CET 2009 
> x86_64 Intel(R) Xeon(R) CPU X5355 @ 2.66GHz GenuineIntel GNU/Linux
>
> Everything is running fine as long as I do not change the default
> setting of CONFIG_NR_CPUS=4 in the kernel config:
>

That's the host kernel, right?

> asok04 ~ # lsmod
> Module                  Size  Used by
> kvm_intel              39176  1
> kvm                   137072  1 kvm_intel
> scsi_wait_scan          1664  0
> asok04 ~ #
>
> All KVM modules are loaded and I'm perfectly able to start and use
> virtual guests.
>
> However, if I increase CONFIG_NR_CPUS to any number higher than 4, the
> additional processors of my system are listed in /proc/cpuinfo, but
> this is the output of lsmod:
>
> asok04 ~ # lsmod
> Module                  Size  Used by
> kvm                   137072  283728377
> scsi_wait_scan          1664  0
> asok04 ~ #
>
> Manually loading the kvm_intel module fails with an "Cannot allocate
> memory" error. Also starting VMs fails since he is unable to find
> /dev/kvm. 

Looks like a memory corruption issue.  Please post your .config.

-- 
error compiling committee.c: too many arguments to function


  parent reply	other threads:[~2009-03-09 10:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-03 14:50 Problem with KVM-84 and more than 4 processors Matthias Hovestadt
2009-03-03 19:04 ` Charles Duffy
2009-03-04 13:58   ` Matthias Hovestadt
2009-03-09 10:01 ` Avi Kivity [this message]
2009-03-10 20:56   ` Matthias Hovestadt
2009-03-11 10:49     ` Avi Kivity
2009-03-11 15:08       ` Matthias Hovestadt
2009-03-12 13:08         ` Avi Kivity

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=49B4E8FC.9000701@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=matthias.hovestadt@tu-berlin.de \
    /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