Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2007 20:47:15 +0100 (CET)
From:      "Kirill Ponazdyr" <lists@codeangels.com>
To:        "Kenneth D. Merry" <ken@freebsd.org>
Cc:        freebsd-hardware@freebsd.org
Subject:   Re: Dell 128T (HP 2/20) library on FCAL problem
Message-ID:  <3326.192.168.5.5.1170100035.squirrel@www.codeangels.com>
In-Reply-To: <20070129173135.GA59137@nargothrond.kdm.org>
References:  <4841.195.162.161.47.1170089092.squirrel@www.codeangels.com>  <20070129173135.GA59137@nargothrond.kdm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Mon, Jan 29, 2007 at 17:44:52 +0100, Kirill Ponazdyr wrote:
> Hmm.  That's unfortunate.  I wonder why they're doing that?  You might
> check the manual for any jumper settings that will change the behavior.
>
> If you want to get it to attach, go into src/sys/cam/scsi/scsi_ch.c.  In
> chasync(), you'll see the following check:
>
> 		if (SID_TYPE(&cgd->inq_data)!= T_CHANGER)
> 			break;
>
> The best way to do it would be to compare the inquiry data and not break
> out of the case statement if the inquiry data matches.  The cheesy way to
> do it would be:
>
> 		if ((SID_TYPE(&cgd->inq_data) != T_CHANGER)
> 		 && (SID_TYPE(&cgd->inq_data) != T_STORARRAY))
> 			break;
>
> Recompile and reinstall your kernel, and anything that probes as an array
> should have a ch(4) device attached to it.

Hi Ken,

Thanks for the advise.

Actually, the problem was a bad terminator which caused SCSI bus which was
connecting Library Controller to FibreChannel bridge to malfunction, so
actual controller was not visible on FibreChannel.

Now I`ve fixed problem and here is how correctly connected Library looks
like:

ch0 at isp0 bus 0 target 129 lun 0
ch0: <HP C7200 1720> Removable Changer SCSI-3 device
ch0: 100.000MB/s transfers
ch0: 19 slots, 1 drive, 1 picker, 1 portal
sa0 at isp0 bus 0 target 129 lun 1
sa0: <HP Ultrium 1-SCSI E32L> Removable Sequential Access SCSI-3 device
sa0: 100.000MB/s transfers
pass2 at isp0 bus 0 target 129 lun 2
pass2: <HP C7200 FC Interface 009t> Fixed Storage Array SCSI-0 device
pass2: 100.000MB/s transfers

root@backup:~# camcontrol devlist -v
scbus0 on isp0 bus 0:
<HP C7200 1720>                    at scbus0 target 129 lun 0 (pass0,ch0)
<HP Ultrium 1-SCSI E32L>           at scbus0 target 129 lun 1 (pass1,sa0)
<HP C7200 FC Interface 009t>       at scbus0 target 129 lun 2 (pass2)

root@backup:~# chio -f /dev/ch0 status
picker 0:
slot 0: <ACCESS>
slot 1: <ACCESS>
slot 2: <ACCESS>
slot 3: <ACCESS>
slot 4: <ACCESS>
slot 5: <ACCESS>
slot 6: <ACCESS>
slot 7: <ACCESS>
slot 8: <ACCESS>
slot 9: <ACCESS>
slot 10: <ACCESS>
slot 11: <ACCESS>
slot 12: <ACCESS>
slot 13: <ACCESS>
slot 14: <ACCESS>
slot 15: <ACCESS>
slot 16: <ACCESS>
slot 17: <ACCESS>
slot 18: <ACCESS>
portal 0: <INEAB,EXENAB,ACCESS,IMPEXP,FULL>
drive 0: <ACCESS>

Kind regards

Kirill




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3326.192.168.5.5.1170100035.squirrel>