Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 1999 14:26:18 -0400 (EDT)
From:      "John W. DeBoskey" <jwd@unx.sas.com>
To:        freebsd-current@freebsd.org
Subject:   Fatal Trap 12 (-current kernel w/MFS)
Message-ID:  <199905171826.OAA76104@bb01f39.unx.sas.com>

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

   For those of you who know more than I.... When a -current
kernel boots up, it dies when trying to mount /tmp as an mfs.

Fatal Trap 12: page fault while in kernel mode
fault virtual address   = 0x9d2c0b38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0170b44
stack pointer           = 0x10:0xc7bbbd84
frame pointer           = 0x10:0xc7bbbdb0
code segment            = base 0x0, limit 0xfff, type=0x1b
                          DPL 0, pres 1, def32 1, gran 1
processor eflags        = interupt enabled, resume, IOPL=0
current process         = 39 (mount_mfs)
interrupt mask          =
trap number             = 12


   If I remove MFS & MFS_ROOT from the kernel and comment out
the /tmp mfs mount from /etc/fstab, the kernel boots correctly.

#------- Kernel config -----------
machine		"i386"
cpu		"I686_CPU"
ident		FreeBSD
maxusers	128

options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		MFS			#Memory Filesystem
options		MFS_ROOT		#MFS usable as root device, "MFS" req'ed
options		NFS			#Network Filesystem
options		NFS_ROOT		#NFS usable as root device, "NFS" req'ed
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		"CD9660_ROOT"		#CD-ROM usable as root. "CD9660" req'ed
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=5000		#Be pessimistic about Joe SCSI device
options		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

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

#
# Enable Posix priority scheduling
#
#options         "P1003_1B"
options         "_KPOSIX_PRIORITY_SCHEDULING"
#options         "_KPOSIX_VERSION=199309L"

controller	isa0
#controller	eisa0
controller	pci0
controller      dpt0

controller	fdc0	at isa? port IO_FD1 irq 6 drq 2
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

controller	wdc0	at isa? port IO_WD1 irq 14 flags 0xa0ffa0ff
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

controller	wdc1	at isa? port IO_WD2 irq 15
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1

device		acd0		#IDE CD-ROM
device		wfd0		#IDE Floppy (e.g. LS-120)

# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
controller	ahc0

controller	scbus0

device		da0

device		sa0

device		pass0

device		cd0	#Only need one of these, the code dynamically grows

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

device		vga0	at isa? port ? conflicts

# splash screen/screen saver
pseudo-device	splash

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

device		npx0	at nexus? port IO_NPX irq 13

#
# sio: serial ports (see sio(4))
#
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2            irq 3

#
# Parallel-Port Bus
#
#controller      ppbus0 
#device          lpt0    at ppbus?           # Parallel Printer


# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device fxp0
device xl0
device ti0

pseudo-device	loop
pseudo-device	ether
pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	64
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device   vn              #Vnode driver (turns a file into a device)
pseudo-device   ccd     4       #Concatenated disk driver
pseudo-device   snp     3       #Snoop device - to look at pty/vty/etc..

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options		KTRACE		#kernel tracing

# This provides support for System V shared memory.
#
options		SYSVSHM
options         SYSVSEM
options         SYSVMSG

options         USER_LDT                #allow user-level control of i386 ldt

#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
#  aware of the legal and administrative consequences of enabling this
#  option.  The number of devices determines the maximum number of
#  simultaneous BPF clients programs runnable.
#pseudo-device	bpfilter 4	#Berkeley packet filter


# USB support
#controller    uhci0
#controller    ohci0
#controller    usb0
#
# for the moment we have to specify the priorities of the device
# drivers explicitly by the ordering in the list below. This will
# be changed in the future.
#
#device        ums0
#device        ukbd0
#device        ulpt0
#device        uhub0
#device        ucom0
#device        umodem0
#device        hid0
#device        ugen0

#
#options       USB_DEBUG
#options       USBVERBOSE


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905171826.OAA76104>