public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Kerin Millar <kerframil@fastmail.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] KVM on AMD ... why doesn't it just work?
Date: Wed, 02 Oct 2013 14:54:42 +0100	[thread overview]
Message-ID: <524C25A2.5070000@fastmail.co.uk> (raw)
In-Reply-To: <524C113A.6070003@xunil.at>

On 02/10/2013 13:27, Stefan G. Weichinger wrote:
>
> I try to set up KVM/QEMU on that new and shiny AMD server
>
> 24 cores of Opteron:
>
> processor	: 23
> vendor_id	: AuthenticAMD
> cpu family	: 21
> model		: 2
> model name	: AMD Opteron(tm) Processor 6344
>
> nice
>
> I want gentoo-sources-3.10.7 (stable and long term supported) or
> 3.10.7-r1 (not yet on the machine).
>
> I don't get /dev/kvm :-(
>
> Right now I want this as a module "kvm_amd" or so.
>
> # zgrep -i kvm /proc/config.gz
> CONFIG_HAVE_KVM=y
> CONFIG_HAVE_KVM_IRQCHIP=y
> CONFIG_HAVE_KVM_IRQ_ROUTING=y
> CONFIG_HAVE_KVM_EVENTFD=y
> CONFIG_KVM_APIC_ARCHITECTURE=y
> CONFIG_KVM_MMIO=y
> CONFIG_KVM_ASYNC_PF=y
> CONFIG_HAVE_KVM_MSI=y
> CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y
> CONFIG_KVM=m
> CONFIG_KVM_INTEL=m
> CONFIG_KVM_AMD=m
>
> I compile the kernel with Canek's kerninst-script (see other thread).
>
> kvm_amd does not load and gives me dozens of:
>
> # dmesg | grep kvm  | head
> [   13.460423] kvm_amd: Unknown symbol kvm_rdpmc (err 0)
> [   13.460429] kvm_amd: Unknown symbol kvm_read_guest_page (err 0)
> [   13.460437] kvm_amd: Unknown symbol kvm_requeue_exception (err 0)
> [   13.460439] kvm_amd: Unknown symbol kvm_exit (err 0)
> [   13.460441] kvm_amd: Unknown symbol kvm_init (err 0)
> [   13.460444] kvm_amd: Unknown symbol kvm_enable_efer_bits (err 0)
> [   13.460448] kvm_amd: Unknown symbol kvm_fast_pio_out (err 0)
> [   13.460453] kvm_amd: Unknown symbol gfn_to_page (err 0)

Run "modinfo kvm kvm-amd" and check for discrepancies between the 
details of the two, especially regarding the vermagic field.

>
> *sigh*
>
> With the kernel booted I now do:
>
> cd /usr/src/linux
> make clean modules modules_install

I would suggest "make mrproper" to clean the source tree. Ensure that 
the .config has been backed up because it will be deleted as a result.

>
> and see if I can load the module(s) then.
>
> In general I am rather disappointed by the performance of this server. I
> expected way more *bang* for the bucks ...
>
> still unsure if that clocksource-topic might be relevant or if my kernel
> config is somehow stupid.
>
> Stefan

--Kerin


  parent reply	other threads:[~2013-10-02 13:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-02 12:27 [gentoo-user] KVM on AMD ... why doesn't it just work? Stefan G. Weichinger
2013-10-02 12:38 ` Stefan G. Weichinger
2013-10-02 12:45   ` Stefan G. Weichinger
2013-10-02 17:26     ` Stefan G. Weichinger
2013-10-02 19:59   ` Stefan G. Weichinger
2013-10-02 13:54 ` Kerin Millar [this message]
2013-10-02 16:31   ` Stefan G. Weichinger
2013-10-02 16:47     ` Stefan G. Weichinger
2013-10-02 16:58       ` Kerin Millar
2013-10-02 17:11       ` Canek Peláez Valdés
2013-10-02 17:24         ` Stefan G. Weichinger
2013-10-02 18:51       ` Bruce Hill
2013-10-02 19:53         ` Stefan G. Weichinger

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=524C25A2.5070000@fastmail.co.uk \
    --to=kerframil@fastmail.co.uk \
    --cc=gentoo-user@lists.gentoo.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