When I try to make kernel 2.6.11-r4 /usr/src/linux-2.6.11-gentoo-r4/scripts/gen_initramfs_list.sh fails early in the build Reproducible: Always Steps to Reproduce: 1. cd to /usr/src/linux-2.6.11-gentoo-r4 2. Configure the kernel 3. make Actual Results: [3017:/usr/src/linux-2.6.11-gentoo-r4]$ make && make modules_install CHK include/linux/version.h UPD include/linux/version.h SYMLINK include/asm -> include/asm-i386 SPLIT include/linux/autoconf.h -> include/config/* CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost HOSTCC scripts/kallsyms HOSTCC scripts/conmakehash CC arch/i386/kernel/asm-offsets.s CHK include/asm-i386/asm_offsets.h UPD include/asm-i386/asm_offsets.h CC init/main.o CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o CC init/do_mounts.o CC init/do_mounts_devfs.o LD init/mounts.o CC init/initramfs.o CC init/calibrate.o LD init/built-in.o HOSTCC usr/gen_init_cpio CHK usr/initramfs_list /usr/src/linux-2.6.11-gentoo-r4/scripts/gen_initramfs_list.sh: Cannot open 'n'make[1]: *** [usr/initramfs_list] Error 1 make: *** [usr] Error 2 Expected Results: Kernel builds correctly [3019:/usr/src/linux-2.6.11-gentoo-r4]$ uname -a Linux mediacentre 2.6.9-gentoo-r8 #3 Sat Jan 8 01:19:50 GMT 2005 i686 AMD Athlon(tm) XP 1700+ AuthenticAMD GNU/Linux [3020:/usr/src/linux-2.6.11-gentoo-r4]$ emerge info Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r8 i686) ================================================================= System uname: 2.6.9-gentoo-r8 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 20 2005, 05:36:05)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r3 sys-devel/binutils: 2.15.90.0.1.1-r3 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.gigaload.org/gentoo.org/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dfx 3dnow 3dnowex X alsa avi berkdb bitmap-fonts bonobo cdr crypt cups emboss encode esd fam font-server foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib java jpeg junit libg++ libwww lzo mad mikmod mmx mmx2 mng motif mozilla mp3 mpeg mplayer mysql ncurses nls nvidia oggvorbis opengl pam pdflib perl png python quicktime quotes readline rtc samba sdl spell sse ssl svg svga tcpd tiff truetype truetype-fonts type1-fonts userlocales wmf xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
You used "make oldconfig" when transferring your kernel .config over from an older base kernel. You shouldn't do this unless you know what you are doing - its unsafe. make oldconfig is only useful when going from one gentoo revision to another (e.g. 2.6.11-r3 to 2.6.11-r4). Please start from a fresh kernel config and you won't run into this.