On Sun, 25 Mar 2001, Urban Petry wrote:
> Hi Craig,
>
> I'm using the ADIC-1200 as well (although with linux instead of sunos,
> mtx is the same as yours - 1.2.10).
Which device driver are you using under Linux? The equivalent of Sun's
'sgen' driver? I am going to try the 'sst' driver supplied with Amanda
today and see if I get a different result. According to the manual, the
factory defaults are ID 0 for the drive and ID 3 for the robotics.
Are you using your ADIC-1200 in random-access or sequential mode? Mine is
set to random-access mode with the jumper installed on the small PCB
inside the front of the autochanger door.
> > # mtx -f /dev/scsi/changer/c0t5d0 inquiry
> > Product Type: Medium Changer
> > Vendor ID: 'ADIC '
> > Product ID: 'DAT AutoChanger '
> > Revision: '0461'
> > Attached Changer: No
>
> > So far, this is good, but I'm not quite sure why it reported the last
> > piece of information as 'No'.
>
> I get the same information when running mtx inquiry (only you got a
> newer revision ;-), so that shouldn't be a problem. AFAIK the
> 'Attached Changer' is only yes if your tape changer and tape drive
> listen to the same scsi ID and thus understand both streamer and
> changer scsi commands (maybe different LUNs). But that's not the case
> with the ADIC.
They're set to different ID's. The Sony drive is ID 4, and the robotics
are ID 5.
> > # mtx -f /dev/scsi/changer/c0t5d0 status
> > mtx: no Data Transfer Element reported
>
> Hmm, have you checked the SCSI ID settings on the back of the unit ?
> The only situation that could lead to such an error is in my opinion
> (and to my knowledge) that both the changer and the tape device have
> the same ID set, so the changer can't find its streamer. Is the tape
> device listed seperately when you list all your scsi devices on that
> bus ?
I might alter the ID settings so the robotics are on a lower ID that the
drive, but it should be irrelevant providing the ID's are actually
different.
> Regarding your question about replacing the shipped drive with a newer
> model: The same thing came to my mind as well. I already opened the
> case to find out, that it should be possible to replace the existing
> drive with another one. It shoud work as long as it's the same brand,
> because I have the feeling that the changer device snoops on the tape
> device messages on the scsi bus and I don't know how well they're
> standardized (e.g. the arm doesn't try to grab a tape out of the tape
> drive before unloading the whole cartridge unless you issued an eject
> command to the _tape drive_ before ...). If you have any success with
> this, please let me know (although I have a HP drive instead of a
> sony).
If I actually do this, I will let you know how it goes. I think you might
be right about the changer electronics watching SCSI activity for the
drive. There's quite a lot of smarts on the robotics control board,
judging by the ammount of hardware on the changer PCB.
Regards,
Craig.
--
Craig Dewick. Send email to "[EMAIL PROTECTED]"
Point your web client at "www.sunshack.org" or "www.sunshack.net" to access my
archive of Sun technical information and links to other places. For info about
Sun Ripened Kernels, go to "www.sunrk.com.au" or "www.sun-surplus.com"