Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Pedro M. Matias" <matias@itqb.unl.pt>
To: John.Hasstedt@sunysb.edu
Subject: Re: Adding a tape drive
Date: 2000/01/19	[thread overview]
Message-ID: <3885C32F.BBAE5FE0@itqb.unl.pt> (raw)
In-Reply-To: 3885b5c3_1@dilbert.ic.sunysb.edu



John Hasstedt wrote:

> I am running "Digital UNIX V4.0F  (Rev. 1229); Tue Sep 28
> 15:48:32 GMT 1999" on a PWS 500au.  I added a KZPBA-CA SCSI
> adapter to it and connected an Exabyte tape drive to it.  SHOW
> DEVICE at the console shows the tape drive as MKD0:.
>
> I booted the system and added the device files using bus 3,
> target ID 0, and LUN 0:
>
>   mknod /dev/rmt0l c 9 49152
>   mknod /dev/rmt0h c 9 49154
>   etc.
>

I think it is preferable to use /dev/MAKEDEV tzn where n is the SCSI ID
(shows
up at boot time or use uerf -c oper to check startup log.

>
> However, I cannot access the drive.  mt -f /dev/rmt0h status
> reports "No such device or address".  The scu command show edt
> reports:
>
> CAM Equipment Device Table (EDT) Information:
>
>     Device: CD-ROM XM-6302B Bus: 1, Target: 0, Lun: 0, Type: Read-Only
>                Direct Access
>     Device: BB00921B91 Bus: 2, Target: 0, Lun: 0, Type: Direct Access
>
> What do I need to do to get Unix to recognize the tape drive?
>
> ...

Hi.

You need to update the system configuration and re-compile the kernel.

1. Reboot using generic UX kernel (filename genvmunix)
2. run command sizer -n filename to create a configuration file in
/tmp/filename
3. Edit your system configuration name in /usr/sys/conf/HOSTNAME to
include
   the new SCSI adapter
... something like this ...
device disk     fd0        at fdi0      drive     0
bus             ata0       at pci0      slot  107
controller      scsi0      at ata0      slot  0
bus             ata1       at pci0      slot  207
controller      scsi1      at ata1      slot  0
bus             isp0       at pci0      slot  11 vector    ispintr
controller      scsi2      at isp0      slot  0
...


4. re-compile the kernel with doconfig -c HOSTNAME
5. move the new vmunix kernel to / (make a backup copy of the previous
kernel!)
6. Reboot. The system should create the tape device entries. Make sure you
have
    removed all /dev/*mt0* first otherwise the tape will use device number
1 instead of 0.

I hope I haven't forgotten anything. Good luck,

Pedro..




  reply	other threads:[~2000-01-19  5:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-19  5:00 Adding a tape drive John Hasstedt
2000-01-19  5:00 ` Pedro M. Matias [this message]
2000-01-20  5:00   ` John Hasstedt
2000-01-21  5:00 ` J. de Wit
2000-01-21  5:00   ` Stuart R. Fuller
2000-01-23  5:00     ` Ed Wensell III
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