LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Glen Turner <glen.turner@aarnet.edu.au>
To : Andrew Reid <andrew.reid@plug.cx>
Date: Thu, 30 Nov 2000 20:26:13 +1030
Re: DAT Drive Wierdness
Andrew Reid wrote:
>
> All-of-a-sudden, the tape device (/dev/st0) reports as no device when I
> use mt (ie mt -f /dev/st0 rewind) it gives me a "/dev/st0 - no such
> device
Have a look at the startup messages (using dmesg) and make
sure that the drive is still being assigned st0. You should
see a line like the last line of this output:
> scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.28/3.2.4
> <Adaptec AHA-294X SCSI host adapter>
> scsi : 1 host.
> (scsi0:0:6:0) Synchronous at 10.0 Mbyte/sec, offset 8.
> Vendor: HP Model: C1533A Rev: 9608
> Type: Sequential-Access ANSI SCSI revision: 02
> Detected scsi tape st0 at scsi0, channel 0, id 6, lun 0
Also make sure that the /etc/modules.conf file is correct. You
need to define the controller. And then define the st middle
level driver for the device minor number that was discovered.
> # Controller: AHA-2940 (PCI), a AIC-7xxx variant
> # SCSI physical: narrow, not differential
> # SCSI ID: 7
> # Connector: HP-CEN
> alias scsi_hostadapter aic7xxx
> # Tape: HP SureStore 6000 (model C1529-62702), 6MB on 120m DAT-2 with compression
> # SCSI physical: narrow, not differential
> # SCSI ID: 5
> # Connector: Centronics
> # Termination: external passive Centronics
> # it is the zeroth (and only) device detected on the SCSI
> # bus, so has minor number 0 for /dev/st0 and 128 for
> # /dev/nst0.
> alias char-major-9-0 st
> alias char-major-9-128 st
You should also have some symbolic links to the default tape drive:
cd /dev
ln -s st0 tape
ln -s nst0 ntape
This is all a right pain, and it takes a while to get your
head about the way Linux treats SCSI tape drives. devfs in
2.4 fixes a lot of this nonsense.
--
Glen Turner Network Engineer
(08) 8303 3936 Australian Academic and Research Network
glen.turner@aarnet.edu.au http://www.aarnet.edu.au/
--
The revolution will not be televised, it will be digitised
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page