Subject: Kernel mode prefetch abort with -current on J728
To: None <port-hpcarm@NetBSD.org>
From: Alex Poylisher <sher@komkon.org>
List: port-hpcarm
Date: 05/20/2006 12:00:36
--82I3+IH0IqGh5yIs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Have seen this on boot with every kernel since 3.99.19:

..

wdc0 at pcmcia1 function 0: <CF Card, CFA 02GB CKS>
wdc0: i/o mapped mode
atabus0 at wdc0 channel 0
wd0 at atabus0 drive0Fatal kernel prefetch abort at 0xc09bdb64
trapframe: 0xc2960e74, spsr=a0000013
r0=c0d96800, r1=000001ae, r2=00000000, r3=20000093
r4=0000000b, r5=c20ecd14, r6=c0d95d00, r7=c0265258
r8=00000002, r9=00000002, r10=c2055000, r11=c2960f58
r12=00000000, ssp=c2960ec0, sir=c0d970f0, pc=c09bdb64

Stopped at	0xcc09bdb64:	address 0xc09bdb64 is invalid
andgt	r5, r5, #0x00000000
db>

..

Kernel config attached, any ideas appreciated.

-- 
Alex Poylisher
sher{at}komkon{dot}org

--82I3+IH0IqGh5yIs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=JORNADA720

#	$NetBSD: JORNADA720,v 1.58 2006/04/11 15:08:10 peter Exp $
#
#	JORNADA -- Windows-CE based jornada 720
#

include	"arch/hpcarm/conf/std.hpcarm"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident 		"GENERIC-$Revision: 1.58 $"

# estimated number of users
maxusers	32

# Standard system options

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
#options 	NTP		# NTP phase/frequency locked loop

# CPU options

options 	CPU_SA1110	# Support the SA1110 core

# Architecture options

# FPA options

#options 	ARMFPE		# ARM Ltd FPE

# File systems

file-system	FFS		# UFS
#file-system	LFS		# log-structured file system
# file-system	MFS		# memory file system
file-system	NFS		# Network file system
#file-system 	ADOSFS		# AmigaDOS-compatible file system
#file-system 	EXT2FS		# second extended file system (linux)
#file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	MSDOSFS		# MS-DOS file system
file-system	FDESC		# /dev/fd
#file-system	FILECORE	# Acorn filecore file system
file-system	KERNFS		# /kern
file-system	NULLFS		# loopback file system
#file-system 	OVERLAY		# overlay filesystem
#file-system	PORTAL		# portal filesystem (still experimental)
file-system	PROCFS		# /proc
#file-system	UMAPFS		# NULLFS + uid and gid remapping
#file-system	UNION		# union file system
file-system	PTYFS		# /dev/pts/N support
#file-system	TMPFS		# experimental - Efficient memory file-system
#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system

# File system options
#options 	QUOTA		# UFS quotas
#options 	FFS_EI		# FFS Endian Independant support
options 	SOFTDEP		# FFS soft updates support.
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#options 	NFSSERVER

# Networking options

#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 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
#options 	NS		# XNS
#options 	NSIP		# XNS tunneling over IP
#options 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
#options 	CCITT,LLC,HDLC	# X.25
#options 	NETATALK	# AppleTalk networking
options 	PFIL_HOOKS	# pfil(9) packet filter hooks
options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
options 	PPP_DEFLATE	# Deflate compression support for PPP
options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

# Compatibility options

#options 	COMPAT_43	# 4.3BSD compatibility.
options 	COMPAT_30	# NetBSD 3.0 compatibility.
options 	COMPAT_20	# NetBSD 2.0 compatibility.
options 	COMPAT_16	# NetBSD 1.6 compatibility.
options 	COMPAT_14	# NetBSD 1.4 compatibility.
#options 	COMPAT_13	# NetBSD 1.3 compatibility.
#options 	COMPAT_12	# NetBSD 1.2 compatibility.
#options 	COMPAT_11	# NetBSD 1.1 compatibility.
#options 	COMPAT_10	# NetBSD 1.0 compatibility.
#options 	COMPAT_09	# NetBSD 0.9 compatibility.
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# Shared memory options

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing
options 	SHMMAXPGS=1024	# 1024 pages is the default

# Device options

#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root

# Miscellaneous kernel options
options 	KTRACE		# system call tracing, a la ktrace(1)
options 	IRQSTATS	# manage IRQ statistics
options 	LKM		# loadable kernel modules
options 	KMEMSTATS	# kernel memory statistics
#options 	SCSIVERBOSE	# Verbose SCSI errors
options 	USERCONF	# userconf(4) support
#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

options 	NFS_BOOT_DHCP

# Development and Debugging options

#options 	BOOT_DUMP	# Enable memorydump at boot
#options 	DIAGNOSTIC	# internal consistency checks
#options 	DEBUG		# expensive debugging checks/support
#options 	PMAP_DEBUG	# Enable pmap_debug_level code
#options 	IPKDB		# remote kernel debugging
options 	DDB		# in-kernel debugger
#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
#makeoptions	DEBUG="-g"	# compile full symbol table

config		netbsd	root on ? type ?
#options 	COMCONSOLE=0,CONADDR=0x3f8,CONUNIT=0

# The main bus device
mainbus0 at root

# The boot CPU
cpu0 at mainbus?

saip0	at mainbus?

# Serial
options 	CONSPEED=19200
sacom*	at saip? addr 0x80050000 size 0x24	intr 17

# OS Timer
saost*	at saip? addr 0x90000000 size 0x20

# SA1111 companion chip
sacc0	at saip? addr 0x40000000 size 0x2000

# PCMCIA bus support
sacpcic*	at sacc?
pcmcia*		at sacpcic?

# PCMCIA serial interfaces
com*	at pcmcia? function ?		# Modems and serial cards

# PCMCIA IDE controllers and disks
wdc*	at pcmcia? function ?
atabus* at ata?
wd*	at atabus? drive ?

# PCMCIA network interfaces
# an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
# awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
# cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
# ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
# mbe*	at pcmcia? function ?		# MB8696x based Ethernet
# ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
# ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
#sm*	at pcmcia? function ?		# Megahertz Ethernet
wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
#xi*	at pcmcia? function ?		# Xircom CreditCard Ethernet

#mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
#com*	at mhzc?
#sm*	at mhzc?

# MII/PHY support
# acphy*	at mii? phy ?			# DAltima AC101 and AMD Am79c874 PHYs
# amhphy*	at mii? phy ?			# AMD 79c901 Ethernet PHYs
# bmtphy*	at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
# brgphy*	at mii? phy ?			# Broadcom BCM5400-family PHYs
# dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
# exphy*	at mii? phy ?			# 3Com internal PHYs
# glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
# gphyter* at mii? phy ?			# NS83861 Gig-E PHY
# icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
# inphy*	at mii? phy ?			# Intel 82555 PHYs
# iophy*	at mii? phy ?			# Intel 82553 PHYs
# lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
# makphy*	at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
# nsphy*	at mii? phy ?			# NS83840 PHYs
# nsphyter* at mii? phy ?			# NS83843 PHYs
# pnaphy*	at mii? phy ?			# generic HomePNA PHYs
# qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
# sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
# tlphy*	at mii? phy ?			# ThunderLAN PHYs
# tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
# ukphy*	at mii? phy ?			# generic unknown PHYs
# urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs

# wscons options
options 	WSEMUL_VT100
options 	WSDISPLAY_DEFAULTSCREENS=2
options 	FONT_VT220L8x10
# The X server requires theses two options
options         WSDISPLAY_COMPAT_USL
options         WSDISPLAY_COMPAT_RAWKBD
# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
#options 	WS_DEFAULT_FG=WSCOL_WHITE
#options 	WS_DEFAULT_BG=WSCOL_BLACK
#options 	WS_DEFAULT_COLATTR="(0)"
#options 	WS_DEFAULT_MONOATTR="(0)"
#options 	WS_KERNEL_FG=WSCOL_WHITE
#options 	WS_KERNEL_BG=WSCOL_BLACK
#options 	WS_KERNEL_COLATTR="(0)"
#options 	WS_KERNEL_MONOATTR="(0)"

# Physical console
sed0		at saip?
hpcfb*		at sed?
wsdisplay*	at hpcfb?

# SSP port
j720ssp0	at saip?	addr 0x80070000 size 0x100

# Keyboard driver
j720kbd*	at j720ssp?
hpckbd*		at j720kbd?
wskbd0		at hpckbd? mux 1

# Touch-panel
j720tp*		at j720ssp?		# touch-panel
wsmouse*	at j720tp? mux 0	# - as a pointing device

# LCD screen control
j720lcd*	at j720ssp?

# Power management
j720pwr*	at j720ssp?
hpcapm0		at j720pwr?		# power management
apmdev0		at hpcapm0		# APM

# Pseudo-devices
pseudo-device	loop	1		# network loopback
pseudo-device	bpfilter 		# packet filter
pseudo-device	sl			# CSLIP
pseudo-device	ppp			# PPP
pseudo-device	tun			# network tunneling over tty
#pseudo-device	gre			# generic L3 over IP tunnel
#pseudo-device	ipfilter 1		# ip filter
pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith			# IPv[46] tcp relay translation i/f
pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
#pseudo-device	strip			# STarmode Radio IP (Metricon Ricochet)

pseudo-device	vlan			# IEEE 802.1q encapsulation
pseudo-device	pty			# pseudo-terminals
#pseudo-device	vnd			# disk-like interface to files
#pseudo-device	ccd	2		# concatenated disk devices
#pseudo-device	cgd	2		# cryptographic disk devices
#pseudo-device	raid	4		# RAIDframe disk driver
#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
#pseudo-device	fss	4		# file system snapshot device

pseudo-device	biconsdev 1		# build-in console device
pseudo-device	wsmux

pseudo-device	md	1		# Ramdisk driver
pseudo-device	rnd			# /dev/random and in-kernel generator
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms

--82I3+IH0IqGh5yIs--