Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2007 08:55:53 +0800
From:      "Put PostgreSQL to Work for Your Business." <cs2postgresql@gmail.com>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-bugs@freebsd.org, re@FreeBSD.org, portmgr@FreeBSD.org
Subject:   make release error for customed x86 platform
Message-ID:  <e92e89070708111755l5734334v454064dc3001cf86@mail.gmail.com>

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

I am building a custom FreeBSD for internal use for the various
platforms we used (x86 platform). I am encountering a issue write
failed, filesystem is full when creating the boot.floppy on touch
release.5,

can someone take a look to see what's the reason? following is the screen dump,

sorry for any interruptions, thanks in advance.

Tony

========================================================================================
touch release.5
rm -rf /R/stage/dists
mkdir -p /R/stage/dists
rolling base/base tarball
base distribution is finished.
rolling catpages/catpages tarball
catpages distribution is finished.
rolling manpages/manpages tarball
manpages distribution is finished.
rolling games/games tarball
games distribution is finished.
rolling proflibs/proflibs tarball
proflibs distribution is finished.
rolling dict/dict tarball
dict distribution is finished.
rolling info/info tarball
info distribution is finished.
rolling doc/doc tarball
doc distribution is finished.
rolling kernels/generic tarball
GENERIC distribution is finished.
rolling kernels/smp tarball
SMP distribution is finished.
# XXX: Inline stripped version of doTARBALL
rolling ports/ports tarball
ports distribution is finished.
touch release.6
rolling src/sbase tarball
rolling src/sbin tarball
rolling src/scontrib tarball
rolling src/scrypto tarball
rolling src/setc tarball
rolling src/sgames tarball
rolling src/sgnu tarball
rolling src/sinclude tarball
rolling src/skrb5 tarball
rolling src/slib tarball
rolling src/slibexec tarball
rolling src/srelease tarball
rolling src/srescue tarball
rolling src/ssbin tarball
rolling src/ssecure tarball
rolling src/sshare tarball
rolling src/ssys tarball
rolling src/stools tarball
rolling src/subin tarball
rolling src/susbin tarball
(cd /R/stage/dists/src;  rm -f CHECKSUM.MD5 CHECKSUM.SHA256;  md5 * >
.CHECKSUM.MD5;  sha256 * > .CHECKSUM.SHA256;  mv .CHECKSUM.MD5
CHECKSUM.MD5;  mv .CHECKSUM.SHA256 CHECKSUM.SHA256)
src distribution is finished.
touch release.7
cp /R/stage/trees/base/etc/disktab /etc
rm -rf /R/stage/mfsfd
mkdir /R/stage/mfsfd
cd /R/stage/mfsfd &&  mkdir -p etc/defaults dev mnt stand/etc/defaults
stand/help  var/empty
( cd /R/stage/mfsfd &&  for dir in bin sbin ; do  ln -sf /stand $dir;  done )
cp /R/stage/trees/base/sbin/dhclient-script /R/stage/mfsfd/stand
cp /usr/src/release/../etc/usbd.conf /R/stage/mfsfd/etc/usbd.conf
cp /usr/src/release/../etc/master.passwd /R/stage/mfsfd/etc/master.passwd
cp /R/stage/trees/base/etc/*pwd.db /R/stage/mfsfd/etc/
( for F in defaults/rc.conf netconfig protocols ; do  sed -e
'/^#.*$/d' -e 's/[:space:]*#.*$//g'  /R/stage/trees/base/etc/$F >
/R/stage/mfsfd/stand/etc/$F ;  done )
grep -E '^(ftp|nameserver|domain|sunrpc|cmd|nfsd)[^-\w]'
/R/stage/trees/base/etc/services |  sed -e '/^#.*$/d' -e
's/[:space:]*#.*$//g'  > /R/stage/mfsfd/stand/etc/services
grep 'operator' /R/stage/trees/base/etc/group  > /R/stage/mfsfd/stand/etc/group
ln /R/stage/mfsfd/stand/etc/services /R/stage/mfsfd/etc/services
ln /R/stage/mfsfd/stand/etc/group /R/stage/mfsfd/etc/group
ln /R/stage/mfsfd/stand/etc/netconfig /R/stage/mfsfd/etc/netconfig
cp /R/stage/trees/base/COPYRIGHT /R/stage/mfsfd/stand/help/COPYRIGHT.hlp
test -f /usr/src/release/install.cfg  && cp
/usr/src/release/install.cfg /R/stage/mfsfd
*** Error code 1 (ignored)
sh -e /usr/src/release/scripts/doFS.sh bsdlabel ""
/R/stage/mfsroot/mfsroot /R/stage /mnt  4320 /R/stage/mfsfd 8000
minimum3
+ export BLOCKSIZE=512
+ DISKLABEL=bsdlabel
+ shift
+ MACHINE=
+ shift
+ FSIMG=/R/stage/mfsroot/mfsroot
+ shift
+ RD=/R/stage
+ shift
+ MNT=/mnt
+ shift
+ FSSIZE=4320
+ shift
+ FSPROTO=/R/stage/mfsfd
+ shift
+ FSINODE=8000
+ shift
+ FSLABEL=minimum3
+ shift
+ [ 4320 -eq 0 -a minimum3 = auto ]
+ rm -f /R/stage/mfsroot/mfsroot
+ dd of=/R/stage/mfsroot/mfsroot if=/dev/zero count=4320 bs=1k
+ uname -r
+ [ -f /R/stage/trees/base/boot/boot ]
+ BOOT=-B -b /R/stage/trees/base/boot/boot
+ dofs_md
+ [ x != x ]
+ mdconfig -a -t vnode -f /R/stage/mfsroot/mfsroot
+ MDDEVICE=md0
+ [ ! -c /dev/md0 ]
+ trap umount /mnt; mdconfig -d -u md0 EXIT
+ [ xbsdlabel != x ]
+ bsdlabel -w -B -b /R/stage/trees/base/boot/boot md0 minimum3
+ newfs -O1 -i 8000 -o space -m 0 /dev/md0c
fstab: /etc/fstab:0: No such file or directory
/dev/md0c: 4.2MB (8640 sectors) block size 4096, fragment size 512
        using 4 cylinder groups of 1.06MB, 271 blks, 160 inodes.
super-block backups (for fsck -b #) at:
 32, 2200, 4368, 6536
+ mount /dev/md0c /mnt
+ [ -d /R/stage/mfsfd ]
+ set -e
+ cd /R/stage/mfsfd
+ find+ cpio . -dump -print /mnt

4764 blocks
+ df -ki /mnt
Filesystem 1K-blocks Used Avail Capacity iused ifree %iused  Mounted on
/dev/md0c       4175 2411  1764    58%      54   584    8%   /mnt
+ df+ tail -ki -1 /mnt

+ set /dev/md0c 4175 2411 1764 58% 54 584 8% /mnt
+ echo *** File system is 4320 K, 1764 left
*** File system is 4320 K, 1764 left
+ echo ***     8000 bytes/inode, 584 left
***     8000 bytes/inode, 584 left
+ umount /mnt
+ mdconfig -d -u md0
/R/stage/mfsroot/mfsroot:        74.6% -- replaced with
/R/stage/mfsroot/mfsroot.gz
touch release.8
Making the kernel boot floppies...
sh /usr/src/release/scripts/split-file.sh /R/stage/kernels/kernel.gz
/R/stage/floppyset/kern 1392 "Kernel"
+ FILE=/R/stage/kernels/kernel.gz
+ shift
+ DEST=/R/stage/floppyset/kern
+ shift
+ CHUNK_SIZE=1392
+ shift
+ DESCR=Kernel
+ shift
+ [ -r /R/stage/kernels/kernel.gz ]
+ rm -rf /R/stage/floppyset/kern
+ mkdir -p /R/stage/floppyset/kern
+ basename /R/stage/kernels/kernel.gz
+ prefix=kernel.gz
+ dd+ split if=/R/stage/kernels/kernel.gz -b bs=16k 1392k iseek=1 -
 /R/stage/floppyset/kern/kernel.gz.
203+1 records in
203+1 records out
3335920 bytes transferred in 0.028840 secs (115669642 bytes/sec)
+ ls /R/stage/floppyset/kern/kernel.gz.aa
/R/stage/floppyset/kern/kernel.gz.ab
/R/stage/floppyset/kern/kernel.gz.ac
+ files=/R/stage/floppyset/kern/kernel.gz.aa
/R/stage/floppyset/kern/kernel.gz.ab
/R/stage/floppyset/kern/kernel.gz.ac
+ echo+ head /R/stage/floppyset/kern/kernel.gz.aa
/R/stage/floppyset/kern/kernel.gz.ab
/R/stage/floppyset/kern/k -1ernel.gz.ac

+ first=/R/stage/floppyset/kern/kernel.gz.aa
+ bootchunk=/R/stage/floppyset/kern/kernel.gz.boot
+ dd if=/R/stage/kernels/kernel.gz
of=/R/stage/floppyset/kern/kernel.gz.boot bs=16k count=1
1+0 records in
1+0 records out
16384 bytes transferred in 0.000147 secs (111376786 bytes/sec)
+ basename /R/stage/floppyset/kern/kernel.gz.boot
+ echo kernel.gz.boot "Boot floppy"
+ i=1
+ basename /R/stage/floppyset/kern/kernel.gz.aa
+ echo kernel.gz.aa "Kernel floppy 1"
+ i=2
+ basename /R/stage/floppyset/kern/kernel.gz.ab
+ echo kernel.gz.ab "Kernel floppy 2"
+ i=3
+ basename /R/stage/floppyset/kern/kernel.gz.ac
+ echo kernel.gz.ac "Kernel floppy 3"
+ i=4
( splitfile=/R/stage/floppyset/kern/`basename
/R/stage/kernels/kernel.gz`.split ;  lines=`cat ${splitfile} | wc -l`;
 lines=$(($lines - 1)) ;  for line in `jot $lines`; do  file=`head -n
$((${line} + 1)) ${splitfile} | tail -1 | cut -f 1 -d ' '` ;  sh -e
/usr/src/release/scripts/doFS.sh bsdlabel ""
/R/stage/floppies/kern${line}.flp  /R/stage /mnt 1440
/R/stage/floppyset/kern/${file}  80000 fd1440;  done )
+ export BLOCKSIZE=512
+ DISKLABEL=bsdlabel
+ shift
+ MACHINE=
+ shift
+ FSIMG=/R/stage/floppies/kern1.flp
+ shift
+ RD=/R/stage
+ shift
+ MNT=/mnt
+ shift
+ FSSIZE=1440
+ shift
+ FSPROTO=/R/stage/floppyset/kern/kernel.gz.aa
+ shift
+ FSINODE=80000
+ shift
+ FSLABEL=fd1440
+ shift
+ [ 1440 -eq 0 -a fd1440 = auto ]
+ rm -f /R/stage/floppies/kern1.flp
+ dd of=/R/stage/floppies/kern1.flp if=/dev/zero count=1440 bs=1k
+ uname -r
+ [ -f /R/stage/trees/base/boot/boot ]
+ BOOT=-B -b /R/stage/trees/base/boot/boot
+ dofs_md
+ [ x != x ]
+ mdconfig -a -t vnode -f /R/stage/floppies/kern1.flp
+ MDDEVICE=md0
+ [ ! -c /dev/md0 ]
+ trap umount /mnt; mdconfig -d -u md0 EXIT
+ [ xbsdlabel != x ]
+ bsdlabel -w -B -b /R/stage/trees/base/boot/boot md0 fd1440
+ newfs -O1 -i 80000 -o space -m 0 /dev/md0c
fstab: /etc/fstab:0: No such file or directory
/dev/md0c: 1.4MB (2880 sectors) block size 4096, fragment size 512
        using 1 cylinder groups of 1.41MB, 360 blks, 32 inodes.
super-block backups (for fsck -b #) at:
 32
+ mount /dev/md0c /mnt
+ [ -d /R/stage/floppyset/kern/kernel.gz.aa ]
+ cp -p /R/stage/floppyset/kern/kernel.gz.aa /mnt
+ df -ki /mnt
Filesystem 1K-blocks Used Avail Capacity iused ifree %iused  Mounted on
/dev/md0c       1407 1397    10    99%       3    27   10%   /mnt
+ df -ki /mnt+ tail
 -1
+ set /dev/md0c 1407 1397 10 99% 3 27 10% /mnt
+ echo *** File system is 1440 K, 10 left
*** File system is 1440 K, 10 left
+ echo ***     80000 bytes/inode, 27 left
***     80000 bytes/inode, 27 left
+ umount /mnt
+ mdconfig -d -u md0
+ export BLOCKSIZE=512
+ DISKLABEL=bsdlabel
+ shift
+ MACHINE=
+ shift
+ FSIMG=/R/stage/floppies/kern2.flp
+ shift
+ RD=/R/stage
+ shift
+ MNT=/mnt
+ shift
+ FSSIZE=1440
+ shift
+ FSPROTO=/R/stage/floppyset/kern/kernel.gz.ab
+ shift
+ FSINODE=80000
+ shift
+ FSLABEL=fd1440
+ shift
+ [ 1440 -eq 0 -a fd1440 = auto ]
+ rm -f /R/stage/floppies/kern2.flp
+ dd of=/R/stage/floppies/kern2.flp if=/dev/zero count=1440 bs=1k
+ uname -r
+ [ -f /R/stage/trees/base/boot/boot ]
+ BOOT=-B -b /R/stage/trees/base/boot/boot
+ dofs_md
+ [ x != x ]
+ mdconfig -a -t vnode -f /R/stage/floppies/kern2.flp
+ MDDEVICE=md0
+ [ ! -c /dev/md0 ]
+ trap umount /mnt; mdconfig -d -u md0 EXIT
+ [ xbsdlabel != x ]
+ bsdlabel -w -B -b /R/stage/trees/base/boot/boot md0 fd1440
+ newfs -O1 -i 80000 -o space -m 0 /dev/md0c
fstab: /etc/fstab:0: No such file or directory
/dev/md0c: 1.4MB (2880 sectors) block size 4096, fragment size 512
        using 1 cylinder groups of 1.41MB, 360 blks, 32 inodes.
super-block backups (for fsck -b #) at:
 32
+ mount /dev/md0c /mnt
+ [ -d /R/stage/floppyset/kern/kernel.gz.ab ]
+ cp -p /R/stage/floppyset/kern/kernel.gz.ab /mnt
+ df -ki /mnt
Filesystem 1K-blocks Used Avail Capacity iused ifree %iused  Mounted on
/dev/md0c       1407 1397    10    99%       3    27   10%   /mnt
+ df -ki+ tail /mnt -1

+ set /dev/md0c 1407 1397 10 99% 3 27 10% /mnt
+ echo *** File system is 1440 K, 10 left
*** File system is 1440 K, 10 left
+ echo ***     80000 bytes/inode, 27 left
***     80000 bytes/inode, 27 left
+ umount /mnt
+ mdconfig -d -u md0
+ export BLOCKSIZE=512
+ DISKLABEL=bsdlabel
+ shift
+ MACHINE=
+ shift
+ FSIMG=/R/stage/floppies/kern3.flp
+ shift
+ RD=/R/stage
+ shift
+ MNT=/mnt
+ shift
+ FSSIZE=1440
+ shift
+ FSPROTO=/R/stage/floppyset/kern/kernel.gz.ac
+ shift
+ FSINODE=80000
+ shift
+ FSLABEL=fd1440
+ shift
+ [ 1440 -eq 0 -a fd1440 = auto ]
+ rm -f /R/stage/floppies/kern3.flp
+ dd of=/R/stage/floppies/kern3.flp if=/dev/zero count=1440 bs=1k
+ uname -r
+ [ -f /R/stage/trees/base/boot/boot ]
+ BOOT=-B -b /R/stage/trees/base/boot/boot
+ dofs_md
+ [ x != x ]
+ mdconfig -a -t vnode -f /R/stage/floppies/kern3.flp
+ MDDEVICE=md0
+ [ ! -c /dev/md0 ]
+ trap umount /mnt; mdconfig -d -u md0 EXIT
+ [ xbsdlabel != x ]
+ bsdlabel -w -B -b /R/stage/trees/base/boot/boot md0 fd1440
+ newfs -O1 -i 80000 -o space -m 0 /dev/md0c
fstab: /etc/fstab:0: No such file or directory
/dev/md0c: 1.4MB (2880 sectors) block size 4096, fragment size 512
        using 1 cylinder groups of 1.41MB, 360 blks, 32 inodes.
super-block backups (for fsck -b #) at:
 32
+ mount /dev/md0c /mnt
+ [ -d /R/stage/floppyset/kern/kernel.gz.ac ]
+ cp -p /R/stage/floppyset/kern/kernel.gz.ac /mnt
+ df -ki /mnt
Filesystem 1K-blocks Used Avail Capacity iused ifree %iused  Mounted on
/dev/md0c       1407  481   926    34%       3    27   10%   /mnt
+ df+ tail -ki -1 /mnt

+ set /dev/md0c 1407 481 926 34% 3 27 10% /mnt
+ echo *** File system is 1440 K, 926 left
*** File system is 1440 K, 926 left
+ echo ***     80000 bytes/inode, 27 left
***     80000 bytes/inode, 27 left
+ umount /mnt
+ mdconfig -d -u md0
Running buildBootFloppy for boot
Setting up /boot directory for boot floppy
dload=0x200000 dsize=0x34000 isize=0x34000 entry=0x200000 nsize=0x1a4e2
sh -e /usr/src/release/scripts/doFS.sh bsdlabel ""
/R/stage/floppies/boot.flp /R/stage /mnt 1440 /R/stage/image.boot
80000 fd1440
+ export BLOCKSIZE=512
+ DISKLABEL=bsdlabel
+ shift
+ MACHINE=
+ shift
+ FSIMG=/R/stage/floppies/boot.flp
+ shift
+ RD=/R/stage
+ shift
+ MNT=/mnt
+ shift
+ FSSIZE=1440
+ shift
+ FSPROTO=/R/stage/image.boot
+ shift
+ FSINODE=80000
+ shift
+ FSLABEL=fd1440
+ shift
+ [ 1440 -eq 0 -a fd1440 = auto ]
+ rm -f /R/stage/floppies/boot.flp
+ dd of=/R/stage/floppies/boot.flp if=/dev/zero count=1440 bs=1k
+ uname -r
+ [ -f /R/stage/trees/base/boot/boot ]
+ BOOT=-B -b /R/stage/trees/base/boot/boot
+ dofs_md
+ [ x != x ]
+ mdconfig -a -t vnode -f /R/stage/floppies/boot.flp
+ MDDEVICE=md0
+ [ ! -c /dev/md0 ]
+ trap umount /mnt; mdconfig -d -u md0 EXIT
+ [ xbsdlabel != x ]
+ bsdlabel -w -B -b /R/stage/trees/base/boot/boot md0 fd1440
+ newfs -O1 -i 80000 -o space -m 0 /dev/md0c
fstab: /etc/fstab:0: No such file or directory
/dev/md0c: 1.4MB (2880 sectors) block size 4096, fragment size 512
        using 1 cylinder groups of 1.41MB, 360 blks, 32 inodes.
super-block backups (for fsck -b #) at:
 32
+ mount /dev/md0c /mnt
+ [ -d /R/stage/image.boot ]
+ set -e
+ cd /R/stage/image.boot
+ find+ cpio . -dump -print /mnt


/mnt: write failed, filesystem is full
cpio: write error: No space left on device
+ umount /mnt
+ mdconfig -d -u md0
*** Error code 1

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

Stop in /usr/src/release.
+ umount /dev
*** Error code 1

Stop in /usr/src/release.
FS1F# pwd



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