Re: timeout during sas discovery (aic94xx)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



James Bottomley <James.Bottomley@xxxxxxxxxxxx> wrote:
> On Mon, 2006-08-28 at 22:44 -0700, Darrick J. Wong wrote:
> > Uh... I don't think that phy_reset function ever gets called.  My
> > ten-second grep of the libsas/aic94xx code doesn't yield and takers.
> > Maybe one of those functions that gets called after time index 575.791
> > should be doing that?
> 
> I see the same thing occasionally in my sata on expanders setup.
> 
> The problem is that the error handling in the SMP functions isn't
> robust.  Try this patch; it works for me(tm), but it's obviously wrong
> since it simply blasts a reset.
> 

"Aug 27 23:32:02 elm3a176 kernel: [  575.791927] sas: command
0xffff8100674d9c80, task
0xffff8100727ede00, timed out: EH_NOT_HANDLED
Aug 27 23:32:02 elm3a176 kernel: [  575.801352] sas: Enter
sas_scsi_recover_host
Aug 27 23:32:02 elm3a176 kernel: [  575.806022] sas: going over list...
Aug 27 23:32:02 elm3a176 kernel: [  575.809894] sas: trying to find task
0xffff8100727ede00
Aug 27 23:32:02 elm3a176 kernel: [  575.815513] sas: sas_scsi_find_task:
aborting task
0xffff8100727ede00
Aug 27 23:32:07 elm3a176 kernel: [  580.818573] aic94xx: tmf timed out
Aug 27 23:32:07 elm3a176 kernel: [  580.822369] aic94xx: tmf came back
"

I think this failure mode is a different path than what your patch tries to
address. We sending a inquiry to the device and coming through the
standard IO path and not through sas_execute_task.

I still think for these cases that we need to be running the patch I
previous sent to the list to try and get the abort to work (this patch is
not in the git tree so one needs to add this on top of the git source).
This will not solve the timeout, but would at least address the tmf time
out.

We need to also address the first issue of the inquiry timeout. Previous
runs showed that we where hitting this error a lot on the inquiry to the
Vitesse SES device which the adp driver has created a work around (unclear
if the work around solves the issue or not).

-andmike
--
Michael Anderson
andmike@xxxxxxxxxx
-
To unsubscribe from this list: 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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux