LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 09-24-2002, 04:44 AM   #1
bimble
Member
 
Registered: Dec 2001
Location: Chester, GBR
Distribution: Mostly Ubuntu
Posts: 48

Rep: Reputation: 15
Travan tape drive


Am having trouble using a tape drive:

Tape is Seagate TapeStor Travan on ATAPI i/face (2nd mas.)

O/S is Corel Linux (Debian kern v.2.2.12)

On boot O/S recognises tape on 2nd mas. = /dev/hdc

Have created symlink /dev/tape --> /dev/hdc

When using mt to (eg) rewind tape, get 'mt: /dev/tape is not a character special file' - I know, it's block special!

What am I doing wrong? Can I just make /dev/hdc character special with mkdev?

Pls help!
 
Old 10-16-2002, 06:29 AM   #2
bimble
Member
 
Registered: Dec 2001
Location: Chester, GBR
Distribution: Mostly Ubuntu
Posts: 48

Original Poster
Rep: Reputation: 15
Update:

I've replaced the /dev/hdc block special with a character special using 'mknod hdc c 22 0'

Now when I try 'mt rewind' I get 'Operation not supported by device'

Any thoughts?

I don't know if I even got the right device since I guessed at using '0' to indicate channel master after not being able to find anything on device numbers.
 
Old 10-02-2003, 12:14 PM   #3
Schardenzar
LQ Newbie
 
Registered: Oct 2003
Location: Chicago, IL
Distribution: RedHat, SuSE, Knoppix
Posts: 2

Rep: Reputation: 0
Thumbs up Seagate IDE Travan Tape Drive on Linux

With the help of this and other formums, I was !finally! able to get my Seagate STT3401A Travan IDE tape drive working under:
SuSE 8.2 (kernel 2.4.22). I believe that this solution will work for other distros (RedHat) and kernels based on my research. The trick is: Treat it like a SCSI drive, even though it is NOT one. Yep, not obvious to this "module newbie", but even Seagate's web site implies this, see:
http://www.seagate.com/support/tape/...iag.html#linux
So here is what I did (some steps may be extraneous):
1) If you are not compiling your kernel then skip step 2.
2) If you are compiling your kernel, compile in the SCSI base statically and the SCSI tape as a module. Also compile in the ATAPI tape as a module. This driver should work (but it doesn't) so I do this on principal and as a protest. Install kernel, modules, set boot loader, and reboot.
3) rmmod ide-tape (the kernel will default to this (possibly) broken driver)
4) rmmod ide-scsi (just to make sure)
5) modprobe ide-scsi
6) hwinfo --scsi (to check that the tape drive has the scsi driver loaded)
Step 6 will get you the device name (/dev/st0 on mine). However, I have "read" that it is wise to instead use /dev/nst0 for backup commands. This device (alias) will not not rewind the tape and overwrite the begining on large backups. Now you can do stuff like:
mt -f /dev/nst0 status
mt -f /dev/nst0 rewind (yes, it will rewind like this)
tar cvf /dev/nst0 .

Hope this saves someone the time that I lost "spinning my wheels"...
- Wes
 
Old 08-05-2004, 07:46 PM   #4
rtg2001
LQ Newbie
 
Registered: Aug 2004
Posts: 7

Rep: Reputation: 0
I tried this and got this at step 4:
ERROR: Module ide_scsi does not exist in /proc/modules
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Floppy drive interfaced tape drive in Slackware isolationist Linux - Hardware 6 02-13-2006 05:54 AM
Travan 40 IDE Tape Drive Kaashar Mandriva 1 10-25-2004 04:34 PM
can't mount seagate travan tape drive slacard Slackware 2 03-08-2004 07:14 AM
Travan tape streamer problem slothpuck Linux - Hardware 1 07-04-2003 05:53 AM
Installing Travan SCSI Tape Drive bubbagates Linux - General 1 05-01-2002 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:39 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration