Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 1999 14:56:51 -0400 (EDT)
From:      Chuck Robey <chuckr@picnic.mat.net>
To:        freebsd-current@FreeBSD.ORG
Subject:   Panic
Message-ID:  <Pine.BSF.4.10.9904301444140.423-100000@picnic.mat.net>

next in thread | raw e-mail | index | archive | help
Ulp!!  I just had my first panic in a year, and remembered why I didn't
want to use modules too much, because when I tried to revert, the old
kernel didn't like the new modules (procfs, it seems).

Anyhow, I handcopied the panic message, here it is, I'd extremely
appreiciate any help in getting a new kernel to boot.  I finally got my
old kernel up by not loading procfs.ko ... Oh, yeah, I booted this 3
times with the same message, it's not a random occurrence.  Since I
handcopied this, and my printing is in block letters, I don't
differentiate between upper and lower case, so don't read anything into
that.

fatal trap 12: page fault while in kernel mode
mp_lock = 0000001a; cpuid = 0; lapic.id = 01000000
fault virtual address = 0x14
fault code = supervisor read, page not present
instruction pointer = 0x8; 0xc01c6663
stack pointer = 0x10; 0xc034ade4
frame pointer = 0x10; 0xc034ae14
code segment = base 0x0, limit 0xfffff, type 0x1b
               dpl 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, iopl=0
interrupt mask = net tty bio cam <- smp:xxx
kernel: type 12 trap, code = 0
stopped at nexus_setup_intr+0x13:pushl 0x14(%edx)

This is my first kernel since the nexus stuff was brought in, and I had
to edit my config file to get it to stop issuing me errors ... here's my
config, I hope this helps:

machine		"i386"

cpu		"I586_CPU"
cpu		"I686_CPU"
ident		CHUCKRSP
maxusers	64

# Create a SMP capable kernel (mandatory options):
options		SMP			# Symmetric MultiProcessor Kernel
options		APIC_IO			# Symmetric (APIC) I/O

# Optional, these are the defaults:
options		NCPU=2			# number of CPUs
options		NBUS=4			# number of busses
options		NAPIC=1			# number of IO APICs
options		NINTR=24		# number of INTs
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
#options		SCSI_NCR_SYMBIOS_COMPAT
options		MSGBUF_SIZE=40960

# Lets always enable the kernel debugger for SMP.
options		DDB

# SMP shouldn't need x87 emulation, disable by default.
#options		MATH_EMULATE		#Support for x87 emulation
options		GPL_MATH_EMULATE	#Support for x87 emulation via

options		INET			#InterNETworking
options		FFS_ROOT
options		FFS			#Berkeley Fast Filesystem
#options		NFS			#Network Filesystem
#options		MSDOSFS			#MSDOS Filesystem
#options		"CD9660"		#ISO 9660 Filesystem
#options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=8000		#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
options		"VM86"
options		"MD5"
#options		SCSI_NCR_SYMBIOS_COMPAT # for LEDs
options		SOFTUPDATES
#options		PERFMON
#options		VESA			# needs VM86 defined too!!

# Coda stuff:
#options		CODA			#CODA filesystem.
#pseudo-device	vcoda	4		#coda minicache <-> venus comm.


config		kernel	root on da0s1a dumps on da0s1b

controller	isa0
controller	eisa0
controller	pnp0
controller	pci0

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

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

controller	scbus0

#device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
#device		npx0	at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr
#
# The Numeric Processing eXtension driver.  This should be configured if
# your machine has a math co-processor, unless the coprocessor is very
# buggy. If it is not configured then you *must* configure math emulation
# (see above).  If both npx0 and emulation are configured, then only npx0
# is used (provided it works).
device		npx0	at nexus? port IO_NPX iosiz 0x0 flags 0x0 irq 13


device		da0
device		da1
device		xpt0

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

# The keyboard controller; it controlls the keyboard and the PS/2 mouse.
controller	atkbdc0	at isa? port IO_KBD

# The AT keyboard
device		atkbd0	at isa? port IO_KBD

# new syscons stuff

#controller	atkbdc0	at isa? port IO_KBD tty
#device		atkbd0	at isa? tty irq 1
device		vga0	at isa? port ? conflicts
device		sc0	at isa?

device		sio0	at isa? port IO_COM1 irq 4
device		sio1	at isa? port IO_COM2 irq 3

controller	ppc0    at isa? port? irq 7 drq 3
controller	ppbus0
device		lpt0	at ppbus?
device		plip0	at ppbus?
device		ppi0	at ppbus?
device		pps0	at ppbus?

# sound
device pcm0 at isa? port ? irq 15 drq 1


# 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 ed0 at isa? port 0x280 irq  5 iomem 0xd8000

pseudo-device	loop
pseudo-device	vn
pseudo-device	ether
pseudo-device	snp	4	#Snoop device - to look at pty/vty/etc..
pseudo-device	tun	1
pseudo-device	pty	64
pseudo-device	streams
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	bpfilter	4
device		pass0	#CAM passthrough driver
device		pass1	#CAM passthrough driver
device		pass2	#CAM passthrough driver

# 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

# PS/2 mouse
device		psm0	at atkbdc? irq 12


----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@picnic.mat.net       | communications topic, C programming, and Unix.
213 Lakeside Drive Apt T-1  |
Greenbelt, MD 20770         | I run picnic (FreeBSD-current)
(301) 220-2114              | and jaunt (Solaris7).
----------------------------+-----------------------------------------------






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?Pine.BSF.4.10.9904301444140.423-100000>