NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-sun2/56158: sun2 m68000: super-block backups (for fsck -b #) at: 32,nbmakefs: Writing inode 152 (work/./bin/cat), bytes 528384 + 4096: No space left on device



>Number:         56158
>Category:       port-sun2
>Synopsis:       sun2 m68000: super-block backups (for fsck -b #) at: 32,nbmakefs: Writing inode 152 (work/./bin/cat), bytes 528384 + 4096: No space left on device
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sun2-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 08 14:10:01 +0000 2021
>Originator:     Jan-Benedict Glaw
>Release:        HEAD (github mirror, as of 6275e079428c177fed841a197e3546f01477df3e)
>Organization:
>Environment:
Linux toolchaintest-host 5.9.0-2-amd64 #1 SMP Debian 5.9.6-1 (2020-11-08) x86_64 GNU/Linux
>Description:
Hi!

I've been doing GCC/binutils toolchain tests and extended this to facilitate cross-builds for all the NetBSD targets listed with ./build.sh list-arch.

When building as outlined below, the build aborted with "No space left on device". As the hardware I've been running on seems to have plenty space available, I guess that this is within the FS image where the release is being prepared in. So this may beed some upsizing?

During the build.sh release phase, it broke like this:

/var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/m68010--netbsdelf-objcopy --redefine-syms rcmd.cro.syms rcmd/rcmd.ro rcmd.cro
/var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/m68010--netbsdelf-nm -ng sync/sync.ro | /var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/nbawk '/^ *U / { next }; /^[0-9a-fA-F]+ C/ { next }; / main$/ { print "main _crunched_sync_stub"; next }; { print $3 " " $3 "$$from$$sync" }' > sync.cro.syms
/var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/m68010--netbsdelf-objcopy --redefine-syms sync.cro.syms sync/sync.ro sync.cro
/var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/m68010--netbsdelf-nm -ng zcat/zcat.ro | /var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/nbawk '/^ *U / { next }; /^[0-9a-fA-F]+ C/ { next }; / main$/ { print "main _crunched_zcat_stub"; next }; { print $3 " " $3 "$$from$$zcat" }' > zcat.cro.syms
/var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/m68010--netbsdelf-objcopy --redefine-syms zcat.cro.syms zcat/zcat.ro zcat.cro
#      link  ramdisk/rd_bin
/var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/m68010--netbsdelf-gcc    --sysroot=/var/lib/laminar/run/netbsd-sun2-m68000/10/dest-m68000-m68000    -static  -o rd_bin  rd_bin.o  -Wl,-rpath-link,/var/lib/laminar/run/netbsd-sun2-m68000/10/dest-m68000-m68000/lib  -L=/lib dd.cro tls.cro rsh.cro ssh.cro edlabel.cro ifconfig.cro init.cro route.cro mknod.cro mount.cro mount_ffs.cro reboot.cro umount.cro cat.cro echo.cro ln.cro mkdir.cro mt.cro mv.cro pwd.cro rcmd.cro sync.cro zcat.cro  libhack.o -lrmt -lutil -lz -lprop
#     strip  rd_bin
#    create  ramdisk/devices.spec
rm -f devices.spec devices.spec.tmp
MACHINE=sun2 MACHINE_ARCH=m68000  /bin/sh /var/lib/laminar/run/netbsd-sun2-m68000/10/obj/etc/MAKEDEV -s std md0 cd0 st0 st1 sd0 sd1 sd2 xd0 xy0  > devices.spec.tmp
/var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/nbsed -e '/^\. type=dir/d' -e 's,^\.,./dev,' devices.spec.tmp  | sort -o devices.spec
#    create  ramdisk/work.spec
rm -f work.spec work.spec.tmp
( for i in /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/sun2/ramdisk/mtree.conf devices.spec; do        echo "# --" ;  echo "# entries from: $i" ;  echo "#" ;  cat $i ;                echo "/unset all" ;     done ) >> work.spec.tmp
NETBSDSRCDIR=/var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src  CRUNCHBIN=rd_bin  CURDIR=/var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/sun2/ramdisk  DESTDIR=/var/lib/laminar/run/netbsd-sun2-m68000/10/dest-m68000-m68000  DISTRIBDIR=/var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib  MACHINE=sun2  MACHINE_ARCH=m68000  MAKE=/var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/nbmake  OBJDIR=/var/lib/laminar/run/netbsd-sun2-m68000/10/obj/distrib/sun2/ramdisk TARGETDIR=/var/lib/laminar/run/netbsd-sun2-m68000/10/obj/distrib/sun2/ramdisk/work /var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/nbawk -f /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/common/parselist.awk -v mode=mtree /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/sun2/ramdisk/list >> work.spec.tmp  && mv work.spec.tmp work.spec
[ "rd_bin fstab /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/sun2/ramdisk/passwd /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/sun2/ramdisk/protocols /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/common/services /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/sun2/ramdisk/sshrc /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/sun2/ramdisk/welcome /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/etc/netconfig work.spec /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/common/parselist.awk /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/sun2/ramdisk/list" = rd_bin -a -f work.built -a work.built -nt rd_bin ]  || {  echo '#  ' "  build " ramdisk/work;  rm -rf work work.built;  mkdir -m 755 work &&   /var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/nbmtree -def work.spec -p work/ -UW &&  NETBSDSRCDIR=/var/lib/laminar/run/netbsd-sun2-m68000/10/NetB
 SD-src  CRUNCHBIN=rd_bin  CURDIR=/var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/sun2/ramdisk  DESTDIR=/var/lib/laminar/run/netbsd-sun2-m68000/10/dest-m68000-m68000  DISTRIBDIR=/var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib  MACHINE=sun2  MACHINE_ARCH=m68000  MAKE=/var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/nbmake  OBJDIR=/var/lib/laminar/run/netbsd-sun2-m68000/10/obj/distrib/sun2/ramdisk TARGETDIR=/var/lib/laminar/run/netbsd-sun2-m68000/10/obj/distrib/sun2/ramdisk/work /var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/nbawk -f /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/common/parselist.awk -v mode=populate /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/sun2/ramdisk/list |  /bin/sh -e   && touch work.built ;  }
#     build  ramdisk/work
./bin missing (created)
./dev missing (created)
./etc missing (created)
./mnt missing (created)
./sbin missing (created)
./tmp missing (created)
[ "work.built" = work.built -a -f ramdisk.fs -a ! ramdisk.fs -ot work.built ]  || {  echo '#  ' " create " ramdisk/ramdisk.fs;  rm -f ramdisk.fs ramdisk.fs.tmp;  /var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/nbmakefs -t ffs -B be -s 600k -F work.spec   -N /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/etc -o bsize=4096,fsize=512  -o optimization=space,minfree=0  -f 15 -o density=2048 ramdisk.fs.tmp work  && mv -f ramdisk.fs.tmp ramdisk.fs;  }
#    create  ramdisk/ramdisk.fs
Calculated size of `ramdisk.fs.tmp': 614400 bytes, 167 inodes
Extent size set to 4096
ramdisk.fs.tmp: 0.6MB (1200 sectors) block size 4096, fragment size 512
        using 1 cylinder groups of 0.59MB, 150 blks, 320 inodes.
super-block backups (for fsck -b #) at:
 32,nbmakefs: Writing inode 152 (work/./bin/cat), bytes 528384 + 4096: No space left on device

Populating `ramdisk.fs.tmp'

*** Failed target:  ramdisk.fs
*** Failed command: [ "work.built" = work.built -a -f ramdisk.fs -a ! ramdisk.fs -ot work.built ] || { echo '# ' " create " ramdisk/ramdisk.fs; rm -f ramdisk.fs ramdisk.fs.tmp; /var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/nbmakefs -t ffs -B be -s 600k -F work.spec -N /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/etc -o bsize=4096,fsize=512 -o optimization=space,minfree=0 -f 15 -o density=2048 ramdisk.fs.tmp work && mv -f ramdisk.fs.tmp ramdisk.fs; }
*** Error code 1

Stop.
nbmake[4]: stopped in /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/sun2/ramdisk

*** Failed target:  all-ramdisk
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="etc/sun2/"; real="/var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/sun2" ;; *) this="etc/sun2/${dir}/"; real="/var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/sun2/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget ramdisk all
*** Error code 1

Stop.
nbmake[3]: stopped in /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/sun2

*** Failed target:  all-sun2
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="etc/"; real="/var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib" ;; *) this="etc/${dir}/"; real="/var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget sun2 all
*** Error code 1

Stop.
nbmake[2]: stopped in /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib


*** Failed target:  snap_post
*** Failed command: cd /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/distrib && /var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/nbmake depend && /var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/nbmake && /var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/nbmake release
*** Error code 1

Stop.
nbmake[1]: stopped in /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/etc

*** Failed target:  release
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src" ;; *) this="${dir}/"; real="/var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /var/lib/laminar/run/netbsd-sun2-m68000/10/obj/tooldir.Linux-5.9.0-2-amd64-x86_64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget etc release DISTRIBUTION_DONE=1
*** Error code 1

Stop.
nbmake: stopped in /var/lib/laminar/run/netbsd-sun2-m68000/10/NetBSD-src

ERROR: Failed to make release
*** BUILD ABORTED ***




The full build log can be found at http://localhost:8080/log/netbsd-sun2-m68000/10
>How-To-Repeat:
./build.sh -U -O /var/lib/laminar/run/netbsd-sun2-m68000/10/obj -m sun2 -a m68000 tools

./build.sh -U -u -O /var/lib/laminar/run/netbsd-sun2-m68000/10/obj -m sun2 -a m68000 release


>Fix:



Home | Main Index | Thread Index | Old Index