From owner-freebsd-bugs Thu Nov 21 4: 0: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C419837B404 for ; Thu, 21 Nov 2002 04:00:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 636F243E9E for ; Thu, 21 Nov 2002 04:00:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gALC03x3081005 for ; Thu, 21 Nov 2002 04:00:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gALC03pd081004; Thu, 21 Nov 2002 04:00:03 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F213D37B401 for ; Thu, 21 Nov 2002 03:52:35 -0800 (PST) Received: from pat.uio.no (pat.uio.no [129.240.130.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id C785E43E6E for ; Thu, 21 Nov 2002 03:52:31 -0800 (PST) (envelope-from niklasjs@ifi.uio.no) Received: from fimm.ifi.uio.no ([129.240.65.205]) by pat.uio.no with esmtp (Exim 2.12 #7) id 18Epsg-0001lR-00 for FreeBSD-gnats-submit@freebsd.org; Thu, 21 Nov 2002 12:52:26 +0100 Received: from localhost (niklasjs@localhost) by fimm.ifi.uio.no ; Thu, 21 Nov 2002 12:52:26 +0100 (MET) Message-Id: Date: Thu, 21 Nov 2002 12:52:26 +0100 (MET) From: Niklas Johannes Saers To: FreeBSD-gnats-submit@FreeBSD.org Subject: i386/45558: mdconfig and msdosfs make fs writes hang Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45558 >Category: i386 >Synopsis: mdconfig and msdosfs make fs writes hang >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 21 04:00:03 PST 2002 >Closed-Date: >Last-Modified: >Originator: Niklas Saers >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD my.home.saers.com 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Wed Nov 20 09:19:35 GMT 2002 root@my.home.saers.com:/usr/src/sys/i386/compile/my i386 Athlon 1,33/512, FreeBSD 5.0-DP2 >Description: See How-To-Repeat to get the precise thing I've done time and time again to get this happening. The problem does not happen when the image is on an ffs partition, so I suspect it's having some problems msdos-to-msdos or such. All subsequent writes to ffs partitions will stall, yet writes to the same msdos partition will go through. All processes that hang have the STATE (from 'top') set to wdrain They never come out of that state >How-To-Repeat: su cd /mnt/msdos dd if=/dev/zero bs=1024 count=760000 of=7 mdconfig -a -t vnode -u 7 -f 7 disklabel -r -w md7 auto newfs /dev/md7c mount /dev/md7c /mnt/7 chown me:mygroup /mnt/7 logout cd /mnt/msdos/dump_to_cd_dir mv * /mnt/7 >Fix: Computer cannot be shut down and power has to be taken manually >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message