I emerged the -r6 release of gentoo-sources. When I run make menuconfig, it hangs after "Parsing scripts". Here is the output: --QUOTE-- rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts/lxdialog all make[1]: Entering directory `/usr/src/linux-2.4.20-gentoo-r6/scripts/lxdialog' make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r6/scripts/lxdialog' /bin/sh scripts/Menuconfig arch/i386/config.in Using defaults found in arch/i386/defconfig Preparing scripts: functions, parsing........................................................................................done. --ENDQUOTE-- It just sits there and I have to ^C it. I am trying to recompile my kernel as a potential solution to my other bug, #27105 (dup of 27104 I think). Mark Reproducible: Always Steps to Reproduce: 1. cd /usr/src/[kernel-source] 2. make menuconfig 3. Portage 2.0.49_pre18 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Pentium II (Deschutes) GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ http://www.ibiblio.org/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java guile ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl gphoto2 cdr scanner acl apache2 athena cscope curl dga dvd fbcon gb gd imap innodb ipv6 jikes junit kerberos ldap libgda maildir mbox mcal pda plotutils ppds samba sasl slp snmp socks5 sse tiff usagi usb vim-with-x wmf Xaw3d xinerama -3dnow" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -O2 -pipe" CXXFLAGS="-march=pentium2 -O2 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" FEATURES="sandbox ccache distcc"
Is this under a gnome-terminal? If so use xterm to rebuild your kernel. I had this bug before, I couldn't point to why it happened, but... if you copy 'x11-libs/vte-0.10.29.ebuild' to 'x11-libs/vte-0.11.10.ebuild' and merge that, that might work: it worked for me. Oh, and upgrade 'ncurses' as well.
Gnome Team: Can you please have a look at this. This might not be a gnome-terminal problem but it turned out to be one for me. Details are in the first comment...
ok, I emerged the same sources here and in gnome-terminal did "make menuconfig" and it worked without a hitch here... Not sure what was behind this behaviour.. x11-terms/gnome-terminal-2.2.2 or the version...
As far as I can remember, [before I fixed this] this started happening when I upgraded something. Probably gnome-terminal or that vte [Virtual Terminal Emulator "Xft powered terminal widget"] library... This happened to me with a whole bunch of kernel versions so I don't think it's a kernel bug.
plasmaroo please stop adding us to bugs without a good reason (this is the second i see today), without a positive reply by the reporter this all assumption based reasoning.
I was doing this from the console (a VC) not within X. I tried re-emerging ncurses too, but no dice. Mark
Perhaps a salient point, this machine is a *bit* out of date ... I have not "emerge -uD world"'d it in a while ... there are about 135 packages which need updating. Mark
Are you using a framebuffer of some sort?
Yes. The VESA console framebuffer. vga=794 (1280x1024x24bit I think). Mark
I took Gnome off the cc list. I don't use Gnome at all so I doubt they should be involved. Mark
Hmmm... Can you please attach your kernel .config?
Also, do you get this if you use another kernel?
I don't have a .config. Through a little comedy of errors in going from gentoo-sources -r5 to -r6 I lost my .config. I'll try running make xconfig tonight when I get home. Mark
Created attachment 16483 [details] Kernel config file make xconfig works fine. Just building this kernel now so I hope I got all the options right.
Kernel config looks fine to me. Can you please strace the running process which is hanging [ probably the one which is eating up your cpu ].
Created attachment 16659 [details] strace -f make menuconfig strace output of make menuconfig. The new kernel (gentoo-sources-2.4.20-r6) is working fine, but make menuconfig still does not work.
Just FYI, the -r7 release of gentoo-sources was pulled down to the machine in question during a recent emerge -u. I tried running make menuconfig inside the new release ... same results. Mark
Here is something I did not notice before ... if I leave make menuconfig running it is consuming ~50% of my CPU: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 20847 root 25 0 2404 2404 2324 S 44.0 0.7 1:39.70 /bin/sh scripts/Menuconfig arch/i386/config.in I am going to attach a strace to the running process and upload it here. Maybe there will be something useful in there. Mark
Created attachment 17834 [details] strace -f -p [pid] against the running make menuconfig
I've had a quick scan of it and it looks like something is causing a SIGINT [illegal instruction]. Can you please recompile all of the following without any CPU optimizations: binutils gcc glibc ncurses. Are you using "pentium4" or "anthlonxp" for your optimizations by any chance? If so, upgrade portage, run etc-update and read the warning signs :-)
The machine in question is a P-II 400 and my CFLAGS and CXXFLAGS are both set to "-march=pentium2 -O2 -pipe". Do you think I should still recompile with no optimizations? Or maybe I just need to recompile those (with or without optimizations) because something is "wrong"? I ran into this on my laptop where I needed to go back a re-emerge berkdb1 which was somehow causing my emerge of gnome-libs to die (actually have not verified that yet ... trying to re-emerge now but anyway ...) Mark
Fixed by re-emerging ncurses. Mark
Resolving. Thanks.