hi bobBob P wrote:thanks for the feedback. i'm trying to get to the bottom of this /proc/mounts business so i thought i'd ask you a question:torchZ06 wrote:i just finished my second successful 1-on-3 today (now i have 2 machines running 1-on-3s, one using gcc 3.4 and the other i left with gcc 3.3) and copying /proc/mounts is what made it work. i was having the same errors as the others, namely:* Checking root filesystem [ok]
Failed to open the device '/dev/sda4': No such file or directory
/dev/sda4 refers to an SATA or a SCSI drive, doesn't it?
are both systems you've had problems with using SATA or SCSI drives?
FWICT it seems that the vast majority (if not all) of the complaints that have been solved by the /proc/mounts fix have been encountered by people who were attempting to adapt the Guide to install Gentoo on hardware that the Guide does not support.
Code: Select all
desiderata root # lspci
0000:00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
0000:00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
0000:00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
0000:00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
0000:02:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)
Code: Select all
zone root # lspci
0000:00:00.0 Host bridge: Intel Corporation 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 04)
0000:00:01.0 PCI bridge: Intel Corporation 82850 850 (Tehama) Chipset AGP Bridge (rev 04)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 04)
0000:00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 04)
0000:00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 04)
0000:00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 04)
0000:00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus (rev 04)
0000:00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #2) (rev 04)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
0000:02:07.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
0000:02:07.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
0000:02:09.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 31)But if I emerge system and emerge world (both twice, I'm not sure in what order though)Bob P wrote:yes, there is a difference in the way that you have described upgrading from stage 3; you suggested re-emerging the world but not the system files. the ebuilds contained in the system and world groups are not the same.
Code: Select all
emerge -e system && emerge -e system && emerge -e world && emerge -e worldCode: Select all
make[2]: *** [/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/locale/global-locale.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3/locale'
make[1]: *** [locale/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3'
make: *** [all] Error 2
Code: Select all
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(TM) MP 2000+
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 24 2004, 02:42:32)]
dev-lang/python: 2.3.4
sys-devel/autoconf: 2.59-r5
sys-devel/automake: 1.8.5-r1
sys-devel/binutils: 2.15.92.0.2-r1
sys-devel/libtool: 1.5.2-r5
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -mtune=athlon-mp -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O3 -mtune=athlon-mp -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.eliteitminds.com http://lug.mtu.edu/gentoo"
MAKEOPTS="-j16"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X acpi apache2 apm arts avi berkdb bitmap-fonts crypt cups curses emboss encode font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib innodb ipv6 ithreads jpeg kde ldap libg++ libgd libwww mad mikmod mod_php motif mp3 mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl php png pthreads python qt quicktime readline samba sdl snmp spell ssl svga tcpd truetype truetype-fonts type1-fonts vnc xml2 xmms xscreensaver xv zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
The actual error is further before these lines. Please post at least the 5 lines before these you have posted above before we can say what the problem is.ruach wrote:I get all the way to section 7.2.4 Rebuilding the System Toolkit before any problems. When I emerge glibc it fails miserably.
Here is the output from emerge glibcCode: Select all
make[2]: *** [/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/locale/global-locale.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3/locale' make[1]: *** [locale/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3' make: *** [all] Error 2
Code: Select all
.././scripts/mkinstalldirs /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu
../sysdeps/generic/libc-start.c: In function `__libc_start_main':
../sysdeps/generic/libc-start.c:192: warning: implicit declaration of function `__guard_setup'
.././scripts/mkinstalldirs /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu
echo 'csu/elf-init.oS csu/hp-timing.oS' > /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/stamp.oST
mv -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/stamp.oST /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/stamp.oS
../sysdeps/generic/libc-start.c: In function `__libc_start_main':
../sysdeps/generic/libc-start.c:192: warning: implicit declaration of function `__guard_setup'
gcc -nostdlib -nostartfiles -r -o /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/crt1.o /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/start.o /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/abi-note.o /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/init.o
gcc -nostdlib -nostartfiles -r -o /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/Scrt1.o /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/start.os /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/abi-note.o /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/init.o
echo 'csu/init-first.o csu/libc-start.o csu/sysdep.o csu/version.o csu/check_fds.o csu/libc-tls.o csu/elf-init.o csu/dso_handle.o csu/errno.o csu/errno-loc.o csu/ssp.o csu/hp-timing.o' > /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/stamp.oT
mv -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/stamp.oT /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/stamp.o
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/errno-loc.os] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3'
make: *** [all] Error 2
Code: Select all
# cat /etc/portage/package.keywords
sys-devel/gcc ~x86
sys-devel/gcc-config ~x86
sys-libs/libstdc++-v3 ~x86
sys-libs/glibc ~x86
Code: Select all
# emerge -vp glibc
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] sys-libs/glibc-2.3.4.20050125-r1 [2.3.4.20040808-r1] -build -debug -erandom -hardened (-multilib) +nls -nomalloccheck +nptl* -nptlonly -pic +userlocales* 0 kB
Code: Select all
# emerge -vp gcc-config glibc binutils gcc
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] sys-devel/gcc-config-1.3.10-r1 0 kB
[ebuild U ] sys-libs/glibc-2.3.4.20050125-r1 [2.3.4.20040808-r1] -build -debug -erandom -hardened (-multilib) +nls -nomalloccheck +nptl* -nptlonly -pic +userlocales* 0 kB
[ebuild U ] sys-devel/binutils-2.15.92.0.2-r1 [2.14.90.0.8-r1] -bootstrap -build -debug -multitarget +nls (-uclibc) 0 kB
[ebuild NS ] sys-devel/gcc-3.4.3.20050110 -bootstrap -boundschecking -build -debug +fortran -gcj +gtk -hardened (-ip28) (-multilib) -multislot (-n32) (-n64) +nls -nocxx -objc -static (-uclibc) 0 kB
[ebuild N ] sys-libs/libstdc++-v3-3.3.4 -debug +nls 0 kB
Code: Select all
Athlon MP (AMD)
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer" Code: Select all
# CRITICAL WARNINGS: ****************************************************** #
# K6 markings are deceptive. Avoid setting -march for them. See Bug #24379. #
# Pentium-M CPU's should not enable sse2 until at least gcc-3.4. Bug 50616. #
# ************************************************************************* #

the recommendation to verify swap is a good one.ruach wrote:There's no hope!I tried it again with -march=i686 and then again without -pipe and -fomit-frame-pointer and -j4. I don't get it, it busts on the same line of the same file every time?... grrr. Maybe I'll just do a grp install
I'm gonna try emerging an older glibc, maybe that will work. Thanks for all the help, I really appreciate it. Maybe some one else will come along with a solution, or maybe I'll just get this box built so I can get some real work done.
Code: Select all
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No targets specified and no makefile found. Stop.
!!! ERROR: sys-devel/patch-2.4.9 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! emake failed

I did verfity swap. top shows 2939884k swap availible, none used. The box has 3gig of ram, so I wouldn't expect memory to be a problem--though I have been wrong in the past. I did try very simple flags, "-O2 -march=i686 -fomit-frame-pointer" and it still failed. Last Friday I installed with linux26-headers, gcc-3.3.5-r1 and glibc-2.3.4.20041102-r1 and did not have ANY problems. I would really like to try and get this all to work, but I just don't have more time to put into it. This is a critical machine to me, and I've got to get it running.Bob P wrote: the recommendation to verify swap is a good one.
which package is the one that is failing? can you post detailed screen output here? have you tried easing back to an -O2 optimization level? i know that the gcc ebuild filters out -O3 and replaces it with -O2 on x86, but i don't know if it does that on alhlons.
Yeah I turned swap on. I guess it is possible that I might have overlooked that, but I doubt it. top said there was swap availible so I assume that means that it was turned on. I did have -j16, which I was told by one of the guys up here would be acceptable on my hardware. However, when I ran "-O2 -pipe -fomit-frame-pointer" I also turned -j down to -j4 just to be safe. I didn't log every config I tried, and maybe it would be helpful it I did, but I attempted to complie at least 10 times, with various and assundry options.Bob P wrote:after making swap, did you turn it on? i'm just wondering... with 3 GB of RAM you may never need swap. OTOH, if swap isn't even getting used, its always a good idea to verify that you've both made swap and turned it on.
how many processors do you have, and what is your current makeopts value for j? looking at your emerge info, it seems that you had j=16.![]()