IDE tape drive not functioning
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
| linux-source-2.6.22 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: linux-source-2.6.22
Hi,
My Travan STT3401A tape drive is no longer working after upgrading from Gentoo (2.6.18) - it worked fine before. My secondary IDE controller has a CD drive as master and the tape drive as slave. On boot this appears in the dmesg output:
[ 25.569401] ata2: PATA max UDMA/133 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001b408 irq 15
[ 29.236385] ata2.00: ATAPI: LITE-ON DVDRW SHW-1635S, YS0N, max UDMA/66
[ 29.236394] ata2.01: ATAPI: Seagate STT3401A, 310C, max PIO3
[ 29.436130] ata2.00: configured for UDMA/66
[ 29.635895] ata2.01: configured for PIO3
[ 30.416450] ata2: DRQ=1 with device error, dev_stat 0x59
[ 30.416478] ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 30.416487] ata2.01: cmd a0/00:00:
[ 30.416504] ata2: soft resetting port
[ 30.734480] ata2.01: revalidation failed (errno=-2)
[ 30.734489] ata2: failed to recover some devices, retrying in 5 secs
[ 35.738064] ata2: soft resetting port
[ 39.313780] ata2.00: configured for UDMA/66
[ 39.513545] ata2.01: configured for PIO3
[ 39.513567] ata2: EH complete
Then when I try to do anything with the tape drive:
# mt -f /dev/nst0 eject
mt: /dev/nst0: rmtopen failed: Input/output error
with this in dmesg:
[ 194.296630] ata2: DRQ=1 with device error, dev_stat 0x59
[ 194.296660] ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 194.296670] ata2.01: cmd a0/00:00:
[ 194.296672] res 51/64:03:
[ 194.296686] ata2: soft resetting port
[ 194.616260] ata2.01: revalidation failed (errno=-2)
[ 194.616267] ata2: failed to recover some devices, retrying in 5 secs
[ 199.619449] ata2: soft resetting port
[ 203.214832] ata2.00: configured for UDMA/66
[ 203.414577] ata2.01: configured for PIO3
[ 203.414604] ata2: EH complete
I've tried noapic and acpi=off as kernel parameters but they had no noticeable effect other than to stop my network card working!
I'll attach the output of lspci in a moment.
Thanks,
Peter.

Whoops, forgot to include some vital info:
root@myth:~# cat /etc/lsb-release RELEASE= 7.10 CODENAME= gutsy DESCRIPTION= "Ubuntu 7.10"
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
root@myth:~# uname -a
Linux myth 2.6.22-14-server #1 SMP Sun Oct 14 23:34:23 GMT 2007 i686 GNU/Linux