Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 2000 16:04:47 -0500 (EST)
From:      "Christopher J. Michaels" <cjm2@tv.weeble.dyndns.org>
To:        freebsd-stable@freebsd.org
Subject:   Fatal trap 12: page fault while in kernel mode
Message-ID:  <Pine.BSF.4.21.0004011548230.391-300000@tv.weeble.dyndns.org>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Running 4.0-STABLE cvsupped at 12:00am EST.
Gigabyte GA-7XI w/ Athlon 600 proc.

I get the following panic on bootup when the umass driver is compiled into
the kernel.  It panic's at the point where the root file system would
usually be mounted.  (This is hand typed since it's not getting far enough
to generate a dump):

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x70
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc0145350
stack pointer		= 0x10:0xc025f680
frame pointer		= 0x10:0xc025f6a8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= Idle
interrupt mask		= net tty bio cam
kernel: type 12 trap, code=0
Stopped at	tsleep+0x54:	cmpl	$0,0x70(%ebx)


I did compile with -G and also options DDB, but I haven't the slightest
idea what to do at th db> prompt that would be useful.

I'd like to submit a PR on this but this doesn't feel like enough info,
does anyone have any pointers or is this enough information.

I am attaching the DMESG and kernel config of successful boot of the same
kernel with umass commented out.

Thanks for any help
-- 
Chris

[-- Attachment #2 --]
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-STABLE #15: Sat Apr  1 15:59:53 EST 2000
    root@shithead.weeble.dyndns.org:/usr/src/sys/compile/shithead
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD-K7(tm) Processor (598.84-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x612  Stepping = 2
  Features=0x81f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,MMX>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 134152192 (131008K bytes)
avail memory = 127221760 (124240K bytes)
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
pcib0: <AMD-751 host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <AMD-751 PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia GeForce DDR graphics accelerator> at 5.0 irq 7
isab0: <PCI to ISA bridge (vendor=1022 device=7408)> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 756 ATA66 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
chip1: <PCI to Other bridge (vendor=1022 device=740b)> at device 7.3 on pci0
ohci0: <AMD-756 USB Controller> mem 0xe8001000-0xe8001fff irq 5 at device 7.4 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <AMD-756 USB Controller> on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
ugen0: Canon Scanner , rev 1.00/10.01, addr 2
ugen1: Iomega USB Zip 100, rev 1.00/1.00, addr 3
pci0: <unknown card> (vendor=0x1102, dev=0x0002) at 8.0 irq 10
pci0: <unknown card> (vendor=0x1102, dev=0x7002) at 8.1
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xec00-0xec3f irq 11 at device 10.0 on pci0
xl0: Ethernet address: 00:10:4b:22:89:e8
miibus0: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: supplying EUI64: 00:10:4b:ff:fe:22:89:e8
pci0: <3Dfx Voodoo 2 graphics accelerator> at 12.0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port not found.
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to accept, logging limited to 100 packets/entry by default
IPv6 packet filtering initialized, default to accept, logging limited to 100 packets/entry
ad0: 8693MB <ST39140A> [17662/16/63] at ata0-master using UDMA33
acd0: CDROM <ATAPI CD ROM DRIVE 50X MAX> at ata1-master using UDMA33
acd1: CD-R <CR-4801TE> at ata1-slave using PIO3
Mounting root from ufs:ad0s2a
xl0: starting DAD for fe80:0001::0210:4bff:fe22:89e8
xl0: DAD complete for fe80:0001::0210:4bff:fe22:89e8 - no duplicates found

[-- Attachment #3 --]
#
# SHITHEAD -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.freebsd.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246 2000/03/09 16:32:55 jlemon Exp $

machine		i386
cpu		I686_CPU
ident		SHITHEAD
maxusers	64

makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	MATH_EMULATE		#Support for x87 emulation
options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	UCONSOLE		#Allow users to grab the console
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extentions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies
options		SCSI_DELAY=15000        #Delay (in ms) before probing SCSI

device		isa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0

# ATA and ATAPI devices
device		ata0	at isa? port IO_WD1 irq 14
device		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
#options 	ATA_STATIC_ID		#Static device numbering
options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1
device		psm0	at atkbdc? irq 12

device		vga0	at isa?

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa?

# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
device		apm0    at nexus? flags 0x20 # Advanced Power Management

# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3

# Parallel port
device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		ppi		# Parallel port interface device


# PCI Ethernet NICs that use the common MII bus controller code.
device		miibus		# MII bus support
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"
pseudo-device	gif	2	# IPv6 and IPv4 tunneling
pseudo-device	faith	2	# IPv6-to-IPv4 relaying (translation)
pseudo-device	vn	2
pseudo-device	snp	2

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device	bpf		#Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
device		ugen		# Generic
#device		uhid		# "Human Interface Devices"
#device		ukbd		# Keyboard
#device		ulpt		# Printer
#device		umass		# Disks/Mass storage - Requires scbus and da
#device		ums		# Mouse
# USB Ethernet, requires mii
#device		aue		# ADMtek USB ethernet
#device		cue		# CATC USB ethernet
#device		kue		# Kawasaki LSI USB ethernet

options		SOFTUPDATES

options		IPFIREWALL
options		IPFIREWALL_DEFAULT_TO_ACCEPT
options		IPFIREWALL_VERBOSE
options		IPFIREWALL_VERBOSE_LIMIT=100

options         IPV6FIREWALL
options         IPV6FIREWALL_DEFAULT_TO_ACCEPT
options         IPV6FIREWALL_VERBOSE
options         IPV6FIREWALL_VERBOSE_LIMIT=100

options		SC_TWOBUTTON_MOUSE
options		SC_HISTORY_SIZE=1000

device		pcm
device		sbc

#SCSI STUFF FOR USB ZIP
device          scbus           # SCSI bus (required)
device		ahb
device          da              # Direct Access (disks)

options		DDB

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004011548230.391-300000>