CONFIG_BLK_DEV_VM (and it's buddy CONFIG_BLK_DEV_DM_MIRROR) aren't available in the configuration options and the device mapper patch appears to be missing from r8 (was present for quite a while before). This breaks LVM2. Reproducible: Always Steps to Reproduce: Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.4.28-gentoo-r7 i686) ================================================================= System uname: 2.4.28-gentoo-r7 i686 Intel(R) Xeon(TM) CPU 2.40GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4 (# 1, Feb 11 2005, 02:37:43)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.2.3-r5, 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.19-r1, 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" 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/shar e/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages"t PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 X acpi apm arts avi berkdb bitmap-fonts crypt cups curl emboss encode e sd fam font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib innodb i pv6 java jpeg kde ldap libg++ libwww mad mikmod mmx motif mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmm s xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
I noticed that no patch at all is applied, so I get the vanilla sources installed. There's a hint in the output of emerge gentoo-sources: * gentoo-sources-2.4.28-r4.tar.bz2 unpacked /usr/lib/portage/bin/ebuild.sh: line 518: 000008: value too great for base (error token is "000008") >>> Test phase [not enabled]: sys-kernel/gentoo-sources-2.4.28-r8 I think that the error occurs in kernel-2.eclass, line 518: STRICT_COUNT=$((${STRICT_COUNT} + 1)) Bash doesn't accept $STRICT_COUNT to be 00008.
This looks like an kernel-2.eclass bug (comment #1), reassigning.
*** This bug has been marked as a duplicate of 84856 ***