Re: ESP SCSI and QLGC,ISP SCSI drivers not finding attached devices

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

 



On Fri, 2007-07-20 at 14:26 +0100, Mark Fortescue wrote:
> I have been having intermittant issues with the QLGC,isp driver 
> (qlogicpti.c) not finding any attached devices on my sun4c. Having now 
> moved on to Linux-2.6.22 this problem is now also affecting the ESP SCSI 
> driver and is nolonger intermittant.
> 
> My test setup uses an NFS root so it is currently independent of the SCSI 
> drivers/subsystem. I am hoping to change this in the near future so that 
> my sun4c boots into linux by default.
> 
> What kernel options can I use to try to work out why the drivers are 
> ignoring disks (there are no other types of attached device at present). 
> Are any special options needed to force the scsi subsystem to spin the 
> disk up and wait untill they become ready (The disk [target 0:0:3] on the 
> ESP auto-spins down if it is idle for too long and now that booting takes 
> longer ...) ?

nothing in the driver ... that's a firmware issue.  What all SPI drivers
do is address the device and wait 250ms for a response (as per the
standard).  If nothing comes back, they assume there's nothing on the
bus.  You might be able to increase the no connect timeout, but it looks
to be a firmware property of both qlogicpti and esp (and if you do this,
scanning will take longer).  250ms is a huge amount of time in SPI, so
I'd suspect there was some type of bus or device problem.

> Is there a way to get a NON-moduler scsi driver to re-scan its SCSI bus 
> from shell prompt (writing to a sysfs/procfs file)?

/sys/class/scsi_host/host<n>/scan

> >From my point of view, it looks like the command timeout is very much too 
> short. Is there a simple way of testing this theory on the ESP driver?

See above, but really 250ms should be more than adequate.

James



-
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