Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* DAT tape drive on Alpha/OSF ?
@ 1995-06-29  4:00 Daniel Brunelle
  1995-06-30  4:00 ` Ian Talbot
  1995-06-30  4:00 ` Joerg Rottland
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Brunelle @ 1995-06-29  4:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DAT tape drive on Alpha/OSF ?
  1995-06-29  4:00 DAT tape drive on Alpha/OSF ? Daniel Brunelle
@ 1995-06-30  4:00 ` Ian Talbot
  1995-06-30  4:00 ` Joerg Rottland
  1 sibling, 0 replies; 4+ messages in thread
From: Ian Talbot @ 1995-06-30  4:00 UTC (permalink / raw)


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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DAT tape drive on Alpha/OSF ?
  1995-06-29  4:00 DAT tape drive on Alpha/OSF ? Daniel Brunelle
  1995-06-30  4:00 ` Ian Talbot
@ 1995-06-30  4:00 ` Joerg Rottland
  1995-06-30  4:00   ` Christophe MATHIEU
  1 sibling, 1 reply; 4+ messages in thread
From: Joerg Rottland @ 1995-06-30  4:00 UTC (permalink / raw)


Daniel.Brunelle@nrc.ca (Daniel Brunelle) wrote:
>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

Configure your kernel to detect the tape (/usr/sys/conf/HOSTNAME)
add a line like:
device tape     tz#        at asc0      drive     #*8
(#=scsi ID of your streamer)


build the new kernel

reboot

# cd /dev
/MAKEDEV/tz#         (#=scsi ID of your streamer)

and devices like rmt0h, rmt0l, etc. are build.

Joerg
-- 
================================o&o=========================================
Joerg Rottland                  FZR          rottland@fb9-ti.uni-duisburg.de
Technische Informatik            |        http://www.fb9-ti.uni-duisburg.de/
FB9/Elektrotechnik               |
Gerhard-Mercator Universitaet    |                      Tel:+49 203 3789 224
D-47057 Duisburg                 |                      Fax:+49 203 3789 363




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DAT tape drive on Alpha/OSF ?
  1995-06-30  4:00 ` Joerg Rottland
@ 1995-06-30  4:00   ` Christophe MATHIEU
  0 siblings, 0 replies; 4+ messages in thread
From: Christophe MATHIEU @ 1995-06-30  4:00 UTC (permalink / raw)
  To: mathieu

you have to build a new kernel able to detect the new device.
I have added a storage Works on a alpha server 2100 and followed
this procedure :
	- rename the kernel : mv vmunix vmunix.old (for security)
	- shutdown -h now
	- boot -file genvmunix : boot on the default kernel
	- tape doconfig to configure and build a new kernel
	- put the new kernel in root dir. : mv /sys/YOUR_HOSTNAME/vmunix /
	- reboot your server, and make the device : cd /dev, MAKEDEV rmt.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Christophe Mathieu




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-06-30  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-29  4:00 DAT tape drive on Alpha/OSF ? Daniel Brunelle
1995-06-30  4:00 ` Ian Talbot
1995-06-30  4:00 ` Joerg Rottland
1995-06-30  4:00   ` Christophe MATHIEU

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