Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Apr 2005 11:11:54 +0200
From:      Gary Jennejohn <garyj@jennejohn.org>
To:        Mike Silbersack <silby@silby.com>
Cc:        current@freebsd.org
Subject:   Re: msdosfs or ehci corruption? 
Message-ID:  <200504050911.j359BsWP003089@peedub.jennejohn.org>
In-Reply-To: Message from Mike Silbersack <silby@silby.com>  <20050404232917.I5371@odysseus.silby.com> 

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

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



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