Gentoo Archives: gentoo-user

From: Kaddeh <kaddeh@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problem with "make oldconfig" 2.6.30-8 ==> 2.6.31
Date: Wed, 10 Mar 2010 09:02:24
Message-Id: f921d62a1003100102g4bd54d2at8b899d8ded8c7f09@mail.gmail.com
In Reply to: [gentoo-user] Problem with "make oldconfig" 2.6.30-8 ==> 2.6.31 by Walter Dnes
1 Walter,
2
3 I'd advise going back through and running a "make menuconfig" on
4 2.6.31-r6/10 and verify that everything is in order.
5 The reason that I say this is that, in the event that your kernel -DID-
6 revert back to defaults, if you have a non-ext2/3 partition, it isn't going
7 t recognize it (EXT4, Reiserfs3.6/4, etc aren't "default" options).
8 As for the warnings that you are talking about, those have existed for a
9 while, they are obviously non-fatal and not really pertinent to your issue
10 at hand.
11
12 Cheers
13
14 Kad
15
16 On Tue, Mar 9, 2010 at 5:36 PM, Walter Dnes <waltdnes@××××××××.org> wrote:
17
18 > Today is when running a lilo menu with "production" and "experimental"
19 > kernels saved me. "production" is 2.6.30-r8. "experimental" is
20 > 2.6.31-r6 or 2.6.31-r10 (same problems with either one). I set
21 > /usr/src/linux to point at 2.6.31-r6 (or 10), copied .config from
22 > 2.6.30-r8 and ran "make oldconfig". I got the warnings listed below
23 > before the config process started. "make oldconfig" appears to have
24 > reset to default values, and it was showing me some settings totally the
25 > opposite of what I know I've set. When I ran through "make oldconfig",
26 > compiled and rebooted, I got a framebuffer console, which I *KNOW* I
27 > haven't selected. And there was a kernel panic because gentoo couldn't
28 > find the boot device.
29 >
30 > I'm enough of a bit-twiddler that I can set up the kernel manually.
31 > But I know from past experience that it's a long slow process. Is
32 > there any trick to salvage "make oldconfig", before I resort to setting
33 > up the kernel "the hard way"? Here's the output from "make oldconfig"
34 > up to where it starts asking questions...
35 >
36 >
37 > [d531][root][/usr/src/linux] make oldconfig
38 > HOSTCC scripts/basic/fixdep
39 > HOSTCC scripts/basic/docproc
40 > HOSTCC scripts/basic/hash
41 > HOSTCC scripts/kconfig/conf.o
42 > scripts/kconfig/conf.c: In function 'conf_askvalue':
43 > scripts/kconfig/conf.c:105: warning: ignoring return value of 'fgets',
44 > declared with attribute warn_unused_result
45 > scripts/kconfig/conf.c: In function 'conf_choice':
46 > scripts/kconfig/conf.c:307: warning: ignoring return value of 'fgets',
47 > declared with attribute warn_unused_result
48 > HOSTCC scripts/kconfig/kxgettext.o
49 > SHIPPED scripts/kconfig/zconf.tab.c
50 > SHIPPED scripts/kconfig/lex.zconf.c
51 > SHIPPED scripts/kconfig/zconf.hash.c
52 > HOSTCC scripts/kconfig/zconf.tab.o
53 > In file included from scripts/kconfig/zconf.tab.c:2486:
54 > scripts/kconfig/confdata.c: In function 'conf_write':
55 > scripts/kconfig/confdata.c:508: warning: ignoring return value of 'fwrite',
56 > declared with attribute warn_unused_result
57 > scripts/kconfig/confdata.c: In function 'conf_write_autoconf':
58 > scripts/kconfig/confdata.c:745: warning: ignoring return value of 'fwrite',
59 > declared with attribute warn_unused_result
60 > scripts/kconfig/confdata.c:746: warning: ignoring return value of 'fwrite',
61 > declared with attribute warn_unused_result
62 > In file included from scripts/kconfig/zconf.tab.c:2487:
63 > scripts/kconfig/expr.c: In function 'expr_print_file_helper':
64 > scripts/kconfig/expr.c:1090: warning: ignoring return value of 'fwrite',
65 > declared with attribute warn_unused_result
66 > HOSTLD scripts/kconfig/conf
67 > scripts/kconfig/conf -o arch/x86/Kconfig
68 > *
69 > * Restart config...
70 > *
71 > *
72 > * Performance Counters
73 > *
74 > Kernel Performance Counters (PERF_COUNTERS) [N/y/?] (NEW)
75 >
76 >
77 > --
78 > Walter Dnes <waltdnes@××××××××.org>
79 >
80 >