Subject: MINIROOTSIZE is not big enough
To: None <port-sparc@netbsd.org>
From: Motoyuki Konno <motoyuki@bsdclub.org>
List: port-sparc
Date: 05/09/2001 23:35:45
Hi,
I tried "make snapshot" on my SS5 NetBSD-current box, and
"make snapshot" failed.
--------
all ===> sparc
all ===> sparc/ramdisk
awk -f /usr/src/distrib/sparc/ramdisk/../../miniroot/makeconf.awk CBIN=ramdiskbin /usr/src/distrib/sparc/ramdisk/list > ramdiskbin.conf
[snip]
strip ramdiskbin
dd if=/dev/zero of=ramdisk.fs bs=1360b count=1
1+0 records in
1+0 records out
696320 bytes transferred in 0.133 secs (5235488 bytes/sec)
#vnconfig -t -v -c /dev/vnd0c ramdisk.fs
vnconfig -v -c /dev/vnd0c ramdisk.fs 512/1/1360/1
/dev/vnd0c: 696320 bytes on ramdisk.fs using geometry 512/1/1360/1
#disklabel -rw /dev/vnd0c
#disklabel -W /dev/vnd0c
newfs -B be -m 0 -o space -i 2400 /dev/rvnd0a
/dev/rvnd0a: 1360 sectors in 1 cylinders of 1360 tracks, 1 sectors
0.7MB in 1 cyl groups (16 c/g, 10.62MB/g, 320 i/g)
super-block backups (for fsck -b #) at:
32,
[snip]
LINK ramdiskbin usr/bin/gzip usr/bin/gunzip usr/bin/zcat
SPECIAL /bin/rm ramdiskbin
SPECIAL cd dev; sh ${TOPDIR}/../../etc/etc.sparc/MAKEDEV floppy
COPY ${REALCURDIR}/dot.profile .profile
cp: /mnt/.profile: No space left on device
--------
I think the value of "SIZE" (defined in basesrc/distrib/sparc/ramdisk/Makefile)
and "MINIROOTSIZE" (defined in syssrc/sys/arch/sparc/conf/INSTALL)
must be increased to suitable value (for example, 1400).
Currently, both values are 1360.
--
------------------------------------------------------------------------
Motoyuki Konno motoyuki@bsdclub.org (Home)
motoyuki@FreeBSD.ORG (FreeBSD Project)
http://www.freebsd.org/~motoyuki/ (WWW)