Broken make release
John Polstra
jdp at polstra.com
Tue Jun 17 12:09:19 PDT 2003
Make release using sources from yesterday (June 16) seems to be
broken. These two commands are failing:
umount: unmount of /mnt failed: Device busy
umount: unmount of /dev failed: Device busy
I'll include a bigger snippet of the output below.
My src/release/Makefile is standard except for these additions:
> BUILDNAME= 5.1-20030616-SNAP
> CHROOTDIR= /a/release
> CVSROOT= /home/ncvs
> MAKE_ISOS= YES
> NODOC= YES
> NOPORTS= YES
I built a release on May 7 without any problems.
Here's a bigger piece of the log:
[...]
Copying nfsclient.ko to /R/stage/driversfd
Copying ips.ko to /R/stage/driversfd
Copying plip.ko to /R/stage/driversfd
Copying if_tx.ko to /R/stage/driversfd
Copying if_an.ko to /R/stage/driversfd
rmdir: /R/stage/driversfd: Directory not empty
*** Error code 1 (ignored)
*** Error code 1 (ignored)
if [ -d /R/stage/driversfd ]; then sh -e /usr/src/release/scripts/doFS.sh bsdlabel
"" /R/stage/floppies/drivers.flp /R/stage
/mnt 1440 /R/stage/driversfd 40000 fd1440; cd /R/stage/driversfd && awk -f
/usr/src/release/scripts/driver-desc.awk *.dsc >
> /R/stage/floppies/DRIVERS.TXT; fi
+ export BLOCKSIZE=512
+ DISKLABEL=bsdlabel
+ shift
+ MACHINE=
+ shift
+ FSIMG=/R/stage/floppies/drivers.flp
+ shift
+ RD=/R/stage
+ shift
+ MNT=/mnt
+ shift
+ FSSIZE=1440
+ shift
+ FSPROTO=/R/stage/driversfd
+ shift
+ FSINODE=40000
+ shift
+ FSLABEL=fd1440
+ shift
+ [ -f /R/stage/trees/base/boot/boot ]
+ BOOT=-B -b /R/stage/trees/base/boot/boot
+ deadlock=20
+ uname -r
+ dofs_md
+ true
+ rm -f /R/stage/floppies/drivers.flp
+ [ x != x ]
+ dd of=/R/stage/floppies/drivers.flp if=/dev/zero count=1440 bs=1k
+ mdconfig -a -t vnode -f /R/stage/floppies/drivers.flp
+ MDDEVICE=md0
+ [ ! -c /dev/md0 ]
+ trap umount /mnt; mdconfig -d -u md0 EXIT
+ bsdlabel -w -B -b /R/stage/trees/base/boot/boot md0 fd1440
+ newfs -O1 -i 40000 -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 2 cylinder groups of 1.22MB, 312 blks, 32 inodes.
super-block backups (for fsck -b #) at:
32, 2528
+ mount /dev/md0c /mnt
+ [ -d /R/stage/driversfd ]
+ set -e
+ cd /R/stage/driversfd
+ find . -print
+ cpio -dump /mnt
2550 blocks
+ df -ki /mnt
Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on
/dev/md0c 1391 1336 55 96% 59 3 95% /mnt
+ df -ki /mnt
+ tail -1
+ set /dev/md0c 1391 1336 55 96% 59 3 95% /mnt
+ echo *** Filesystem is 1440 K, 55 left
*** Filesystem is 1440 K, 55 left
+ echo *** 40000 bytes/inode, 3 left
*** 40000 bytes/inode, 3 left
+ break
+ umount /mnt
+ mdconfig -d -u md0
sh -e /usr/src/release/scripts/doFS.sh bsdlabel "" mfsroot /R/stage /mnt 4320
/R/stage/mfsfd 8000 minimum3
+ export BLOCKSIZE=512
+ DISKLABEL=bsdlabel
+ shift
+ MACHINE=
+ shift
+ FSIMG=mfsroot
+ shift
+ RD=/R/stage
+ shift
+ MNT=/mnt
+ shift
+ FSSIZE=4320
+ shift
+ FSPROTO=/R/stage/mfsfd
+ shift
+ FSINODE=8000
+ shift
+ FSLABEL=minimum3
+ shift
+ [ -f /R/stage/trees/base/boot/boot ]
+ BOOT=-B -b /R/stage/trees/base/boot/boot
+ deadlock=20
+ uname -r
+ dofs_md
+ true
+ rm -f mfsroot
+ [ x != x ]
+ dd of=mfsroot if=/dev/zero count=4320 bs=1k
+ mdconfig -a -t vnode -f mfsroot
+ MDDEVICE=md0
+ [ ! -c /dev/md0 ]
+ trap umount /mnt; mdconfig -d -u md0 EXIT
+ 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 . -print
+ cpio -dump /mnt
6080 blocks
+ df -ki /mnt
Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on
/dev/md0c 4175 3100 1075 74% 95 543 15% /mnt
+ df -ki /mnt
+ tail -1
+ set /dev/md0c 4175 3100 1075 74% 95 543 15% /mnt
+ echo *** Filesystem is 4320 K, 1075 left
*** Filesystem is 4320 K, 1075 left
+ echo *** 8000 bytes/inode, 543 left
*** 8000 bytes/inode, 543 left
+ break
+ umount /mnt
umount: unmount of /mnt failed: Device busy
*** Error code 1
Stop in /usr/src/release.
+ umount /dev
umount: unmount of /dev failed: Device busy
+ true
*** Error code 1
Stop in /a/src/release.
John
--
John Polstra
John D. Polstra & Co., Inc. Seattle, Washington USA
"Two buttocks cannot avoid friction." -- Malawi saying
More information about the freebsd-current
mailing list