LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Glen Turner <glen.turner@aarnet.edu.au>
To : <linuxsa@linuxsa.org.au>
Date: Mon, 13 Nov 2000 17:50:55 +1030
Adding SCSI tape drives
This is to save someone else the pain, as there's a huge
lack of info.
I've make the device accessible by members of the "disk" group.
This isn't necessary.
Operating System: Red Hat Linux 6.0
Establish "tape" pseudo-device:
su
cd /dev
./MAKEDEV st0
./MAKEDEV nst0
chgrp disk st0
chgrp disk nst0
newgrp disk
ln -s st0 tape
ln -s nst0 ntape
exit
exit
Set up modules:
su
vi /etc/conf.modules
# Controller: AHA-2940 (PCI)
# SCSI ID: 7
# Connector: HP-CEN
alias scsi_hostadapter aic7xxx
# Tape: HP SureStore 6000 (model C1529-62702)
# 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
depmod -a
exit
Test:
su
mt rewind
dmesg
exit
The successful output from dmesg is:
> st: bufsize 32768, wrt 30720, max buffers 4, s/g segs 16.
> (scsi0) <Adaptec AHA-294X SCSI host adapter> found at PCI 0/18/0
> (scsi0) Narrow Channel, SCSI ID=7, 16/255 SCBs
> (scsi0) Downloading sequencer code... 416 instructions downloaded
> enable_irq() unbalanced from c80853c7
> 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
--
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