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 697731381F3 for ; Wed, 2 Oct 2013 12:27:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 579F5E0C38; Wed, 2 Oct 2013 12:27:43 +0000 (UTC) Received: from postler.lichtfels.com (postler.lichtfels.com [78.46.92.195]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2FFCBE0AD9 for ; Wed, 2 Oct 2013 12:27:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by postler.lichtfels.com (Postfix) with ESMTP id F3922123F3 for ; Wed, 2 Oct 2013 14:27:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xunil.at; s=mailout; t=1380716861; bh=dHIjGxk8cuQGsMX3WasveyDW2LWe8+aYDXvntMRSupk=; h=Date:From:Reply-To:To:Subject; b=oJ9kq03Ozc8NPVIarF/KrFoNfHUIYNZGC7+Py+w+8/wGOzLRimzykgE6Fa+r1vz8C mU9bn/OBnK+iNm4xtXjn/XTSA/H42m4lNHlq60i+6StYz6QDJ7DnloJ+mqvggQZYZp q+1L8TLLqSZ+XEPQewur+F1QwGjfQq3NHq8op78w= Received: from postler.lichtfels.com ([127.0.0.1]) by localhost (postler.lichtfels.com [127.0.0.1]) (amavisd-maia, port 10024) with LMTP id 23589-05 for ; Wed, 2 Oct 2013 14:27:39 +0200 (CEST) Received: from hiro.oops.intern (unknown [IPv6:2001:15c0:65ff:8742:2cd9:17ba:1549:e177]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by postler.lichtfels.com (Postfix) with ESMTPSA id 2AF4B123DF for ; Wed, 2 Oct 2013 14:27:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xunil.at; s=mailout; t=1380716859; bh=dHIjGxk8cuQGsMX3WasveyDW2LWe8+aYDXvntMRSupk=; h=Date:From:Reply-To:To:Subject; b=Cr97a5WKoKWps4XojSRBsGwXDip5iGTlFMlXyzBndsTY8ufOGFLA3QkLxUSzYqbdU hZZ/9cMLsg+mSHWE3A348sryLpFgeIG54SO0G2/5Pl11aXChNUvQ+4HKFESeVycGdy JEPkPHoiyFswxgw+3Iwsv//xsDclyGXS2F8s9lGM= Message-ID: <524C113A.6070003@xunil.at> Date: Wed, 02 Oct 2013 14:27:38 +0200 From: "Stefan G. Weichinger" Organization: oops! User-Agent: Mozilla/5.0 (X11; Linux x86_64; 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: [gentoo-user] KVM on AMD ... why doesn't it just work? X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.2c X-Archives-Salt: 01b74794-a928-467a-94b3-cd6ac92033b7 X-Archives-Hash: 8cfe9f57c62c5b650e3d003de9f06b61 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