1 |
On Tue, 2007-07-17 at 14:24 -0500, Billy Wayne McCann wrote: |
2 |
> My purpose for pasting this into this discussion is three-fold: to |
3 |
> show |
4 |
> why I said what I did, to hopefully dispel the notion that I merely |
5 |
> made |
6 |
> this all up, and to discuss the relevance of the pasted text itself. |
7 |
> |
8 |
> I apologize for being off-topic and hope that Mick finds himself a |
9 |
> working kernel config soon. :) |
10 |
|
11 |
I hope he does as well. |
12 |
|
13 |
Completely on a tangent from the OP, but I would like to argue *for* the |
14 |
use of oldconfig when upgrading kernels. I read the relevant part of the |
15 |
document and I'm not going to contest it, it does not seem to indicate |
16 |
that "oldconfig" when upgrading kernels doesn't work, but that |
17 |
"oldconfig" might somehow confuse the user into not selecting a kernel |
18 |
option that they need. OTOH if said person is using an "old config" |
19 |
that worked then most, if not all, of the "needed" options are already |
20 |
selected. But what are the alternatives? The document does not cite |
21 |
any. I can think of four choices: |
22 |
|
23 |
1. "make menuconfig" and create a new .config from scratch. From |
24 |
my own personal experience I know I'm *much* more likely to |
25 |
forget a needed kernel option starting from scratch than from an |
26 |
old config. |
27 |
2. Copy old .config and "make". In this case you miss any new |
28 |
kernel options. |
29 |
3. copy old .config and "make menuconfig". In this case you're |
30 |
much more likely to miss the *new* kernel options because they |
31 |
don't stand out from the old ones. |
32 |
4. Copy old .config and "make oldconfig". Here you get prompted |
33 |
for any new kernel options, plus you keep all your old ones when |
34 |
feasible. |
35 |
|
36 |
Or, if you're lucky enough to be using Gentoo, you could run genkernel. |
37 |
However browsing the genkernel sources it seems to do 2, 3 or 4 |
38 |
depending on what options it is given. 2 seems relevant only if you want |
39 |
to upgrade your kernel but not take advantage of any new features. 3 is |
40 |
prone to overlooking the aforementioned features. So that leaves 1 |
41 |
which is ridiculous and 4 which just about every other document found on |
42 |
the net about upgrading kernels recommends, including the Greg |
43 |
Kroah-Hartman's _Linux Kernel in a Nutshell_ (Greg being both a Kernel |
44 |
and Gentoo developer). |
45 |
|
46 |
I think that in general, and when used correctly, oldconfig is in fact a |
47 |
very useful tool when performing kernel upgrades, but of course YMMV. |
48 |
|
49 |
|
50 |
-- |
51 |
Albert W. Hopkins |
52 |
|
53 |
-- |
54 |
gentoo-user@g.o mailing list |