Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2003 08:38:06 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Scott Long <scottl@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/release/i386 drivers.conf
Message-ID:  <20030725053806.GA36982@sunbay.com>
In-Reply-To: <200307250010.h6P0AYKW061085@repoman.freebsd.org>
References:  <200307250010.h6P0AYKW061085@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--lEGEL1/lMxI0MVQ2
Content-Type: multipart/mixed; boundary="vkogqOf2sHV7VnPd"
Content-Disposition: inline


--vkogqOf2sHV7VnPd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 24, 2003 at 05:10:33PM -0700, Scott Long wrote:
> scottl      2003/07/24 17:10:33 PDT
>=20
>   FreeBSD src repository
>=20
>   Modified files:
>     release/i386         drivers.conf=20
>   Log:
>   Move the mlx driver back into the kernel so that the drivers floppy doe=
sn't
>   overflow.
>  =20
>   Revision  Changes    Path
>   1.29      +0 -1      src/release/i386/drivers.conf
>=20
Which reminds me.  The floppy wasn't overflowing when building
5.x snapshot on 4.x, due to the differences in file system
layout between 4.x and 5.x.  Please see the attached if you're
interested.


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software Ltd,
ru@FreeBSD.org		FreeBSD committer

--vkogqOf2sHV7VnPd
Content-Type: message/rfc822
Content-Disposition: inline

Date: Wed, 12 Mar 2003 00:32:21 +0200
From: Ruslan Ermilov <ru@FreeBSD.org>
To: Poul-Henning Kamp <phk@FreeBSD.org>,
	Kirk McKusick <mckusick@FreeBSD.org>
Cc: current@FreeBSD.org
Subject: Re: MINCYLGRPS (was: 4-stable releases on -current?)
Message-ID: <20030311223221.GA84474@sunbay.com>
References: <20030224094711.GA289@zibbi.icomtek.csir.co.za>
	<20030224102649.GA31100@sunbay.com>
	<20030224163505.GA12550@zibbi.icomtek.csir.co.za>
	<20030224172230.GA89139@sunbay.com>
	<20030224173812.GA14630@zibbi.icomtek.csir.co.za>
	<20030224174437.GA94899@sunbay.com> <20030224201528.GA10344@sunbay.com>
	<20030225180219.GA58778@zibbi.icomtek.csir.co.za>
	<20030225195202.GA72331@sunbay.com> <20030226124810.GB88741@sunbay.com>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf"
Content-Disposition: inline
In-Reply-To: <20030226124810.GB88741@sunbay.com>
User-Agent: Mutt/1.5.3i


--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hey, is anybody ever going to answer this email?

On Wed, Feb 26, 2003 at 02:48:10PM +0200, Ruslan Ermilov wrote:
> On Tue, Feb 25, 2003 at 09:52:02PM +0200, Ruslan Ermilov wrote:
> > On Tue, Feb 25, 2003 at 08:02:19PM +0200, John Hay wrote:
> [...]
> > > Ok, with the patches below I can get to where it tries to build the
> > > fixit floppy in release.10. It breaks because the floppy is too small.
> > > I must still check to make sure it is true.
> > >=20
> > We'll know this in less than 1:30 -- I've just launched the
> > snapshot build for 4.x/i386 on my fast -stable box.
> >=20
> > While I was writing it, it's already finished (successfully).
> >=20
> > ftp://ftp.sunbay.net/pub/FreeBSD/snapshots/i386/4.x-20030225-STABLE/
> >=20
> OK, I've tracked it down to the differences in newfs(8) between
> 4.x and 5.x.  In 4.x, newfs'ing a 1.44MB floppy results in a
> single cylinder group, but in 5.x there's a thing called
> MINCYLGRPS, which results in fewer free space on a floppy:
>=20
> : # uname -r
> : 4.7-STABLE
> : # ./x
> : Warning: Block size restricts cylinders per group to 6.
> : Warning: 1216 sector(s) in last cylinder unallocated
> : /dev/vn0c:	2880 sectors in 1 cylinders of 1 tracks, 4096 sectors
> : 	1.4MB in 1 cyl groups (6 c/g, 12.00MB/g, 384 i/g)
> : super-block backups (for fsck -b #) at:
> :  32
> : Filesystem 1K-blocks    Used   Avail Capacity iused   ifree %iused  Mou=
nted on
> : /dev/vn0        1363       0    1363     0%       1     381    0%  =20
>=20
> : # uname -r
> : 5.0-CURRENT
> : # ./x
> : /dev/md0c: 1.4MB (2880 sectors) block size 4096, fragment size 512
> : 	using 4 cylinder groups of 0.36MB, 91 blks, 128 inodes.
> : super-block backups (for fsck -b #) at:
> :  32, 760, 1488, 2216
> : Filesystem 1K-blocks    Used   Avail Capacity iused  ifree %iused  Moun=
ted on
> : /dev/md0        1311       0    1311     0%       1    509    0%  =20
>=20
> With this patch to newfs(8),
>=20
> : Index: mkfs.c
> : =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
> : RCS file: /home/ncvs/src/sbin/newfs/mkfs.c,v
> : retrieving revision 1.74
> : diff -u -p -r1.74 mkfs.c
> : --- mkfs.c	22 Feb 2003 23:26:11 -0000	1.74
> : +++ mkfs.c	26 Feb 2003 11:20:57 -0000
> : @@ -317,7 +317,7 @@ mkfs(struct partition *pp, char *fsys)
> :  	for ( ; sblock.fs_fpg < maxblkspercg; sblock.fs_fpg +=3D sblock.fs_fr=
ag) {
> :  		sblock.fs_ipg =3D roundup(howmany(sblock.fs_fpg, fragsperinode),
> :  		    INOPB(&sblock));
> : -		if (sblock.fs_size / sblock.fs_fpg < MINCYLGRPS)
> : +		if (sblock.fs_size / sblock.fs_fpg < (Oflag =3D=3D 2 ? MINCYLGRPS : =
1))
> :  			break;
> :  		if (CGSIZE(&sblock) < (unsigned long)sblock.fs_bsize)
> :  			continue;
>=20
> I still don't get the same picture as on 4.x, but it's now at least
> sufficient to make release.10 happy.
>=20
> : # ./x
> : /dev/md0c: 1.4MB (2880 sectors) block size 4096, fragment size 512
> : 	using 1 cylinder groups of 1.41MB, 361 blks, 416 inodes.
> : super-block backups (for fsck -b #) at:
> :  32
> : Filesystem 1K-blocks    Used   Avail Capacity iused  ifree %iused  Moun=
ted on
> : /dev/md0        1359       0    1359     0%       1    413    0%  =20
>=20
> John, I'm sending you the complete patchset in another email.
>=20
>=20
> Cheers,
> --=20
> Ruslan Ermilov		Sysadmin and DBA,
> ru@sunbay.com		Sunbay Software AG,
> ru@FreeBSD.org		FreeBSD committer,
> +380.652.512.251	Simferopol, Ukraine
>=20
> http://www.FreeBSD.org	The Power To Serve
> http://www.oracle.com	Enabling The Information Age

> FSIMG=3Dfixit.flp
> FSSIZE=3D1440
> FSLABEL=3Dfd1440
> FSINODE=3D4000
>=20
> dd of=3D${FSIMG} if=3D/dev/zero count=3D${FSSIZE} bs=3D1k 2>/dev/null
>=20
> case `uname -r` in
> 4.*)
> 	DEVICE=3Dvn0
> 	vnconfig -s labels -c /dev/${DEVICE} ${FSIMG}
> 	;;
> 5.*)
> 	DEVICE=3D`mdconfig -a -t vnode -f ${FSIMG}`
> 	;;
> esac
>=20
> disklabel -w -B ${DEVICE} ${FSLABEL}
> newfs -i ${FSINODE} -o space -m 0 /dev/${DEVICE}c
>=20
> #disklabel ${DEVICE}
> df -i /dev/${DEVICE}
>=20
> case `uname -r` in
> 4.*)
> 	vnconfig -u ${DEVICE}
> 	;;
> 5.*)
> 	mdconfig -d -u ${DEVICE}
> 	;;
> esac




--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--J2SCkAp4GZ/dPZZf
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+bmP0Ukv4P6juNwoRAoDrAJ4p7FifjoJam7S7zbPw+7qln8KA7ACePbX8
MZAndoVgEOF5zz7oLcOzzmM=
=Cv/V
-----END PGP SIGNATURE-----

--J2SCkAp4GZ/dPZZf--

--vkogqOf2sHV7VnPd--

--lEGEL1/lMxI0MVQ2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE/IMI+Ukv4P6juNwoRAkOsAJ9EsdQ4bBK8DjSx6LuWbhi46LjUzQCfeQGH
HvZfaNafZ3v6SlqMclAUzSY=
=c9fS
-----END PGP SIGNATURE-----

--lEGEL1/lMxI0MVQ2--



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