public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] KVM on AMD ... why doesn't it just work?
@ 2013-10-02 12:27 Stefan G. Weichinger
  2013-10-02 12:38 ` Stefan G. Weichinger
  2013-10-02 13:54 ` Kerin Millar
  0 siblings, 2 replies; 13+ messages in thread
From: Stefan G. Weichinger @ 2013-10-02 12:27 UTC (permalink / raw
  To: gentoo-user


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)


*sigh*

With the kernel booted I now do:

cd /usr/src/linux
make clean modules modules_install

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




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-10-02 20:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox