Hi, Sorry for beeing slightly off topic, but I'm sure someone can help me.
I use a Seagate Scorpion DAT DDS 4 drive for Amanda backups on a Linux 2.2.20 box. SCSI controller is either a Vortex hardware RAID or from the Adaptec 7xxx family. The drive is working fine unless I issue a "mt status" command while a tape is beeing loaded. In this case I get a "/dev/nst0: No such device or address" error message. The only workaround is to remove the "st" (scsi tape) kernel module and have in loaded automatically at the next use. How can I prevent this hiccup? "Don't do this" : It happens if you are impatient and the tapes are supposed not to be changed by a "root" person. "rmmod st" as a 1 min cron job : This workaround sucks. Thanks for any help. Johannes Nie� niess:~ # mtst -f /dev/nst0 status SCSI 2 tape drive: File number=-1, block number=-1, partition=0. Tape block size 0 bytes. Density code 0x0 (default). Soft error count since last status=0 General status bits on (50000): DR_OPEN IM_REP_EN <inserting tape and at the same time:> niess:~ # mtst -f /dev/nst0 status <about a minute:> /dev/nst0: No such device or address niess:~ # rmmod st niess:~ # mtst -f /dev/nst0 status /dev/nst0: No such device or address niess:~ # mtst -f /dev/nst0 status /dev/nst0: No such device or address niess:~ # rmmod st <after a few minutes the drive motor LED is out:> niess:~ # mtst -f /dev/nst0 status SCSI 2 tape drive: File number=0, block number=0, partition=0. Tape block size 512 bytes. Density code 0x26 (DDS-4 or QIC-4GB). Soft error count since last status=0 General status bits on (41010000): BOT ONLINE IM_REP_EN niess:~ # My syslog entries: Feb 15 16:47:46 niess kernel: scsi0:0:13:0: Attempting to queue a TARGET RESET message Feb 15 16:47:46 niess kernel: scsi0:0:13:0: Command not found Feb 15 16:47:46 niess kernel: aic7xxx_dev_reset returns 8194 Feb 15 16:47:57 niess kernel: st: Unloaded. Feb 15 16:48:08 niess kernel: st: bufsize 32768, wrt 30720, max buffers 5, s/g segs 16. Feb 15 16:48:08 niess kernel: Detected scsi tape st0 at scsi0, channel 0, id 13, lun 0
