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 1704C1381F3 for ; Wed, 2 Oct 2013 17:12:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D680E0A8C; Wed, 2 Oct 2013 17:12:02 +0000 (UTC) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3A85BE09B5 for ; Wed, 2 Oct 2013 17:12:00 +0000 (UTC) Received: by mail-lb0-f173.google.com with SMTP id o14so1031888lbi.32 for ; Wed, 02 Oct 2013 10:11:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=EweadeD0CTcpA/n2q+CGDnkQhfL791iFJSU5oPDODoo=; b=jfOij/eYIyy/v4goFa1RhXcPtnpi8xP2SMn5I5ZMGDu6FFMRbLWrrC6lxUGeXx+yYy 4UuiuxjljfEiJRCCgs7oEe47IBGPjx0Fok65qUBHzIFRh4g0QI0ucP7I/lM7oyGEyDTX SsiMmL1rWvLtifISR6j/Z+m1ctSWuHmSvyDTeof6eLgJZtZXjOGwnyGbzgCb5JKpzGv/ uHwx4SbKa6R3/6A4SRxwUB+z+dI/KeRwRW6qvGskaxITZ5t7tTCffctrM8rb92sTSIcs Eu9rzcBR/LU5ixXRl49k63evsEswQpa0c0h1tGdzyCH6J8xMmjzXGRaMYpG0PX9BJP7N MZgA== 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 X-Received: by 10.112.156.103 with SMTP id wd7mr1869223lbb.48.1380733919434; Wed, 02 Oct 2013 10:11:59 -0700 (PDT) Received: by 10.114.96.2 with HTTP; Wed, 2 Oct 2013 10:11:59 -0700 (PDT) In-Reply-To: <524C4E19.1030802@xunil.at> References: <524C113A.6070003@xunil.at> <524C25A2.5070000@fastmail.co.uk> <524C4A50.7050205@xunil.at> <524C4E19.1030802@xunil.at> Date: Wed, 2 Oct 2013 12:11:59 -0500 Message-ID: Subject: Re: [gentoo-user] KVM on AMD ... why doesn't it just work? From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 9d284a18-2205-42ed-956e-8b1a45d5cf69 X-Archives-Hash: c455825b135b81a203369ff1c99e161d On Wed, Oct 2, 2013 at 11:47 AM, Stefan G. Weichinger wrot= e: > Am 02.10.2013 18:31, schrieb Stefan G. Weichinger: >> Am 02.10.2013 15:54, schrieb Kerin Millar: >> >>> Run "modinfo kvm kvm-amd" and check for discrepancies between the >>> details of the two, especially regarding the vermagic field. >> >> [...] >> >>> 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. >> >> I had no module "kvm" because one was built as module and one into the >> kernel. I now did mrproper and recompile both kvm and kvm_amd into the >> kernel. The next reboot will show ... > > Rather simple issue: > > I have a kernel in boot with the suffix -safe ... and this one got > listed first in grub.conf. kerninst is pretty stupid. To create the list of kernels (in GRUB, not GRUB2), it simply lists the kernels in /boot, sorts them inverted by version, and then uses that order for the listing. Therefore, if you have: vmlinuz-3.9 vmlinuz-3.8 vmlinuz-3.10 vmlinuz-blah the inverted sort by version will be: vmlinuz-blah vmlinuz-3.10 vmlinuz-3.9 vmlinuz-3.8 and the kernel with an alphanumeric "version" will be always be the default= . > kerninst found that one and always set that one as default so my various > recompilings never changed the kernel itself but only the modules ... > which lead to strange mismatches ... That should explain everything. As I said before, kerninst was not written to test configurations; is for when you have nailed the configuration and want to automatize the kernel update. Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico