"John R. Jackson" <[EMAIL PROTECTED]> wrote:
>>i am using the latest source tarball from amanda.org - i.e. 2.4.2p2
> You may want to get the amanda-242-branch CVS source instead. It includes
> the chg-scsi that Thomas (the other Thomas :-) is more used to working
> with, and has certainly enhanced beyond what comes with the tarball
> you're working from.
> There are a couple of FAQ items at www.amanda.org about how to get the
> CVS sources and build them.
> Only the server would need to be upgraded, not the clients.
thanks for the info - i'm now using the chg-scsi from the 2.4.2
cvs branch - so far it looks a bit more consistent but i get
coredumps too often :-) ... for instance in this situation:
[amanda@fptapp02 fptsys]$ ../../../libexec/chg-scsi -eject
-1 drive was not loaded
[amanda@fptapp02 fptsys]$ ../../../libexec/chg-scsi -slot 0
0 /dev/rmt/1cbn
[amanda@fptapp02 fptsys]$ ../../../libexec/chg-scsi -eject
Segmentation Fault (core dumped)
[amanda@fptapp02 fptsys]$
the backtrace looks like it tries to access the labelfile
somehow - but i did not define one in chg-scsi.conf
#labelfile /usr/local/amanda/etc.local/amanda/fptsys/labelfile
(the file is basically the chg-scsi-solaris file from the
examples adapted to my devices)
(gdb) bt
#0 0xff13303c in strlen () from /usr/lib/libc.so.1
#1 0xff182890 in _doprnt () from /usr/lib/libc.so.1
#2 0xff184a04 in vsnprintf () from /usr/lib/libc.so.1
#3 0x1f738 in DebugPrint (level=9, section=3,
fmt=0x28768 "labelfile -> %s, vol -> %s, barcode -> %s, action ->
%c, slot -> %d, from -> %d\n") at scsi-changer-driver.c:5607
#4 0x142e8 in MapBarCode (labelfile=0x0, vol=0x0, barcode=0x29e08
"", action=5 '\005', slot=0, from=0) at chg-scsi.c:529
#5 0x16cf0 in unload (fd=0, drive=0, slot=0) at
scsi-changer-driver.c:912
#6 0x15e84 in main (argc=0, argv=0x1) at chg-scsi.c:1508
(gdb)
any idea? anything to check next?
a lot of thanks in advance
t
--
thomas graichen <[EMAIL PROTECTED]> ... perfection is reached, not
when there is no longer anything to add, but when there is no
longer anything to take away. --- antoine de saint-exupery