Subject: kern/36529: 3.1_STABLE kernel panics on alpha
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <jaapb@kerguelen.org>
List: netbsd-bugs
Date: 06/23/2007 16:45:00
>Number:         36529
>Category:       kern
>Synopsis:       3.1_STABLE kernel panics on alpha
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 23 16:45:00 +0000 2007
>Originator:     Jaap Boender
>Release:        NetBSD 3.1_STABLE
>Organization:
	
>Environment:
	
	
System: NetBSD courbet.kerguelen.org 3.1_STABLE NetBSD 3.1_STABLE (COURBET) #0: Sat Jun 23 15:25:27 CET 2007 root@courbet.kerguelen.org:/usr/obj/sys/arch/alpha/compile/COURBET alpha
Architecture: alpha
Machine: alpha
>Description:
	On my AlphaServer 800, a freshly-compiled 3.1_STABLE kernel (checkout of June 23, 2007) kernel-panics some minutes (it varies, but it's never more than around
 fifteen) after boot with the following message:

	panic: kernel diagnostic assertion "(map->_dm_flags & (BUS_DMA_READ|BUS_DMA_WRITE)) == 0" failed: file /usr/src-3.1/sys/arch/alpha/common/bus_dma.c" line 285

	When after this, in the debugger, I type 'reboot', I get a kernel trap with
	entry 0x2 (memory management fault).

	The kernel I have been using so far, compiled on Feb 11, works perfectly.

	My kernel config:

include		"arch/alpha/conf/std.alpha"
options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
maxusers 32
options 	DEC_1000A	# Corelle etc:	Digital AlphaServer 800/1000A
options 	KTRACE			# System call tracing support
options 	SYSTRACE		# System call vetting via systrace(1)
options 	NTP			# kernel PLL for NTP
options 	DIAGNOSTIC		# Cheap kernel consistency checks
options 	DDB			# kernel debugger
file-system	FFS		# Fast file system
file-system	MFS		# Memory-based file system
file-system	CD9660		# ISO-9660 CD-ROM FS (w/RockRidge extensions)
file-system	MSDOSFS		# MS-DOS-compatible file system
file-system	KERNFS		# Kernel variable file system (/kern)
file-system	PROCFS		# Process file system (/proc)
options 	QUOTA		# UFS quotas
options 	FFS_EI		# FFS Endian Independant support
options 	SOFTDEP		# FFS soft updates support.
options 	NFSSERVER	# Sun NFS-compatible file system server
options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
options 	IPSEC		# IP security
options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
options 	IPFILTER_LOG	# ipmon(8) log support
options 	COMPAT_43
options 	COMPAT_10
options 	COMPAT_11
options 	COMPAT_12
options 	COMPAT_13
options 	COMPAT_14
options		COMPAT_16
options		COMPAT_20
options		COMPAT_30
options 	SYSVMSG
options 	SYSVSEM
options 	SYSVSHM
options 	P1003_1B_SEMAPHORE
options 	LKM
options 	EISAVERBOSE		# recognize "unknown" EISA devices
options 	PCIVERBOSE		# recognize "unknown" PCI devices
options 	MIIVERBOSE		# verbose PHY autoconfig messages
options 	SCSIVERBOSE		# Verbose SCSI errors
options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
options 	FONT_GALLANT12x22	# Console font for TC devices
options 	WSEMUL_VT100
config		netbsd	root on ? type ?
mainbus0 at	root
cpu*	at	mainbus0
apecs*	at	mainbus?
cia*	at	mainbus?
pci*	at	apecs?
pci*	at	cia?
isp*	at	pci? dev ? function ?		# Qlogic ISP 10x0 SCSI
pceb*	at	pci? dev ? function ?		# Intel PCI-EISA Bridges
rtk*	at	pci? dev ? function ?		# Realtek 8129/8139 Ethernet
tlp*	at	pci? dev ? function ?		# DECchip 21x4x and clones
vga*	at	pci? dev ? function ?		# PCI VGA Graphics
exphy*	at mii? phy ?			# 3Com internal PHYs
icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
inphy*	at mii? phy ?			# Intel 82555 PHYs
lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
gphyter* at mii? phy ?			# NS83861 Gig-E PHY
nsphy*	at mii? phy ?			# NS83840 PHYs
qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
tlphy*	at mii? phy ?			# ThunderLAN PHYs
ukphy*	at mii? phy ?			# generic unknown PHYs
isa*	at	pceb?
eisa*	at	pceb?
mcclock* at	isa? port 0x70
pckbc*	at	isa?				# PC keyboard controller
pckbd*	at	pckbc?				# PC keyboard (kbd port)
pms*	at	pckbc?				# PS/2-style mouse (aux port)
pcppi*	at	isa?				# PC prog. periph. interface
spkr0	at	pcppi?				# IBM BASIC emulation
isabeep0 at	pcppi?				# "keyboard" beep
midi*	at	pcppi?
com*	at	isa? port 0x3f8 irq 4		# standard serial ports
com*	at	isa? port 0x2f8 irq 3
fdc0	at	isa? port 0x3f0 irq 6 drq 2	# floppy controller
lpt*	at	isa? port 0x3bc irq 7		# standard parallel port
ahb*	at	eisa? slot ?			# Adaptec 174[024] SCSI (unt.)
ahc*	at	eisa? slot ?			# Adaptec 274x, aic7770 SCSI
bha*	at	eisa? slot ?			# BusLogic 7xx SCSI
ep*	at	eisa? slot ?			# 3COM 3c579 Ethernet (untested)
fea*	at	eisa? slot ?			# DEC DEFEA FDDI
mlx*	at	eisa? slot ?			# Mylex DAC960 / DEC SWXCR (untested)
tlp*	at	eisa? slot ?			# DEC DE-425 Ethernet
depca*	at	eisa? slot ?			# DEC DE-422 Ethernet
le*	at	depca?
uha*	at	eisa? slot ?			# UltraStor 24f SCSI (unt.)
scsibus* at	scsi?
cd*	at	scsibus? target ? lun ?		# SCSI CD-ROM drives
sd*	at	scsibus? target ? lun ?		# SCSI disk drives
st*	at	scsibus? target ? lun ?		# SCSI tape drives
fd*	at	fdc? drive ?
wsdisplay*	at	vga?
wskbd*		at	pckbd?
wsmouse*	at	pms?

pseudo-device 	crypto			# opencrypto framework

pseudo-device	bpfilter	16
pseudo-device	ccd		4
pseudo-device	raid		8	# RAIDframe disk driver
options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
pseudo-device	ipfilter	1
pseudo-device	loop		1
pseudo-device	md		1
pseudo-device	pty			# pseudo-terminals
pseudo-device	vnd		4
pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
pseudo-device	sequencer	1	# MIDI sequencer
pseudo-device	rnd			# /dev/random and in-kernel generator
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	wsfont
pseudo-device	ksyms			# /dev/ksyms
>How-To-Repeat:
	Boot 3.1_STABLE on my Alphaserver 800.
>Fix:
	n/a

>Unformatted: