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 12:52:20
Message-Id: 45C88572.4000800@charter.net
In Reply to: Re: [gentoo-user] no matter what kernel version I compile, It says it's 2.6.19-r4 by Ric de France
1 Ric de France wrote:
2 > Hi Gabriel,
3 >
4 > On 07/02/07, Gabriel Rossetti <rossettigab@×××××××.net> wrote:
5 >> I emerge a kernel, let's say gentoo-sources-2.6.19-r5, I create the
6 >> "linux" link, then cd inside
7 >> and compile/install it. I reboot and I get lots of errors from modules,
8 >> I do a uname -a
9 >> and notice that it still says 2.6.19-r4, i then check in the /boot
10 >> directory, and the links are correct,
11 >> then I check my grub.conf and it's correct, I then tried
12 >> gentoo-sources-2.6.20, still the same thing.
13 >
14 > It sounds like you're doing the right thing. Could you do a:
15 >
16 > $ ls -al /boot
17 > $ cat /boot/grub/grub.conf
18 > $ ls -al /usr/src
19 >
20 > and then post the outputs to this list?
21 >
22 > ...Ric
23
24 Hi Ric,
25
26 yes, here is what you asked for :
27
28 ls -al /boot
29 total 12526
30 drwxr-xr-x 3 root root 792 Feb 6 11:45 .
31 drwxr-xr-x 21 root root 576 Jan 20 16:37 ..
32 lrwxrwxrwx 1 root root 24 Feb 6 11:45 System.map ->
33 System.map-2.6.20-gentoo
34 -rw-r--r-- 1 root root 999613 Feb 6 09:44 System.map-2.6.19-gentoo-r4
35 -rw-r--r-- 1 root root 999613 Feb 6 09:09 System.map-2.6.19-gentoo-r5
36 -rw-r--r-- 1 root root 999613 Feb 6 09:00 System.map-2.6.19-gentoo-r5.old
37 -rw-r--r-- 1 root root 1016626 Feb 6 11:45 System.map-2.6.20-gentoo
38 lrwxrwxrwx 1 root root 27 Feb 6 09:44 System.map.old ->
39 System.map-2.6.19-gentoo-r4
40 lrwxrwxrwx 1 root root 1 Jan 19 13:42 boot -> .
41 lrwxrwxrwx 1 root root 20 Feb 6 11:45 config -> config-2.6.20-gentoo
42 -rw-r--r-- 1 root root 43780 Feb 6 09:44 config-2.6.19-gentoo-r4
43 -rw-r--r-- 1 root root 43780 Feb 6 09:09 config-2.6.19-gentoo-r5
44 -rw-r--r-- 1 root root 43780 Feb 6 09:00 config-2.6.19-gentoo-r5.old
45 -rw-r--r-- 1 root root 44623 Feb 6 11:45 config-2.6.20-gentoo
46 lrwxrwxrwx 1 root root 23 Feb 6 09:44 config.old ->
47 config-2.6.19-gentoo-r4
48 drwxr-xr-x 2 root root 672 Feb 6 12:58 grub
49 lrwxrwxrwx 1 root root 21 Feb 6 11:45 vmlinuz ->
50 vmlinuz-2.6.20-gentoo
51 -rw-r--r-- 1 root root 2145374 Feb 6 09:44 vmlinuz-2.6.19-gentoo-r4
52 -rw-r--r-- 1 root root 2145431 Feb 6 09:09 vmlinuz-2.6.19-gentoo-r5
53 -rw-r--r-- 1 root root 2145430 Feb 6 09:00 vmlinuz-2.6.19-gentoo-r5.old
54 -rw-r--r-- 1 root root 2159920 Feb 6 11:45 vmlinuz-2.6.20-gentoo
55 lrwxrwxrwx 1 root root 24 Feb 6 09:44 vmlinuz.old ->
56 vmlinuz-2.6.19-gentoo-r4
57
58 -------------------------------------------------------------------------------------------------------------------------------------
59
60 cat /boot/grub/grub.conf
61 #
62 # Grub Configuration file
63 #
64
65 # Load the splash image
66 splashimage=(hd0,0)/grub/splash.xpm.gz
67
68 # Boot automatically after 30 secs.
69 timeout 10
70
71 # By default, boot the first entry.
72 default 0
73
74 # Fallback to the second entry.
75 fallback 1
76
77 # For booting the main version
78 title Gentoo - default runlevel
79 root (hd0,0)
80 kernel (hd0,0)/vmlinuz root=/dev/sda5 vga=0x318
81 video=vesafb:ywrap,mtrr:3,1024x768-32@85 splash=verbose
82 libata.atapi_enabled=1
83 #initrd /boot/fbsplash
84
85 # For booting the main version, wireless runlevel
86 title Gentoo - wireless runlevel
87 root (hd0,0)
88 kernel (hd0,0)/vmlinuz root=/dev/sda5 vga=0x318
89 video=vesafb:ywrap,mtrr:3,1024x768-32@85 splash=verbose
90 libata.atapi_enabled=1 softlevel=wireless
91 #kernel /boot/vmlinuz root=/dev/sda5
92 video=vesafb:ywrap,mtrr:2,1024x768-32@70
93 splash=silent,fadein,theme:livecd-2005.1 gentoo=nodevfs apm=off acpi=on
94 CONSOLE=/dev/tty1 quiet softlevel=wireless
95 #initrd /boot/fbsplash
96
97 # For booting a fall back version
98 title Fall Back
99 root (hd0,0)
100 kernel /boot/vmlinuz.old root=/dev/sda5 splash=verbose gentoo=nodevfs
101 apm=off acpi=off
102
103
104 -------------------------------------------------------------------------------------------------------------------------------------
105
106 ls -al /usr/src
107 total 3
108 drwxr-xr-x 4 root root 176 Feb 6 11:29 .
109 drwxr-xr-x 18 root root 496 Jan 31 20:42 ..
110 -rw-r--r-- 1 root root 0 Aug 3 2006 .keep
111 lrwxrwxrwx 1 root root 19 Feb 6 11:29 linux -> linux-2.6.20-gentoo
112 drwxr-xr-x 20 root root 1296 Feb 6 09:44 linux-2.6.19-gentoo-r4
113 drwxr-xr-x 20 root root 1328 Feb 6 11:45 linux-2.6.20-gentoo
114
115 -------------------------------------------------------------------------------------------------------------------------------------
116
117 Thanks Ric!
118
119 PS
120 I have not changed my way of compiling / installing the kernel for at
121 least 4 years (since switching to 2.6 kernel series)
122
123
124 --
125 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] no matter what kernel version I compile, It says it's 2.6.19-r4 Alan McKinnon <alan@××××××××××××××××.za>