From owner-freebsd-current@FreeBSD.ORG Tue Apr 5 09:11:57 2005 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 F3D2B16A4CE for ; Tue, 5 Apr 2005 09:11:56 +0000 (GMT) Received: from peedub.jennejohn.org (J896a.j.pppool.de [85.74.137.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D1D143D31 for ; Tue, 5 Apr 2005 09:11:56 +0000 (GMT) (envelope-from garyj@jennejohn.org) Received: from jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.13.3/8.11.6) with ESMTP id j359BsWP003089; Tue, 5 Apr 2005 11:11:54 +0200 (CEST) (envelope-from garyj@jennejohn.org) Message-Id: <200504050911.j359BsWP003089@peedub.jennejohn.org> X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: Mike Silbersack In-Reply-To: Message from Mike Silbersack <20050404232917.I5371@odysseus.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 05 Apr 2005 11:11:54 +0200 From: Gary Jennejohn cc: current@freebsd.org Subject: Re: msdosfs or ehci corruption? 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: Tue, 05 Apr 2005 09:11:57 -0000 Mike Silbersack writes: > > I just ran into a problem on my laptop with a March 30th build of current, > using ehci. I tried mving a bunch of files and directories to my usb > thumb drive (which is using msdosfs), and mv returned a few errors about > files with that name already existing. > > I went to look, and a few directories had been created _as files_, with > contents from similar files! > I saw a similar problem when copying files using back-to-back tars to a CF-card mounted in a multi-card USB reader over EHCI. The files created were in mnay cases duplicates and some appeared as directories rather than as files. Somehow a directory, which was totally uninvolved in the copy, was turned into a large file! I found that if I forced the file names to all be in 8.3 format I could sucessfully copy them. This was with a kernel from March 30. I finally ended up saving as much of the contents from the CF as possible and newfs_msdos'ing the card. > Any other possibilities? Is this something that might have been fixed > since the 30th somehow? > Yesterday, using a kernel from April 2, I successfully copied about 2GB worth of files to my MP3-player, which was connected over USB with EHCI. The MP3-player has a MSDOS FS and many of the files had very long names. So apparently something has been fixed since March 30, but I don't know what. [OT] Today for some reason the same kernel which ran OK yesterday is spontaneously rebooting, and a kernel made yesterday from updated sources also just reboots, so I was forced to go back to the kernel from March 30. --- Gary Jennejohn / garyjATjennejohnDOTorg gjATfreebsdDOTorg garyjATdenxDOTde