Subject: kern/8960: LFS crash on alpha
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jarle@runit.no>
List: netbsd-bugs
Date: 12/06/1999 08:34:17
>Number:         8960
>Category:       kern
>Synopsis:       LFS crash on alpha
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec  6 08:33:00 1999
>Last-Modified:
>Originator:     Jarle Greipsland
>Organization:
	
>Release:        1999-12-05
>Environment:
	
System: NetBSD honey.runit.sintef.no 1.4P NetBSD 1.4P (HONEY) #1: Mon Dec  6 13:05:22 CET 1999     jarle@honey.runit.sintef.no:/usr/src/sys/arch/alpha/compile/HONEY alpha


>Description:

I tried doing 'make obj' from /usr/src within an xterm window.  Then mkdir
got stuck somewhere in usr.bin/comm and everything was very quiet.  I could
still run applications on the console (the only other place I tried), but
when I hit Ctrl-C on the 'make obj' job, the system panicked.

My /etc/fstab (note LFS+NullFS):
/dev/wd0a / ffs rw 1 1
/dev/wd0b none swap sw 0 0
/dev/wd0d /usr ffs rw 1 2
/dev/wd0f /var ffs rw 1 2
/dev/wd0g /local ffs rw 1 2
/kern /kern kernfs rw
/dev/wd0b /tmp mfs rw,-s=129024 0 0
/dev/sd0a /home ffs rw 1 2
/dev/ccd0a /spare lfs rw 1 2
#/dev/raid0a /spare lfs rw 1 2
/home/usr/src /usr/src null rw 0 0
/home/usr/pkg /usr/pkg null rw 0 0
/home/usr/pkgsrc /usr/pkgsrc null rw 0 0
/spare/usr/obj /usr/obj null rw 0 0

The panic:
# panic: lockmgr: locking against myself
Stopped in mkdir at     cpu_Debugger+0x4:       ret     zero,(ra)
db> trace
cpu_Debugger() at cpu_Debugger+0x4
panic() at panic+0xe4
lockmgr() at lockmgr+0x6d8
layer_lock() at layer_lock+0x58
vn_lock() at vn_lock+0x64
vrele() at vrele+0xd0
layer_bypass() at layer_bypass+0x1c4
sys_mkdir() at sys_mkdir+0x1bc
syscall() at syscall+0x1c8
XentSys() at XentSys+0x50
--- syscall (136, netbsd.sys_mkdir) ---
--- user mode ---
db>

Some gdb output (I can probably gather more if this is of interest).
(gdb) target kcore netbsd.3.core
panic: lockmgr: locking against myself
#0  0xfffffc00004e8af8 in dumpsys ()
    at ../../../../arch/alpha/alpha/machdep.c:1316
1316            savectx(&dumppcb);
(gdb) source /usr/src/sys/gdbscripts/x.ps
/usr/src/sys/gdbscripts/x.ps: No such file or directory.
(gdb) source /usr/src/sys/gdbscripts/xps
(gdb) xps
              proc   pid     flag st              wchan comm
0xfffffc0003fd7938 10827     4006  2                  0 mkdir (lfs_maxdirop)
0xfffffc0003fd6f88 10820     4086  3 0xfffffc0003fd6f88 sh (wait)
0xfffffc0003fd6ba8 10818     4006  3 0xfffffc00006e50c0 sh (uvn_get)
0xfffffc0003fd67c8 10509     4006  2                  0 sh (biowait)
0xfffffc0003fd63e8   295     4086  3 0xfffffc0000e082c0 csh (ttyin)
0xfffffc0003fd6008   293     4086  3 0xfffffc0003fd6008 bash (wait)
0xfffffc0003fd65d8   292     4104  2                  0 xterm (select)
0xfffffc0000e31d10   289     4084  3 0xfffffc000333d610 csh (pause)
0xfffffc0000e31550   287       84  3 0xfffffc00005ac838 sshd1 (select)
0xfffffc0000e307c0   218     4086  3 0xfffffc0000e08010 csh (ttyin)
0xfffffc0000e31b20   216       84  3 0xfffffc00005ac838 sshd1 (select)
0xfffffc0000e31930   204       84  3 0xfffffc00005ac838 inetd (select)
0xfffffc0000e31740   201       84  3 0xfffffc000333c8d8 xntpd (pause)
0xfffffc0000e30f80   199      184  3 0xfffffc00005849ac cron (nanosleep)
0xfffffc0000e30ba0   168       84  3 0xfffffe00000c0c40 lfs_cleanerd (segment)
0xfffffc0000e31360   167       84  3 0xfffffc0000e31360 lfs_cleanerd (wait)
0xfffffc0000e31170   164       84  3 0xfffffc00032a4070 mount_mfs (mfsidl)
0xfffffc0000e30d90   158       84  3 0xfffffc00005ac838 portmap (select)
0xfffffc0000e309b0   151       84  3 0xfffffc00005ac838 syslogd (select)
0xfffffc0000e305d0     4    20204  3 0xfffffc00005abd6c ioflush (syncer)
0xfffffc0000e303e0     3    20204  3 0xfffffc00005ab8e8 reaper (reaper)
0xfffffc0000e301f0     2    20204  3 0xfffffc00005c9c50 pagedaemon (daemon_slp)
---Type <return> to continue, or q <return> to quit---
0xfffffc0000e30000     1     4084  3 0xfffffc0000e30000 init (wait)
0xfffffc00005a8c68     0    20204  3 0xfffffc00005a8c68 swapper (scheduler)
              proc   pid     flag st              wchan comm
(gdb) where
#0  0xfffffc00004e8af8 in dumpsys ()
    at ../../../../arch/alpha/alpha/machdep.c:1316
#1  0xfffffc00004e870c in cpu_reboot (howto=260, bootstr=0x0)
    at ../../../../arch/alpha/alpha/machdep.c:1135
#2  0xfffffc00003314bc in db_reboot_cmd (addr=0, have_addr=0, count=0, 
    modif=0x0) at ../../../../ddb/db_command.c:582
#3  0xfffffc0000330f14 in db_command (last_cmdp=0xfffffc0000559558, 
    cmd_table=0x0) at ../../../../ddb/db_command.c:295
#4  0xfffffc00003311ec in db_command_loop ()
    at ../../../../ddb/db_command.c:486
#5  0xfffffc0000335454 in db_trap (type=0, code=0)
    at ../../../../ddb/db_trap.c:78
#6  0xfffffc00004f5ae4 in ddb_trap (a0=1, a1=0, a2=0, entry=3, 
    regs=0xfffffe00043c1930) at ../../../../arch/alpha/alpha/db_interface.c:173
#7  0xfffffc0000300194 in alpha_debug ()
    at ../../../../arch/alpha/alpha/debug.s:101
#8  0xfffffc00004f05e4 in trap (a0=1, a1=8, a2=5, entry=3, 
    framep=0xfffffe00043c1930) at ../../../../arch/alpha/alpha/trap.c:335
#9  0xfffffc00003003b0 in XentIF ()
    at ../../../../arch/alpha/alpha/locore.s:538
#10 0xfffffc0000361544 in panic (
    fmt=0xfffffc0000503ee9 "lockmgr: locking against myself")
    at ../../../../kern/subr_prf.c:215
(gdb) proc 0xfffffc0003fd7938
(gdb) where
#0  0xfffffc0000358628 in mi_switch () at ../../../../kern/kern_synch.c:747
#1  0xfffffc0000392504 in vn_lock (vp=0xfffffc0003e482e8, flags=65538)
    at ../../../../sys/vnode_if.h:755
#2  0xfffffc0000464784 in lfs_set_dirop (fs=0xfffffe00000c0c00)
    at ../../../../ufs/lfs/lfs_vnops.c:318
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0xfffffe0000010002
This warning occurs if you are debugging a function without any symbols
(for example, in a stripped executable).  In that case, you may wish to
increase the size of the search with the `set heuristic-fence-post' command.

Otherwise, you told GDB there was a function where there isn't one, or
(more likely) you have encountered a bug in GDB.
(gdb) up
#1  0xfffffc0000392504 in vn_lock (vp=0xfffffc0003e482e8, flags=65538)
    at ../../../../sys/vnode_if.h:755
755             return (VCALL(vp, VOFFSET(vop_lock), &a));
(gdb) proc 0xfffffc0003fd67c8
(gdb) where
#0  0xfffffc0000358628 in mi_switch () at ../../../../kern/kern_synch.c:747
#1  0xfffffc0000357b70 in tsleep (ident=0x0, priority=17, 
    wmesg=0xfffffc00005072ad "biowait", timo=0)
    at ../../../../kern/kern_synch.c:415
#2  0xfffffc00003810f8 in biowait (bp=0xfffffc0000196008)
    at ../../../../kern/vfs_bio.c:876
#3  0xfffffc0000466e4c in ufs_bmaparray (vp=0xfffffc0000e2b020, bn=25, 
    bnp=0xfffffc000019c554, ap=0x0, nump=0xfffffc0000196008, runp=0x0)
    at ../../../../ufs/ufs/ufs_bmap.c:202
#4  0xfffffc0000466af0 in ufs_bmap (v=0x0) at ../../../../ufs/ufs/ufs_bmap.c:85
#5  0xfffffc000046edc0 in ufs_strategy (v=0x0)
    at ../../../../sys/vnode_if.h:802
#6  0xfffffc000038250c in cluster_read (vp=0xfffffc0000e2b020, 
    filesize=521552, lblkno=25, size=8192, cred=0x0, bpp=0x0)
    at ../../../../sys/vnode_if.h:1124
#7  0xfffffc0000458ac8 in ffs_read (v=0x0)
    at ../../../../ufs/ufs/ufs_readwrite.c:126
#8  0xfffffc0000487658 in uvn_io (uvn=0xfffffc0000e2b020, pps=0x2000, 
    npages=1, flags=0, rw=0) at ../../../../sys/vnode_if.h:296
#9  0xfffffc00004872f8 in uvn_get (uobj=0xfffffc0000e2b020, offset=0, pps=0x0, 
    npagesp=0xfffffe00043adde0, centeridx=0, access_type=0, advice=0, flags=0)
    at ../../../../uvm/uvm_vnode.c:1508
#10 0xfffffc0000474ba8 in uvm_fault (orig_map=0x0, vaddr=0, fault_type=0, 
---Type <return> to continue, or q <return> to quit---
    access_type=1) at ../../../../uvm/uvm_fault.c:1353
#11 0xfffffc00004f082c in trap (a0=4832043040, a1=1, a2=18446744073709551615, 
    entry=2, framep=0xfffffe00043adef8)
    at ../../../../arch/alpha/alpha/trap.c:463
#12 0xfffffc000030040c in XentMM ()
    at ../../../../arch/alpha/alpha/locore.s:569
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x120001ce8
(gdb) proc 0xfffffc0003fd6f88
(gdb) where
#0  0xfffffc0000358628 in mi_switch () at ../../../../kern/kern_synch.c:747
#1  0xfffffc0000357b70 in tsleep (ident=0x0, priority=288, 
    wmesg=0xfffffc0000503c34 "wait", timo=0)
    at ../../../../kern/kern_synch.c:415
#2  0xfffffc000034a978 in sys_wait4 (q=0xfffffc0003fd6f88, 
    v=0xfffffe00043bde88, retval=0xfffffe00043bded8)
    at ../../../../kern/kern_exit.c:550
#3  0xfffffc00004f0bc8 in syscall (code=7, framep=0xfffffe00043bdef8)
    at ../../../../arch/alpha/alpha/trap.c:656
#4  0xfffffc000030046c in XentSys ()
    at ../../../../arch/alpha/alpha/locore.s:602
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x1200302cc
(gdb) proc 0xfffffc0003fd6ba8
(gdb) where
#0  0xfffffc0000358628 in mi_switch () at ../../../../kern/kern_synch.c:747
#1  0xfffffc0000357b70 in tsleep (ident=0x0, priority=4, 
    wmesg=0xfffffc0000511630 "uvn_get", timo=0)
    at ../../../../kern/kern_synch.c:415
#2  0xfffffc0000475938 in uvm_sleep (event=0x0, slock=0x0, canintr=0, msg=0x0, 
    timo=0) at ../../../../uvm/uvm_glue.c:132
#3  0xfffffc00004872a8 in uvn_get (uobj=0xfffffc0000e2b020, offset=0, pps=0x0, 
    npagesp=0xfffffe00043b5de0, centeridx=0, access_type=0, advice=0, flags=0)
    at ../../../../uvm/uvm_vnode.c:1476
#4  0xfffffc0000474ba8 in uvm_fault (orig_map=0x0, vaddr=0, fault_type=0, 
    access_type=1) at ../../../../uvm/uvm_fault.c:1353
#5  0xfffffc00004f082c in trap (a0=4832043040, a1=1, a2=18446744073709551615, 
    entry=2, framep=0xfffffe00043b5ef8)
    at ../../../../arch/alpha/alpha/trap.c:463
#6  0xfffffc000030040c in XentMM ()
    at ../../../../arch/alpha/alpha/locore.s:569
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x120001ce8
(gdb) proc 0xfffffc0000e30ba0
(gdb) where
#0  0xfffffc0000358628 in mi_switch () at ../../../../kern/kern_synch.c:747
#1  0xfffffc0000357b70 in tsleep (ident=0x0, priority=306, 
    wmesg=0xfffffc000050e2b7 "segment", timo=307377)
    at ../../../../kern/kern_synch.c:415
#2  0xfffffc0000461f64 in sys_lfs_segwait (p=0x0, v=0x0, retval=0x0)
    at ../../../../ufs/lfs/lfs_syscalls.c:864
#3  0xfffffc00004f0bc8 in syscall (code=187, framep=0xfffffe000437def8)
    at ../../../../arch/alpha/alpha/trap.c:656
#4  0xfffffc000030046c in XentSys ()
    at ../../../../arch/alpha/alpha/locore.s:602
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x120001ca8

My config file (note no SOFTDEP):
# $NetBSD: ALPHA,v 1.107 1999/09/29 10:46:03 kleink Exp $
#
# Alpha kernel with all the options you'd want, and more.

include	"arch/alpha/conf/std.alpha"

maxusers 32

makeoptions	DEBUG="-g"

# CPU Support
#options 	DEC_2000_300	# "Jensen":	2000/300 (DECpc AXP 150)
#options 	DEC_2100_A50	# Avanti etc:	AlphaStation 400, 200, etc.
#options 	DEC_3000_500	# Flamingo etc:	3000/[4-9]00*
#options 	DEC_3000_300	# Pelican etc:	3000/300*
#options 	DEC_AXPPCI_33	# NoName:	AXPpci33, etc.
options 	DEC_EB164	# EB164:	AlphaPC 164
#options 	DEC_EB64PLUS	# EB64+:	AlphaPC 64, etc.
#options 	DEC_KN20AA	# KN20AA:	AlphaStation 500 and 600
#options 	DEC_KN8AE	# KN8AE:	AlphaServer 8200 and 8400
#options 	DEC_KN300	# KN300:	AlphaServer 4100
#options 	DEC_550		# Miata:	Digital Personal Workstation
#options 	DEC_1000	# Mikasa etc:	Digital AlphaServer 1000
#options 	DEC_1000A	# Corelle etc:	Digital AlphaServer 800/1000A
#options 	DEC_ALPHABOOK1	# AlphaBook1:	Tadpole/DEC AlphaBook
#options 	DEC_EB66	# EB66:		21066 Evaluation Board
#options 	DEC_6600	# EV6:		264DP OEM Board

# Standard system options
options 	KTRACE			# System call tracing support

# Diagnostic/debugging support options
options 	DIAGNOSTIC		# Cheap kernel consistency checks
#options 	DEBUG			# Expensive debugging checks/support
#options 	KMEMSTATS		# Collect kmem usage statistics
options 	DDB			# Kernel Dynamic Debugger
#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB

# File systems
file-system	FFS		# Fast file system
file-system	MFS		# Memory-based file system
file-system	LFS		# Log-structured file system
file-system	CD9660		# ISO-9660 CD-ROM FS (w/RockRidge extensions)
#file-system	ADOSFS		# AmigaDOS-compatible file system
file-system	MSDOSFS		# MS-DOS-compatible file system
#file-system	EXT2FS		# Linux ext2 file system
file-system	NFS		# Sun NFS-compatible file system client
file-system	NULLFS		# Null file system layer
file-system	KERNFS		# Kernel variable file system (/kern)
file-system	FDESC		# File descriptor file system (/dev/fd)
#file-system	PORTAL		# Portal file system
file-system	UMAPFS		# User-mapping file system layer
file-system	PROCFS		# Process file system (/proc)
file-system	UNION		# union file system

# File system options
options 	QUOTA		# User and group quotas for the FFS
options 	NFSSERVER	# Sun NFS-compatible file system server
#options 	FFS_EI		# FFS Endian Independant support

# Networking options
options 	INET		# Internet protocol suite
#options 	NS		# Xerox NS protocol suite
#options 	ISO,TPIP,EON	# ISO protocol suite
#options 	CCITT,LLC,HDLC	# CCITT protocol suite
#options 	NETATALK	# AppleTalk networking protocols
#options 	GATEWAY		# packet forwarding and more mbuf space
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)


# Compatibility with 4.2BSD implementation of TCP/IP.  Not suggested.
#options 	TCP_COMPAT_42

# 4.3BSD compatibility.  Should be optional, but necessary for now.
options 	COMPAT_43

# Binary compatibility with previous versions of NetBSD.
#options 	COMPAT_09
options 	COMPAT_10
options 	COMPAT_11
options 	COMPAT_12
options 	COMPAT_13
options 	COMPAT_14

# OSF/1 binary compatibility
#options 	COMPAT_OSF1

# System V-like message queues
options 	SYSVMSG

# System V-like semaphores
options 	SYSVSEM

# System V-like shared memory
options 	SYSVSHM
#options 	SHMMAXPGS=1024		# 1024 pages is the default

# Loadable Kernel Modules
options 	LKM

# Disable kernel security.
#options 	INSECURE

options 	NTP			# NTP phase/frequency locked loop

# Misc. options
#options 	EISAVERBOSE		# recognize "unknown" EISA devices
#options 	EXTENT_DEBUG		# extent alloc/dealloc code debugging
options 	FIX_UNALIGNED_VAX_FP	# fix unaligned VAX FP loads & stores
#options 	NO_KERNEL_RCSIDS	# don't include kernel file RCS IDs
options 	PCIVERBOSE		# recognize "unknown" PCI devices
options 	SCSIVERBOSE		# Verbose SCSI errors
#options 	TCVERBOSE		# recognize "unknown" TC devices
options 	UCONSOLE		# users can use TIOCCONS (for xconsole)

# The Alpha console firmware network boots using the BOOTP
# protocol, so we ask the NFS code to use BOOTP/DHCP as well,
# in case we have NFS root.
options 	NFS_BOOT_DHCP		# superset of BOOTP

# WS console uses SUN or VT100 terminal emulation
options 	WSEMUL_VT100

# realtime clock compatible to OSF/1
#options 	CLOCK_COMPAT_OSF1

config		netbsd	root on ? type ?
#config		netbsd	root on sd0 type ffs
#config		netbsd	root on ? type nfs

mainbus0 at	root
cpu*	at	mainbus0

# TurboLaser bus support and devices
#tlsb*	at	mainbus0
#gbus*	at	tlsb? node ? offset ?
#tlsbmem* at	tlsb? node ? offset ?
#kft*	at	tlsb? node ? offset ?

# Gbus Devices
#mcclock* at	gbus? offset ?

# MCBUS bus support
#mcbus*	at	mainbus0
#mcmem*	at	mcbus? mid ?

#i2c	at	mcbus?

#EV6 Tsunami Core Logic

#tsc*	at	mainbus0

# TurboChannel host bus adapter support
#tcasic*	at	mainbus0

# TurboChannel bus support
#tc*	at	tcasic?

# TurboChannel devices
#ioasic*	at	tc? slot ? offset ?
#mcclock* at	ioasic? offset ?
#le*	at	ioasic? offset ?
#scc0	at	ioasic? offset ?
#scc1	at	ioasic? offset ?
#tcds*	at	tc? slot ? offset ?
#asc*	at	tcds? chip ?
#cfb*	at	tc? slot ? offset ?
#sfb*	at	tc? slot ? offset ?
#le*	at	tc? slot ? offset ?
#fta*	at	tc? slot ? offset ?		# DEC DEFTA FDDI cards

# PCI host bus adapter support
#apecs*	at	mainbus?
cia*	at	mainbus?
#lca*	at	mainbus?
#dwlpx*	at	kft?
#mcpcia*	at	mcbus? mid ?
#tsp*	at	tsc?

# PCI bus support
#pci*	at	apecs?
pci*	at	cia?
#pci*	at	lca?
pci*	at	ppb?
#pci*	at	dwlpx?
#pci*	at	mcpcia?
#pci*	at	tsp?

# PCI devices
#adv*	at	pci? dev ? function ?		# AdvanSys SCSI
#adw*	at	pci? dev ? function ?		# AdvanSys Wide SCSI
#ahc*	at	pci? dev ? function ?		# Adaptec [23]94x, aic78x0 SCSI
#bha*	at	pci? dev ? function ?		# BusLogic 9xx SCSI (untested)
#dpt*	at	pci? dev ? function ?		# DPT SmartCache/SmartRAID
#cy*	at	pci? dev ? function ?		# Cyclades Cyclom-Y (untested)
de*	at	pci? dev ? function ?		# 21x4x-based Ethernet
#eap*	at	pci? dev ? function ?		# Ensoniq AudioPCI
#en*	at	pci? dev ? function ?		# ENI PCI ATM (untested)
ep*	at	pci? dev ? function ?		# 3COM 3c59x
epic*	at	pci? dev ? function ?		# SMC EPIC/100 Ethernet
#esh*	at	pci? dev ? function ?		# Essential HIPPI card
#eso*	at	pci? dev ? function ?		# ESS Solo-1 PCI AudioDrive
ex*	at	pci? dev ? function ?		# 3COM 3c90x[B] Ethernet
#fpa*	at	pci? dev ? function ?		# DEC DEFPA FDDI
fxp*	at	pci? dev ? function ?		# Intel EEPRO 10+/100B
isp*	at	pci? dev ? function ?		# Qlogic ISP 10x0 SCSI
#le*	at	pci? dev ? function ?		# PCI LANCE Ethernet (untested)
ncr*	at	pci? dev ? function ?		# NCR 53c8xx SCSI
#pceb*	at	pci? dev ? function ?		# Intel PCI-EISA Bridges
#pcscp*	at	pci? dev ? function ?		# AMD Am53c974 PCscsi-PCI
ppb*	at	pci? dev ? function ?		# PCI-PCI Bridges
pciide*	at	pci? dev ? function ?		# PCI IDE controllers
sio*	at	pci? dev ? function ?		# Intel PCI-ISA Bridges
#sv*	at	pci? dev ? function ?		# S3 SonicVibes
#tga*	at	pci? dev ? function ?		# DEC ZLXp-E[123] Graphics
#tl*	at	pci? dev ? function ?		# TI ThunderLAN Ethernet
tlp* 	at	pci? dev ? function ?		# DECchip 21x4x and clones
#options 	TLP_MATCH_21040
#options 	TLP_MATCH_21041
options 	TLP_MATCH_21140
#options 	TLP_MATCH_21142
vga*	at	pci? dev ? function ?		# PCI VGA Graphics
#uhci*	at	pci? dev ? function ?		# USB Univ. Host Controller
#ohci*	at	pci? dev ? function ?		# USB Open Host Controller

#audio*	at	eap?
#audio*	at	eso?
#audio*	at	sv?

#opl*	at	eso?
#opl*	at	sv?

#mpu*	at	eso?

# MII/PHY support
exphy*	at mii? phy ?			# 3Com internal PHYs
icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS1890
inphy*	at mii? phy ?			# Intel 82555 PHYs
lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
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/EISA bus support
#isa*	at	pceb?
#eisa*	at	pceb?
isa*	at	sio?

# ISA devices
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
com*	at	isa? port 0x3f8 irq 4		# standard serial ports
com*	at	isa? port 0x2f8 irq 3
#cs*	at	isa? port 0x300 iomem ? irq ? drq ? # CS8900 Ethernet
#ep*	at	isa? port ? irq ?		# 3COM 3c509 Ethernet
fdc0	at	isa? port 0x3f0 irq 6 drq 2	# floppy controller
#lc0	at	isa? port 0x300 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
#lc1	at	isa? port 0x320 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
#depca0	at	isa? port 0x300 iomem 0xd0000 iosiz 0x10000 irq 5 	# DEPCA
#depca1	at	isa? port 0x200 iomem 0xd8000 iosiz 0x8000 irq 10 	# DEPCA
#le*	at	depca?
lpt*	at	isa? port 0x3bc irq 7		# standard parallel port
vga*	at	isa?				# ISA (EISA: XXX) VGA
wdc0	at	isa? port 0x1f0 irq 14		# ST506/ESDI/IDE controllers
wdc1	at	isa? port 0x170 irq 15
#wss*	at	isa? port 0x530 irq 9 drq 0	# Windows Sound System
#audio*	at	wss?
#midi*	at	wss?
#aha*	at	isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
#aha*	at	isa? port 0x334 irq ? drq ?	# Adaptec 154[02] SCSI
#bha*	at	isa? port 0x330 irq ? drq ?	# BusLogic [57]4X SCSI (unt.)
#bha*	at	isa? port 0x334 irq ? drq ?	# BusLogic [57]4X SCSI (unt.)
#uha*	at	isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI (unt.)
#uha*	at	isa? port 0x334 irq ? drq ?	# UltraStor [13]4f SCSI (unt.)
#satlink0 at	isa? port 0x300 drq 1		# PlanetConnect Satellite receiver.

# EISA devices
#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
#uha*	at	eisa? slot ?			# UltraStor 24f SCSI (unt.)

# SCSI bus support
#scsibus* at	adv?
#scsibus* at	adw?
#scsibus* at	aha?
#scsibus* at	ahb?
#scsibus* at	ahc?
#scsibus* at	asc?
#scsibus* at	bha?
#scsibus* at	dpt?
scsibus* at	isp?
scsibus* at	ncr?
#scsibus* at	pcscp?
#scsibus* at	uha?

# SCSI devices
cd*	at	scsibus? target ? lun ?		# SCSI CD-ROM drives
ch*	at	scsibus? target ? lun ?		# SCSI autochangers
sd*	at	scsibus? target ? lun ?		# SCSI disk drives
se*	at	scsibus? target ? lun ?		# Cabletron SCSI<->Ethernet
ss*	at	scsibus? target ? lun ?		# SCSI scanners
st*	at	scsibus? target ? lun ?		# SCSI tape drives
uk*	at	scsibus? target ? lun ?		# SCSI unknown

# ST506/ESDI/IDE devices
wd*	at	pciide? channel ?
wd*	at	wdc? drive ?

# ATAPI bus support
atapibus* at	pciide? channel ?
atapibus* at	wdc?

# ATAPI devices
sd*	at	atapibus? drive ?		# ATAPI disk devices
cd*	at	atapibus? drive ?		# ATAPI CD-ROM devices

# Floppy drives
fd*	at	fdc? drive ?

# USB bus support
#usb*	at uhci?
#usb*	at ohci?

# USB Hubs
#uhub*	at usb?
#uhub*	at uhub? port ? configuration ? interface ?

# USB Mice
#ums*	at uhub? port ? configuration ? interface ?
#wsmouse*	at ums?

# USB Keyboards
#ukbd*	at uhub? port ? configuration ? interface ?
#wskbd*	at ukbd? console ?

# USB Generic HID devices
#uhid*	at uhub? port ? configuration ? interface ?

# USB Printer
#ulpt*	at uhub? port ? configuration ? interface ?

# USB Modem
#umodem*	at uhub? port ? configuration ?

# USB Mass Storage
#umass*	at uhub? port ? configuration ? interface ?
#scsibus* at umass? channel ?

# USB audio
#uaudio*	at uhub? port ? configuration ?
#audio*	at uaudio?

# USB Generic driver
#ugen*	at uhub? port ?

# Workstation Console attachments
#wsdisplay*	at	cfb?
wsdisplay*	at	vga?
#wsdisplay*	at	sfb?
#wsdisplay*	at	tga?
wskbd*		at	pckbd?
wsmouse*	at	pms?

pseudo-device	bpfilter	16
pseudo-device	ccd		4
#pseudo-device	raid		4		# RAIDframe disk driver
pseudo-device	ipfilter	1
pseudo-device	loop		1
pseudo-device	md		1
pseudo-device	ppp		4
pseudo-device	pty		64
pseudo-device	sl		4
#pseudo-device	strip		4
pseudo-device	tun		4
pseudo-device	vnd		4

# rnd is EXPERIMENTAL
#pseudo-device	rnd			# /dev/random and in-kernel generator
#options 	RND_COM			# use "com" randomness too

dmesg output:

[ preserving 249472 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.4P (HONEY) #1: Mon Dec  6 13:05:22 CET 1999
    jarle@honey.runit.sintef.no:/usr/src/sys/arch/alpha/compile/HONEY
Digital AlphaPC 164 500 MHz
8192 byte page size, 1 processor.
total memory = 128 MB
(2472 KB reserved for PROM, 125 MB used by NetBSD)
avail memory = 113 MB
using 816 buffers containing 6528 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-2 (pass 2)
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass 3
cia0: extended capabilities: 21<DWEN,BWEN>
cia0: using BWX for PCI config access
pci0 at cia0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
isp0 at pci0 dev 5 function 0
isp0: interrupting at eb164 irq 2
scsibus0 at isp0: 16 targets, 8 luns per target
ncr0 at pci0 dev 7 function 0: ncr 53c860 fast20 scsi
ncr0: interrupting at eb164 irq 1
ncr0: minsync=12, maxsync=137, maxoffs=8, 16 dwords burst, normal dma fifo
ncr0: single-ended, open drain IRQ driver
ncr0: restart (scsi reset).
scsibus1 at ncr0: 8 targets, 8 luns per target
sio0 at pci0 dev 8 function 0: Intel 82378ZB System I/O (SIO) (rev. 0x43)
tlp0 at pci0 dev 9 function 0: DECchip 21140 Ethernet, pass 1.2
tlp0: interrupting at eb164 irq 3
tlp0: DEC DE500-XA, Ethernet address 00:00:f8:30:94:81
tlp0: 10baseT, 100baseTX, 100baseTX-FDX, 10baseT-FDX
pciide0 at pci0 dev 11 function 0: CMD Technology PCI0646
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DJNA-370910>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 8693MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 17803440 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (disabled)
isa0 at sio0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
lpt0 at isa0 port 0x3bc-0x3bf irq 7
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 targ 0 lun 0: <IBM, DDRS-39130W, S97B> SCSI2 0/direct fixed
sd0: 8715 MB, 8387 cyl, 10 head, 212 sec, 512 bytes/sect x 17850000 sectors
scsibus1: waiting 2 seconds for devices to settle...
sd1 at scsibus1 targ 0 lun 0: <DEC, RZ29B    (C) DEC, 0016> SCSI2 0/direct fixed
sd1(ncr0:0:0): 10.0 MB/s (100 ns, offset 8)
sd1: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
sd2 at scsibus1 targ 2 lun 0: <DEC, RZ29B    (C) DEC, 0009> SCSI2 0/direct fixed
sd2(ncr0:2:0): 10.0 MB/s (100 ns, offset 8)
sd2: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
sd3 at scsibus1 targ 4 lun 0: <DEC, RZ29B    (C) DEC, 0014> SCSI2 0/direct fixed
sd3(ncr0:4:0): 10.0 MB/s (100 ns, offset 8)
sd3: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
root on wd0a dumps on wd0b
root file system type: ffs

	
>How-To-Repeat:
Have not tried to repeat this yet.
	
>Fix:
	
Unknown to me.
>Audit-Trail:
>Unformatted: