[ubuntu-in] USB Mass Storage unmount bug

Priyadarsan Roy priyadarsanroy at gmail.com
Sat Sep 22 09:19:59 BST 2007


On 9/22/07, Gora Mohanty <gora at sarai.net> wrote:
>
>
> On Sat, 2007-09-22 at 13:26 +0530, Parag Kothari wrote:
> > I have faced the problem while connecting my sony ericsson k750i phone
> > with Memory Stick as a USB Mass Storage Device as well. After i try to
> > unmount/eject the device, it displays a notification saying files are
> > being copied now and the device should not be unplugged till then but
> > there is no progress bar or notification saying whether its in
> > progress or complete and the PC just seems to be doing nothing and
> > seems to hang.
> [...]
>
> Erm, not sure about other systems, but Linux has worked like
> this for the longest time. When you copy a large set of files
> to removable storage, the actual transfer might be sitting in
> a cache, and take place only when you go to unmount the device.
> That notification is warning you of this, and you should take
> it to heart, and not physically remove the USB device till the
> transfer is done.
>
> Not sure about why the PC is hanging, but my guess is that if
> you are low on RAM or CPU power, the sudden copying of a large
> number of files temporarily takes over your system. So, if you
> just let it be for a few minutes, it should come back. I have
> been using a variety of USB storage devices ever since at least
> Edgy, without any problems.
>
> Regards,
> Gora
>
> I have an external HDD connected via USB and a 1 GB pen drive most of the
time to my system. I have copied data to and fro in the ranges of 4GB and
above. Once in a while I have seen the machine getting stuck. One work
around I have found is after copying large data, before I eject I run "sync"
from the command line. This command might take some time to finish. You can
see the Pen Dirve LED blinking fast at this time. After this if I eject my
Laptop never used to Hang.

Not a solution but a work around :).

PD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20070922/715886d0/attachment.htm 


More information about the ubuntu-in mailing list