When running "genkernel --config" on gentoo-sources-2.4.22-r4, the configuration part (menuconfig) crashes whenever I try to enter the "Networking options" submenu. It doesn't seem to be a problem with my custom configuration; I removed it from /etc/kernels, but menuconfig still crashes. Furthermore, this is no "genkernel"-specific problem -- crashing occurs also when running "make menuconfig" directly. Reproducible: Always Steps to Reproduce: 1. emerge gentoo-sources-2.4.22-r4 2. genkernel --config <or> make menuconfig in /usr/src/linux-2.4.22-gentoo-r4 3. Select "Networking options" submenu Actual Results: menuconfig crashes with the following error message: --8<-- snip --8<-- Menuconfig has encountered a possible error in one of the kernel's configuration files and is unable to continue. Here is the error report: Q> scripts/Menuconfig: line 832: MCmenu19: command not found Please report this to the maintainer <mec@shout.net>. You may also send a problem report to <linux-kernel@vger.kernel.org>. Please indicate the kernel version you are trying to configure and which menu you were trying to enter when this error occurred. make: *** [menuconfig] Fehler 1 Error running "make menuconfig"; exiting. -->8-- snap -->8-- Expected Results: The "Networking options" submenu should appear correctly. [ ~ ] wallace # emerge --info Portage 2.0.49-r16-gpp7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-r3) ================================================================= System uname: 2.4.22-gentoo-r3 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.3.10 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox ccache digest userpriv usersandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.linux.no/ http://www.ibiblio.org/pub/Linux/distributions/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PKGUSE="( media-libs/smpeg => -gtk )( net-misc/vnc => -java )( media-sound/timidity++ => -gtk )( app-crypt/gnupg => caps -X )( net-www/links => -X )( app-pda/multisync => evo irmc )( media-video/dvdrip => -gnome )( media-gfx/imagemagick => -X )( net-www/mozilla => moznoirc moznomail moznocompose )( media-sound/alsa-driver => oss )( sys-libs/glibc => pic )( games-strategy/dopewars => -ncurses )( media-sound/lame => -gtk )( app-cdr/cdrdao => -gnome )( media-sound/rhythmbox => xine )( app-misc/mc => -X )" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 avi crypt cups encode gif jpeg mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xv zlib berkdb readline tetex java guile X sdl tcpd pam libwww ssl esd imlib oggvorbis gnome gtk motif opengl ldap 3dnow acl acpi alsa -apm -arts bonobo cdr dvd -foomaticdb -gdbm -gpm gtk2 gtkhtml jikes -kde -libg++ maildir -mozilla mpi mmx oav odbc -oss pda -perl -python -qt samba -slang -svga -xmms"
I can confirm this, using menuconfig on an x86 system (Athlon t-bird). Please fix ASAP.
This problem can easily be solved: File net/ipsec/Config.in: line 34: Remove the leading comment mark -------- This fix also removes the issue: "No ipsec- modular algs visible using make xconfig" Sandro Littke.
And im getting closer to the problem: 1. you cannot compile 1DES *and* 3DES as modular alg into kernel at the same time 2. so there is an issue in net/ipsec/alg/Config.alg_1des.in with "dep_tristate" (to be seen where you use make xconfig on my <networking enabled> version, make menuconfig gets that error too but ignores it). Does anyone know how to write that Config.alg_1des.in to "disable 1DES if 3DES is set" ? The quick-fix: Disable 1DES at all in file net/ipsec/alg/Config.in, line 13: Comment this line out and everything should work fine now. Sandro Littke.
*** Bug 37677 has been marked as a duplicate of this bug. ***
*** Bug 37676 has been marked as a duplicate of this bug. ***
Fixed - emerge sync and remerge your sources. I've removed the stray "#" and I've disabled 1DES support as it seems to be conflicting. Thanks. Brian, please fix both issues in the next release.
*** Bug 37694 has been marked as a duplicate of this bug. ***