Fatal trap 12 --- can lack of APIC on SMP cause crashes?

Rudy crapsh at monkeybrains.net
Tue Jun 3 23:24:54 UTC 2008


My kernel panics!  I reinstlled i386 and scrapped my amd64 install, however, I forgot the "APIC" 
line... would that cause crashes under load or high network activity?
   device      apic        # I/O apic




- Rudy





# uname
FreeBSD example.monkeybrains.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon May 12 15:17:23 PDT 2008 
  root@:/usr/obj/usr/src/sys/EXAMPLE  i386


# crash message:
Fatal trap 12: page fault while in kernel mode
instruction pointer     = 0x20:0xc05330da

Following this advice:
  http://www.freebsd.org/doc/en/books/faq/advanced.html#KERNEL-PANIC-TROUBLESHOOTING
Nothing close to 0xc05330da... here is the closest:
# nm -n /boot/kernel/kernel | grep c053


c0532c5a t turnstile_first_waiter
c0532c80 T turnstile_head
c0532c8f T turnstile_empty
c0532ca5 t turnstile_fini
c0532cb8 t turnstile_init
c0532d2a T init_turnstiles
c0532dc6 t turnstile_adjust_thread
c0532f48 t propagate_priority
c0533101 T turnstile_adjust
c0533144 T turnstile_free
c0533168 T turnstile_alloc
c053318d t init_turnstile0




-------------------------------------------------------------------------
kernel config file:


###cpu             HAMMER   # wasn't working on amd64...
cpu             I686_CPU
ident           EXAMPLE

# To statically compile in device wiring instead of /boot/device.hints
#hints          "GENERIC.hints"         # Default places to look for devices.

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        SCTP                    # Stream Control Transmission Protocol
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        UFS_GJOURNAL            # Enable gjournal-based UFS journaling
options         MD_ROOT                 # MD is a potential root device
options         NFSCLIENT               # Network Filesystem Client
#options        NFSSERVER               # Network Filesystem Server
options         NFS_ROOT                # NFS usable as /, requires NFSCLIENT
#options        NTFS                    # NT File System
#options        MSDOSFS                 # MSDOS Filesystem
#options        CD9660                  # ISO 9660 Filesystem
options         PROCFS                  # Process filesystem (requires PSEUDOFS)
options         PSEUDOFS                # Pseudo-filesystem framework
#options        GEOM_PART_GPT           # GUID Partition Tables.
options         GEOM_LABEL              # Provides labelization
options         COMPAT_43TTY            # BSD 4.3 TTY compat [KEEP THIS!]
#options        COMPAT_IA32             # Compatible with i386 binaries
#options        COMPAT_FREEBSD4         # Compatible with FreeBSD4
#options        COMPAT_FREEBSD5         # Compatible with FreeBSD5
#options        COMPAT_FREEBSD6         # Compatible with FreeBSD6
options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
#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         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         ADAPTIVE_GIANT          # Giant mutex is adaptive.
options         STOP_NMI                # Stop CPUS using NMI instead of IPI
#options        AUDIT                   # Security event auditing
# Make an SMP-capable kernel by default
options         SMP                     # Symmetric MultiProcessor Kernel

# CPU frequency control
device          cpufreq

# Bus support.
device          acpi
device          eisa
device          pci

# ATA and ATAPI devices
device          ata
device          atadisk         # ATA disk drives
options         ATA_STATIC_ID   # Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard
device          psm             # PS/2 mouse

device          kbdmux          # keyboard multiplexer
device          vga             # VGA video card driver

device          splash          # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device          sc

device          agp             # support several AGP chipsets

# Serial (COM) ports
device          sio             # 8250, 16[45]50 based serial ports
device          uart            # Generic UART driver

# PCI Ethernet NICs.
device          em              # Intel PRO/1000 adapter Gigabit Ethernet Card
device          miibus          # MII bus support
device          bge             # Broadcom BCM570xx Gigabit Ethernet
device          vlan
device          carp

# Pseudo devices.
device          loop            # Network loopback
device          random          # Entropy device
device          ether           # Ethernet support
device          pty             # Pseudo-ttys (telnet etc)
device          md              # Memory "disks"

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device          bpf             # Berkeley packet filter




options         DUMMYNET
options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_VERBOSE_LIMIT=100
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPFIREWALL_FORWARD





















More information about the freebsd-questions mailing list