From owner-freebsd-current@FreeBSD.ORG Sat Aug 2 09:00:46 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D22737B401; Sat, 2 Aug 2003 09:00:46 -0700 (PDT) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB86943F93; Sat, 2 Aug 2003 09:00:44 -0700 (PDT) (envelope-from bruce@cran.org.uk) Received: from buffy.brucec.backnet ([82.41.200.71]) by smtp-out2.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Sat, 2 Aug 2003 17:00:43 +0100 Received: from buffy.brucec.backnet (localhost [127.0.0.1]) by buffy.brucec.backnet (8.12.9/8.12.9) with ESMTP id h72G0j83053609; Sat, 2 Aug 2003 17:00:45 +0100 (BST) (envelope-from bruce@buffy.brucec.backnet) Received: (from bruce@localhost) by buffy.brucec.backnet (8.12.9/8.12.9/Submit) id h72G0jKR053608; Sat, 2 Aug 2003 17:00:45 +0100 (BST) Date: Sat, 2 Aug 2003 17:00:45 +0100 From: Bruce Cran To: Ruslan Ermilov Message-ID: <20030802160045.GA40233@buffy.brucec.backnet> References: <20030802150850.GB20186@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030802150850.GB20186@sunbay.com> User-Agent: Mutt/1.4.1i X-OriginalArrivalTime: 02 Aug 2003 16:00:43.0789 (UTC) FILETIME=[3A882BD0:01C3590F] cc: freebsd-current@freebsd.org Subject: Re: MSDOSFS woes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2003 16:00:46 -0000 On Sat, Aug 02, 2003 at 06:08:50PM +0300, Ruslan Ermilov wrote: > Gang, :-) > > 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. > > The issue is not IA64 specific, both machines in question are > i386. The following script makes my machines unhappy: > > EFISZ=131072 > dd if=/dev/zero of=$BASE/$EFIPART count=$EFISZ > md=`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=/dev/zero of=/mnt/foo > > Changing to the -F 16 does not take any (good) effect. > Anyone is interested in narrowing it down? > I've also seen this happening on my Athlon XP system running -CURRENT. I 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 - 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. -- Bruce Cran