LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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

Reply
 
LinkBack Search this Thread
Old 03-01-2006, 09:37 AM   #1
z3r0star21
LQ Newbie
 
Registered: Oct 2003
Location: Nashville
Distribution: Gentoo
Posts: 14

Rep: Reputation: 0
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
 
Old 03-01-2006, 10:48 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,284

Rep: Reputation: 136Reputation: 136
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.
 
Old 03-01-2006, 01:12 PM   #3
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
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.
 
Old 03-02-2006, 03:13 PM   #4
z3r0star21
LQ Newbie
 
Registered: Oct 2003
Location: Nashville
Distribution: Gentoo
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 03-02-2006, 09:15 PM   #5
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,284

Rep: Reputation: 136Reputation: 136
See if the mt command works. Try running:

# mt /dev/ht0 rewind

or

# mt /dev/ht0 reten
 
Old 03-02-2006, 10:02 PM   #6
z3r0star21
LQ Newbie
 
Registered: Oct 2003
Location: Nashville
Distribution: Gentoo
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackwater 8.1 - ultra133 TX2 (maxtor) problem Cohobin Slackware 12 02-09-2006 09:19 PM
Promise Ultra133 TX2 under Debian Sarge mtg2k Linux - Hardware 2 10-09-2004 08:15 PM
dumb question about 10.0 and ultra133 tx2 install linoverwin Mandriva 1 08-15-2004 10:17 AM
Promise Ultra133 Tx2 Controller Card w/ Mandrake hawkwind Linux - Hardware 1 02-16-2004 05:41 PM
Promise Ultra133 TX2 HeLL Linux - Hardware 8 08-27-2003 03:34 PM


All times are GMT -5. The time now is 02:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration