Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Adding a tape drive
@ 2000-01-19  5:00 John Hasstedt
  2000-01-19  5:00 ` Pedro M. Matias
  2000-01-21  5:00 ` J. de Wit
  0 siblings, 2 replies; 6+ messages in thread
From: John Hasstedt @ 2000-01-19  5:00 UTC (permalink / raw)


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.

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?

Thanks,
--
John Hasstedt                     Email: John.Hasstedt@sunysb.edu
Physics & Astronomy Department    Phone: 631-632-8169 or 631-632-8153
State University of New York      FAX: 631-632-8573
Stony Brook, NY  11794-3800  USA



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

* Re: Adding a tape drive
  2000-01-19  5:00 Adding a tape drive John Hasstedt
@ 2000-01-19  5:00 ` Pedro M. Matias
  2000-01-20  5:00   ` John Hasstedt
  2000-01-21  5:00 ` J. de Wit
  1 sibling, 1 reply; 6+ messages in thread
From: Pedro M. Matias @ 2000-01-19  5:00 UTC (permalink / raw)
  To: John.Hasstedt



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..




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

* Re: Adding a tape drive
  2000-01-19  5:00 ` Pedro M. Matias
@ 2000-01-20  5:00   ` John Hasstedt
  0 siblings, 0 replies; 6+ messages in thread
From: John Hasstedt @ 2000-01-20  5:00 UTC (permalink / raw)


Pedro,

Thanks for the help--this did it.

John

In article <3885C32F.BBAE5FE0@itqb.unl.pt>, "Pedro M. Matias" <matias@itqb.unl.pt> writes:
>
>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:.
>>
>> ...
>>
>> 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.
>
>...
--
John Hasstedt                     Email: John.Hasstedt@sunysb.edu
Physics & Astronomy Department    Phone: 631-632-8169 or 631-632-8153
State University of New York      FAX: 631-632-8573
Stony Brook, NY  11794-3800  USA



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

* Re: Adding a tape drive
  2000-01-19  5:00 Adding a tape drive John Hasstedt
  2000-01-19  5:00 ` Pedro M. Matias
@ 2000-01-21  5:00 ` J. de Wit
  2000-01-21  5:00   ` Stuart R. Fuller
  1 sibling, 1 reply; 6+ messages in thread
From: J. de Wit @ 2000-01-21  5:00 UTC (permalink / raw)


/dev/MAKEDEV typeoftapedevice



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

* Re: Adding a tape drive
  2000-01-21  5:00 ` J. de Wit
@ 2000-01-21  5:00   ` Stuart R. Fuller
  2000-01-23  5:00     ` Ed Wensell III
  0 siblings, 1 reply; 6+ messages in thread
From: Stuart R. Fuller @ 2000-01-21  5:00 UTC (permalink / raw)


J. de Wit (jwit00@news.nl.uu.net) wrote:
: /dev/MAKEDEV typeoftapedevice

Umm, so if I have a 4mm DAT drive, it's:

        /dev/MAKEDEV "4mm DAT drive" ??
        
        Stu



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

* Re: Adding a tape drive
  2000-01-21  5:00   ` Stuart R. Fuller
@ 2000-01-23  5:00     ` Ed Wensell III
  0 siblings, 0 replies; 6+ messages in thread
From: Ed Wensell III @ 2000-01-23  5:00 UTC (permalink / raw)


Stuart R. Fuller wrote:
> 
> J. de Wit (jwit00@news.nl.uu.net) wrote:
> : /dev/MAKEDEV typeoftapedevice
> 
> Umm, so if I have a 4mm DAT drive, it's:
> 
>         /dev/MAKEDEV "4mm DAT drive" ??
> 
>         Stu

This has already been answered further up, but...

I think typeoftapedevice is more along the lines of the tape/interface
combination, not media the tape uses. For example, most people can get
away with:

	/dev/MAKEDEV tz4

That would create the device special files for a tape (t) device on SCSI
(z) id four (4). This would do for just about any DAT, 8mm, or DLT drive
that had it's SCSI id set to 4 and was connected to the first "regular"
SCSI interface. IDE, HSZ, or other interfaces would probably need
different mnemonics. And it is also my understanding that device names
have TOTALLY changed under Tru64 (DUNIX 5.0??)... For all I know, you
actually use the word "tape" in there somewhere.

-- 
Until soon...
Ed Wensell III



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

end of thread, other threads:[~2000-01-23  5:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-19  5:00 Adding a tape drive John Hasstedt
2000-01-19  5:00 ` Pedro M. Matias
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

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