Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2007 08:31:50 +0800
From:      "Tony Zhu" <zhuxw@operamail.com>
To:        freebsd-questions@freebsd.org
Subject:   make release error for customed x86 platform
Message-ID:  <20070812003150.498FE24FD8@ws5-3.us4.outblaze.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 w=
e used (x86 platform). I am encountering a issue write failed, filesystem i=
s 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 d=
ump,

thanks in advance

Tony

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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 * > .CHEC=
KSUM.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 stan=
d/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/et=
c/$F ;  done )
grep -E '^(ftp|nameserver|domain|sunrpc|cmd|nfsd)[^-\w]'  /R/stage/trees/ba=
se/etc/services |  sed -e '/^#.*$/d' -e 's/[:space:]*#.*$//g'  > /R/stage/m=
fsfd/stand/etc/services
grep 'operator' /R/stage/trees/base/etc/group  > /R/stage/mfsfd/stand/etc/g=
roup
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=3D512
+ DISKLABEL=3Dbsdlabel
+ shift
+ MACHINE=3D
+ shift
+ FSIMG=3D/R/stage/mfsroot/mfsroot
+ shift
+ RD=3D/R/stage
+ shift
+ MNT=3D/mnt
+ shift
+ FSSIZE=3D4320
+ shift
+ FSPROTO=3D/R/stage/mfsfd
+ shift
+ FSINODE=3D8000
+ shift
+ FSLABEL=3Dminimum3
+ shift
+ [ 4320 -eq 0 -a minimum3 =3D auto ]
+ rm -f /R/stage/mfsroot/mfsroot
+ dd of=3D/R/stage/mfsroot/mfsroot if=3D/dev/zero count=3D4320 bs=3D1k
+ uname -r
+ [ -f /R/stage/trees/base/boot/boot ]
+ BOOT=3D-B -b /R/stage/trees/base/boot/boot
+ dofs_md
+ [ x !=3D x ]
+ mdconfig -a -t vnode -f /R/stage/mfsroot/mfsroot
+ MDDEVICE=3Dmd0
+ [ ! -c /dev/md0 ]
+ trap umount /mnt; mdconfig -d -u md0 EXIT
+ [ xbsdlabel !=3D 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/mf=
sroot.gz
touch release.8
Making the kernel boot floppies...
sh /usr/src/release/scripts/split-file.sh /R/stage/kernels/kernel.gz  /R/st=
age/floppyset/kern 1392 "Kernel"
+ FILE=3D/R/stage/kernels/kernel.gz
+ shift
+ DEST=3D/R/stage/floppyset/kern
+ shift
+ CHUNK_SIZE=3D1392
+ shift
+ DESCR=3DKernel
+ 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=3Dkernel.gz
+ dd+ split if=3D/R/stage/kernels/kernel.gz -b bs=3D16k 1392k iseek=3D1 -
 /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=3D/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=3D/R/stage/floppyset/kern/kernel.gz.aa
+ bootchunk=3D/R/stage/floppyset/kern/kernel.gz.boot
+ dd if=3D/R/stage/kernels/kernel.gz of=3D/R/stage/floppyset/kern/kernel.gz=
.boot bs=3D16k count=3D1
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=3D1
+ basename /R/stage/floppyset/kern/kernel.gz.aa
+ echo kernel.gz.aa "Kernel floppy 1"
+ i=3D2
+ basename /R/stage/floppyset/kern/kernel.gz.ab
+ echo kernel.gz.ab "Kernel floppy 2"
+ i=3D3
+ basename /R/stage/floppyset/kern/kernel.gz.ac
+ echo kernel.gz.ac "Kernel floppy 3"
+ i=3D4
( splitfile=3D/R/stage/floppyset/kern/`basename /R/stage/kernels/kernel.gz`=
.split ;  lines=3D`cat ${splitfile} | wc -l`;  lines=3D$(($lines - 1)) ;  f=
or line in `jot $lines`; do  file=3D`head -n $((${line} + 1)) ${splitfile} =
| tail -1 | cut -f 1 -d ' '` ;  sh -e /usr/src/release/scripts/doFS.sh bsdl=
abel "" /R/stage/floppies/kern${line}.flp  /R/stage /mnt 1440 /R/stage/flop=
pyset/kern/${file}  80000 fd1440;  done )
+ export BLOCKSIZE=3D512
+ DISKLABEL=3Dbsdlabel
+ shift
+ MACHINE=3D
+ shift
+ FSIMG=3D/R/stage/floppies/kern1.flp
+ shift
+ RD=3D/R/stage
+ shift
+ MNT=3D/mnt
+ shift
+ FSSIZE=3D1440
+ shift
+ FSPROTO=3D/R/stage/floppyset/kern/kernel.gz.aa
+ shift
+ FSINODE=3D80000
+ shift
+ FSLABEL=3Dfd1440
+ shift
+ [ 1440 -eq 0 -a fd1440 =3D auto ]
+ rm -f /R/stage/floppies/kern1.flp
+ dd of=3D/R/stage/floppies/kern1.flp if=3D/dev/zero count=3D1440 bs=3D1k
+ uname -r
+ [ -f /R/stage/trees/base/boot/boot ]
+ BOOT=3D-B -b /R/stage/trees/base/boot/boot
+ dofs_md
+ [ x !=3D x ]
+ mdconfig -a -t vnode -f /R/stage/floppies/kern1.flp
+ MDDEVICE=3Dmd0
+ [ ! -c /dev/md0 ]
+ trap umount /mnt; mdconfig -d -u md0 EXIT
+ [ xbsdlabel !=3D 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=3D512
+ DISKLABEL=3Dbsdlabel
+ shift
+ MACHINE=3D
+ shift
+ FSIMG=3D/R/stage/floppies/kern2.flp
+ shift
+ RD=3D/R/stage
+ shift
+ MNT=3D/mnt
+ shift
+ FSSIZE=3D1440
+ shift
+ FSPROTO=3D/R/stage/floppyset/kern/kernel.gz.ab
+ shift
+ FSINODE=3D80000
+ shift
+ FSLABEL=3Dfd1440
+ shift
+ [ 1440 -eq 0 -a fd1440 =3D auto ]
+ rm -f /R/stage/floppies/kern2.flp
+ dd of=3D/R/stage/floppies/kern2.flp if=3D/dev/zero count=3D1440 bs=3D1k
+ uname -r
+ [ -f /R/stage/trees/base/boot/boot ]
+ BOOT=3D-B -b /R/stage/trees/base/boot/boot
+ dofs_md
+ [ x !=3D x ]
+ mdconfig -a -t vnode -f /R/stage/floppies/kern2.flp
+ MDDEVICE=3Dmd0
+ [ ! -c /dev/md0 ]
+ trap umount /mnt; mdconfig -d -u md0 EXIT
+ [ xbsdlabel !=3D 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=3D512
+ DISKLABEL=3Dbsdlabel
+ shift
+ MACHINE=3D
+ shift
+ FSIMG=3D/R/stage/floppies/kern3.flp
+ shift
+ RD=3D/R/stage
+ shift
+ MNT=3D/mnt
+ shift
+ FSSIZE=3D1440
+ shift
+ FSPROTO=3D/R/stage/floppyset/kern/kernel.gz.ac
+ shift
+ FSINODE=3D80000
+ shift
+ FSLABEL=3Dfd1440
+ shift
+ [ 1440 -eq 0 -a fd1440 =3D auto ]
+ rm -f /R/stage/floppies/kern3.flp
+ dd of=3D/R/stage/floppies/kern3.flp if=3D/dev/zero count=3D1440 bs=3D1k
+ uname -r
+ [ -f /R/stage/trees/base/boot/boot ]
+ BOOT=3D-B -b /R/stage/trees/base/boot/boot
+ dofs_md
+ [ x !=3D x ]
+ mdconfig -a -t vnode -f /R/stage/floppies/kern3.flp
+ MDDEVICE=3Dmd0
+ [ ! -c /dev/md0 ]
+ trap umount /mnt; mdconfig -d -u md0 EXIT
+ [ xbsdlabel !=3D 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=3D0x200000 dsize=3D0x34000 isize=3D0x34000 entry=3D0x200000 nsize=3D0=
x1a4e2
sh -e /usr/src/release/scripts/doFS.sh bsdlabel "" /R/stage/floppies/boot.f=
lp /R/stage /mnt 1440 /R/stage/image.boot  80000 fd1440
+ export BLOCKSIZE=3D512
+ DISKLABEL=3Dbsdlabel
+ shift
+ MACHINE=3D
+ shift
+ FSIMG=3D/R/stage/floppies/boot.flp
+ shift
+ RD=3D/R/stage
+ shift
+ MNT=3D/mnt
+ shift
+ FSSIZE=3D1440
+ shift
+ FSPROTO=3D/R/stage/image.boot
+ shift
+ FSINODE=3D80000
+ shift
+ FSLABEL=3Dfd1440
+ shift
+ [ 1440 -eq 0 -a fd1440 =3D auto ]
+ rm -f /R/stage/floppies/boot.flp
+ dd of=3D/R/stage/floppies/boot.flp if=3D/dev/zero count=3D1440 bs=3D1k
+ uname -r
+ [ -f /R/stage/trees/base/boot/boot ]
+ BOOT=3D-B -b /R/stage/trees/base/boot/boot
+ dofs_md
+ [ x !=3D x ]
+ mdconfig -a -t vnode -f /R/stage/floppies/boot.flp
+ MDDEVICE=3Dmd0
+ [ ! -c /dev/md0 ]
+ trap umount /mnt; mdconfig -d -u md0 EXIT
+ [ xbsdlabel !=3D 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

--=20
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

Powered by Outblaze



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