Re: Recovering from USB mass storage corruption without rebooting



Tony Houghton wrote:
On Wed, 28 Jan 2009 05:55:33 +0000
Will Kemp <will@xxxxxxxxxxxxxxxx> wrote:

Tony Houghton wrote:
Often after this, Linux refuses to recreate /dev/sd* devices for it even
if I unplug it, wait for it to update its file list and power cycle it
before plugging it back in. I have to reboot the PC to get the player's
sd devices back again to fsck it and have another attempt at copying
files. I presume udev, HAL or whatever have temporarily blacklisted it
because of the errors, but ISTR having tried restarting them once in the
past, to no avail. Is there any way to clear whatever is stopping Linux
from recognising it properly without rebooting?
It sounds like hardware to me. And the first thing i'd suspect is the flash memory in the MP3 player (assuming it's flash and not hdd). Flash memory's got a limited life maybe it's come to the end of it.

Has it worked properly in the past?

What happens if you try and format it?

It's got a little 20GB HD (Hitachi). It did seem to work reliably for a
year or two and only start playing up more recently. But if the disc
itself was failing I would have thought I'd gradually lose the data
already on it, but I haven't noticed that happening, it only seems to
corrupt the new files I'm trying to copy on to it. I've tried 3
different leads, including one with a ferrite lump on, and none of them
cause problems with our cameras etc. I suppose I could try using a rear
USB port instead of a front one.

Unlike Ian's experience, this drive does use a partition.

Nobody has any ideas about why I have to reboot Linux to clear the
problem then?

It might be worth reporting it as a bug. Which distribution are you using?


--
http://NovemberEchoRomeoDelta.com
.



Relevant Pages

  • Re: Recovering from USB mass storage corruption without rebooting
    ... Will Kemp wrote: ... And the first thing i'd suspect is the flash memory in the MP3 player. ... Nobody has any ideas about why I have to reboot Linux to clear the ...
    (uk.comp.os.linux)
  • Re: Really Final Crisis
    ... Superman, Batman, etc, then the reboot is already messed up. ... but starting the DCU from scratch make the then current Flash (Wally ... Not when you are starting the universe from scratch. ... Flash - a former apprentice to the previous Flash, ...
    (rec.arts.comics.dc.universe)
  • Re: How to program and initialize Lattice XP devices
    ... the flash is reprogrammed by the system via JTAG, ... required to reboot the device. ... and sufficient to reload the SRAM from the Flash? ... I assume the initialization current is about the same ...
    (comp.arch.fpga)
  • Re: New A8R32_MVP Bios
    ... My flash went fine and she booted right up. ... and reset some BIOS parameters ... it hangs at the ASUS flash screen after Save changes and reboot. ... reset to defaults it boots right up. ...
    (alt.comp.periphs.mainboard.asus)
  • Re: [SLE] Instructions for relocating /home to a separate partition
    ... the only time you really need to reboot Linux is when you want to ... >Boston Linux and Unix user group ... In the case of "gui problems', ... Is this "reboot" really necessary ??? ...
    (SuSE)