LinuxQuestions.org
Help answer threads with 0 replies.
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 07-07-2006, 07:00 PM   #1
FiveFlat
Member
 
Registered: May 2003
Location: N. California
Distribution: FC3 2.6.9
Posts: 110

Rep: Reputation: 15
FC5 and scsi tape drive troubles


I have FC5 installed and my scsi DAT tape drive is detected just fine in dmesg.
However, there is no such device at /dev/st0 or /dev/nst0. FC5 doesn't have the command 'mt' and I have no idea where to go from here. Any help/suggestions would be very welcome!

Regards!
 
Old 07-07-2006, 07:32 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
You can get an rpm package of mt from http://rpm.pbone.net

Not at my desktop with scsi dat drive so not sure what to check.
Lets see what the output of the following commands
cat /proc/scsi/scsi

Brian1
 
Old 07-07-2006, 11:30 PM   #3
FiveFlat
Member
 
Registered: May 2003
Location: N. California
Distribution: FC3 2.6.9
Posts: 110

Original Poster
Rep: Reputation: 15
[sheldon@home dev]$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: HP Model: C1537A Rev: L105
Type: Sequential-Access ANSI SCSI revision: 02
[sheldon@home dev]$
 
Old 07-08-2006, 09:24 AM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I wonder if the st module is loaded. Type the command ' lsmod ' and post results. Mostly looking for a line like this containing st module
Code:
aic7xxx               134708  11 
scsi_transport_spi     26240  1 aic7xxx
sd_mod                 23168  17 
scsi_mod              132008  6 usb_storage,st,sr_mod,aic7xxx,scsi_transport_spi,sd_mod
and my cat /proc/scsi/scsi
Code:
> cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: DDYS-T36950M     Rev: SC4D
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: IBM      Model: DDYS-T36950M     Rev: SC4D
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: IBM      Model: DDYS-T36950M     Rev: SC4D
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: IBM      Model: DDYS-T36950M     Rev: SC4D
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: IBM      Model: DDYS-T36950M     Rev: SC4D
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: IBM      Model: DDYS-T36950M     Rev: SC4D
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 05 Lun: 00
  Vendor: MATSHITA Model: DVD-RAM LF-D200  Rev: A120
  Type:   CD-ROM                           ANSI SCSI revision: 04
Host: scsi1 Channel: 00 Id: 06 Lun: 00
  Vendor: SONY     Model: SDT-9000         Rev: 0400
  Type:   Sequential-Access                ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: Y-E DATA Model: CF Card Reader   Rev: 1.03
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 01
  Vendor: Y-E DATA Model: SM Card Reader   Rev: 1.03
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 02
  Vendor: Y-E DATA Model: MS Card Reader   Rev: 1.03
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 03
  Vendor: Y-E DATA Model: SD Card Reader   Rev: 1.03
  Type:   Direct-Access                    ANSI SCSI revision: 02
Finally had time to ssh to my desktop to get this info. I listed all scsi modules loaded on the machine.

If you have no st module then as root use the command to load it.
/sbin/modprobe st

Lets see if that helps.
Brian1

Last edited by Brian1; 07-08-2006 at 09:25 AM.
 
Old 07-08-2006, 09:35 PM   #5
FiveFlat
Member
 
Registered: May 2003
Location: N. California
Distribution: FC3 2.6.9
Posts: 110

Original Poster
Rep: Reputation: 15
Here's my results:
Code:
[sheldon@home dev]$ /sbin/lsmod
Module                  Size  Used by
dm_mod                 50009  6 dm_snapshot,dm_zero,dm_mirror
ext3                  116169  2
jbd                    52693  1 ext3
ata_piix                9925  0
libata                 53969  1 ata_piix
aic7xxx               129525  0
scsi_transport_spi     21185  1 aic7xxx
sd_mod                 16449  0
scsi_mod              124649  6 st,sg,libata,aic7xxx,scsi_transport_spi,sd_mod
Looks like I infact have it on the bottom line

Last edited by FiveFlat; 07-08-2006 at 09:43 PM.
 
Old 07-08-2006, 09:49 PM   #6
FiveFlat
Member
 
Registered: May 2003
Location: N. California
Distribution: FC3 2.6.9
Posts: 110

Original Poster
Rep: Reputation: 15
I've heard it said that FC5 replaced the 'mt' command with 'scsitape' is this true? Even if it is, 'scsitape' results in "command not found".
 
Old 07-08-2006, 10:22 PM   #7
FiveFlat
Member
 
Registered: May 2003
Location: N. California
Distribution: FC3 2.6.9
Posts: 110

Original Poster
Rep: Reputation: 15
ah ha... I rebooted the system and I noticed that the green led was ON on the front of the tape drive this time. (I originally shoved a tape in there, it loaded and I had no lights) I didn't know that I was supposed to have a green light on simply when the tape is loaded.
so I tried a:
Code:
tar -tf /dev/st0
and it burst into life. So now, I just have to figure out why the hell FC5 doesn't include the 'mt' command.
 
Old 07-09-2006, 10:27 AM   #8
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
All distro differ in what they package based on what they believe most users of the distro are going to use.

edit:
Going over to fedora core site and looking through the mirrors site of fc5 rpms, it shows the mt-st package. It can be gotten here. http://mirror.linux.duke.edu/pub/fed...2.2.1.i386.rpm

Now why you may not have it installed may depend on the choices of packages during your installation. So more than likely the rpm is on the install CD or can be gotten from above link.

As far as the LEDs I am not sure since never seen that model or worked with one. Might refer to the manuafactors site for led status.

edit:
To see if you have it installed type ' rpm -qa | grep mt
edit:

Brian1

Last edited by Brian1; 07-09-2006 at 04:16 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help w/ SCSI Tape Drive verbal Linux - Hardware 13 05-20-2011 11:10 PM
SCSI Tape drive imahdi Solaris / OpenSolaris 1 01-05-2005 01:17 AM
SCSI tape drive sbalasuriya Linux - Hardware 9 08-11-2004 08:41 PM
SCSI Tape Drive ghaas Red Hat 0 11-15-2003 03:38 PM
SCSI Tape Drive da_tibmeister Slackware 0 10-08-2003 08:42 AM

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

All times are GMT -5. The time now is 06:08 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