Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 82131

Summary: genkernel fails on EXT2_FS_XATTR
Product: Gentoo Hosted Projects Reporter: Stefan de Konink <stefan>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan de Konink 2005-02-15 09:57:39 UTC
* Gentoo Linux Genkernel; Version 3.1.0h

* Compiling Linux Kernel 2.6.10-gentoo-r6 for x86...
* WARNING: No mounted /boot partition detected!
--
Second extended fs support (EXT2_FS) [Y/n/m/?] y
  Ext2 extended attributes (EXT2_FS_XATTR) [N/y/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** [include/linux/autoconf.h] Error 2
* Gentoo Linux Genkernel; Version 3.1.0h

* ERROR: Failed to compile the "prepare" target...


Reproducible: Always
Steps to Reproduce:
1. catalyst -f livecd-stage2_template.spec

Actual Results:  
Catalyst fails on genkernel (could this be the result of make mrproper?)

Expected Results:  
Catalyst continuing.

Using kernel gentoo-dev-sources-2.6.10-r7 in catalyst.

Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 Mobile AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 10 2005, 18:06:40)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
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, 1.9.4, 1.5, 1.4_p6, 1.6.3, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
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/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X a52 aim alsa apache2 apm avi berkdb bitmap-fonts
cdparanoia cdr crypt cups curl dba divx4linux dv dvd dvdr dvdread encode f77 fam
fame flac font-server foomaticdb fortran freetype gd gdbm gif glut gnutls gpm
gstreamer gtk gtk2 ieee1394 imagemagick imlib ipv6 jack java jpeg junit lcms
ldap libg++ libwww live lzo mad mikmod mjpeg mmx mng motif mp3 mpeg msn mysql
ncurses network nls nptl nptlonly oggvorbis opengl pam perl png postgres python
quicktime readline sdl session slang speex spell sqlite sse ssl svg tcpd tetex
theora tiff truetype truetype-fonts type1-fonts userlocales xinerama xml xml2 xv
xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-02-18 13:04:45 UTC
Add your kernel .config as an attachment, please
Comment 2 Stefan de Konink 2005-02-18 13:19:06 UTC
It is not in the kernel config...

Please review the final lines of /usr/share/genkernel/gen_configkernel.sh

        # Make sure Ext2 support is on...
        sed -i ${KERNEL_DIR}/.config -e 's/#\? \?CONFIG_EXT2_FS[ =].*/CONFIG_EXT2_FS=y/g'
}

Enabling it and XATTR in the configuration file would help with this voodoo.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-24 06:37:36 UTC
This really doesn't have anything to do with catalyst.  Also, please post your .config file, as asked.
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2005-04-13 14:15:27 UTC
If you manually run genkernel (with the same params) in your livecd-stage2 chroot do you get the same issue?
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2005-06-15 11:59:48 UTC
Please try the latest genkernel and also see comment #4.