Re: msdosfs or ehci corruption?

From: Gary Jennejohn <garyj_at_jennejohn.org>
Date: Tue, 05 Apr 2005 11:11:54 +0200
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
Received on Tue Apr 05 2005 - 07:11:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:31 UTC