LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   FC5 and scsi tape drive troubles (https://www.linuxquestions.org/questions/linux-hardware-18/fc5-and-scsi-tape-drive-troubles-461924/)

FiveFlat 07-07-2006 07:00 PM

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!

Brian1 07-07-2006 07:32 PM

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

FiveFlat 07-07-2006 11:30 PM

[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]$

Brian1 07-08-2006 09:24 AM

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

FiveFlat 07-08-2006 09:35 PM

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

FiveFlat 07-08-2006 09:49 PM

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".

FiveFlat 07-08-2006 10:22 PM

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.

Brian1 07-09-2006 10:27 AM

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


All times are GMT -5. The time now is 05:13 AM.