I have RedHat 9 running on a PC with an AIC7902 Ultra320 controller. I have two SCSI hard drives and a Sony DDS4 tape drive, on the same SCSI cable. When I boot the server up, all the SCSI devices are detected. I can do a backup to tape, however I am then unable to eject it. At this point, I cannot do anything using the mt command, e.g.
"mt -f /dev/st0 status" returns the error
"/dev/st0: Input/output error"
The Busy light flashes on the tape drive, I have looked this code up and it says the drive is "Waiting for reset". There is a list of SCSI commands in the tape drive manual, one of which is to "reset bus device" which will apparently perform a hard reset on the drive without affecting the rest of the PC. But I've no idea how to initiate these commands from the Linux shell.

Doing a "cat /proc/scsi/scsi" gives me the following, if it helps anyone to solve my problem:
Attached devices:
Host: scsi0 Channel: 00 Id: 05 Lun: 00
Vendor: IBM Model: IC35L036UWDY10-0 Rev: S27E
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: IBM Model: IC35L036UWDY10-0 Rev: S27E
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 08 Lun: 00
Vendor: SONY Model: SDT-10000 Rev: 0110
Type: Sequential-Access ANSI SCSI revision: 02

Many thanks for any help anyone can give on this. Paul