Subject: panic due to 'fatal page fault in supervisor mode'
To: None <>
From: Rob Windsor <>
List: port-i386
Date: 10/31/1999 21:17:10
My firewall box (router of sorts) is running 1.3.3 and I'd like to get it 
upgraded to 1.4-BRANCH.  I built up another 1.4-BRANCH box as a build box and 
built a custom kernel and tried to boot off of it.

I got to:

audio0 at gus0: full duplex
fatal page fault in supervisor mode
trap type 6 code f0280000 eip f01fabf8 cs 8 eflags 10206 cr2 24 cpl ffffffff
panic: trap

The GENERIC kernel for 1.4.1 dies in very similar manner.

I can't really debug the problem since I'm not a guru with DDB, but if I build 
up another box to do my routing (which I need to do anyway), I can probably 
step through it if someone wants to help me interactively.

An item of note: I have the EISA Buslogic card (BT-757), which has had an 
interesting history with the driver in the past.

Here's what I have:
: nimh; egrep -v '^$|^#' KENKU
include "arch/i386/conf/std.i386"
maxusers	32		# estimated number of users
options		I486_CPU
options		USER_LDT	# user-settable LDT; used by WINE
options		DUMMY_NOPS
options		XSERVER		# X server support in console drivers
options		UCONSOLE	# users can use TIOCCONS (for xconsole)
options		INSECURE	# disable kernel security levels
options		RTC_OFFSET=360	# hardware clock is this many mins. west of GMT
options		NTP		# NTP phase/frequency locked loop
options		KTRACE		# system call tracing via ktrace(1)
options		SYSVMSG		# System V-like message queues
options		SYSVSEM		# System V-like semaphores
options		SYSVSHM		# System V-like memory sharing
options		LKM		# loadable kernel modules
options		DIAGNOSTIC	# cheap kernel consistency checks
options		COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
options		COMPAT_09	# NetBSD 0.9,
options		COMPAT_10	# NetBSD 1.0,
options		COMPAT_11	# NetBSD 1.1,
options		COMPAT_12	# NetBSD 1.2,
options		COMPAT_13	# NetBSD 1.3,
options		COMPAT_43	# and 4.3BSD
options		COMPAT_386BSD_MBRPART	# recognize old partition ID
options		COMPAT_SVR4	# binary compatibility with SVR4
options		COMPAT_IBCS2	# binary compatibility with SCO and ISC
options		COMPAT_LINUX	# binary compatibility with Linux
options		COMPAT_FREEBSD	# binary compatibility with FreeBSD
options		EXEC_ELF32	# 32-bit ELF executables (SVR4, Linux)
file-system	FFS		# UFS
file-system	MFS		# memory file system
file-system	NFS		# Network File System client
file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	MSDOSFS		# MS-DOS file system
file-system	FDESC		# /dev/fd
options		NFSSERVER	# Network File System server
				# immutable) behave as system flags.
options		GATEWAY		# packet forwarding
options		INET		# IP + ICMP + TCP + UDP
options		NETATALK	# AppleTalk networking protocols
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		PFIL_HOOKS	# pfil(9) packet filter hooks
options		IPFILTER_LOG	# ipmon(8) log support
options		IPFORWSRCRT=0	# Turn off source routing
options		EISAVERBOSE	# verbose EISA device autoconfig messages
options		PCIVERBOSE	# verbose PCI device autoconfig messages
options		SCSIVERBOSE	# human readable SCSI error messages
options		USBVERBOSE	# verbose USB device autoconfig messages
options		WSEMUL_VT100			# VT100 / VT220 emulation
options		WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options		WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
options		WSDISPLAY_COMPAT_USL		# VT handling
options		WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
config		netbsd	root on ? type ?
mainbus0 at root
pci*	at mainbus? bus ?
pci*	at pchb? bus ?
pci*	at ppb? bus ?
pchb*	at pci? dev ? function ?	# PCI-Host bridges
pceb*	at pci? dev ? function ?	# PCI-EISA bridges
pcib*	at pci? dev ? function ?	# PCI-ISA bridges
ppb*	at pci? dev ? function ?	# PCI-PCI bridges
puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
eisa*	at mainbus?
eisa*	at pceb?
isa*	at mainbus?
isa*	at pceb?
isa*	at pcib?
isapnp0	at isa?
npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
pckbc0		at isa?			# pc keyboard controller
pckbd*		at pckbc?		# PC keyboard
vga0		at isa?
vga*		at pci?
pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
wsdisplay*	at vga? console ?
wsdisplay*	at pcdisplay? console ?
wskbd*		at pckbd? console ?
pcppi0		at isa?
sysbeep0	at pcppi?
com*	at puc? port ?			# 16x450s on "universal" comm boards
cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
com*	at isapnp?			# Modems and serial boards
com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
com1	at isa? port 0x2f8 irq 3
lpt*	at puc? port ?			# || ports on "universal" comm boards
lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
bha*	at eisa? slot ?			# BusLogic 7xx SCSI
scsibus* at bha?
sd*	at scsibus? target ? lun ?	# SCSI disk drives
st*	at scsibus? target ? lun ?	# SCSI tape drives
cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
ch*	at scsibus? target ? lun ?	# SCSI autochangers
ss*	at scsibus? target ? lun ?	# SCSI scanners
uk*	at scsibus? target ? lun ?	# SCSI unknown
fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
fd*	at fdc? drive ?			# the drives themselves
ep0	at isa? port ? irq ?			# 3C509 ethernet cards
gus0	at isa? port 0x220 irq 5 drq 1 drq2 6	# Gravis Ultra Sound
audio*	at gus?
pseudo-device	vnd		4	# disk-like interface to files
pseudo-device	bpfilter	8	# Berkeley packet filter
pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	loop			# network loopback
pseudo-device	ppp		2	# Point-to-Point Protocol
pseudo-device	pty		256	# pseudo-terminals
pseudo-device	rnd			# /dev/random and in-kernel generator

Any ideas?

-- Rob
Internet:                             __o
Life: Rob@Carrollton.Texas.USA.Earth                    _`\<,_
                                                       (_)/ (_)
The weather is here, wish you were beautiful.