Re: ATAPI Tape Driver Failure in Kernel 2.4.4, More

Tim Moore
2001-05-09T21:37:18Z

Use SCSI emulation instead of ATAPI for the tape device. Also make sure
your mt is >= 0.5.

[tim@abit tim]# mt -v
mt-st v. 0.5b
[tim@abit linux]# dump -v
dump 0.4b
[tim@abit linux]# restore -v
restore 0.4b17

[dmesg exerpts - tape is /dev/st0]
...
hdd: HP COLORADO 20GB, ATAPI TAPE drive
...
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
Vendor: HP Model: COLORADO 20GB Rev: 4.01
Type: Sequential-Access ANSI SCSI revision: 02
Detected scsi tape st0 at scsi0, channel 0, id 0, lun 0
...

for 2.2.x .config:

CONFIG_BLK_DEV_IDESCSI
#CONFIG_BLK_DEV_IDETAPE
CONFIG_SCSI
CONFIG_CHR_DEV_ST

> immediately after the backup completes and I try to write a file mark with "mt":
>
> May 9 16:50:49 isaiah kernel: ide-tape: Reached idetape_chrdev_open
> May 9 16:52:05 isaiah kernel: hdd: irq timeout: status=0xd0 { Busy }
> May 9 16:52:05 isaiah kernel: hdd: ATAPI reset complete
> May 9 16:52:05 isaiah kernel: ide-tape: Couldn't write a filemark
> May 9 16:52:06 isaiah kernel: ide-tape: Reached idetape_chrdev_open
> May 9 16:54:06 isaiah kernel: ide-tape: ht0: DSC timeout
> May 9 16:54:06 isaiah kernel: hdd: ATAPI reset complete
> ...

--
| 650.390.9613 | 6502247437@messaging.cellone-sf.com