Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2002 13:11:45 -0500
From:      stan <stanb@awod.com>
To:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Re: Kernel Panic on 4.5 STABLE
Message-ID:  <20020209181145.GA3518@teddy.fas.com>
In-Reply-To: <20020209180256.GA2967@teddy.fas.com>
References:  <20020209160959.GA1010@teddy.fas.com> <20020209170212.GA1924@teddy.fas.com> <20020209180256.GA2967@teddy.fas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 09, 2002 at 01:02:56PM -0500, stan wrote:
> On Sat, Feb 09, 2002 at 12:02:12PM -0500, stan wrote:
> > On Sat, Feb 09, 2002 at 11:09:59AM -0500, stan wrote:
> > > Running periodic daily reliably crashes my 4.5 STABLE machine.
> > > Running the individual scripts in /etc/periodic/daily does
> > > not seem to replicate this problem.
> > > 
> > > I finally managed to figure out how to get the panic message to
> > > stay on the screen. Here it is:
> > > 
> > > Fatal Trap 12: Page Fault while in kernel mode
> > > Fault Virtual address          = 0x0
> > > fault code                     = supervisor read, page not present
> > > instruction code               = 0x8:0x0
> > > stack pointer                  = 0x10:0xe04e8eb4
> > > frame pointer                  = 0x10:0xe04e8ec8
> > > code segment                   = 0x0, limit 0xfffff, type 0x1b
> > >                                = DPL 0, pres 1, def32 1, gran 1
> > > processor eflags               = interrupt enabled, resume, IOPL = 8
> > > current process                = (704) ipfw
> > > interrupt mask                  = none
> > > trap number                    = 12
> > > panic: page fault
> > > 
> > > All of this is, of course copied by hand, so forgive me if I got the
> > > format wrong.
> > > 
> > > The machine is an Atholon 1.2G with 750MB of DDR ram
> > > 
> > A correction, and an update. The memory is PC-133, not DDR.
> > 
> > And, I have at this point taken out all but the first memory segment,
> > and I can still reproduce thsi problem. The I swaped that memeory segment
> > for another one, again leaving just 1 256M segment in the machine.
> > The problem can still be reproduced.
> > 
> More data.
> 
> The panic is not reproducable using the GENERIC kernel.
> 
> It is repatable, right down to the same addresses, and the same runing
> process (the process PID is of course different), when I put back
> my kernel. I have recompiled my kernel, and it still occurs.
> 
> Would posting my kernel config help?
> 
Here is is in case any kind soul can give me a clue.

I think it's a clue that the process that's runing when the panic occurs 
is ipfw (every time0

This machine has two network connections (beesides oopback). A fill
time ehternet connection, and a dial on demand ppp link. The ppp link
is brougth up when runing periodic daily, for reasosn I do not yet
understand.


#
# BLACK -- BLACK 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.2.37 2001/12/19 18:34:45 iedowse Exp $

machine		i386
cpu		I686_CPU
ident		BLACK
maxusers	64

options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_DIRHASH		#Improve performance on big directories
options 	MFS			#Memory Filesystem
options 	MD_ROOT			#MD is a potential root device
options 	NFS			#Network Filesystem
options 	NFS_ROOT		#NFS usable as root device, NFS required
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
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		ICMP_BANDLIM		#Rate limit bad replies
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	MAXDSIZ="(256*1024*1024)"
options 	MAXSSIZ="(256*1024*1024)"
options 	DFLDSIZ="(256*1024*1024)"
options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
options 	USER_LDT		#allow user-level control of i386 ldt
options 	NETGRAPH		#netgraph(4) system
options 	NETGRAPH_ASYNC
options 	NETGRAPH_BPF
options 	NETGRAPH_ECHO
options 	NETGRAPH_ETHER
options 	NETGRAPH_HOLE
options 	NETGRAPH_IFACE
options 	NETGRAPH_ONE2MANY
options 	NETGRAPH_PPP
options 	NETGRAPH_RFC1490
options 	NETGRAPH_SOCKET
options 	NETGRAPH_TEE
options 	NETGRAPH_TTY
options 	NETGRAPH_UI
options 	NETGRAPH_VJC
options 	PPP_BSDCOMP		#PPP BSD-compress support
options 	PPP_DEFLATE		#PPP zlib/deflate/gzip support
options 	PPP_FILTER		#enable bpf filtering (needs bpf)
options		RANDOM_IP_ID
options 	VESA
options 	SCSI_DELAY=5000	#Delay (in ms) before probing SCSI

# Set the amount of time (in seconds) the system will wait before
# rebooting automatically when a kernel panic occurs.  If set to (-1),
# the system will wait indefinitely until a key is pressed on the
# console.
options 	PANIC_REBOOT_WAIT_TIME=-1

device		isa
device		eisa
device		pci

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

# 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

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

device		vga0	at isa?

# SCSI Controllers
device		ahc		# AHA2940 and onboard AIC7xxx devices

# SCSI peripherals
device		scbus		# SCSI bus (required)
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)

# splash screen/screen saver
pseudo-device	splash

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

# 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? disable 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		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da


# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support

# ISA Ethernet NICs.
# 'device ed' requires 'device miibus'
device		ed0	at isa? port 0x280 irq 10 iomem 0xd8000

# Pseudo devices - the number indicates how many units to allocate.
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		# IPv6 and IPv4 tunneling

# 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		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse

device      smbus0
device      iicbus0
device      iicbb0
device      intpm0
device      smb0    at smbus?

# For PnP/PCI sound cards
device		pcm

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin

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




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