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

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

 



Hi David,

I have found that on my sun4c, I need to increase the ESP_BUS_TIMEOUT from 250ms to 275ms when I build the ESP driver into the kernel or the ESP does not find the disk.

If I build the driver as a module, this extra 25ms is not required. Any idears?

Given that the V1 EPS driver used 275ms and the 250ms is only recommended (SCSI II Std. ISO-IEC-9316-1995), should the ESP_BUS_TIMEOUT be changed back to 275ms?

Regards
	Mark Fortescue.

On Fri, 20 Jul 2007, Mark Fortescue wrote:


Ok.

I have found a difference in the timeouts. V1 driver it is 275ms, V2 driver it is 250ms. It looks like that extra 25ms is needed on the sun4c :).

I will do a quick test with the existing setup as a modular ESP and then re-build with a 275ms timeout and see if that fixes the problem.

Regards
	Mark Fortescue.

On Fri, 20 Jul 2007, James Bottomley wrote:

On Fri, 2007-07-20 at 16:22 +0100, Mark Fortescue wrote:
Thansk for the info. I will try some experiments and see if I can work
out where the scsi commands/responses are getting lost.

Actually, for ESP it looks like you can alter the timeout ... it's the
parameter ESP_BUS_TIMEOUT in drivers/scsi/esp_scsi.h

It could be that the register calculation is off here ... but someone
who knows the device would have to look at it (or you could time it, I
suppose).

I do not beleave the issue with the ESP is a hardware problem. The PROM
and SunOS-4.1.1 have no problem finding/accessing the disk on the ESP and
I did not observe any issues prior to testing Linux v2.6.22. The V1 ESP
SCSI driver never failed to find the ESP disk (on kernels that got that
far) but I have not done as much testing with the V2 ESP driver as memory
problems post v2.6.21 needed to be fixed to get things up and running.

James


-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

-
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