Subject: amanda tape changer errors
To: None <netbsd-users@netbsd.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: netbsd-users
Date: 07/17/2002 18:26:44
Hi all,

I'm having difficulty setting up my Quantum ATL Power L200 for use of
amanda.  The library seems to b working fine under manual operation.  I
can execute any of the amanda commands _once_, however, the next one
will simply take forever and not complete.  For example, I can label the
tape in slot 0 successfully.  When trying to label the next tape, it
just sits there.

This behaviour showed up when I was using
eject	0
in my changer.conf.  Changing this to "eject 1" leads to the following
error:

amtape: slot <error> not ejected: could not read result from
"/usr/pkg/libexec/chg-scsi"

/usr/pkg/libexec/chg-scsi -info
No device found for tape eject

Running a ktrace on chg-scsi revelas the following:
 6001 chg-scsi RET   write 66/0x42
  6001 chg-scsi CALL  write(0xb,0x806b000,0x17)
  6001 chg-scsi GIO   fd 11 wrote 23 bytes
       "##### START OpenDevice
       "
  6001 chg-scsi RET   write 23/0x17
  6001 chg-scsi CALL  write(0xb,0x806b000,0x18)
  6001 chg-scsi GIO   fd 11 wrote 24 bytes
       "OpenDevice : /dev/nrst0
       "
  6001 chg-scsi RET   write 24/0x18
  6001 chg-scsi CALL  open(0x8069420,0x2,0xbfbfdc44)
  6001 chg-scsi NAMI  "/dev/nrst0"
  6001 chg-scsi RET   open -1 errno 19 Operation not supported by device
  6001 chg-scsi CALL  write(0xb,0x806b000,0x23)
  6001 chg-scsi GIO   fd 11 wrote 35 bytes
       "warning open of /dev/nrst0: failed

Are there any people out there that experienced the same behaviour (and
hopefully solved it)?

Thanks in advance for all pointers.
-Jan

-- 
"Saying Windows 2000 is the most powerful OS in the Microsoft family is
like saying Moe was the smart Stooge."  --Kevin Barkes