Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Aug 2003 19:09:31 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Bruce Cran <bruce@cran.org.uk>
Cc:        Poul-Henning Kamp <phk@FreeBSD.org>
Subject:   Re: MSDOSFS woes
Message-ID:  <20030802160931.GB25355@sunbay.com>
In-Reply-To: <20030802160045.GA40233@buffy.brucec.backnet>
References:  <20030802150850.GB20186@sunbay.com> <20030802160045.GA40233@buffy.brucec.backnet>

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

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

On Sat, Aug 02, 2003 at 05:00:45PM +0100, Bruce Cran wrote:
> On Sat, Aug 02, 2003 at 06:08:50PM +0300, Ruslan Ermilov wrote:
> > Gang, :-)
> >=20
> > While working with Marcel on a bootable CD-ROM for IA64 issue,
> > I've stumbled upon the following problem.  I needed to increase
> > the size of the EFI partition (which is an MS-DOS file system)
> > to 64M, and that made two of my machines stuck solidly -- a lot
> > of process are waiting on the "wdrain" event.
> >=20
> > The issue is not IA64 specific, both machines in question are
> > i386.  The following script makes my machines unhappy:
> >=20
> > EFISZ=3D131072
> > dd if=3D/dev/zero of=3D$BASE/$EFIPART count=3D$EFISZ
> > md=3D`mdconfig -a -t vnode -f $BASE/$EFIPART`
> > newfs_msdos -F 12 -S 512 -h 4 -o 0 -s $EFISZ -u 16 $md
> > mount -t msdosfs /dev/$md /mnt
> > dd if=3D/dev/zero of=3D/mnt/foo
> >=20
> > Changing to the -F 16 does not take any (good) effect.
> > Anyone is interested in narrowing it down?
> >=20
>=20
> I've also seen this happening on my Athlon XP system running -CURRENT.  I=
=20
> presumed it was the deadlock in vnode-backed md disks.  It seems that when
> a lot of disk activity occurs on the md partition, the process stops -=20
> this is on a 30GB image containing UFS2 partitions /dev/md0s1[a,d,e].
> Attempting to reboot results in the message 'processes would not die - ps
> axl advised', I had to reset the computer because nothing more happened.
>=20
Yes, the same here.

And I have just been able to reproduce this with only a 16MB MS-DOS file
system on a vnode backed md(4) device.


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

--7iMSBzlTiPOCCT2k
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE/K+I7Ukv4P6juNwoRAseOAJsEZE+DfNJy5h2Lcuji1G53y3jVYQCfRfL3
Z+3/wKVl3VDZb3NLtTuvZxI=
=oUwU
-----END PGP SIGNATURE-----

--7iMSBzlTiPOCCT2k--



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