Operating System - HP-UX
1832512 Members
4686 Online
110043 Solutions
New Discussion

Accessing DLT4000 autochanger

 
SOLVED
Go to solution
Randy Tarrier
Advisor

Accessing DLT4000 autochanger

Hello,
I've seen variations of this question, but I'm still having a problem creating a device file for my autochanger. I have a K460 w/11.0, DLT4000 2/28 connected via scsi. I can see the scsi pass-thru for the robotic arm in an ioscan, but can't see the autoch driver. I've enabled spt,spt0, autoch, sctl drivers in the kernel.
Output from ioscan:
# ioscan -fC autoch
#
# ioscan -fC spt
spt 0 10/4/4.6.0 spt CLAIMED DEVICE HP C5177-4000
Output from lsdev:
# lsdev -d schgr
Character Block Driver Class
231 29 schgr autoch
# lsdev -d sctl
Character Block Driver Class
203 -1 sctl ctl
# lsdev -d spt
Character Block Driver Class
144 -1 spt spt
Checking the admin menu on the dlt shows the 'lib' device has scsi id 6
I created a driver via mksf:
mksf -H 10/4/4.6.0 -m 0x006000 -r /dev/rscsi/c4t6d0
This shows that it recognizes the hdw path as an spt driver:
# ll /dev/rscsi/c4*
crw-rw-rw- 1 bin bin 144 0x006000 Jan 3 15:46 c4t6d0
The following shows the driver isn't talking to the device:
# lssf /dev/rscsi/c4t6d0
lssf: Don't know how to handle driver "spt"
# strings /etc/ioconfig|grep sctl
sctl
sctl
sctl
sctl
# strings /etc/ioconfig|grep schgr
# strings /etc/ioconfig|grep spt
spt0
#
Stm sees it as:
20 10/4/4.6.0 SCSI Media Changer (HPC5177) It does allow for exercise of the changer.
Because stm can talk to it, and none of the drivers in /dev/diag have a minor # that matches any of the above drivers,it must be using the sctl drivers to communicate.

I've installed PHKL_22759.

So I'm probably overlooking something elementary, but I'm just too deep in the forest......Any ideas anyone?
Do it as long as you love it!
7 REPLIES 7
Michael Tully
Honored Contributor
Solution

Re: Accessing DLT4000 autochanger

Hi,

Have a look at the attached document, it should be of some assistance.

HTH
-Michael
Anyone for a Mutiny ?
Sanjay_6
Honored Contributor

Re: Accessing DLT4000 autochanger

Randy Tarrier
Advisor

Re: Accessing DLT4000 autochanger

Sanjay, I already tried the mc cmd, it gave me: ERROR: No such device or address

Michael, could you please resend your attachment?
Do it as long as you love it!
Sanjay_6
Honored Contributor

Re: Accessing DLT4000 autochanger

Hi Randy,

Do a ioscan. in that you should make a note of the device file mentioned under schgr. this is /dev/rac/cxtydz for example. you have to use this file to manipulate the changer, move DLT's around in the library.

Hope this helps.

Regds
Sanjay_6
Honored Contributor

Re: Accessing DLT4000 autochanger

Hi Randy,

you should use "ioscan -fn" .

hope this helps.

Regds
Michael Tully
Honored Contributor

Re: Accessing DLT4000 autochanger

Hi,

Attaching again....
I was able to open the previous attachment....?

-Michael
Anyone for a Mutiny ?
Randy Tarrier
Advisor

Re: Accessing DLT4000 autochanger

Michael, Got your 1st attachment, followed the steps, now I'm slingin' tapes! Thanks, all for your responses.
Do it as long as you love it!