kern/91196: Kernel Panic

Michael Haro mharo at bitsurf.net
Sun Jan 1 20:40:10 PST 2006


>Number:         91196
>Category:       kern
>Synopsis:       Kernel Panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 02 04:40:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Michael Haro
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD firewall.bitsurf.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sun Dec 25 01:32:38 PST 2005 root at soekrisbuilder.bitsurf.net:/usr/obj/nanobsd.net4801/u
sr/src/sys/NET4801 i386

Soekris 4801 using read-only compact flash.

>Description:

Since I'm using flash memory, I don't have a swap partition and thus I don't
know how to capture a kernel dump when the system panics.  Let me know if
there is a way and I'll capture one

When the system panics it shows the following on the console:

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x1c
fault code              = supervisor write, page not present
instruction pointer     = 0x20:0xc0447876
stack pointer           = 0x28:0xc7db8960
frame pointer           = 0x28:0xc7db8978
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         = 27 (swi1: net)
trap number             = 12
panic: page fault
Uptime: 8h23m13s
Cannot dump. No dump device defined.

This machine is used as my firewall/router/bridge and some of the network
interfaces are configured to use polling.  I'm using pf for the firewall and
if_bridge for bridging some of the interfaces together (it has 7 interfaces).


>How-To-Repeat:

Here's my kernel config:

    machine         i386
    cpu             I586_CPU
    ident           NET4801
    
    makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
    
    options 	SCHED_4BSD		# 4BSD scheduler
    options 	PREEMPTION		# Enable kernel thread preemption
    options 	INET			# InterNETworking
    options 	INET6			# IPv6 communications protocols
    options 	FFS			# Berkeley Fast Filesystem
    options 	SOFTUPDATES		# Enable FFS soft updates support
    options 	UFS_ACL			# Support for access control lists
    options 	UFS_DIRHASH		# Improve performance on big directories
    options 	MD_ROOT			# MD is a potential root device
    options 	NFSCLIENT		# Network Filesystem Client
    options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
    #options 	MSDOSFS			# MSDOS Filesystem
    #options 	CD9660			# ISO 9660 Filesystem
    options 	PROCFS			# Process filesystem (requires PSEUDOFS)
    options 	PSEUDOFS		# Pseudo-filesystem framework
    #options 	GEOM_GPT		# GUID Partition Tables.
    options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
    options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
    options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
    
    options 	KTRACE			# ktrace(1) support
    options 	SYSVSHM			# SYSV-style shared memory
    options 	SYSVMSG			# SYSV-style message queues
    options 	SYSVSEM			# SYSV-style semaphores
    options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
    
    options		CPU_GEODE		# Mandatory
    options		CPU_SOEKRIS		# Recommended
    
    options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.
    
    device		apic			# I/O APIC
    
    device          isa
    device          pci
    
    # Floating point support - do not disable.
    device          npx
    
    # ATA (IDE) disk - required for CompactFlash too
    device          ata
    device          atadisk         # ATA disk drives
    
    # Serial (COM) ports
    device          sio
    
    # MII bus support is required for some PCI 10/100 ethernet NICs
    device          miibus          # MII bus support
    device          sis             # NS DP83815 Fast Ethernet device driver
    
    # Soekris vpn1211
    #device          hifn            # Hifn 7951, 7781, etc.
    
    device          random          # Entropy device
    device          loop            # Loopback
    device          ether           # Ethernet
    device          pty             # Pseudo-TTY
    device		md		# Memory "disks"
    device		gif		# IPv6 and IPv4 tunneling
    device          tun             # Packet tunnel (required by PPP)
    device          bpf             # Berkeley packet filter
    device		pf
    device		pflog
    device		pfsync
    device		if_bridge
    
    # USB support
    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
    
    # SCSI peripherals (required by USB)
    device          scbus           # SCSI bus (required)
    device          da              # Direct Access (disks)
    
    options ALTQ
    options ALTQ_CBQ
    options ALTQ_RED
    options ALTQ_RIO
    options ALTQ_HFSC
    options ALTQ_CDNR
    options ALTQ_PRIQ
    
    options DEVICE_POLLING
    options NSWAPDEV=0

>Fix:
	don't know


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list