Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: irt@unixa.nerc-keyworth.ac.uk (Ian Talbot)
Subject: Re: DAT tape drive on Alpha/OSF ?
Date: 1995/06/30	[thread overview]
Message-ID: <3t07n3$cjc@kwuz.nerc-keyworth.ac.uk> (raw)
In-Reply-To: Daniel.Brunelle.2.00093294@nrc.ca

In article 00093294@nrc.ca, Daniel.Brunelle@nrc.ca (Daniel Brunelle) writes:
> I connected a standard DAT tape drive (form Archive corporation model 
> 4354XP) on a Alpha Box running OSF/1.
>   
> How do I create the device driver for it ?
> 
> I tried :
> 
> # cd /dev
> # ./MAKEDEV rmt
> MAKEDEV: special files(s) for rmt:
> MAKEDEV: unknown device in: rmt


Hi

A little bit of fiddling required here - unlike a Sun, say, where it's dead easy!

Shut the system down;
/usr/sbin/shutdown -h
 
Attach the hardware
 
Power on, and shutdown again if the system is in automatic
multiuser boot mode.
 
show dev
 
Note the device name of the tape, e.g. DAT, (the DEC DAT),
Python ( the Sun DAT)
Note what is in the ADDR field. It should say something like
B/3/0. This means SCSI address 3 on the second SCSI bus.
 
boot the system
 
Edit the /sys/conf/<NODENAME> file.
 Do a search for 'disk' to find the
SCSI device bit. Add a line something like this :
 
controller      scsi0      at tcds0     slot  0
device disk     rz2        at scsi0     drive     16
device disk     rz3        at scsi0     drive     24
device disk     rz4        at scsi0     drive     32
controller      scsi1      at tcds0     slot  1
device disk     rz8        at scsi1     drive     64
device disk     rz9        at scsi1     drive     72
device tape     tz11       at scsi1     drive     88
device tape     tz13       at scsi1     drive     104
 
If you're adding a disk, use rz<n>, if it's a tape tz<n>, where n is the SCSI
id.
Taking device tz11 above as an example, if the letter prefix you got
(B/3/0) is A the device is on scsi0, B it's on scsi1 etc. If it's on scsi1 add 8
to the absolute scsi number for that bus to get 11. THEN you have to
multiply this scsi number by 8 to get the LUN - 88.
 
Once you've done the editing, do a doconfig -c <NODENAME>. Don't
edit the configuration file (you've already done it).
 
Save the old kernel, and move the new one in, then reboot.
 
mv /vmunix /vmunix.old
mv /sys/<NODENAME>/vmunix /vmunix
/usr/sbin/shutdown -r
 
See if the kernel has recognised the device;
/usr/bin/uerf -c oper -R  | more
and look for the new device.
If there isn't one, this isn't going to work!
If there is, you may still need to make the special devices.
 
cd /dev
Look for the special device (tz<n>, rz<n>). If it is not there,
./MAKEDEV tz<n> <devicename>
where n is the SCSI id and <devicename> is what
show dev says it is.
 
At this point the device should be usable ( maybe)

Hope this helps

Ian Talbot





      parent reply	other threads:[~1995-06-30  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-06-29  4:00 DAT tape drive on Alpha/OSF ? Daniel Brunelle
1995-06-30  4:00 ` Joerg Rottland
1995-06-30  4:00   ` Christophe MATHIEU
1995-06-30  4:00 ` Ian Talbot [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox