Subject: Re: Minimum MicroVAX 3100/20 kernel config?
To: None <nbsdbob@weedcon1.cropsci.ncsu.edu>
From: None <jkunz@unixag-kl.fh-kl.de>
List: port-vax
Date: 11/04/1999 23:45:57
On  4 Nov, NetBSD Bob wrote:

> The CPU is a KA41-A, and all I saw was a KA410 and a KA42/43, etc.
> I am assuming the KA41 is like one of the other CPU's?  The UBA0 
> controller seems OK, with ncr1 and ncr2 scsi, and le0 seems to work
> on ifconfig and shows up in dmesg.
Copy GENERIC to an other file. Look at dmesg (/var/run/dmesg.boot) and
comment every CPU / bus / device out that not appears in the dmesg
output. The chain is: CPU Type => Busses connected to this CPU =>
devices connected to this busses. For the VS310 (m76 in my case) this
is: 
dmesg> VAXstation 3100/m76
dmesg> cpu: KA43
so I need 
configfile> options         "VAX43"         # VS 3100/76

The VS3100 has a
dmesg> mainbus0 (root)
dmesg> vsbus0 at mainbus0
so I need 
configfile> mainbus0        at root
configfile> vsbus0          at mainbus0             # All VAXstations

There are this devices/buses at the vsbus0:
dmesg> le0 at vsbus0 csr 0x200e0000 vec 120 ipl 14 maskbit 5
dmesg> dz0 at vsbus0 csr 0x200a0000 vec 304 ipl 14 maskbit 6
dmesg> ncr0 at vsbus0 csr 0x200c0080 vec 770 ipl 14 maskbit 1
dmesg> ncr1 at vsbus0 csr 0x200c0180 vec 774 ipl 14 maskbit 0
dmesg> smg0 at vsbus0 csr 0x200f0000 vec 104 ipl 14 maskbit 3
so I need
configfile> le0             at vsbus0 csr 0x200e0000 # LANCE ethernet
configfile> dz0             at vsbus0 csr 0x200a0000 # DC-367 DZ-11 lookalike ctlr
configfile> ncr0            at vsbus0 csr 0x200c0080 # VS2000/3100 SCSI-ctlr
configfile> ncr1            at vsbus0 csr 0x200c0180 # VS2000/3100 SCSI-ctlr
configfile> smg0            at vsbus0 csr 0x200f0000# Small monochrome display ctlr.

At this devices/buses are other devices/buses:
dmesg> wsdisplay0 at smg0
dmesg> lkc0 at dz0
dmesg> scsibus1 at ncr1: 8 targets, 8 luns per target
dmesg> scsibus0 at ncr0: 8 targets, 8 luns per target
so I need:
configfile> wsdisplay0      at smg0
configfile> lkc0            at dz0
configfile> scsibus*        at ncr?

At the scsibuses are different devices like this
dmesg> sd0 at scsibus0 targ 0 lun 0: <FUJITSU, M2624F-512, 0405> SCSI2 0/direct fixed
so I need
configfile> sd*             at scsibus? target? lun?
configfile> st*             at scsibus? target? lun?
configfile> cd*             at scsibus? target? lun?
configfile> ch*             at scsibus? target? lun?
configfile> ss*             at scsibus? target? lun?
configfile> uk*             at scsibus? target? lun?

And now all the hardware in a VS3100 is configured. :-)
Of corse you have to configure additional logical devices and options
like filesystems, ppp, bpf, compat, ...
So dont tuch this lines in the config file if you dont know what they
mean. 
-- 



tschüß,
         Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/