Dear Guennadi,
On Fri, 9 Jun 2006 at 12:00am, Guennadi Liakhovetski wrote:
Nice pic, if you took a bit further West you'd scan Vladivostok - that's
where I come from:-)
OK, moving West :-)
http://kapitza.ras.ru/~leva/Vladik.jpg
Well, I think, we just have to chose the right error-cods to return,
this controls the mid-layer bahaviour - whether to abort, or to
resubmit, or whatever. The error I returned (DID_SOFT_ERROR) means
"retry". Honestly, I don't know what's the correct error-code here. I
can only guess. Well, please, try DID_ABORT.
Unfortunately this does not help. The picture above was acquired using
DID_ABORT. There's probably some minor difference in the driver behaviour
but I can not reliably say anything yet.
Also, you can strace the application with complete
Well, stracing sane will be the last thing I'm going to try, honestly :-)
On Tue, 13 Jun 2006 at 6:10pm, Guennadi Liakhovetski wrote:
Lev, an easier possibility to test if bytes are lost or repeated: just
scan an image several times, saving it in an UNcompressed format, then,
I think, the size should always be the same, right? Then you can just
compare which file is bigger - the correct or the damaged one.
Image compression (jpeg) does not change the image dimensions. And
dimensions are always the same. Anyway, "sane" knows these dimensions
beforehand...
I remember you mentioned TRM-S1040 datasheet, is it publicly available?
How do I get one?
Thanks
-L.
-
: 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