>> >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! |