Today is when running a lilo menu with "production" and "experimental"
kernels saved me.  "production" is 2.6.30-r8.  "experimental" is
2.6.31-r6 or 2.6.31-r10 (same problems with either one).  I set
/usr/src/linux to point at 2.6.31-r6 (or 10), copied .config from
2.6.30-r8 and ran "make oldconfig".  I got the warnings listed below
before the config process started.  "make oldconfig" appears to have
reset to default values, and it was showing me some settings totally the
opposite of what I know I've set.  When I ran through "make oldconfig",
compiled and rebooted, I got a framebuffer console, which I *KNOW* I
haven't selected.  And there was a kernel panic because gentoo couldn't
find the boot device.

  I'm enough of a bit-twiddler that I can set up the kernel manually.
But I know from past experience that it's a long slow process.  Is
there any trick to salvage "make oldconfig", before I resort to setting
up the kernel "the hard way"?  Here's the output from "make oldconfig"
up to where it starts asking questions...


[d531][root][/usr/src/linux] make oldconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  HOSTCC  scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function 'conf_askvalue':
scripts/kconfig/conf.c:105: warning: ignoring return value of 'fgets', declared 
with attribute warn_unused_result
scripts/kconfig/conf.c: In function 'conf_choice':
scripts/kconfig/conf.c:307: warning: ignoring return value of 'fgets', declared 
with attribute warn_unused_result
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2486:
scripts/kconfig/confdata.c: In function 'conf_write':
scripts/kconfig/confdata.c:508: warning: ignoring return value of 'fwrite', 
declared with attribute warn_unused_result
scripts/kconfig/confdata.c: In function 'conf_write_autoconf':
scripts/kconfig/confdata.c:745: warning: ignoring return value of 'fwrite', 
declared with attribute warn_unused_result
scripts/kconfig/confdata.c:746: warning: ignoring return value of 'fwrite', 
declared with attribute warn_unused_result
In file included from scripts/kconfig/zconf.tab.c:2487:
scripts/kconfig/expr.c: In function 'expr_print_file_helper':
scripts/kconfig/expr.c:1090: warning: ignoring return value of 'fwrite', 
declared with attribute warn_unused_result
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -o arch/x86/Kconfig
*
* Restart config...
*
*
* Performance Counters
*
Kernel Performance Counters (PERF_COUNTERS) [N/y/?] (NEW)


-- 
Walter Dnes <waltd...@waltdnes.org>

Reply via email to