From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3D5211381F3 for ; Wed, 2 Oct 2013 13:54:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03BABE0B55; Wed, 2 Oct 2013 13:54:54 +0000 (UTC) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E194EE0AAF for ; Wed, 2 Oct 2013 13:54:52 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 7DCEE2156D for ; Wed, 2 Oct 2013 09:54:52 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Wed, 02 Oct 2013 09:54:52 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.co.uk; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=0Xu5LrE9v5SUfbTHa5c7gHcrbTM=; b=BqLlKzBMWif04LbQpUNhLT7AI+jt W8VbGqn3UNTJqxYu3ZA88V3AVfLjBOfk46MCmsnWNtoI1BfdwnXvasW/qwlW5+OB Hl6zD1haoJnoTQWGViQmL7hr4KnFCRdS6GUoNSPdAvkM7JfH6OljXKIYUTXyH5lu +1U6bKCf4i9s4VI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=0Xu5LrE9v5SUfbTHa5c7gH crbTM=; b=HmCDVBrdba0L6Mj5UDK6Z0wCdPfEUjeBiED98DqDNApM93pYIwBEGi r+Lt37zuMWCfg+W8KuTVnF6D/7uUXxRF/YmPEFe7nnqRDB2+XahDE46CEz+bDUkV hSFe33w8GY5OeJ+x41IRUkxi3hR9oyjoJLapmLp7IU07+QgUDpA8w= X-Sasl-enc: MHLLI8iSFfyJT2MV8nKor+d3coDpkQ83m3kpJoqqK/3R 1380722092 Received: from [192.168.1.100] (unknown [94.170.82.148]) by mail.messagingengine.com (Postfix) with ESMTPA id 28940C00E83 for ; Wed, 2 Oct 2013 09:54:52 -0400 (EDT) Message-ID: <524C25A2.5070000@fastmail.co.uk> Date: Wed, 02 Oct 2013 14:54:42 +0100 From: Kerin Millar User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] KVM on AMD ... why doesn't it just work? References: <524C113A.6070003@xunil.at> In-Reply-To: <524C113A.6070003@xunil.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: dd0a7e16-fab2-4509-a03c-626d1c90171f X-Archives-Hash: 45e1c451cacd29f518f8145db23ecc88 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