Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2009 12:13:29 -0800
From:      Doug Sampson <dougs@dawnsign.com>
To:        freebsd-questions@freebsd.org
Subject:   buildworld crashes
Message-ID:  <3838017D92B3C445BA200CE3B6A821A40A7492@cetus.dawnsign.com>

next in thread | raw e-mail | index | archive | help
I accidentally did a dump on the wrong machine running FBSD 7.1-prerelease
overwriting all of the file systems with content from another machine. This
machine is simply a ftp server whereas the other machine a FAMP server
running FBSD 7.1-prerelease. I would like to keep the contents of the ftp
site (in other words, /home). I really don't care for the rest of the file
systems.

When I attempt to rebuild from sources cvsup'ped, I receive the following
error during buildworld as follows:

[...]
/usr/obj/usr/src/etc created for /usr/src/etc
===> etc/sendmail (obj)
/usr/obj/usr/src/etc/sendmail created for /usr/src/etc/sendmail

--------------------------------------------------------------
>>> stage 2.3: build tools
--------------------------------------------------------------
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL="sh
/usr/src/tools/install.sh"
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bi
n:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
WORLDTMP=/usr/obj/usr/src/tmp  VERSION="FreeBSD 7.1-STABLE i386 701102"
MAKEFLAGS="-m /usr/src/tools/build/mk  -m /usr/src/share/mk"
/usr/obj/usr/src/make.i386/make -f Makefile.inc1  TARGET=i386
TARGET_ARCH=i386  DESTDIR=  BOOTSTRAPPING=701102 -DNO_LINT -DNO_CPU_CFLAGS
-DNO_WARNS -DNO_CTF build-tools
===> bin/csh (obj,build-tools)
grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep '^#define'
>> sh.err.h
Segmentation fault (core dumped)
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/src/bin/csh.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
test-root@/usr/src# 


I've tried the following:

# chflags -R noschg /usr/obj/usr
# rm -rf /usr/obj/usr
# cd /usr/src
# make cleandir
# make cleandir

to no avail.

Would it be best to start a fresh installation from a cd-rom instead of
trying to repair this system?

~Doug



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