When I unplug and replug my CF drive (/dev/sda) and try to access it with "fdisk /dev/sda" (boot drive is sdb), I get an error first time only. Since I cant get stderr to redirect to a file, here is a typed copy of the msg:
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.00: failed command: READ DMA
ata2.00: cmd c8/00:20:00:00:00/00:00:00:00:00/e0 tag 0 dma 16384 in
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata2.00 status : {DRDY}
It causes some timeout delay for me.
Not sure this is a bug, but maybe it can be prevented by reading some status before trying to bang the dma?