Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Apr 2008 23:33:16 +0200
From:      Marten Vijn <info@martenvijn.nl>
To:        freebsd-small@freebsd.org, freebsd-embedded@freebsd.org
Subject:   tinybsd says oeps
Message-ID:  <1207171996.57803.12.camel@workstation.martenvijn.nl>

next in thread | raw e-mail | index | archive | help
hi all,

FYI running tinybsd broke my system by removing:

/usr/ports/*
/lib/
/usr/lib

The first time i was not sure (went to sleep during the build), 
today i saw it happen while building

%uname -a
FreeBSD workstation.martenvijn.nl 7.0-STABLE FreeBSD 7.0-STABLE #4: Sat
Mar 22 22:53:57 CET 2008
root@workstation.martenvijn.nl:/usr/obj/usr/src/sys/GENERIC  i386

fix:
rebooted in other partition
mounted current install on /mnt
cd /mnt/usr/src
make buildworld DESTDIR=/mnt
make installworld DESTDIR=/mnt


for testing my config:

cd /usr/src/tools/tools/tinybsd/conf
svn co http://martenvijn.nl/svn/tinybsd/config/ myconf

tinybsd.workstation.root
# written by tinybsd Wed Apr 2 22:15:42 CEST 2008
SECTUNIT=120000
TRACKCYL=4
SECTRACK=64
CONF=mvn
MFSROOT=no
IMG=tinybsd.bin



tinybsd.log.old 
=====> Removing /usr/obj/tinybsdbuild
rm: /usr/obj/tinybsdbuild/dev/fd: Operation not supported
rm: /usr/obj/tinybsdbuild/dev/net: Operation not supported
rm: /usr/obj/tinybsdbuild/dev: Device busy
rm: /usr/obj/tinybsdbuild/lib: Device busy
rm: /usr/obj/tinybsdbuild/tmp/mountpoint.AAQpNW: Device busy
rm: /usr/obj/tinybsdbuild/tmp/mountpoint.tgiHWH: Device busy
rm: /usr/obj/tinybsdbuild/tmp: Directory not empty
rm: /usr/obj/tinybsdbuild/usr/bin: Device busy
rm: /usr/obj/tinybsdbuild/usr/include: Device busy
rm: /usr/obj/tinybsdbuild/usr/lib: Device busy
rm: /usr/obj/tinybsdbuild/usr/libexec: Device busy
rm: /usr/obj/tinybsdbuild/usr/sbin: Device busy
rm: /usr/obj/tinybsdbuild/usr/share: Device busy
rm: /usr/obj/tinybsdbuild/usr/ports: Device busy
rm: /usr/obj/tinybsdbuild/usr: Directory not empty
rm: /usr/obj/tinybsdbuild: Directory not empty
=====> Removing Build Kernel Directory
/libexec/ld-elf.so.1: Shared object "libc.so.7" not found, required by
"rm"
=====>  done.
/libexec/ld-elf.so.1: Shared object "libc.so.7" not found, required by
"mkdir"
=====> Alternative image name not set; defaulting to 'tinybsd.bin'
=====> Creating directory hierarchy... 
mtree: not found
mtree: not found
mtree: not found
mtree: not found
mtree: not found
/libexec/ld-elf.so.1: Shared object "libc.so.7" not found, required by
"cat"
tinybsd: grep: not found
cut: not found
sort: not found
uniq: not found
make: not found
/libexec/ld-elf.so.1: Shared object "libc.so.7" not found, required by
"mkdir"
make: not found
/libexec/ld-elf.so.1: tinybsd: grep: not found
Shared object "libc.so.7" not found, required by "cat"
=====> Building customized tiny beastie kernel... 
/libexec/ld-elf.so.1: Shared object "libc.so.7" not found, required by
"cp"
make: not found


some guessing:
- full /tmp while building
- previous interupted (CTRL-C) tinybsdbuild


kind regards,
Marten





-- 

Marten Vijn
http://martenvijn.nl
http://wifisoft.org
http://opencommunitycamp.org




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