mknod question (SCSI Streamer HP DAT under Suse Linux)

mknod question (SCSI Streamer HP DAT under Suse Linux)

Post by Martin Bodensted » Wed, 19 Sep 2001 17:18:30



Hi,

in my Suse Linux machine I have two SCSI controllers (on one are my disks
and on the second is my tape). Doing a "cat /proc/scsi/scsi" shows my HP
tape (econd controller, SCSI ID 3). But I cannot access it using the mt
command.
So my suspicion is I have to "mknod" a tape device.

given the many parameters mknod takes I wonder whether someone can give me
an idea...

--

Martin

 
 
 

mknod question (SCSI Streamer HP DAT under Suse Linux)

Post by Bernd Felsch » Wed, 19 Sep 2001 19:40:10



>in my Suse Linux machine I have two SCSI controllers (on one are my disks
>and on the second is my tape). Doing a "cat /proc/scsi/scsi" shows my HP
>tape (econd controller, SCSI ID 3). But I cannot access it using the mt
>command.
>So my suspicion is I have to "mknod" a tape device.
>given the many parameters mknod takes I wonder whether someone can give me
>an idea...

See if you have some /dev/*st*

/dev/st0 and /dev/nst0 are the nodes for the first streaming tape,
/dev/st1 and /dev/nst1 for the second.

What happens when you
        $ mt -f /dev/nst0 status
??

Check the output of the demsg command for tape devices.
        $ dmesg | grep -i tape
or
        $ grep tape /var/log/messages

It may be that you don't have tape drives supported in your kernel.
Did you compile it yourself?
--
 /"\  Bernd Felsche - Innovative Reckoning, Perth, Western Australia
 \ /      ASCII ribbon campaign | I'm a .signature virus!       |
  X       against HTML mail     | Copy me into your ~/.signature|
 / \      and postings          | to help me spread!            |

 
 
 

mknod question (SCSI Streamer HP DAT under Suse Linux)

Post by Martin Bodensted » Wed, 19 Sep 2001 20:24:07





> >in my Suse Linux machine I have two SCSI controllers (on one are my disks
> >and on the second is my tape). Doing a "cat /proc/scsi/scsi" shows my HP
> >tape (econd controller, SCSI ID 3). But I cannot access it using the mt
> >command.
> >So my suspicion is I have to "mknod" a tape device.

> >given the many parameters mknod takes I wonder whether someone can give
me
> >an idea...

> See if you have some /dev/*st*

doing a "mkmod /dev/st0 c 9 0" tells me the file is there (same as for
nst0).

Quote:

> /dev/st0 and /dev/nst0 are the nodes for the first streaming tape,
> /dev/st1 and /dev/nst1 for the second.

> What happens when you
> $ mt -f /dev/nst0 status
> ??

"no such device" or something similar...

Quote:

> Check the output of the demsg command for tape devices.
> $ dmesg | grep -i tape
> or
> $ grep tape /var/log/messages

> It may be that you don't have tape drives supported in your kernel.
> Did you compile it yourself?

no, I didn't (the machine was delivered to us as part of a firewall
solution).

How do I add Tape support (I don't have a GUI but only CLI).
How do I check for Tape support ?

Thanx for your information...

--

Martin

 
 
 

mknod question (SCSI Streamer HP DAT under Suse Linux)

Post by Bernd Felsch » Thu, 20 Sep 2001 10:40:21






>> >in my Suse Linux machine I have two SCSI controllers (on one are my disks
>> >and on the second is my tape). Doing a "cat /proc/scsi/scsi" shows my HP
>> >tape (econd controller, SCSI ID 3). But I cannot access it using the mt
>> >command.

>> See if you have some /dev/*st*
>doing a "mkmod /dev/st0 c 9 0" tells me the file is there (same as for
>nst0).
>> /dev/st0 and /dev/nst0 are the nodes for the first streaming tape,
>> /dev/st1 and /dev/nst1 for the second.

>> What happens when you
>> $ mt -f /dev/nst0 status
>> ??
>"no such device" or something similar...

With media loaded? Some tape drives need to be "kicked" a few times
before making sense after a media change.

Quote:>> Check the output of the demsg command for tape devices.
>> $ dmesg | grep -i tape
>> or
>> $ grep tape /var/log/messages

>> It may be that you don't have tape drives supported in your kernel.
>> Did you compile it yourself?
>no, I didn't (the machine was delivered to us as part of a firewall
>solution).
>How do I add Tape support (I don't have a GUI but only CLI).
>How do I check for Tape support ?

See if you have a config.gz in /proc

If it's there:
        $ zgrep -i CONFIG_CHR_DEV_ST /proc/config.gz
which should produce something like:
        CONFIG_CHR_DEV_ST=y

Or SCSI tape support may have been configured as a module; a
        # modprobe st
might get you going if
        CONFIG_CHR_DEV_ST=m

NB: I haven't checked tape support as a module on my system.

If you need to add kernel support (and you don't want to, or can't
runn a GUI) then do a
        # make menuconfig
etc. in /usr/src/linux for a menu-driven configuration.

One hack, to ensure that you have the same starting config as the
running system is to

        # cd /usr/src/linux
        # mv .config .config.dist
        # zcat /proc/config.gz > .config
then
        # make menuconfig

The SuSE manual is fairly good at describing the build process so I
won't go into the details. :-)

--
 /"\  Bernd Felsche - Innovative Reckoning, Perth, Western Australia
 \ /      ASCII ribbon campaign | I'm a .signature virus!       |
  X       against HTML mail     | Copy me into your ~/.signature|
 / \      and postings          | to help me spread!            |

 
 
 

1. DAT Tape Streamer in Suse Linux?

Hi,
can anyone tell me, how to get an Seagate/"Archive-Phyton" Scsi DAT streamer
working in SUSE Linux?

It is recognized in Bootup, but i can not reach this device within Linux. If
it just for the model: I own an older HP-Streamer 2 GB w/o compression too.

--
Alexander Ziemann, Berlin

2. incompatible or unformatted media more infos

3. F: HP DAT-STREAMER FüR LINUX

4. Can X turn off the monitor ?

5. Dat-3 Streamer: Read Linux Tapes with HP-UX

6. Hash database for SCO

7. F: HP DAT-STREAMER FüR LINUX

8. sound and mklinux?

9. HP C1533 Streamer under SuSE Linux 8.1

10. Mount HP-Dat Streamer?

11. HP DDS3 DAT-Streamer: Format

12. HP Dat Streamer 1533a

13. Using HP DAT Streamer under SCO v.3.2.4.2