Re: BOOTMFS requires 'device miibus'

From: Shin-ichi Yoshimoto <yosimoto_at_waishi.jp>
Date: Wed, 10 Sep 2003 13:39:20 +0900
Subject: Re: BOOTMFS requires 'device miibus',
On Wed, 10 Sep 2003 02:43:23 +0300, Ruslan Ermilov wrote:
> Please try the attached patch instead, and let me know if it fixes
> the release build.  You can try ``make rerelease'' to speed up the
> things, after applying this patch in ${CHROOTDIR}/usr/src.

This patch is good for me. But another problem ... 

[snip]
touch release.9
Making the drivers floppy.
Copying cd9660.ko to /R/stage/driversfd
Copying if_awi.ko to /R/stage/driversfd
Copying if_sk.ko to /R/stage/driversfd
Copying if_fwe.ko to /R/stage/driversfd
Copying if_sl.ko to /R/stage/driversfd
Copying if_sn.ko to /R/stage/driversfd
Copying amr.ko to /R/stage/driversfd
Copying sbp.ko to /R/stage/driversfd
Copying twe.ko to /R/stage/driversfd
Copying if_re.ko to /R/stage/driversfd
Copying mly.ko to /R/stage/driversfd
Copying trm.ko to /R/stage/driversfd
Copying agp.ko to /R/stage/driversfd
Copying rc4.ko to /R/stage/driversfd
Copying if_wi.ko to /R/stage/driversfd
Copying msdosfs.ko to /R/stage/driversfd
Copying if_axe.ko to /R/stage/driversfd
Copying firewire.ko to /R/stage/driversfd
Copying if_ti.ko to /R/stage/driversfd
Copying if_ex.ko to /R/stage/driversfd
Copying if_de.ko to /R/stage/driversfd
Copying if_bfe.ko to /R/stage/driversfd
Copying wlan.ko to /R/stage/driversfd
Copying if_tl.ko to /R/stage/driversfd
Copying if_ie.ko to /R/stage/driversfd
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)
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
+ [ 1440 -eq 0 -a fd1440 = auto ]
+ [ -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+ cpio . -dump -print /mnt

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

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

Stop in /usr/src/release.

-- 
Shin-ichi YOSHIMOTO <yosimoto_at_waishi.jp>
http://diary.waishi.jp/~yosimoto/diary/
Received on Tue Sep 09 2003 - 19:39:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:22 UTC