On Tue, Jul 11, Stefan Richter wrote: > Olaf Hering wrote: > > On Mon, Jun 05, Brian King wrote: > >>Brian King wrote: > ... > >>>Setting sdev->allow_restart in struct scsi_device will cause sense > >>>key/code/qual of 02/04/02 (not ready, initialization command required) > >>>to wake up the scsi error handler and will force scsi core to issue > >>>a start unit command to the disk. I added this a while back to handle > >>>ipr raid arrays which need a start unit command each time the adapter > >>>gets reset. > ... > >>Please try the attached patch. It adds a sysfs device attribute > >>"allow_restart". > ... > >Is it safe to have this attribute be 1 per default, and let the user > >disable it for problematic drives? The IO errors bother me alot... > > Matthew Dharm pointed out that it may confuse USB devices: > http://marc.theaimsgroup.com/?l=linux-scsi&m=107702811830956 I found that after I sent this. I'm ok with the current default, it can be tweaked as needed in the startup scripts. - : 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