Re: [USB-STORAGE] Repeatable lost files problem
From: Matthew Dharm (mdharm-kernel_at_one-eyed-alien.net)
Date: Wed, 14 Jan 2004 11:55:07 -0800 To: Andrea Pusceddu <email@example.com>
Based on this data, I'm guessing that the player is attempting to perform
some sort of special test on the data. If the file doesn't conform, or if
the filesystem is 'different' in some way, it obliterates the offending
Your information suggests that the file-transport and storage itself are
just fine. The material is only lost when the MP3 player's firmware runs
for a little while.
On Wed, Jan 14, 2004 at 10:13:20AM +0100, Andrea Pusceddu wrote:
> I have a weird repeateable problem using a mp3 player (Medion PRO2 256 MB)
> seen under linux as a usb mass storage, through usb-storage module.
> Device: MP3 Player and USB storage device (256MB)
> vendor ID 0x66f (Sigmatel Inc)
> chipset ID : 0x8000
> It is reported to work correctly with usb-storage on
> relevant modules: usb-storage, usb-ohci
> Debian Woody (stable) with default kernel 2.4.18bf
> hotplug or usbmgr (same problem with both)
> This is how to reproduce the trouble:
> 1) plug in the device
> 2) mount -t auto /dev/sda /mnt/usbdrive
> 3) cp ./filecopiedfromlinux.foo /mnt/usbdrive
> 4) ls /mnt/usbdrive :
> 5) umount /mnt/usbdrive
> 6) unplug physically the device, i.e. disconnect it from usb port
> 7) from the Player LCD display i can actually see both files, and I can
> even listen to them, if they are MP3 audio files. So the files ARE in the
> usb drive! I do swear it :)
> But if now the weirdness comes up: if I do as follows:
> 8) plug in the device again
> 9) mount again as in step 2)
> 10) ls /mnt/usbdrive :
> The file copied from Linux has been deleted! What's weird, IMHO, is that
> ONLY the file(s) copied from Linux are lost, regardless of file content and
> size. File(s) copied by means of windows are not "volatile" , i.e. they
> persist between the sessions! Astonishing, isn't it?
> Some additional info:
> a) If I skip step 6), thus I don't disconnect physically the device, then
> the problem disappears.
> b) If I perform steps the corresponding of steps 8, 9, 10 using windows,
> the filecopiedfromlinux are lost as well.
> I think there's something wrong with the chipset, even if its reported as
> c) I can read and copy and use all files in the usb drive, without any
> problems. If don't remove the usb player, I don't experience any
> d) My Linux Box is rather old (AMD K6-II 400 MHz, 512 MB Ram), but it works
> well and is stable.
> e) Sometimes it's possible to recover files using some undelete utility.
> I can post dmesg output if this can help, or give you any other information
> you may need to focus the problem.
> Sorry for the very long message, but I wanted to be as more precise as i
> Thank you for the time you all spend in developing Linux kernel, I think
> that our poor world is a bit better also because of you.
> Call me Ishmael
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to firstname.lastname@example.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
-- Matthew Dharm Home: email@example.com Maintainer, Linux USB Mass Storage Driver Okay, this isn't funny anymore! Let me down! I'll tell Bill on you!! -- Microsoft Salesman User Friendly, 4/1/1998
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- application/pgp-signature attachment: stored