linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: USB mass storage unplug problem
Date: Wed, 24 Aug 2005 19:18:36 +0000	[thread overview]
Message-ID: <20050824191836.GB9483@vrfy.org> (raw)
In-Reply-To: <005801c5a8b3$79c197f0$9500a8c0@micronasnit.com>

On Wed, Aug 24, 2005 at 03:55:24PM +0200, Lalso Benarik wrote:
> We are developing application for coping of the content of the USB mass 
> storage for it we are using Fedora Core 3.
> During the testing we have experienced the following problem:
> - start coping data from the device (it is the same if you copy the data to 
> the device) to hard disk: cp /media/CopyDisk/* /copydir/
> - during copy process remove the USB flash.
> - After it, the Linux doesn't see any more USB mass storage devices, and 
> usually the process that was doing the coping is active, and can not be 
> killed.
> The same happens if I make a C code doing the coping.
> Does any one know ho to deal with it? I need error reported to my 
> application.
> The same problem occurs with the Fedora Core 4. 

It's likely a kernel bug in the SCSI layer that does not cleanup the
error handler. I think it was fixed with one of the later kernels:
  http://marc.theaimsgroup.com/?l=linux-scsi&m\x111172700500878&w=2

But it may be another problem, if you still can reproduce it with the
latest kernel.

Kay


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

      reply	other threads:[~2005-08-24 19:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-24 13:55 USB mass storage unplug problem Lalso Benarik
2005-08-24 19:18 ` Kay Sievers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050824191836.GB9483@vrfy.org \
    --to=kay.sievers@vrfy.org \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).