Has anyone successfully used the amverifyrun utility in version 2.5.0p1?
When I run it, I get the error message:
changer: got exit: 2 str: <none> Illegal slot: "-1"
amtape: could not load slot <none>: Illegal slot: "-1"
amtape: could not load slot <none>: Illegal slot: "-1"
amtape: pid 11950 finish time Sat Apr 29 22:20:47 2006
Looking at the amverifyrun script, it is grepping through the amdump
output looking for a line of the form:
taper: slot
This worked in 2.4.5p1 because the amdump file contained the following
lines:
------ from 2.4.5p1 amdump file -------
...
changer: opening pipe to: /home/amanda/MEGABAK1/libexec/chg-zd-mtx
-slot current
...
changer: got exit: 0 str: 10 /dev/rmt/0n
taper: slot 10: date X label MBK1_34 (new tape)
taper: read label `MBK1_34' date `X'
taper: wrote label `MBK1_34' date `20060429'
driver: result time 2.658 from taper: TAPER-OK
...
---------------------------------------
It doesn't seem to work in 2.5p1 because the amdump file contains only
the following data following the chg-zd-mtx command:
------ from 2.5.0p1 amdump file -------
...
changer: opening pipe to: /home/amanda/MEGABAK1/libexec/chg-zd-mtx
-slot current
...
changer: got exit: 0 str: 11 /dev/rmt/0n
taper: wrote label `MBK1_35' date `20060429'
driver: result time 13.409 from taper: TAPER-OK
...
---------------------------------------
To me, it looks like the following lines of output are simply missing
from the 2.5.0p1 output:
taper: slot 10: date X label MBK1_34 (new tape)
taper: read label `MBK1_34' date `X'
Given this, it would appear that amverifyrun doesn't have a hope of
working properly.
Any assistance you can provide would be much appreciated (whether its
a solution, a "me too", or "it works fine for me").
Thanks,
Sean Walmsley
=================================================================
Sean Walmsley sean AT fpp.nuclearsafetysolutions DOT com
Nuclear Safety Solutions Ltd. 416-592-4608 (V) 416-592-5528 (F)
700 University Ave M/S H04 J19, Toronto, Ontario, M5G 1X6, CANADA
|