Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!vrdxhq!dgis!eplrx7!lad
From: lad@eplrx7.UUCP (Lawrence Dziegielewski)
Newsgroups: comp.bugs.4bsd,comp.unix.wizards
Subject: Re: Cant access disks on second UDA50
Message-ID: <441@eplrx7.UUCP>
Date: Fri, 17-Jul-87 10:20:02 EDT
Article-I.D.: eplrx7.441
Posted: Fri Jul 17 10:20:02 1987
Date-Received: Sat, 18-Jul-87 18:36:32 EDT
References: <6683@dartvax.UUCP>
Organization: E.I. DuPont Co. Engineering Physics Lab
Lines: 47
Keywords: unibus uda50
Summary: You're config might be wrong
Xref: mnetor comp.bugs.4bsd:454 comp.unix.wizards:3296

In article <6683@dartvax.UUCP>, steve@dartvax.UUCP (Steve Campbell) writes:
> 
> For testing purposes, we moved 2 RA81s from uda0 to uda1, so in terms of the
> config file we went from this...
> 
> controller	uda0	at uba0 csr 0172150		vector udintr
> disk		ra0	at uda0 drive 0
> disk		ra1	at uda0 drive 1
> disk		ra2	at uda0 drive 2
> disk		ra3	at uda0 drive 3
> 
> ...to this...
> 
> controller	uda0	at uba0 csr 0172150		vector udintr
> disk		ra0	at uda0 drive 0
> disk		ra1	at uda0 drive 1
> controller	uda1	at uba0 csr 0172550		vector udintr
> disk		ra2	at uda1 drive 2
> disk		ra3	at uda1 drive 3
> 
I have 2 uda's running on several MicroVaxes,  and they all run fine.  I
suspect that it's you config that may be wrong.  Each uda can support 4
devices,  and you have to (or should) tell config about them.  So,  your
config should look like this:

controller	uda0	at uba0 csr 0172150		vector udintr
disk		ra0	at uda0 drive 0
disk		ra1	at uda0 drive 1
disk		ra2	at uda0 drive 2
disk		ra3	at uda0 drive 3
controller	uda1	at uba0 csr 0172550(or 0160334)	vector udintr
disk		ra4	at uda1 drive 0
disk		ra5	at uda1 drive 1
disk		ra6	at uda1 drive 2
disk		ra7	at uda1 drive 3

In your configuration,  you're asking unix to find ra2 on uda1 drive 2.
This is not logically possible.  uda0 supports ra0, 1 ,2 and 3,  and the
next uda device will support ra4, 5, 6 and 7.  That is what works for me.
Also,  logical drive ra4 must be at physical drive 0 on the 2nd uda(not 2).
Now I'll admit I don't have this up on a 785,  but it does work for the 3
MicarVaxes I run.  And I also use the secondary uda address of 0160334 in
the MVaxes floating address space.  You may want to check on the uda
secondary address on a 785,  but I don't know why it'd be different.

I suggest you try the above configuration.  You can even call me if you get
stuck,  I have done this so many times I think I could do it in my sleep.