send scsi commands

From: Gerold Krommer (g.krommer_at_doremove.fns.co.at)
Date: 09/07/05


Date: Wed, 7 Sep 2005 15:28:53 +0200

Hi all,

I have been scratching my head on this for a week now (hair is gone) and now
I'm turning to this community.

We sell (not engineer) an archiving software that talks to optical jukeboxes
over scsi.
The platform in question is a p5 LPAR, AIX 5.2 ML6, 5712 dual channel SCSI
Adapter, HP 1900ux LVD SCSI jukebox

When looking at the system the 4 odm devices are created.

A configuration utility of ours (that installes special drivers) does NOT
see the devices. What this utility does is scan through all SCSI busses
sending a TUR (test unit ready). Interestingly this returns errno 19 (No
such device) for SCSI Ids that have no devices attached, which is correct,

This utility returns errno 5 (IO error) for those SCSI Ids that have devices
attached (4drives and 1 robotic arm).

To make a long story short I'm looking for strategies to narrow down the
faulty component. I have a few ideas for the HW, but would also like to
eliminate the config utility as a source of problem.

I'm looking for a program that allows me to send SCSI commands to a specific
address of a SCSI bus. I browsed/googled for hours, but it seems only
vendors of backup software (like Legato or NSR) provide such tools with
their software (like scsi_command)

Does anyone have such a utility or code they would like to share? I looked
and maybe it will take me a few days to wade through the SCSI structures and
use ioctl to do it myself, but why re-invent the wheel?

Thanks for any help for the desparate,

/Gerold



Relevant Pages

  • Re: send scsi commands
    ... SCSI devices. ... The supplier of the archiving software has pulled support for this adapter ... > A configuration utility of ours does NOT ...
    (comp.unix.aix)
  • RE: SCSI CD-ROM drive and red desktop!
    ... Have you set your SCSI IDs correctly, ... Every device in the chain must have a unique ID assigned so the host adapter ... On older devices SCSI IDs are configured by setting jumpers or switches on ...
    (microsoft.public.windowsxp.hardware)
  • Re: SCSI CD-ROM drive and red desktop!
    ... > Have you set your SCSI IDs correctly, ... is highest for all SCSI types, ... >> This workstation and the SCSI board and devices worked perfectly under XP ...
    (microsoft.public.windowsxp.hardware)
  • Re: SCSI ID on tape drive
    ... > I've just got a replacement tape drive for my w2k server. ... I am new to SCSI ... > config, and I don't understand about SCSI ID numbers. ... > so which is the best way to view the SCSI IDs? ...
    (microsoft.public.win2000.hardware)
  • Re: Looking for suggestions for bootcamp sessions
    ... and DKB200 which I guess is why external drive shelves aren't ... the SCSI IDs are built into the SCSI backplane. ... SCSI bus, ID 2 on the other bus (which is shared with the external ...
    (comp.os.vms)