[1402] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: ncr53c8xx problem with a CLARiiON disk array.

daemon@ATHENA.MIT.EDU (Gerard Roudier)
Fri Feb 7 17:18:28 1997

Date: 	Fri, 7 Feb 1997 23:15:37 +0000 (GMT)
From: Gerard Roudier <groudier@club-internet.fr>
To: Dario_Ballabio@milano.europe.dg.com
cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <199702071125.MAA11017@milano.europe.dg.com>


Dario,

On Fri, 7 Feb 1997 Dario_Ballabio@milano.europe.dg.com wrote:

> I tryed setting max_scsi_luns=1 and now I can get access at least to
> lun 0 in my CLARiiON. The problem seem to be related to the fact that
> the ncr driver does not handle correctly multiple luns.

What happens with max_scsi_luns=2 ?
Unfortunately, I donnot use multi-luns devices.
Your report about multi-luns problem is the first one about.
But I did not remember about any success report. :(

If somebody else who uses or tried to use multi-luns devices with 
the driver would report results, he will indeed help us.

I noticed that the driver prints out too much about tagged queueing.
That's harmless, but will be fixed.

Your previous report show the scsi driver has detected 4 luns.
Was it right ? Or should it detect more/less luns?

I can prepare a patch that will set and preserve (STEST2 & 0x20), 
assuming GPIO3=0 means differential.
Are you OK to try such a patch?


Gerard. 


> Here is the syslog output from 2.1.25 booted with arguments:
> mem=1000m max_scsi_luns=1
> ----------------------------------------------------------------------
> 
> ncr53c8xx: at PCI bus 0, device 11, function 0
> ncr53c8xx: unit=0 chip=825 rev=0x2 base=0xfeaffc00, io_port=0xfc00, irq=11
> ncr53c825-0: using memory mapped IO at virtual address 0xff005c00
> ncr53c825-0: requesting shared irq 11 (dev_id=0xc0090068)
> ncr53c825-0: restart (scsi reset).
> ncr53c825-0: final value of dmode/ctest4/ctest5 = 0xca/0x00/0x00
> scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.0/3.2/4.0
> scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.0/3.2/4.0
> scsi2 : ncr53c8xx - revision 1.16e
> scsi : 3 hosts.
> scsi0: Scanning channel A for devices.
> scsi0: Target 4, channel A, now synchronous at 4.0MHz, offset 15.
>   Vendor: TOSHIBA   Model: CD-ROM XM-5401TA  Rev: 3605
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> Detected scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
> scsi1: Scanning channel A for devices.
> ncr53c825-0-<0,0>: using tagged command queueing, up to 8 cmds/lun
>   Vendor: DGC       Model: DISK              Rev: 0816
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> Detected scsi disk sda at scsi2, channel 0, id 0, lun 0
> scsi : detected 1 SCSI cdrom 1 SCSI disk total.
> ncr53c825-0-<0,0>: FAST WIDE SCSI-2 20.0 MB/s (100 ns, offset 8)
> SCSI device sda: hdwr sector= 512 bytes. Sectors= 3810456 [1860 MB] [1.9 GB]
> Partition check:
>  sda: sda4 

home help back first fref pref prev next nref lref last post