msdosfs or ehci corruption?
Gary Jennejohn
garyj at jennejohn.org
Tue Apr 5 02:11:57 PDT 2005
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
More information about the freebsd-current
mailing list