On Wednesday 04 April 2001 3:21 pm, Rhett Saunders wrote:
> [<storage-element-number>][<drive#>] mtx [ -f <loader-dev> ] [eepos
> eepos-number] transfer <storage-element-number> <storage-element-number>
> mtx [ -f <device> ] eject
> # mtx -f /dev/rsst1 first
> mtx: No such device or address
> mtx: No such device or address
> mtx: Request Sense: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 mtx: READ ELEMENT STATUS Command Failed
>
I wonder if this is related to a problem I had when setting up AMANDA using
chg-scsi on a solaris box I had lying around. When doing ioctls on the
scsi-generic device, the ioctl would fail unless there was a valid buffer
supplied to return data in, even if the particular SCSI command was
positional (i.e. move tape) and therefore wasn't going to return any data.
This resulted in it simply not working for no readily apparent reason, until
I bodged a small buffer into SCSI_Move() in scsi-changer-driver.c so that it
always supplied one to SCSI_ExecuteCommand()
--
Tim Smith ([EMAIL PROTECTED])
Rebel SpecForces foil unauthorised cloning attempt on General Madine. "I'm
beside myself." says General.