Subject: Re: VAX kernel build goof up....
To: David Woyciesjes <DAW@yalepress3.unipress.yale.edu>
From: Matej Kubik <kockac@mini.fsport.uniba.sk>
List: port-vax
Date: 04/30/2001 17:12:07
This is a multi-part message in MIME format.
--------------6D34D33BAE2ADC2358BAD082
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

David Woyciesjes wrote:
>         Hello gents. This may be a simple fix, but it escapes me. I've got a
> VAXstation 3100 M38, 16MB RAM (wishing I could find more!), and NetBSD1.5.
> In trying to rebuild the kernel, I grabbed comp.tgz, gnu.tgz, src.tgz and

I had similar problems with VAXStation 3100/m76. Solved by adding more
`options "KAxxx"' lines into kernel config. I don't know which must be
there, but I can boot with following ones:
options         "VAX410"        # VS 2000
options         "VAX43"         # VS 3100/76
options         "VAX46"         # VS 4000/60
options         "VAX48"         # VS 4000 VLC
options         "VAX49"         # VS 4000/90
It's propably more than needed, but compiling kernel takes about 3.5
hours :-)

FYI I also attached kernel config (MEDEAD) and dmesg.boot

Matej Kubik
--------------6D34D33BAE2ADC2358BAD082
Content-Type: text/plain; charset=us-ascii;
 name="MEDEAD"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="MEDEAD"

#	$NetBSD: GENERIC,v 1.71.2.6 2000/10/04 08:24:27 itojun Exp $
#
# GENERIC VAX configuration file; all supported devices.
#

include		"arch/vax/conf/std.vax"

#ident 		"GENERIC-$Revision: 1.71.2.6 $"

# Here are all different supported CPU types listed.
options 	"VAX410"	# VS 2000
options 	"VAX43"		# VS 3100/76
options 	"VAX46"		# VS 4000/60
options 	"VAX48"		# VS 4000 VLC
options 	"VAX49"		# VS 4000/90

# Max users on system; this is just a hint
maxusers	8

# Kernel compiled-in symbolic debugger & system call tracer
options 	KTRACE
#options 	DIAGNOSTIC
#options 	DEBUG,KMEMSTATS,PMAPDEBUG,TRAPDEBUG

#options 	SCSIVERBOSE		# Verbose SCSI errors

# Network support
#options 	GATEWAY
options		NTP		# NTP kernel support
options         INET		# IPv4

# All supported filesystem types
file-system 	FFS
#file-system 	LFS
file-system 	MFS
file-system 	NFS
file-system 	FDESC
file-system 	KERNFS
#file-system 	NULLFS
file-system 	OVERLAY		# overlay file system
file-system 	PROCFS
#file-system 	UMAPFS
#file-system 	UNION
#file-system 	CD9660

options 	QUOTA
#options 	FFS_EI		# FFS Endian Independant support
options 	SOFTDEP         # FFS soft updates support.
#options 	NFSSERVER
options 	NFS_BOOT_BOOTP,NFS_BOOT_DHCP	# Use bootp <> dhcp
#options 	NFS_BOOT_BOOTPARAM	# Use the Sun way for netbooting.

# WS console uses VT100 terminal emulation
#options 	WSEMUL_VT100
#options 	WSDISPLAY_DEFAULTSCREENS=8

# System V shared memory & semaphores support.
options 	SYSVMSG
options 	SYSVSEM
options 	SYSVSHM

# Old compat stuff; needed to run 4.3BSD Reno programs.
# Note that if COMPAT_ULTRIX is set, you lose compatibility with
# 4.3BSD Reno programs and get Ultrix compatibility instead.
# (They cannot coexist).
options 	COMPAT_VAX1K	# Must be present to run pre-1.4 binaries.
options 	COMPAT_43
options 	COMPAT_09
options 	COMPAT_10
options 	COMPAT_11
options 	COMPAT_12
options 	COMPAT_13
options 	COMPAT_14
#options 	COMPAT_ULTRIX
#options 	COMPAT_IBCS2	# DEC SVR.3 compatilibity
#options 	NO_INSN_EMULATE	# CPU does not lack some hardware instructions.

options 	LKM

# Kernel(s) to compile
config          netbsd root on ? type ?

mainbus0	at root

# All buses; from the beginning attached to mainbus.
vsbus0		at mainbus0		# All VAXstations

# Vsbus, the virtual VAXstation bus, and possible devices.
le0		at vsbus0 csr 0x200e0000 # LANCE ethernet
#ze0		at vsbus0 csr 0x20008000 # SGEC ethernet
dz0		at vsbus0 csr 0x200a0000 # DC-367 DZ-11 lookalike ctlr
dz0		at vsbus0 csr 0x25000000 # VS4000/90 serial line
#hdc0		at vsbus0 csr 0x200c0000 # HDC9224 MFM/floppy ctlr
si0		at vsbus0 csr 0x200c0080 # VS2000/3100 SCSI-ctlr
#asc0		at vsbus0 csr 0x200c0080 # VS4000/60 (or VLC) SCSI-ctlr
#asc0		at vsbus0 csr 0x26000080 # VS4000/90 SCSI-ctlr
si1		at vsbus0 csr 0x200c0180 # VS2000/3100 SCSI-ctlr
#smg0		at vsbus0 csr 0x200f0000 # Small monochrome display ctlr.
#clr0		at vsbus0 csr 0x30000000 # 4- or 8-bitplans color graphics

#rd*		at hdc0 drive?		# RD5x disks
#ry*		at hdc0 drive?		# RX floppies

# VS2000 builtin MFM controller (HDC9224)
#hdc0		at vsbus0		# The strange builtin MFM controller

# SCSI devices
#scsibus*	at asc?
scsibus*	at si?

sd*		at scsibus? target? lun?
st*		at scsibus? target? lun?
#cd*		at scsibus? target? lun?
#ch*		at scsibus? target? lun?
#ss*		at scsibus? target? lun?
uk*		at scsibus? target? lun?

# VAXstation graphics support
#wsdisplay0	at smg0
#wsdisplay0	at clr0
#wsdisplay0	at qd0
#wsdisplay0	at qv0
#lkc0		at dz0

pseudo-device   loop	1
pseudo-device   pty	32		# pseudo-terminals
pseudo-device	bpfilter 8		# Not supported by de yet.
pseudo-device	sl	2
#pseudo-device	ppp	2
#pseudo-device	tun	2
#pseudo-device	gre	2		# generic L3 over IP tunnel
#pseudo-device	gif	4		# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith	1		# IPv[46] tcp relay translation i/f
#pseudo-device	stf	1		# 6to4 IPv6 over IPv4 encapsulation
#pseudo-device	tb	1
pseudo-device	vnd	4
#pseudo-device	ccd	4
#pseudo-device	raid	4		# RAIDframe disk driver
#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
# rnd is EXPERIMENTAL
pseudo-device	rnd			# /dev/random and in-kernel generator

options		IPFILTER
options		IPFILTER_LOG
options		BUFCACHE=20

--------------6D34D33BAE2ADC2358BAD082
Content-Type: text/plain; charset=us-ascii;
 name="dmesg.boot"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dmesg.boot"

NetBSD 1.5 (MEDEAD) #0: Sun Apr  8 20:32:40 CEST 2001
    mato@medea:/home/src/sys/arch/vax/compile/MEDEAD

VAXstation 3100/m76
cpu: KA43
primary cache status: 1a<HIT,REFRESH,ENABLE>
secondary cache status: ffe1<TPE,DPE,MISS,ENABLE>
total memory = 28540 KB
avail memory = 19748 KB
using 1420 buffers containing 5680 KB of memory
mainbus0 (root)
vsbus0 at mainbus0
vsbus0: interrupt mask 8
le0 at vsbus0 csr 0x200e0000 vec 120 ipl 14 maskbit 5 buf 0x288a5000-0x288b4fff
le0: address 08:00:2b:2c:ca:c3
le0: 32 receive buffers, 8 transmit buffers
dz0 at vsbus0 csr 0x200a0000 vec 304 ipl 14 maskbit 6
dz0: 4 lines
lkc at dz0 not configured
si0 at vsbus0 csr 0x200c0080 vec 770 ipl 14 maskbit 1
si0: NCR5380, SCSI ID 6
scsibus0 at si0: 8 targets, 8 luns per target
si1 at vsbus0 csr 0x200c0180 vec 774 ipl 14 maskbit 0
si1: NCR5380, SCSI ID 6
scsibus1 at si1: 8 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 1 lun 0: <DEC, RZ24L    (C) DEC, 4766> SCSI2 0/direct fixed
sd0: 234 MB, 1818 cyl, 4 head, 65 sec, 512 bytes/sect x 479350 sectors
sd1 at scsibus0 target 2 lun 0: <MAXTOR, 7213-SCSI, 7442> SCSI1 0/direct fixed
sd1: 202 MB, 1690 cyl, 4 head, 61 sec, 512 bytes/sect x 415600 sectors
sd2 at scsibus0 target 4 lun 0: <IBM OEM, 0663E15, 5 51> SCSI2 0/direct fixed
sd2: 1150 MB, 2463 cyl, 15 head, 63 sec, 512 bytes/sect x 2356180 sectors
scsibus1: waiting 2 seconds for devices to settle...
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
IP Filter: v3.4.9 initialized.  Default = pass all, Logging = enabled

--------------6D34D33BAE2ADC2358BAD082--