Re: Help with CT8000-A codes
From: Dances With Crows (danSPANceswitTRAPhcrows_at_usa.net)
Date: 12/17/03
- Next message: David Van Cleef: "Re: Sager NP 5680: well-supported by Linux?"
- Previous message: GomoX: "Re: Install LINUX on cheap EIDE, use SATA for data storage"
- In reply to: Ken Bass: "Help with CT8000-A codes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Dec 2003 04:22:21 GMT
On Wed, 17 Dec 2003 03:08:12 GMT, Ken Bass staggered into the Black Sun
and said:
> I found an old Conner CT8000-A tape drive and connected it to my linux
> (8.0) box.
Linux 8.0? Funny, latest version I can find on kernel.org is
2.6.0-test11. "Linux" without a distro name refers to the kernel. You
could be referring to Redhat 8.0, SuSE 8.0, or Mandrake 8.0, all of
which are slightly different. Which one is it?
> After rebooting, it was detected and added into the system.
> I am also able to control (rewind, retension) it via mt, and other
> utilities, like tar, find the drive okay.
>
> The problem is when I try to write to it with tar, tar returns an
> error, and the syslog has lines like this in it:
>
> ide-tape: ht0: I/O error, pc = a, key = 5, asc = 00, ascq = 81
>
> Does anyone know what these values (pc, key, asc, ascq) mean?
These are sort of documented in the file ide-tape.c in the kernel
source, which you should already have on your system. These are numbers
returned from the tape drive that give you additional information about
what really went wrong. Since IDE tape drives are really ATAPI devices,
the best way to get good diagnostic information out of them is to set
"verbose SCSI debugging information" to Y in your kernel configuration
(most distros have this set in their stock kernels) and use the devices
under ide-scsi emulation. You do this by booting with the kernel
commandline parameter "hdX=ide-scsi", then modprobing ide-scsi ,
scsi_mod, and {st,sr_mod} depending on whether the ATAPI device is a
tape or CD-R* after you've logged in. Then try running tar on /dev/st0
and seeing what you get out of dmesg.
pc = A refers to the MODE_SELECT command. The other numbers aren't
making a lot of sense to me, though I'm looking in the constants.c file
from the drivers/scsi directory of the kernel source. I'm not finding
anything that matches up with error values of 5, 0, and 81 there.
> Is there documentation (g*d forbid!) about these?
G*d? As you will find out, SCSI and ATAPI devices are not governed by
any of the Abrahamic deities. Before this is over, you may need a black
goat, a sharp knife, a copy of _De Vermis Mysteriis_, a copy of the
Principia Discordia, and a willingness to experience bizarre horrors
from alternate dimensions. Or you could be lucky and the drive could
work fine under ide-scsi emulation--some will when they don't work with
ide-tape. HTH,
-- Matt G|There is no Darkness in Eternity/But only Light too dim for us to see Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong http://www.brainbench.com / Hire me! -----------------------------/ http://crow202.dyndns.org/~mhgraham/resume
- Next message: David Van Cleef: "Re: Sager NP 5680: well-supported by Linux?"
- Previous message: GomoX: "Re: Install LINUX on cheap EIDE, use SATA for data storage"
- In reply to: Ken Bass: "Help with CT8000-A codes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|