Can we increase the timeout for some comamnds?
Specifically, some USB devices (notably the USB/SCSI bridges) which use the
USB SCSI emulation need about 5-6 seconds to respond to an INQUIRY (as well
as a couple of other commands).
I didn't have this problem on older kernels -- I suspect that someone either
changed the timeout or change the default debugging defines.
The current timeout in 2.4.0-test1-ac8 is about 2 seconds. This is defined
in drivers/scsi/scsi.h -- increasing this to 6 seconds works fine. Or, in
scsi_scan.c, increase the timeout used for the probing INQUIRY command from
the default of SCSI_TIMEOUT to 6*HZ.
I can send a patch if it's desired -- but I was wondering what the
preferred choice is.
Matt Dharm
--
Matthew Dharm Home: [EMAIL PROTECTED]
Senior Engineer, QCP Inc. Work: [EMAIL PROTECTED]
Department of Justice agent. I have come to purify the flock.
-- DOJ agent
User Friendly, 5/22/1998
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]