Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] OT ( was : Cannot boot 2.6.21-gentoo-r4) Luigi Pinna <mailing-gentoo@××××××××××××.com>