Subject: port-i386/3593: i386 floppies no longer fit on 1.2M disks
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nimenees@par0163.urh.uiuc.edu>
List: netbsd-bugs
Date: 05/08/1997 20:04:02
>Number: 3593
>Category: port-i386
>Synopsis: Attempts to make floppies from distrib fail when space runs out.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 8 18:05:00 1997
>Last-Modified:
>Originator: Eric Haszlakiewicz
>Organization:
>Release: 1.2D
>Environment:
Pentium w/ 1.44M drive.
System: NetBSD par0163.urh.uiuc.edu 1.2E NetBSD 1.2E (REALMS) #59: Thu May 8 13:39:27 CDT 1997 root@par0163.urh.uiuc.edu:/usr/src/sys/arch/i386/compile/REALMS i386
>Description:
Seems that all the wonderful changes have added up to more than
1.2M. Attempting to make an install floppy or a kernel copy
floppy fails. install floppy can be fixed by switching to 1.44M.
Kernel copy is still too big using the standard INSTALL kernel.
>How-To-Repeat:
cd src/distrib/i386/floppies ; make
>Fix:
patches to make 1.44M floppies:
*** inst-common/Makefile.inc.bk Tue May 6 18:28:04 1997
--- inst-common/Makefile.inc Thu May 8 19:33:18 1997
*************** CRUNCHCONF= ${COMMONDIR}/${CBIN}.conf
*** 17,25 ****
MTREE= ${COMMONDIR}/mtree.conf
all: ${CBIN}
! dd if=/dev/zero of=${IMAGE} bs=100k count=12
vnconfig -v -c ${VND_DEV} ${IMAGE}
! newfs -O -m 0 -o space -i 5120 -c 80 ${VND_RDEV} floppy5
mount ${VND_DEV} ${MOUNT_POINT}
mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
--- 17,25 ----
MTREE= ${COMMONDIR}/mtree.conf
all: ${CBIN}
! dd if=/dev/zero of=${IMAGE} bs=10k count=144
vnconfig -v -c ${VND_DEV} ${IMAGE}
! newfs -O -m 0 -o space -i 5120 -c 80 ${VND_RDEV} floppy3
mount ${VND_DEV} ${MOUNT_POINT}
mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
*** kc-common/Makefile.inc.bk Tue May 6 19:39:23 1997
--- kc-common/Makefile.inc Tue May 6 19:46:17 1997
*************** CRUNCHCONF= ${COMMONDIR}/${CBIN}.conf
*** 17,26 ****
MTREE= ${COMMONDIR}/mtree.conf
all: ${CBIN}
! dd if=/dev/zero of=${IMAGE} bs=100k count=14
vnconfig -v -c ${VND_DEV} ${IMAGE}
! disklabel -w -B -b ${MDEC}/fdboot -s ${MDEC}/bootfd ${VND} floppy5
! newfs -O -m 0 -o space -i 6144 -c 80 ${VND_RDEV} floppy5
mount ${VND_DEV} ${MOUNT_POINT}
mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
--- 17,26 ----
MTREE= ${COMMONDIR}/mtree.conf
all: ${CBIN}
! dd if=/dev/zero of=${IMAGE} bs=10k count=144
vnconfig -v -c ${VND_DEV} ${IMAGE}
! disklabel -w -B -b ${MDEC}/fdboot -s ${MDEC}/bootfd ${VND} floppy3
! newfs -O -m 0 -o space -i 6144 -c 80 ${VND_RDEV} floppy3
mount ${VND_DEV} ${MOUNT_POINT}
mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
As for making kernel copy fit... shrink the kernel?
>Audit-Trail:
>Unformatted: