Operating System - HP-UX
1822109 Members
3601 Online
109640 Solutions
New Discussion юеВ

Re: What driver for MSL5000 tape lib

 
SOLVED
Go to solution

What driver for MSL5000 tape lib

What driver do i need for MSL5000 tap library connected to RP5470 C1010 Ultra 160 Wide?
EXT_BUS has C8xx; hp-ux 11.11 dec 2002
Document KBAN00000190 is from feb 1 2000 any newer (EN) available?
Thanks! Pfff
6 REPLIES 6
Leif Halvarsson_2
Honored Contributor
Solution

Re: What driver for MSL5000 tape lib

Hi,
I have a 2/20 library with Ultrium drives, I think it uses the same deivers as MSL5000. I have configured the sctl and the stape driver in the kernel. The output from ioscan looks similar to yours:

unknown -1 0/2/0/0.8.0.255.0.2.0 UNCLAIMED UNKNOWN HP C7200
tape 0 0/2/0/0.8.0.255.0.2.1 stape CLAIMED DEVICE HP Ultrium 1-SCSI
tape 1 0/2/0/0.8.0.255.0.2.2 stape CLAIMED DEVICE HP Ultrium 1-SCSI

The library works fine.
Eugeny Brychkov
Honored Contributor

Re: What driver for MSL5000 tape lib

schgr
Leif Halvarsson_2
Honored Contributor

Re: What driver for MSL5000 tape lib

Hi,
The schgr driver seems have something so do with Series 700 (workstations).


schgr Out Out Driver Static N/A MO/Tape Autochanger Hardware Driver (Series 700)

I have always used the pass through driver "sctl" with librarys.

Perhaps this (using the "schgr" or "sctl" driver) is application dependent. For example with OmniBack the "sctl" driver should be used (and this works with thw "mc" command too.
Eugeny Brychkov
Honored Contributor

Re: What driver for MSL5000 tape lib

sctl stands for 'SCSI controller'
schgr stands for 'SCSI Changer'
For systems with HP-PB (and maybe HSC, but not sure) SCSI controllers 'autox0' autochanger driver should be used, for systems with PCI SCSI cards 'schgr' driver should be used.
I do not think sctl SCSI controller device driver can drive SCSI target
Eugeny
Frank Slootweg
Honored Contributor

Re: What driver for MSL5000 tape lib

schgr is never *needed* [1].

If the tape drives use driver stape (like in your case), then the robot should use the sctl driver and you should consult the scsi_ctl(7) manual page on how to configure the robot.

If the tape drives use driver tape2, then the robot should use the spt driver and you should consult the scsi_pt(7) manual page on how to configure the robot..

For both sctl and spt you can use the *test program* described under "All ready for use , try the sample program :" in the scsi_pt(7) manual page, but do *not* use the rest of that page for the sctl driver (because the manual page is for the spt driver).

[1] You can include the schgr driver if you use the sctl driver for the robot and get nervous from the "UNCLAIMED" and "UNKNOWN" in its ioscan entry. Personally I find the 'cure' worse than the disease, because now the wrong driver is listed (schgr is not for a *tape* robot, but for a (MO) *disk* library).


Re: What driver for MSL5000 tape lib

The solution for this MSL5030 tape lib: SCTL
That driver is already default present in the kernel after inst. ( lsdev -d sctl shows)
THEN do: mknod /dev/picker c 203 0x0b0000
c = raw
203 = major driver number
0b = hex for card Instance 11
0 = picker
0 = lun
00 = unkown filler
Now the robot kan be tested:
go to /usr/contrib/src
do "cc scsi_io.c"
run it: "./a.out /dev/picker" should return:
"the thing claims to be: Compaq MSL5000 Series 0408" which is fine.
mc -p /dev/picker -r DS shows library status
Now you can move tapes using "mc"
Wrote a script to "exercise" the picker, while at tape 15 + 16 the MSL5030 Hung and worst of all: THE SYSTEM CRASHED.....Damned
Call for support.