Subject: VAX kernel build goof up....
To: 'port-vax@netbsd.org' <port-vax@netbsd.org>
From: David Woyciesjes <DAW@yalepress3.unipress.yale.edu>
List: port-vax
Date: 04/30/2001 11:08:26
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01C0D187.689E9540
Content-Type: text/plain;
	charset="iso-8859-1"

***One intentional text attachment, BUBBAvax.conf***

	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
syssrc.tgz. To save spave on the 600MB HDD, I got rid of the other processor
subdirectories (under /usr/src/sys/arch), and kept only the vax. Then I
built a kernel, based off of this config from NetBSD Bob...
http://mail-index.netbsd.org/port-vax/2001/02/23/0000.html,
and it ran without incident. BTW, dmesg output from generic kernel is at the
end of message...
	Here's the good part. When I try to boot from the new kernel, it
just loops on me. This is what it displays every time....

83 boot sys <-- this is not shown on 1st boot attempt)
- DKB0
>> NetBSD/vax boot...
>> Press any key to interrupt...
nfs_open: must mount first
open netbsd.vax: device not configured
>boot netbsd
562816+35928+145604+[51766+59772]=0xd0f54

_85 restart sys
84 <--- this flashes by real quick, only notice it on some cycles, not all)


	Yep, I'm stumped. Maybe I chose the wrong processor in the config?
I'd try it, but it's not all that speedy on building the kernel. 
 <<BUBBAvax.conf>> 
	On a side note, since I don't really know the system variables on
VAX, when I issue the reoot command, I get this..
?06 HLT INST
      PC = 80107A6A
>>>
but it doesn't continue on to booting the kernel. Cycling the power, it does
boot right up to the kernel, though. Anyone have an idea what I did wrong?

---   David A Woyciesjes
---   C & IS Support Specialist
---   Yale University Press
---   mailto:david.woyciesjes@yale.edu
---   (203) 432-0953
---   ICQ # - 905818

NetBSD 1.5 (GENERIC) #1: Sun Nov 19 15:44:10 PST 2000
    matt@cheetah.local:/u1/kobj/GENERIC

VAXstation 3100/m{38,48}
cpu: KA41/42
cpu: Enabling primary cache, secondary cache
total memory = 16264 KB
avail memory = 12356 KB
using 228 buffers containing 912 KB of memory
mainbus0 (root)
vsbus0 at mainbus0
vsbus0: interrupt mask 8
le0 at vsbus0 csr 0x200e0000 vec 120 ipl 14 maskbit 5 buf 0x3df000-0x3eefff
le0: address 08:00:2b:1b:0d:39
le0: 32 receive buffers, 8 transmit buffers
dz0 at vsbus0 csr 0x200a0000 vec 304 ipl 14 maskbit 6
dz0: 4 lines
lkc0 at dz0
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
smg0 at vsbus0 csr 0x200f0000 vec 104 ipl 14 maskbit 3
wsdisplay0 at smg0: console (128x57, vt100 emulation)
wsdisplay0: screen 1-7 added (128x57, vt100 emulation)
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus1 target 0 lun 0: <CDC, 94191-15, 0815> SCSI1 0/direct fixed
sd0: 632 MB, 1632 cyl, 15 head, 52 sec, 512 bytes/sect x 1295850 sectors
sd1 at scsibus1 target 2 lun 0: <SEAGATE, ST42400N, 0119> SCSI2 0/direct
fixed
sd1: 2030 MB, 2626 cyl, 19 head, 83 sec, 512 bytes/sect x 4159462 sectors
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs

------_=_NextPart_000_01C0D187.689E9540
Content-Type: application/octet-stream;
	name="BUBBAvax.conf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="BUBBAvax.conf"

#       $NetBSD: BUBBA,v 1.71.2.6 2001/04/27 08:24:27 itojun Exp $
#
# not GENERIC VAX configuration file; all supported devices.
# BUBBA Config file for my VAXstation3100/M38
#

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

# ident                 "GENERIC-$Revision: 1.71.2.6 $"

# Here are all different supported CPU types listed.
# options       "VAX8600"
# options       "VAX8200"
# options       "VAX780"
# options       "VAX750"
# options       "VAX630"        # MV II
# options       "VAX640"        # MV 3400
# options       "VAX650"        # MV III, 3600, 3800, 3900
# options       "VAX660"        # VAX 4000/200
# options       "VAX670"        # VAX 4000/300
# options       "VAX680"        # VAX 4000/500
# options       "VAX410"        # VS 2000
options         "VAX43"         # VS 3100/76
# options       "VAX46"         # VS 4000/60
# options       "VAX48"         # VS 4000 VLC
# options       "VAX49"         # VS 4000/90
#options        "VAX53"         # VAX 4000/105A

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

# Kernel compiled-in symbolic debugger & system call tracer
# makeoptions   DEBUG=3D"-g"
options         DDB
# options       DDB_HISTORY_SIZE=3D100    # enable history editing in =
DDB
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
# options       INET6           # IPV6
# options       IPSEC           # IP security
# options       IPSEC_ESP       # IP security (encryption part; define =
w/IPSEC)
# options       IPSEC_DEBUG     # debug for IP security

# 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=3D8

# 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.
# abus0         at mainbus0             # Master bus on VAX 8600
# sbi0          at mainbus0             # SBI, master bus on 11/780.
# cmi0          at mainbus0             # 11/750 internal bus.
# bi0           at mainbus0             # VAX 8200
vsbus0          at mainbus0             # All VAXstations
# ibus0         at mainbus0             # All MicroVAX
# nbi0          at mainbus0             # VAX 8800
# xmi0          at mainbus0             # VAX 6000

# 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

# Ibus, the internal bus on most Microvaxen
# uba0          at ibus0                # Qbus adapter
# ze0           at ibus0                # SGEC on-board ethernet
# le0           at ibus0                # LANCE ethernet (MV3400)
# dz0           at ibus0                # VAX 4000/105A serial lines
# shac0         at ibus0                # DSSI controller

# Devices connected at VAXBI
# cpu*          at bi? node?            # KA820/KA825 cpu
# mem*          at bi? node?            # Memory subsystems
# uba*          at bi? node?            # DWBUA BI-Unibus adapter
# ni*           at bi? node?            # DEBNA/DEBNT ethernet adapter
# kdb*          at bi? node?            # KDB50 MSCP disk ctlr

# CMI (VAX 11/750)
# mem*          at cmi? tr?             # Memory subsystems
# uba*          at cmi? tr?             # Unibus adapters
# mba*          at cmi? tr?             # Massbus adapters

# SBI (VAX 11/780, VAX 8600)
# sbi*          at abus0                # VAX 8600 can have up to 4 =
SBI's.

# mem*          at sbi? tr?             # Memory subsystems
# uba*          at sbi? tr?             # Unibus adapters
# mba*          at sbi? tr?             # Massbus adapters

# Devices on Massbus adapters
# hp*           at mba? drive?          # RM/RP disk drives

# Devices on Unibus/Qbus adapters
# Uda0          at uba? csr 0172150     # UDA50/RQDX?
# uda1          at uba? csr 0160334
# mtc0          at uba? csr 0174500     # Tape MSCP ctlr
# ts0           at uba? csr 0172520     # TS11/TSV05 tape.
# qd0           at uba? csr 0177400     # 4- or 8-bitplans color =
graphics
# qv0           at uba? csr 0177400     # Monochrome graphics
# de0           at uba? csr 0174510     # DELUA/DEUNA
# qe0           at uba? csr 0174440     # DEQNA/DELQA
# dhu0          at uba? csr 0160440     # DHU-11
# dz0           at uba? csr 0160100     # DZ-11
# dl0           at uba? csr 0176500     # DL-11
# rlc0          at uba? csr 0174400     # RL11/RLV11 controller
# rl*           at rlc? drive?          # RL01/RL02 disk drive

# MSCP devices
# mscpbus*      at uda?
# mscpbus*      at mtc?
# mscpbus*      at kdb?

# ra*           at mscpbus? drive?      # MSCP disk
# rx*           at mscpbus? drive?      # MSCP floppy
# mt*           at mscpbus? drive?      # MSCP tape

# 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     64              # 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
------_=_NextPart_000_01C0D187.689E9540--