On Sat, 08 Sep 2007 12:42:52 -0400 Jeff Garzik <jeff@xxxxxxxxxx> wrote: > Alan Cox wrote: > >>> You'd have to add the drain data on error hack first, right now we will > >>> reset in that case (which for one or two devices has another problem in > >>> that it won't clear a stuck FIFO) > >> Nod. There was nothing ever wrong with Mark's drain patch, I just never > >> saw a solid justification for it outside of root > > > > You don't need to be root, any user can do this with the right commands > > via SG_IO - and it happens on errors occassionally for real. > > Which commands? Should work for anything where you send data to the drive and give the wrong values to the SG_IO for the I/O size. Alan - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html