Subject: Re: amanda tape changer errors
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Jan Schaumann <jschauma@netbsd.org>
List: netbsd-users
Date: 07/18/2002 12:50:52
Manuel Bouyer <bouyer@antioche.lip6.fr> wrote:
> On Wed, Jul 17, 2002 at 06:26:44PM -0400, Jan Schaumann wrote:
> > 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
You wouldn't happen to have patches that bring pkgsrc's amanda up to
2.4.3b3 ?
Currently, if I add 'scsitapedev /dev/enrst0', I can perform one action,
but afterwards it fails with
26223 chg-scsi CALL open(0x8069450,0x2,0xbfbfda08)
26223 chg-scsi NAMI "/dev/enrst0"
26223 chg-scsi RET open -1 errno 16 Device busy
Again, manually ejecting the tape allows me to perform another operation
etc.
I'm not sure if the udated version would help with this, though...
-Jan
--
"When it's fall in New York, the air smells as if someone's been frying
goats in it, and if you are keen to breathe the best plan is to open a
window and stick your head in a building."