Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] KVM on AMD ... why doesn't it just work?
Date: Wed, 02 Oct 2013 17:12:17
Message-Id: CADPrc82gCokyyjBr=dzbyxEexuZwPqf_WwJguZRT7vb7bk3SXg@mail.gmail.com
In Reply to: Re: [gentoo-user] KVM on AMD ... why doesn't it just work? by "Stefan G. Weichinger"
1 On Wed, Oct 2, 2013 at 11:47 AM, Stefan G. Weichinger <lists@×××××.at> wrote:
2 > Am 02.10.2013 18:31, schrieb Stefan G. Weichinger:
3 >> Am 02.10.2013 15:54, schrieb Kerin Millar:
4 >>
5 >>> Run "modinfo kvm kvm-amd" and check for discrepancies between the
6 >>> details of the two, especially regarding the vermagic field.
7 >>
8 >> [...]
9 >>
10 >>> I would suggest "make mrproper" to clean the source tree. Ensure that
11 >>> the .config has been backed up because it will be deleted as a result.
12 >>
13 >> I had no module "kvm" because one was built as module and one into the
14 >> kernel. I now did mrproper and recompile both kvm and kvm_amd into the
15 >> kernel. The next reboot will show ...
16 >
17 > Rather simple issue:
18 >
19 > I have a kernel in boot with the suffix -safe ... and this one got
20 > listed first in grub.conf.
21
22 kerninst is pretty stupid. To create the list of kernels (in GRUB, not
23 GRUB2), it simply lists the kernels in /boot, sorts them inverted by
24 version, and then uses that order for the listing.
25
26 Therefore, if you have:
27
28 vmlinuz-3.9
29 vmlinuz-3.8
30 vmlinuz-3.10
31 vmlinuz-blah
32
33 the inverted sort by version will be:
34
35 vmlinuz-blah
36 vmlinuz-3.10
37 vmlinuz-3.9
38 vmlinuz-3.8
39
40 and the kernel with an alphanumeric "version" will be always be the default.
41
42 > kerninst found that one and always set that one as default so my various
43 > recompilings never changed the kernel itself but only the modules ...
44 > which lead to strange mismatches ...
45
46 That should explain everything.
47
48 As I said before, kerninst was not written to test configurations; is
49 for when you have nailed the configuration and want to automatize the
50 kernel update.
51
52 Regards.
53 --
54 Canek Peláez Valdés
55 Posgrado en Ciencia e Ingeniería de la Computación
56 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] KVM on AMD ... why doesn't it just work? "Stefan G. Weichinger" <lists@×××××.at>