Gentoo Archives: gentoo-user

From: "M. Sitorus" <gkjdsh@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: make oldconfig
Date: Wed, 06 Aug 2008 02:34:19
Message-Id: ac564a240808051934x477359c9gcd546b95307c18f4@mail.gmail.com
In Reply to: [gentoo-user] Re: make oldconfig by James
1 cd /usr/src
2 rm linux
3 ln -sf /usr/src/linux-2.6.25-gentoo-r7 linux
4 cp /usr/src/linux-2.6.24-gentoo-r8/.config /usr/src/linux-2.6.25-gentoo-r7
5 make oldconfig
6 make menuconfig
7
8 On 8/6/08, James <wireless@×××××××××××.com> wrote:
9 > Dale <dalek1967 <at> bellsouth.net> writes:
10 >
11 >
12 >
13 > Well, the reason I asked is for clarity.
14 > I found this gentoo doc, which seems a little dated:
15 >
16 >
17 > http://gentoo-wiki.com/
18 > HOWTO_Detailed_Kernel_Configuration
19 >
20 >
21 > So what I gleen is that you run on
22 > a kernel, say version linux-2.6.24-gentoo-r8
23 >
24 > You down load newer sources, say version
25 > linux-2.6.25-gentoo-r7
26 >
27 > cd /usr/src
28 >
29 > rm linux
30 >
31 > ln -sf /usr/src/linux-2.6.25-gentoo-r7 linux
32 >
33 > make oldconfig <???>
34 > make menuconfig
35 >
36 > cp System.map /boot/System.map-2.6.25-gentoo-r7
37 > cp arch/x86_64/boot/bzImage /boot/kernel-2.6.25-gentoo-r7
38 > cp .config /boot/config-2.6.25-gentoo-r7
39 >
40 >
41 > edit grub apppropriately
42 > and reboot to the new kernel?
43 >
44 >
45 > This is what I do, but I do not use the oldconfig command.
46 >
47 > A friend asked me how I build new kernel on gentoo and
48 > I was hoping to find a current howto, that does not
49 > use genkernel and such. I did not have any luck finding one
50 > (although I did not look very hard).
51 >
52 >
53 > Any suggestions are appreciated. The aforementioned howto
54 > suggest that make oldconfig, xconfig and menuconfig are
55 > alternate ways? Maybe your not suppose to mix oldconfig
56 > with menuconfig?
57 >
58 > The reason I ask is some 2.6.23 to 2.6.24. to 2.6.25
59 > kernel have lost setting (selected options) using
60 > menuconfig alone. However, for a while the selected
61 > options were always correctly included using the above
62 > steps (without using oldconfig command syntax).
63 >
64 >
65 > This is the source of my need for some clarity.
66 > Maybe an updated howto is what is really needed?
67 > One that skips genkernel and such?
68 >
69 >
70 > James
71 >
72 >
73 >
74 >
75 >
76 >
77 >
78
79
80 --
81 Salam,
82
83 Marc