From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Wed, 24 Aug 2005 19:18:36 +0000 Subject: Re: USB mass storage unplug problem Message-Id: <20050824191836.GB9483@vrfy.org> List-Id: References: <005801c5a8b3$79c197f0$9500a8c0@micronasnit.com> In-Reply-To: <005801c5a8b3$79c197f0$9500a8c0@micronasnit.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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&m1172700500878&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