Re: [PATCH] libata error handling fixes (ATAPI)

From: Tejun Heo
Date: Tue Nov 15 2005 - 22:03:50 EST


Jeff Garzik wrote:

The port stops, when any error occurs. For device errors, set PORT_CS_INIT bit in PORT_CTRL_STAT, then wait for Port Ready (bit 31, see above).


Yeap, this did the trick. I'm working on SRST/init stuff and I think I can post patches later today. What workload do you use for testing a ATAPI device? I'm currently thinking of the following...

* mounting & tarr'ing cdrom & unmount
* repeat above with eject/load
* burning a cdrom
* ripping a music cd with cdparanoia

Any other thing I can try?

--
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/