Subject: Re: amanda tape changer errors
To: None <netbsd-users@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-users
Date: 07/18/2002 16:09:45
On Wed, Jul 17, 2002 at 06:26:44PM -0400, Jan Schaumann wrote:
> 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)?
I have this in my chg-scsi.conf (for each config):
dev /dev/nrst0 # the device that is used for the tapedrive 0
scsitapedev /dev/enrst0
BTW I'm running 2.4.3b3; I don't remember if these options existed in
2.4.2
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--