Dell 128T (HP 2/20) library on FCAL problem
Kirill Ponazdyr
lists at codeangels.com
Mon Jan 29 19:47:23 UTC 2007
> 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 at 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 at 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
More information about the freebsd-hardware
mailing list