Gentoo Archives: gentoo-user

From: Arnau Bria <arnau@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] genkernel vs kernel manual compilation
Date: Sat, 01 Sep 2007 14:53:03
Message-Id: 20070901154701.50cb8874@pataki.bogus.net
In Reply to: Re: [gentoo-user] genkernel vs kernel manual compilation by Ryan Sims
1 On Fri, 31 Aug 2007 16:09:46 -0400
2 Ryan Sims wrote:
3
4 > On 8/31/07, Arnau Bria <arnau@×××××××××.net> wrote:
5 > > On Fri, 31 Aug 2007 09:41:19 -0400
6 > > Ryan Sims wrote:
7 > >
8 > > > On 8/31/07, Arnau Bria <arnau@×××××××××.net> wrote:
9 > > Hi,
10 > > > > Really, I like to read people's opinion about genkernel, but no
11 > > > > one has tried to answer my question yet.
12 > > >
13 > > > In my first reply, I suggested looking at a diff between your
14 > > > config and genkernel's config. How did that turn out?
15 > >
16 > > Mmm... I though I answered that.
17 > > at conceptual level, I did a gunzip and moved original 2.6.12
18 > > genkernel's /proc/config.gz to .config and then, make oldconfig in
19 > > new 2.6.21 sources dir (/usr/src/linux link dir).
20 > >
21 > > So, I should do a diff between my new .config after make oldc onfig,
22 > > and currently config generated by genkernel... but has it sense? I
23 > > mean, what differneces could be between them?
24 >
25 > That's what we're trying to find out. If the diff comes up empty,
26 > we'll have to look elsewhere, but it's easy to check.
27
28
29 afrodita ~ # cp /usr/src/linux/.config config-2.21
30 afrodita ~ # head config-2.21
31 #
32 # Automatically generated make config: don't edit
33 # Linux kernel version: 2.6.21-gentoo-r4
34 # Wed Aug 29 21:57:06 2007
35 #
36 CONFIG_X86_32=y
37 CONFIG_GENERIC_TIME=y
38 CONFIG_CLOCKSOURCE_WATCHDOG=y
39 CONFIG_GENERIC_CLOCKEVENTS=y
40 CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
41
42 afrodita ~ # cd /usr/src/linux
43 afrodita ~ # uname -a
44 Linux afrodita 2.6.16-gentoo-r12 #1 SMP Sat Aug 26 23:59:18 CEST 2006 i686 AMD Athlon(tm) Processor AuthenticAMD GNU/Linux
45
46 afrodita linux # zcat /proc/config.gz > .config
47 afrodita linux # zcat /proc/config.gz > .config
48 afrodita linux # head .config
49 #
50 # Automatically generated make config: don't edit
51 # Linux kernel version: 2.6.16-gentoo-r12
52 # Sat Aug 26 23:44:30 2006
53 #
54 CONFIG_X86_32=y
55 CONFIG_SEMAPHORE_SLEEPERS=y
56 CONFIG_X86=y
57 CONFIG_MMU=y
58 CONFIG_GENERIC_ISA_DMA=y
59
60 afrodita linux # make oldconfig
61 (all default options marked).
62 afrodita linux # head .config
63 #
64 # Automatically generated make config: don't edit
65 # Linux kernel version: 2.6.21-gentoo-r4
66 # Sat Sep 1 16:40:04 2007
67
68 afrodita linux # cp .config /root/config-2.12
69 afrodita ~ # head -n 5 config-2.12
70 #
71 # Automatically generated make config: don't edit
72 # Linux kernel version: 2.6.21-gentoo-r4
73 # Sat Sep 1 16:33:04 2007
74 #
75 afrodita ~ # head -n 5 config-2.21
76 #
77 # Automatically generated make config: don't edit
78 # Linux kernel version: 2.6.21-gentoo-r4
79 # Wed Aug 29 21:57:06 2007
80 #
81 afrodita ~ # diff config-2.21 config-2.12
82 4c4
83 < # Wed Aug 29 21:57:06 2007
84 ---
85 > # Sat Sep 1 16:33:04 2007
86
87
88 so, both configs have same options.
89
90 > One thing...are you actually going from 2.6.12 to .21? Or is that a
91 > typo?
92 not a typo, going from 2.6.12 to 2.6.21.
93
94 > While you're rebooting, see if you can get your new kernel to panic
95 > again at boot, write down the error, and post it.
96 >
97 I'm compiling the kernel again for seeing the panic.
98
99 Cheers,
100 Arnau
101 --
102 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] genkernel vs kernel manual compilation Arnau Bria <arnau@×××××××××.net>