Hi,

I'm having a problem with the ISP116x driver, just wondered if anyone else had come across this.

I connect a memory stick into the USB, and copy a large file (say 50MB) onto it. Part way through the copy I unplug the memory stick. My system then hangs. If I unplug the memory stick early in the copy it sometimes doesn't happen, but it always happens if I leave it about 10s.

I'm running a linux-sh 2.4.22 with a slightly modified ISP116x driver version 0.9. The USB and SCSI subsystems are the same in linux-sh as the standard kernel, so that shouldn't be causing the problem. I've also tried moving the 2.4.27 USB & SCSI subsystems into our build, but the same thing happens. Moving to 2.6 is not an option at present.
So far in investigating I've found that the type of memory stick doesnt matter, it happens with all three that I've tested. This doesn't happen on other Linux systems (tested with a 2.4.19 Debian and a Knoppix CD).


I'm almost certain the problem is caused by the ISP116x driver, but I'm completely stuck trying to work out where. When I unplug the memory stick I see a synchronous call to hci_unlink_urb, which does its job and returns. About 20s later I see an asynchronous call to the same function. Tracking back into the kernel, I can see the first call is originating in storage_disconnect (usb/storage/usb.c), and the second is coming from command_abort (usb/storage/scsiglue.c).

I'm guessing the ISP116x driver is meant to be returning something or calling something in the higher level code, which it isn't doing correctly.

Of the relatively few folk out there using this driver, does anyone else see this problem?
And does anyone know what the driver should be returning to the higher layer so it can continue running?


Thanks

Andy




------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to