Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2002 09:39:41 -0700
From:      Daniel Rudy <dcrudy@pacbell.net>
To:        FreeBSD-Hackers@FreeBSD.org
Subject:   System Panic: Trap 12 - Page Fault
Message-ID:  <3D6A59CD.7C90CA57@pacbell.net>

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

	I'm trying to figure out why my system paniced.  Below is some of the
details that I have come up with so far.  This is the SECOND kernel
panic in a row.  The first one is unusable.

strata:/usr/backup/crash 1034 ### ->gdb -k kernel.debug vmcore.1
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD at phsyical address 0x00311000
initial pcb at physical address 0x00283960
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x644f0680
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0x644f0680
stack pointer           = 0x10:0xc0263634
frame pointer           = 0x10:0xc05fc006
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         = Idle
interrupt mask          = net
trap number             = 12
panic: page fault

syncing disks...

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x30
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01de0f8
stack pointer           = 0x10:0xc0263428
frame pointer           = 0x10:0xc0263430
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         = Idle
interrupt mask          = net bio cam
trap number             = 12
panic: page fault
Uptime: 1m44s

dumping to dev #ad/0x20001, offset 131072
dump ata0: resetting devices .. done
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41
40 39 38 37 36 35 34 33 32 31 30 29 28 2
7 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487             if (dumping++) {
(kgdb) where
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc01529df in boot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:316
#2  0xc0152e1d in panic (fmt=0xc025ccac "%s") at
/usr/src/sys/kern/kern_shutdown.c:595
#3  0xc0224a5f in trap_fatal (frame=0xc02633e8, eva=48) at
/usr/src/sys/i386/i386/trap.c:966
#4  0xc022470d in trap_pfault (frame=0xc02633e8, usermode=0, eva=48) at
/usr/src/sys/i386/i386/trap.c:859
#5  0xc0224287 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16,
tf_edi = 0, tf_esi = -1067713536,
      tf_ebp = -1071238096, tf_isp = -1071238124, tf_ebx = -1071164132,
tf_edx = 6864960, tf_ecx = -970933824,
      tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1071783688,
tf_cs = 8, tf_eflags = 66050,
      tf_esp = -1067713536, tf_ss = -1067713536}) at
/usr/src/sys/i386/i386/trap.c:458
#6  0xc01de0f8 in acquire_lock (lk=0xc027551c) at
/usr/src/sys/ufs/ffs/ffs_softdep.c:266
#7  0xc01e21f8 in softdep_update_inodeblock (ip=0xc05bfc00,
bp=0xc1cef15c, waitfor=0)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:3813
#8  0xc01dd159 in ffs_update (vp=0xc620b9c0, waitfor=0) at
/usr/src/sys/ufs/ffs/ffs_inode.c:106
#9  0xc01e6e64 in ffs_fsync (ap=0xc02634dc) at
/usr/src/sys/ufs/ffs/ffs_vnops.c:273
#10 0xc01e5673 in ffs_sync (mp=0xc0930e00, waitfor=2, cred=0xc05cf880,
p=0xc029c2c0) at vnode_if.h:558
#11 0xc0182e53 in sync (p=0xc029c2c0, uap=0x0) at
/usr/src/sys/kern/vfs_syscalls.c:576
#12 0xc0152752 in boot (howto=256) at
/usr/src/sys/kern/kern_shutdown.c:235
#13 0xc0152e1d in panic (fmt=0xc025ccac "%s") at
/usr/src/sys/kern/kern_shutdown.c:595
#14 0xc0224a5f in trap_fatal (frame=0xc02635f4, eva=1682900608) at
/usr/src/sys/i386/i386/trap.c:966
#15 0xc022470d in trap_pfault (frame=0xc02635f4, usermode=0,
eva=1682900608)
    at /usr/src/sys/i386/i386/trap.c:859
#16 0xc0224287 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16,
tf_edi = 6687744, tf_esi = -1067340800,
      tf_ebp = -1067466746, tf_isp = -1071237600, tf_ebx = -1067340800,
tf_edx = -1481375744,
      tf_ecx = -1067339776, tf_eax = 1682900608, tf_trapno = 12, tf_err
= 0, tf_eip = 1682900608, tf_cs = 8,
      tf_eflags = 66050, tf_esp = -1072234652, tf_ss = -1481375744}) at
/usr/src/sys/i386/i386/trap.c:458
#17 0x644f0680 in ?? ()
#18 0xf09a1cc in ?? ()
cannot read proc at 0
(kgdb) qstrata:/usr/backup/crash 1037 ### ->uname -a
FreeBSD strata.pacbell.net 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #5: Tue
Aug 20 09:41:22 PDT 2002     root@strata.
pacbell.net:/usr/obj/usr/src/sys/STRATA  i386
strata:/usr/backup/crash 1038 ### ->

strata:/usr/src/sys/i386/conf 1039 ### ->cat WILDFIRE
# * * * *  KERNEL CONFIG FILE
# * * * *  MACHINE WILDFIRE
# * * * *  wildfire.pacbell.net



# CPU/Machine Options
machine         i386
cpu             I586_CPU
ident           WILDFIRE
maxusers        0
device          npx0    at nexus? port IO_NPX irq 13


# Software Debugging Options
makeoptions     DEBUG=-g                # Build a debugging kernel
options         KTRACE                  # ktrace(1) support
options         DDB                     # Enable the kernel debugger
options         DDB_UNATTENDED          # Force reboot after panic
options         INVARIANTS              # Additional sanity checking
options         INVARIANT_SUPPORT       # Support for INVARIANTS
options         DIAGNOSTIC              # Print additional debug
information
#options        PERFMON                 # Performance counters see
prefmon(4)


# Kernel Software/Compatibility Options
options         COMPAT_43               # Compatible with BSD 4.3 [KEEP
THIS!]
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         P1003_1B                # Posix P1003_1B real-time
extensions
options         _KPOSIX_PRIORITY_SCHEDULING     # POSIX scheduling
support
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev


# Filesystem Options
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         NFS                     # Network Filesystem
options         MSDOSFS                 # MSDOS Filesystem
options         CD9660                  # ISO 9660 Filesystem
options         PROCFS                  # Process filesystem
options         NFS_NOSERVER            # Disable the NFS-server code.
options         SUIDDIR                 # SUID directory file support
options         QUOTA                   # Enable disk quotas


# Bus Hardware Settings
device          isa                     # ISA bus [KEEP THIS!]
device          pci                     # PCI bus
options         AUTO_EOI_1              # Auto End of Interrupt Cntlr 1


# Floppy Hardware Settings
device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0


# ATA/ATAPI Hardware Settings/Software Options
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


# Keyboard Hardware Settings
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x1


# Video Hardware Settings/Software Options
device          vga0    at isa?         # VGA video device
pseudo-device   splash                  # Splash screen driver
options         VESA                    # Compile in VESA support
options         VGA_WIDTH90             # Support for 90 column display


# System Console Hardware Settings/Software Options
device          sc0     at isa? flags 0x100
options         MAXCONS=8               # Max number of virtual consoles
options         SC_HISTORY_SIZE=1000    # Size of scroll buffer
options         SC_PIXEL_MODE           # Support for raster text mode


# Advanced Power Management Hardware Settings
device          apm0    at nexus? disable flags 0x20


# Serial Port Hardware Settings
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 irq 3


# Parallel Port Hardware Settings
device          ppc0    at isa? irq 7
device          ppbus           # Parallel port bus (required)
device          lpt             # Printer


# Ethernet Network Hardware Settings
device          miibus          # MII bus support
device          sis             # Silicon Intergrated Systems SiS
900/SiS 7016


# Ethernet Network Software Options
options         INET            # InterNETworking
options         TCP_DROP_SYNFIN # Drop TCP SYN+FIN Packets
options         ICMP_BANDLIM    # Rate limit bad replies
options         IPDIVERT        # divert sockets
options         IPSTEALTH       # support for stealth forwarding
options         RANDOM_IP_ID    # Support for random ID increment
options         DUMMYNET        # Support for traffic shaping
options         BRIDGE          # Support for NIC bridging
options         MROUTING        # Multicast routing
options         IPFIREWALL      # Kernel Firewall (man ipfw)
options         IPFIREWALL_VERBOSE      # print info on dropped packets
options         IPFIREWALL_FORWARD      # enable transparent proxy
support
options         IPFIREWALL_VERBOSE_LIMIT=100    #limit verbosity
#options         IPFIREWALL_DEFAULT_TO_ACCEPT   #allow everything by
default


# General Pseudo Devices
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   disc            # Discard device (ds0, ds1, etc)
pseudo-device   pty             # Pseudo-ttys (telnet etc)
pseudo-device   speaker         # Play IBM style sounds from PC speaker
pseudo-device   bpf     4       # Berkeley packet filter
pseudo-device   snp     1       # Snoop Device
pseudo-device   tun     1       # Tunnel Device for PPP

-- 
Daniel Rudy

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D6A59CD.7C90CA57>