Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-01-2006, 09:37 AM
|
#1
|
LQ Newbie
Registered: Oct 2003
Location: Nashville
Distribution: Gentoo
Posts: 14
Rep:
|
Promise Ultra133 tx2 quantum stt320000a tape drive problem
I have gentoo linux system with a 2.6 kernel, with a promise ultra133tx2 controller that I am trying to get to work with a Quantum STT320000A ide tape drive. I compiled support for IDE tape drive in the kernel. The drive is dectected as hde, and I am supposed to use /dev/ht0 for the device. When I try to write to the drive with 'tar cpzf /dev/ht0 /home' I get an Input/Output Error, could not open the device.
The reason I'm trying to use the IDE controller card is because for some reason I cannot get the bios to detect the tape drive on the onboard IDE controllor. I have had to motherboards both Asus P4P800 series that would not detect the drive in the bios. All other systems i put the tape drive in, recognize the drive in the bios right away. I have swapped drive cables to check for a problem there.
Any direction would be apreciated.
Thanks
|
|
|
03-01-2006, 10:48 AM
|
#2
|
Senior Member
Registered: Oct 2003
Posts: 3,018
|
Did you compile ide-tape directly in the kernel or as a loadable module? If the latter, run:
# modprobe ide-tape
before trying to tar to the tape drive.
Other than that, I believe it may be a problem with your controller card. Most do not like anything other than hard drives attached to them. You may want to check the card documentation on that. IIRC my Promise Ultra100 card would not work properly with any optical drive connected to it; I imagine it would completely freak with an ide tape drive.
|
|
|
03-01-2006, 01:12 PM
|
#3
|
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151
Rep:
|
z3r0star21: During the BIOS startup/post, does the Promise BIOS output to the monitor show that the tape drive is being recognized?
In my case using Promise Ultra100/133 TX2 cards, optical drives and LS-120s (SuperDisk) work fine, but I have never tried anything else, other than hard drives, of course.
Also, the LS-120s are recognized and work properly, but they cannot be selected as boot drives from the system BIOS like you normally would do.
I would be surprised if you get the tape drive to work through the Promise card.
Last edited by WhatsHisName; 03-01-2006 at 01:20 PM.
|
|
|
03-02-2006, 03:13 PM
|
#4
|
LQ Newbie
Registered: Oct 2003
Location: Nashville
Distribution: Gentoo
Posts: 14
Original Poster
Rep:
|
I'm Still trying to work through this issue.
I'm Still trying to work through this issue.
ide-tape is compiled directly in the kernel. The controller does support more than just hard drives.
I tried once again to connect to tape drive to the onboard controller, and It is not detected in the bios, but my system log /var/log/dmesg has this in it.
ide-tape: hdc <-> ht0: Seagate STT20000A rev 8A51
ide-tape: hdc <-> ht0: 1000KBps, 6*54kB buffer, 9720kB pipeline, 108ms tDSC, DMA
So even though it's not detected in the bios, the krenel still detects the device, but I still cannot write to it. When i try to tar the first couple of times this is what happens.
# tar -cpzf /dev/ht0 /etc /home
tar: Removing leading `/' from member names
and then thats it. When i run that command a couple more times i eventually get this:
# tar -cpzf /dev/ht0 /etc /home
tar: Removing leading `/' from member names
tar: /dev/ht0: Cannot write: Input/output error
tar: Error is not recoverable: exiting now
Broken pipe
Am i missing something in the kernel? Not sure where i'm going wrong here?
Thanks for all your help so far.
|
|
|
03-02-2006, 09:15 PM
|
#5
|
Senior Member
Registered: Oct 2003
Posts: 3,018
|
See if the mt command works. Try running:
# mt /dev/ht0 rewind
or
# mt /dev/ht0 reten
|
|
|
03-02-2006, 10:02 PM
|
#6
|
LQ Newbie
Registered: Oct 2003
Location: Nashville
Distribution: Gentoo
Posts: 14
Original Poster
Rep:
|
Fixed it
Ok, I figured it out. The tape drive works both with the promise card, and on the onboard controller, even through it wasn't detected in the bios. The tape I was using came with the drive directly from Quantum, and guess what, the brand new tape was bad. I put a new tape in and, I issued the tar command and it worked. I just assumed that the new tape that came with the drive was a good tape.
Thanks for all your help.
|
|
|
All times are GMT -5. The time now is 10:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|