Re: [PATCH 2/9] firewire: fw-sbp2: add INQUIRY delay workaround

From: Jarod Wilson
Date: Mon Feb 11 2008 - 12:02:19 EST


Stefan Richter wrote:
Several different SBP-2 bridges accept a login early while the IDE
device is still powering up. They are therefore unable to respond to
SCSI INQUIRY immediately, and the SCSI core has to retry the INQUIRY.
One of these retries is typically successful, and all is well.

But in case of Momobay FX-3A, the INQUIRY retries tend to fail entirely.
This can usually be avoided by waiting a little while after login before
letting the SCSI core send the INQUIRY. The old sbp2 driver handles
this more gracefully for as yet unknown reasons (perhaps because it
waits for fetch agent resets to complete, unlike fw-sbp2 which quickly
proceeds after requesting the agent reset). Therefore the workaround is
not as much necessary for sbp2.

Signed-off-by: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>

Looks reasonable to me. I'm guessing there are some other devices out there that may well benefit from this (once added to the workarounds table, of course). Interesting that this is an encore appearance for a DViCO Momobay device...

Signed-off-by: Jarod Wilson <jwilson@xxxxxxxxxx>

--
Jarod Wilson
jwilson@xxxxxxxxxx

--
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/