From owner-freebsd-current@FreeBSD.ORG Thu Aug 9 13:46:20 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CE3716A41A; Thu, 9 Aug 2007 13:46:20 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 4262413C457; Thu, 9 Aug 2007 13:46:20 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A55F1C.dip.t-dialin.net [84.165.95.28]) by redbull.bpaserver.net (Postfix) with ESMTP id 471382E11E; Thu, 9 Aug 2007 15:46:13 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 0D7545B5A04; Thu, 9 Aug 2007 15:44:00 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l79Dhx0I025880; Thu, 9 Aug 2007 15:43:59 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 09 Aug 2007 15:43:59 +0200 Message-ID: <20070809154359.fre23qndsk8ockc4@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 09 Aug 2007 15:43:59 +0200 From: Alexander Leidinger To: Philipp Mergenthaler References: <20070804142854.GA24178@rzstud5.rz.uni-karlsruhe.de> In-Reply-To: <20070804142854.GA24178@rzstud5.rz.uni-karlsruhe.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-13.504, required 8, BAYES_00 -15.00, DKIM_POLICY_SIGNSOME 0.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: current@freebsd.org, bde@freebsd.org Subject: Re: Data corruption with msdosfs (rev. 1.172 of msdosfs_vnops.c) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 09 Aug 2007 13:46:20 -0000 Quoting Philipp Mergenthaler =20 (from Sat, 4 Aug 2007 =20 16:28:54 +0200): > > Hi, > > with rev. 1.172 of msdosfs_vnops.c I see data corruption when reading file= s > on a FAT 32 file system. (I didn't try write accesses apart from deleting > some files, which worked ok). The file system is on a IDE disk in an > external USB enclosure and has been created with "newfs_msdos -F 32", IIRC= . > I can use it without problems under FreeBSD-current (prior to July 20th), > Windows XP and Linux. I asked bde (the last one who touched the msdosfs) if he has seen your =20 report. As he doesn't read -current, he hasn't. Here's his response =20 (please keep him in CC): ---snip--- I haven't seen that problem here. There is the easy workaround of mounting with -noclusterr (except I think -noclusterr is not honored by mmap, oops). Ask the OP if this works even with mmap (mmap can be tested using cp), and what all the fs parameters are (newfs_msdos prints them. Was -F 32 the onlt parameter used? That parameter has no effect since it is the default for non-small filesystems). ---snip--- Bye, Alexander. --=20 BOFH excuse #278: The Dilithium Crystals need to be rotated http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137