Subject: Re: Hi all
To: None <nivoit_jea@lsi.supelec.fr>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-hp300
Date: 11/04/1996 11:05:34
On Sat, 2 Nov 1996 23:25:34 +0200 
 nivoit_jea@lsi.supelec.fr wrote:

 > scheme , since I am more of a Linux/i386 person (sorry to say that :-)...
 > When I boot from tape, the 9144A is at select code 7, address0, and the hard 
 > disk is at select code 14, address 2... when I blindly try to enter the
 > number 
 > after calculating it from the formula given in the INSTALL file, it says
 > 'Device 
 > not configured'... what am I doing wrong ?

Ok, so a quick review of how that number is calculated seems to be in
order...

Let's assume you have two HP-IB controllers, one at select code 7, one
at select code 14.  The boot block assigns "unit" numbers to the controllers
in select code order.  In the case of your system:

	select code		controller unit
	-----------		---------------
	7			0
	14			1

Thus, to access the disk at slave address 2 of the second controller (the
one at sc14):

	<disk unit> = (<controller unit> * 8) + <slave address>
	10 = (1 * 8) + 2

If this formula doesn't work for others, I'll need some help debugging
it from others, since I cannot reproduce the mode of failure you
describe.

It's important to note that HP-IB and SCSI controllers are counted
independent of each other.  That is to say that if you threw in a
SCSI controller at select code 15 in there, the disk unit for the
disk at slave 2 would be 2, since it's on the first SCSI controller.

 > install from NFS from my linux box holding the NetBSD-1.2 distribution,
 > after 
 > having booted from the tape...?

Yes, that should work fine.

 > 	I thank everyone who'll answer me. I don't really know the customs of 
 > the NetBSD community, but I hope this will not be taken as spam or whatever!

No problem.. that's what these mailing lists are for, to ask questions
and get them answered :-)  I'm fairly busy these days (booked solid until
December), but I'll try to help as much as I can.

Good luck!

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939