LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   SCSI tape drive (https://www.linuxquestions.org/questions/linux-hardware-18/scsi-tape-drive-215536/)

sbalasuriya 08-09-2004 06:31 PM

SCSI tape drive
 
Hi Guys,

Want some help to get my tape drive work.

I have 2 SCSI disks and 1 SCSI tape drive. Disks are working fine.
But the tape drive not.

In /proc/scsi/scsi, I have

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: FUJITSU Model: MAP3367NC Rev: 5207
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: FUJITSU Model: MAP3367NC Rev: 5207
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 08 Lun: 00
Vendor: SDR Model: GEM318 Rev: 0
Type: Processor ANSI SCSI revision: 02


Why Type: Processor in the 3rd entry ?

When I issue " mt -f /dev/st0 status", I get "/dev/st0: No such device".

And when I issue "mt -f /dev/sg2 status", I get "/dev/sg2: Operation not permitted".

Thanks in advance for any help.

-San

Joey.Dale 08-09-2004 06:51 PM

do you have scsi tape support built into your kernel?

-Joey

idaho 08-09-2004 06:53 PM

In your /proc/scsi/scsi listing I don't see anything that looks like a tape drive.

From Google, I get:
FUJITSU Model: MAP3367NC > 36GB 80PIN SCSI FUJITSU DRIVE
FUJITSU Model: MAP3367NC > 36GB 80PIN SCSI FUJITSU DRIVE
SDR Model: GEM318 > Altos G700 BPL4 disk cage

Perhaps you need to check your power and SCSI cable connections?

sbalasuriya 08-10-2004 03:47 AM

Drive model
 
Hi,

Actually the drive model is STD2401LW.

Now I can 't find drivers from anywhare ?

michaelk 08-10-2004 03:55 AM

The only driver you need is the SCSI tape module st. What distro are you running?

If it isn't loading try:
modprobe st

sbalasuriya 08-10-2004 05:06 AM

It's RHEL 3.0.

[root@bear root]# modprobe st
[root@bear root]# mt -f /dev/st0 rewind
/dev/st0: No such device


May be I'll try a newer version of st ?

michaelk 08-10-2004 06:46 AM

Check the output of dmesg. Do you see the tape drive?
Also try
cat /proc/scsi/scsi
Does anything show for the drive?

The device might be something other than /dev/st0. Do you have a /dev/scsi directory?

sbalasuriya 08-10-2004 08:22 PM

I tried "dmesg|grep tape". Nothing.

But for dmesg|grep scsi it gives;

Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
Attached scsi generic sg2 at scsi0, channel 0, id 8, lun 0, type 3

----------------------------------------------------------------------------------

My /proc/scsi/scsi is;

[root@bear etc]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: FUJITSU Model: MAP3367NC Rev: 5207
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: FUJITSU Model: MAP3367NC Rev: 5207
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 08 Lun: 00
Vendor: SDR Model: GEM318 Rev: 0
Type: Processor ANSI SCSI revision: 02

--------------------------------------------------------------------------

In the last entry "Type: Processor" :(


And I don't have a /dev/scsi/ directory.

michaelk 08-11-2004 06:22 PM

Is the SCSI ID of the tape drive 8?
Are you using SCSI emulation?

sbalasuriya 08-11-2004 08:41 PM

Yes, ID 8.

>Are you using SCSI emulation?

How can I know ???

Regards.


All times are GMT -5. The time now is 01:09 PM.