Subject: crashing 1.3Beta on sparc
To: None <port-sparc@NetBSD.ORG>
From: Kurt Schreiner <ks@bambam.ub.uni-mainz.de>
List: port-sparc
Date: 12/05/1997 12:15:07
hi,

just crashed my ss5 running 1.3Beta (sources are from Dec. 2.)
un-tar-ring xsrc.tar.gz to /usr on a filesystem mounted from an ss20
running slowlaris 2.4. output from gdb follows:

#-9: gdb netbsd.0
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (sparc-netbsd), Copyright 1996 Free Software Foundation, Inc...
(no debugging symbols found)...
(gdb) target kcore netbsd.0.core
panic: dvma_mapin: null page frame
#0  0xf0027968 in mi_switch ()
(gdb) where
#0  0xf0027968 in mi_switch ()
#1  0xf00272c0 in tsleep ()
#2  0xf00c3f20 in scheduler ()
#3  0xf0019498 in main ()
(gdb) 

what can i do to help debugging this?

-kurt


here is the kernel config file:

# 	$NetBSD: GENERIC,v 1.51.2.1 1997/11/20 08:46:57 mellon Exp $

include "arch/sparc/conf/std.sparc"

maxusers	32

# Options for variants of the Sun SPARC architecure.
# At least one is required.
#options 	SUN4		# sun4/100, sun4/200, sun4/300
#options 	SUN4C		# sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc.
options 	SUN4M		# sun4m - SS10, SS20, Classic, etc.

#options 	MMU_3L		# 3-level MMU on sun4/400; (incomplete)

# Standard system options
options 	KTRACE		# system call tracing
options 	SYSVMSG		# System V message queues
options 	SYSVSEM		# System V semaphores
options 	SYSVSHM		# System V shared memory
#options 	SHMMAXPGS=1024	# 1024 pages is the default
options 	LKM		# loadable kernel modules
#options 	INSECURE	# disable kernel security level
#options 	UCONSOLE	# allow anyone to steal the virtual console

# Debugging options
#options 	DDB		# kernel dynamic debugger
#options 	DEBUG		# kernel debugging code
#options 	DIAGNOSTIC	# extra kernel sanity checking
options 	KGDB		# support for kernel gdb
#options 	KGDBDEV=0xc01	# kgdb device number (dev_t)
#options 	KGDBRATE=38400	# baud rate
#options 	SCSIVERBOSE	# Verbose SCSI errors

# Compatibility options
options 	COMPAT_43	# 4.3BSD system interfaces
options 	COMPAT_10	# NetBSD 1.0 binary compatibility
options 	COMPAT_11	# NetBSD 1.1 binary compatibility
options 	COMPAT_12	# NetBSD 1.2 binary compatibility
options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
options 	COMPAT_SVR4	# SunOS 5.x binary compatibility
options 	EXEC_ELF32	# Exec module for SunOS 5.x binaries.

# Filesystem options
file-system	FFS		# Berkeley Fast Filesystem
file-system	NFS		# Sun NFS-compatible filesystem client
file-system	KERNFS		# kernel data-structure filesystem
file-system	NULLFS		# NULL layered filesystem
file-system	MFS		# memory-based filesystem
file-system	FDESC		# user file descriptor filesystem
file-system	UMAPFS		# uid/gid remapping filesystem
#file-system	LFS		# Log-based filesystem (still experimental)
#file-system	PORTAL		# portal filesystem (still experimental)
file-system	PROCFS		# /proc
file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	UNION		# union file system
#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).

options 	NFSSERVER	# Sun NFS-compatible filesystem server
#options 	QUOTA		# FFS quotas
options 	FIFO		# POSIX fifo support (in all filesystems)

# Networking options
options 	INET		# IP stack
options 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
#options 	GATEWAY		# IP packet forwarding
#options 	ISO,TPIP	# OSI networking
#options 	EON		# OSI tunneling over IP
#options 	CCITT,LLC,HDLC	# X.25
#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.

# Options for SPARCstation hardware
options 	RASTERCONSOLE	# fast rasterop console
#options 	BLINK		# blink the led on supported machines

# Generic swap; second partition of root disk or network.
config		netbsd	root on ? type ?

# Main bus and CPU .. all systems.
mainbus0 at root
cpu0	at mainbus0

# Bus types found on SPARC systems.
obio0	at mainbus0				# sun4 and sun4m
iommu0	at mainbus0				# sun4m
sbus0	at iommu0				# sun4m

auxreg0	at obio0				# sun4m

# Power status and control register found on Sun4m systems
power0	at obio0

# Mostek clock found on 4/300, sun4c, and sun4m systems.
clock0	at obio0				# sun4m

# Memory error registers.
memreg0	at obio0				# sun4m

# Timer chip found on 4/300, sun4c, and sun4m systems.
timer0	at obio0				# sun4m

# Zilog 8530 serial chips.  Each has two-channels.
# zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
zs0	at obio0					# sun4m
zstty0	at zs0 channel 0	# ttya
zstty1	at zs0 channel 1	# ttyb

zs1	at obio0					# sun4m
kbd0	at zs1 channel 0	# keyboard
ms0	at zs1 channel 1	# mouse

# sun4c or sun4m SCSI - an NCR53c94 or equivalent behind
# specialized DMA glue
dma0	at sbus0 slot ? offset ?			# on-board SCSI
esp0	at dma0 flags 0x0000				# sun4m

# sun4m Ethernet - an AMD 7990 LANCE behind
# specialized DMA glue
ledma0	at sbus0 slot ? offset ?			# sun4m on-board
le0	at ledma0					#

# Sun "cgsix" accelerated color framebuffer.
cgsix0	at sbus? slot ? offset ?

# SCSI bus layer.  SCSI devices attach to the SCSI bus, which attaches
# to the underlying hardware controller.
scsibus* at esp?

# These entries find devices on all SCSI busses and assign
# unit numbers dynamically.
sd*	at scsibus? target ? lun ?		# SCSI disks
st*	at scsibus? target ? lun ?		# SCSI tapes
cd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
ch*	at scsibus? target ? lun ?		# SCSI changer devices

pseudo-device	loop			# loopback interface; required
pseudo-device	pty		32	# pseudo-ttys (for network, etc.)
#pseudo-device	sl		2	# SLIP interfaces
#pseudo-device	ppp		2	# PPP interfaces
#pseudo-device	tun		4	# Network "tunnel" device
pseudo-device	bpfilter	16	# Berkeley Packet Filter
pseudo-device	vnd		4	# disk-like interface to files
pseudo-device	ccd		4	# concatenated and striped disks
#pseudo-device	strip		1	# radio clock
#pseudo-device	ipfilter		# ip filter
# rnd is EXPERIMENTAL
#pseudo-device	rnd			# /dev/random and in-kernel generator