General
cancel
Showing results for 
Search instead for 
Did you mean: 

HP Colorado 5GB internal, Red Hat 7.1, tape read problems

Jim Wartnick
Occasional Contributor

HP Colorado 5GB internal, Red Hat 7.1, tape read problems

I have a HP Colorado 5GB internal tape drive and Red Hat 7.1 operating system. I am able to write to the device without any problems. However when I go to read the device I get errors (No matter how I write to the device).

Here is what appears when I try to read the device:

dd if=/dev/ht0 of=x
dd: reading `/dev/ht0': Input/output error
0+0 records in
0+0 records out

Here is what appears in the /var/log/messages file:

Sep 14 08:19:15 www kernel: ide-tape: hdb <-> ht0: HP COLORADO 5GB rev 2.03
Sep 14 08:19:15 www kernel: ide-tape: hdb: overriding capabilities->speed (assum
ing 650KB/sec)
Sep 14 08:19:15 www kernel: ide-tape: hdb: overriding capabilities->max_speed (a
ssuming 650KB/sec)
Sep 14 08:19:15 www kernel: ide-tape: hdb <-> ht0: 650KBps, 16*32kB buffer, 6336
kB pipeline, 100ms tDSC
Sep 14 08:19:15 www kernel: ide-tape: Reached idetape_chrdev_open
Sep 14 08:19:15 www kernel: ide-tape: ht0: I/O error, pc = 8, key = 5, asc = 2
c, ascq = 0

Any help would be appreciated.

Thanks.

-Jim Wartnick
All work and no play
4 REPLIES
Kodjo Agbenu
Honored Contributor

Re: HP Colorado 5GB internal, Red Hat 7.1, tape read problems

Hello Jim,

I read somewhere somebody suggesting to use the scsi emulation instead of native IDE tape driver.
I have no idea of how to implement this, however I guess you have to load the following drivers :

ide-scsi.o
sg.o (scsi generic)
st.o (scsi tape)

Somewhere in your /etc/modules.conf, you may have to add :

alias scsi_hostadapter ide-scsi

then you should normally be able to access your Colorado tape using /dev/st0.

Good luck.

Kodjo
Learn and explain...
I_M
Honored Contributor

Re: HP Colorado 5GB internal, Red Hat 7.1, tape read problems

Hi,

If device file side confirm OK, please add
"bs= " option in dd command line.

masanari iida

Re: HP Colorado 5GB internal, Red Hat 7.1, tape read problems

Jim,

What is the firmware revision of the Tape Drive? If it is not 2.08, you should upgrade the firmware of the drive. This version of the firmware corrects several issues that can occur over time which directly affect the drives ability to read.

Allen.
I_M
Honored Contributor

Re: HP Colorado 5GB internal, Red Hat 7.1, tape read problems

Hello again,

When I see Alan's 2.4.9-ac17 change log, I found following.

o ide-tape fixes for HP colorado


I don't know the detail,though.

masanari iida