On Wed, Jun 13, 2001 at 05:58:04PM +0200, Sancho Dauskardt wrote:
> 
> >A 10 second delay will cause the scsi error handler thread to fire.  This
> >should cause all sorts of things to happen, but often winds up resulting in
> >a deadlock -- not just with usb-storage, but with lots of SCSI controllers,
> >too.
> 10 seconds ?? Can this be changed somwhere in the Kernel easily ??
> I haven't layed my hands on one yet, but a 128MB SSFDC would take at least 
> 16 (if not 32, USB_COMBO master/slave, you remember) seconds for the TUR to 
> complete...

The timeout is set on a per-command basis.  For this command, in this
_particular_ instance, the timeout is set during the scsi probing calls --
used to be in scsi_probe.c, but I haven't looked lately.

> >  See the linux-scsi archives for some of the discussion.
> >
> >Out of curiosity, can you see command_abort() called in the dmesg if you
> >send kern.=debug to /dev/console?
> 
> Yes.
> 
> - sda

Well, it might be interesting to see the last things that appear before the
hard lockup.  It might give us a clue as to where to start looking.

Matt


-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

What, are you one of those Microsoft-bashing Linux freaks?
                                        -- Customer to Greg
User Friendly, 2/10/1999

PGP signature

Reply via email to