Hello! > Alexey, have you seen the patches I posted? Sorry, I have not. > It does what you want to accomplish and more. Yes, it looks like this. I am no expert in this area and cannot tell exactly. I can only suggest a practical way to test the patch: you take some USB flash (the older and the slower is the better, usb1.1 flash is the best), then do the following: for (;;) { usb_detach_kernel_driver_np(handle, 0); usleep(1000*(random() % 10000)); usb_attach_kernel_driver_np(handle, 0); usleep(1000*(random() % 10000)); } (handle is libusb handle for the device) Unpatched kernels crash almost instantly. Alexey -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html