IDE tape drive not functioning

Bug #190638 reported by Peter Spikings
4
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:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0x0 data 0
[ 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:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0x0 data 0
[ 194.296672] res 51/64:03:00:00:20/00:00:00:00:00/b0 Emask 0x3 (HSM violation)
[ 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.

Revision history for this message
Peter Spikings (peter-spikings) wrote :
Revision history for this message
Peter Spikings (peter-spikings) wrote :

Whoops, forgot to include some vital info:

root@myth:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"
root@myth:~# uname -a
Linux myth 2.6.22-14-server #1 SMP Sun Oct 14 23:34:23 GMT 2007 i686 GNU/Linux

Revision history for this message
Peter Spikings (peter-spikings) wrote :

Hi,

Is anybody going to look at this? I'm going to be moving the tape drive to another machine with an older kernel very soon so will be unable to provide any additional debugging past that point.

I think the problem lies with whatever presents the drive as a SCSI tape drive instead of using the ide-scsi module. Not sure what is doing that in the new kernel.

Thanks.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Peter,

Sorry for the delayed response. The Hardy Heron Alpha series is currently under development and contains an updated version of the kernel. It would be helpful if you could test the latest Hardy Alpha release: http://www.ubuntu.com/testing . You should be able to then test the new kernel via the LiveCD. If you can, please verify if this bug still exists or not and report back your results. We'll keep this open against the actively developed kernel but against 2.6.22 this will be closed. Thanks.

Changed in linux:
status: New → Incomplete
Changed in linux-source-2.6.22:
status: New → Won't Fix
Revision history for this message
Peter Spikings (peter-spikings) wrote :

Hi,

Using Hardy alpha 5 server sorted this out.

Thanks for your help,

Peter.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Thanks Peter. I'm going to go ahead and mark this "Fix Released" per your last comment. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status . Thank you again for taking the time to report this bug and helping to make Ubuntu better. Feel free to submit any future bugs you may find.

Changed in linux:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.