Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 1997 16:28:34 -0500 (EST)
From:      Dayton Clark <dayton@sci.brooklyn.cuny.edu>
To:        smp@freebsd.org
Subject:   Goliath, more problems
Message-ID:  <199712162128.QAA14208@sci.brooklyn.cuny.edu>

next in thread | raw e-mail | index | archive | help

Folks,

More woes with  my 4x200ppro Goliath board.  I started clean, installing the
971208 snap (which seems to be the current favorite).  I made a kernel with
NCPU=4 and NBUS=3 as recommended by mptable.

My attempts to make buildworld follow.  As you can see, make
sporadically fails to find commands.  When entering commands interactively,
you sometimes get a missing one, but not as often as here.  Buildworld seems
to work (I didn't wait for it to complete) with the UP kernel.

I will look into this (as time permits), but I welcome suggestions.

So far I've found out that the ": not found" comes from a call to execvp()
in make (compat.c).  The error code returned by execvp() alternates between
ENOENT and EACCES, with EACCESS occurring more often.

There's a comment about a race condition in /usr/src/lib/libc/gen/exec.c
(~line 280), but I don't think it applies to this problem.

Any suggestions as to where I might look?  Has this been encountered before?

thanks
dayton

 Dayton Clark
 CIS Department                 dayton@brooklyn.cuny.edu
 Brooklyn College/CUNY          1-718-951-4811
 Brooklyn, New York  11210      1-718-951-4842 (fax)



# cd /usr/src
# . /root/.profile
# make buildworld

--------------------------------------------------------------
echo: not found
*** Error code 1

Stop.
# make buildworld

--------------------------------------------------------------
 Cleaning up the temporary build tree
--------------------------------------------------------------
mkdir -p /usr/obj/usr/src/tmp
mkdir: not found
*** Error code 1

Stop.
# make buildworld

echo: not found
*** Error code 1

Stop.

...and so on


# make buildworld

--------------------------------------------------------------
 Cleaning up the temporary build tree
--------------------------------------------------------------
mkdir -p /usr/obj/usr/src/tmp
chflags -R noschg /usr/obj/usr/src/tmp/
rm -rf /usr/obj/usr/src/tmp

--------------------------------------------------------------
 Making make
--------------------------------------------------------------
mkdir -p /usr/obj/usr/src/tmp/usr/bin
cd /usr/src/usr.bin/make &&  PATH=/usr/obj/usr/src/tmp/sbin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/bin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin BISON_SIMPLE=/usr/obj/usr/src/tmp/usr/share/misc/bison.simple  COMPILER_PATH=/usr/obj/usr/src/tmp/usr/libexec:/usr/obj/usr/src/tmp/usr/bin  GCC_EXEC_PREFIX=/usr/obj/usr/src/tmp/usr/lib/  LD_LIBRARY_PATH=/usr/obj/usr/src/tmp/usr/lib  LIBRARY_PATH=/usr/obj/usr/src/tmp/usr/lib:/usr/obj/usr/src/tmp/usr/lib NOEXTRADEPEND=t make DESTDIR=/usr/obj/usr/src/tmp -I/usr/src/share/mk cleandir obj
/usr/obj/usr/src/usr.bin/make created for /usr/src/usr.bin/make

... much normal output removed

cc -O -I/usr/src/usr.bin/make   -I/usr/obj/usr/src/tmp/usr/include  -o make arch.o buf.o compat.o cond.o dir.o for.o hash.o job.o main.o make.o parse.o str.o suff.o targ.o var.o util.o lstAppend.o lstAtEnd.o lstAtFront.o lstClose.o lstConcat.o lstDatum.o lstDeQueue.o lstDestroy.o lstDupl.o lstEnQueue.o lstFind.o lstFindFrom.o lstFirst.o lstForEach.o lstForEachFrom.o lstInit.o lstInsert.o lstIsAtEnd.o lstIsEmpty.o lstLast.o lstMember.o lstNext.o lstOpen.o lstRemove.o lstReplace.o lstSucc.o  
install -c -s -o bin -g bin -m 555   make /usr/obj/usr/src/tmp/usr/bin
rm -f a.out Errs errs mklog make arch.o buf.o compat.o cond.o dir.o for.o hash.o job.o main.o make.o parse.o str.o suff.o targ.o var.o util.o lstAppend.o lstAtEnd.o lstAtFront.o lstClose.o lstConcat.o lstDatum.o lstDeQueue.o lstDestroy.o lstDupl.o lstEnQueue.o lstFind.o lstFindFrom.o lstFirst.o lstForEach.o lstForEachFrom.o lstInit.o lstInsert.o lstIsAtEnd.o lstIsEmpty.o lstLast.o lstMember.o lstNext.o lstOpen.o lstRemove.o lstReplace.o lstSucc.o 
rm -f .depend
rm -f /usr/src/usr.bin/make/GRTAGS /usr/src/usr.bin/make/GTAGS
echo: not found
*** Error code 1

Stop.
# make buildworld

--------------------------------------------------------------
echo: not found
*** Error code 1

... and so on



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712162128.QAA14208>