Gentoo Archives: gentoo-user

From: Gabriel Rossetti <rossettigab@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] no matter what kernel version I compile, It says it's 2.6.19-r4
Date: Tue, 06 Feb 2007 14:27:51
Message-Id: 45C89BB2.6060709@charter.net
In Reply to: Re: [gentoo-user] no matter what kernel version I compile, It says it's 2.6.19-r4 by Alan McKinnon
1 Alan McKinnon wrote:
2 > On Tuesday 06 February 2007, Gabriel Rossetti wrote:
3 >
4 >> Ric de France wrote:
5 >>
6 >>> Hi Gabriel,
7 >>>
8 >>> On 07/02/07, Gabriel Rossetti <rossettigab@×××××××.net> wrote:
9 >>>
10 >>>> I emerge a kernel, let's say gentoo-sources-2.6.19-r5, I create
11 >>>> the "linux" link, then cd inside
12 >>>> and compile/install it. I reboot and I get lots of errors from
13 >>>> modules, I do a uname -a
14 >>>> and notice that it still says 2.6.19-r4, i then check in the /boot
15 >>>> directory, and the links are correct,
16 >>>> then I check my grub.conf and it's correct, I then tried
17 >>>> gentoo-sources-2.6.20, still the same thing.
18 >>>>
19 >>> It sounds like you're doing the right thing. Could you do a:
20 >>>
21 >>> $ ls -al /boot
22 >>> $ cat /boot/grub/grub.conf
23 >>> $ ls -al /usr/src
24 >>>
25 >>> and then post the outputs to this list?
26 >>>
27 >>> ...Ric
28 >>>
29 >> Hi Ric,
30 >>
31 >> yes, here is what you asked for :
32 >>
33 >
34 > [snip listings]
35 >
36 >
37 >> PS
38 >> I have not changed my way of compiling / installing the kernel for at
39 >> least 4 years (since switching to 2.6 kernel series)
40 >>
41 >
42 > Well, everything there looks just fine and how it should be, and you do
43 > appear to know exactly how to compile kernels.
44 >
45 > It looks to me like you slipped up just this once and have a PEBKAC or a
46 > made a little typo - it happens :-)
47 >
48 > If you run 'strings' on /boot/vmlinuz, is that really a 2.6.20 image?
49 > Did you verify that /usr/src/linux-2.6.20 really does contain a 2.6.20
50 > tree by examining the actual files?
51 >
52 > alan
53 >
54 >
55 here's the output of "strings"
56
57 strings /boot/vmlinuz | grep 2.6
58 2.6.20-gentoo (root@delta9) #2 SMP PREEMPT Tue Feb 6 14:09:46 UTC 2007
59
60 I didn't check the kernel tree against my files because I'm not really
61 sure how to do that :-)
62
63 Gabriel
64 --
65 gentoo-user@g.o mailing list