Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2002 12:53:01 -0700 (PDT)
From:      David <david@bitch.inducedreality.net>
To:        freebsd-stable@freebsd.org
Cc:        vetter_david@sbcglobal.net
Subject:   Fatal trap 12
Message-ID:  <20020827124943.N462-400000@bitch.inducedreality.net>

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

[-- Attachment #1 --]
For a little while I've been getting these errors on occasion.  Sometimes
my machine will do just fine, other times it seems to enjoy crashing.

I've attached files showing a dmesg for my machine, a uname -a, and dump
is the result of using script to capture some info from gdb.

Anyone have an idea what could be going on?

David

[-- Attachment #2 --]
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.6-STABLE #1: Sun Aug 25 12:51:48 PDT 2002
    david@bitch.inducedreality.net:/usr/obj/usr/src/sys/BITCH
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 300683892 Hz
CPU: AMD-K6(tm) 3D processor (300.68-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0x80000800<SYSCALL,3DNow!>
real memory  = 268369920 (262080K bytes)
avail memory = 258428928 (252372K bytes)
Preloaded elf kernel "kernel" at 0xc02b4000.
K6-family MTRR support enabled (2 registers)
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00fdcb0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <3Dfx model 0009 graphics accelerator> at 0.0 irq 10
isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C586 ATA33 controller> port 0xd000-0xd00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x1106, dev=0x3040) at 7.3
dc0: <82c169 PNIC 10/100BaseTX> port 0xd800-0xd8ff mem 0xee020000-0xee0200ff irq 10 at device 8.0 on pci0
dc0: Ethernet address: 00:a0:cc:d5:54:89
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <OPTi 82C861 (FireLink) USB controller> at 9.0
atapci1: <Promise ATA100 controller> port 0xec00-0xec3f,0xe800-0xe803,0xe400-0xe407,0xe000-0xe003,0xdc00-0xdc07 mem 0xee000000-0xee01ffff irq 11 at device 10.0 on pci0
ata2: at 0xdc00 on atapci1
ata3: at 0xe400 on atapci1
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc9fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x20 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 flags 0x10 on isa0
sio1: type 16550A
DUMMYNET initialized (011031)
IP packet filtering initialized, divert disabled, rule-based forwarding enabled, default to deny, unlimited logging
ad0: 38166MB <ST340824A> [77545/16/63] at ata2-master UDMA100
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted

[-- Attachment #3 --]
Script started on Tue Aug 27 12:44:17 2002
bitch# gdb -k kernel.debug.08252002 vmcore.2


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 0x002d3000

initial pcb at physical address 0x002526e0

panicstr: from debugger

panic messages:

---

Fatal trap 12: page fault while in kernel mode

fault virtual address	= 0xc600ad00

fault code		= supervisor read, page not present

instruction pointer	= 0x8:0xc01759d8

stack pointer	        = 0x10:0xcd0c4ebc

frame pointer	        = 0x10:0xcd0c4eec

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		= 6 (vnlru)

interrupt mask		= bio 

panic: from debugger





Fatal trap 3: breakpoint instruction fault while in kernel mode

instruction pointer	= 0x8:0xc01ef094

stack pointer	        = 0x10:0xcd0c4cd0

frame pointer	        = 0x10:0xcd0c4cd8

code segment		= base 0x0, limit 0xfffff, type 0x1b

			= DPL 0, pres 1, def32 1, gran 1

processor eflags	= interrupt enabled, IOPL = 0

current process		= 6 (vnlru)

interrupt mask		= bio 

panic: from debugger

Uptime: 1d10h20m33s



dumping to dev #ad/0x20001, offset 1048704

dump ata2: resetting devices .. done

255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 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 27 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 

---

#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  0xc0148b5b in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316

#2  0xc0148f61 in panic (fmt=0xc020a2c4 "from debugger") at /usr/src/sys/kern/kern_shutdown.c:595

#3  0xc011e3f1 in db_panic (addr=-1072211496, have_addr=0, count=-1, modif=0xcd0c4d28 "") at /usr/src/sys/ddb/db_command.c:435

#4  0xc011e391 in db_command (last_cmdp=0xc0235a14, cmd_table=0xc0235854, aux_cmd_tablep=0xc024dc58) at /usr/src/sys/ddb/db_command.c:333

#5  0xc011e456 in db_command_loop () at /usr/src/sys/ddb/db_command.c:457

#6  0xc0120577 in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_trap.c:71

#7  0xc01eee32 in kdb_trap (type=12, code=0, regs=0xcd0c4e7c) at /usr/src/sys/i386/i386/db_interface.c:158

#8  0xc01fcdfc in trap_fatal (frame=0xcd0c4e7c, eva=3321933056) at /usr/src/sys/i386/i386/trap.c:969

#9  0xc01fcad5 in trap_pfault (frame=0xcd0c4e7c, usermode=0, eva=3321933056) at /usr/src/sys/i386/i386/trap.c:867

#10 0xc01fc64f in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = -872327712, tf_esi = 0, tf_ebp = -854831380, 

      tf_isp = -854831448, tf_ebx = -973034248, tf_edx = -835893824, tf_ecx = -872327712, tf_eax = -973034248, tf_trapno = 12, tf_err = 0, 

      tf_eip = -1072211496, tf_cs = 8, tf_eflags = 66178, tf_esp = -835893824, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:466

#11 0xc01759d8 in vinvalbuf (vp=0xce2d45c0, flags=1, cred=0x0, p=0xcc0155e0, slpflag=0, slptimeo=0) at /usr/src/sys/kern/vfs_subr.c:811

#12 0xc0176cb7 in vclean (vp=0xce2d45c0, flags=8, p=0xcc0155e0) at /usr/src/sys/kern/vfs_subr.c:1873

#13 0xc0176eeb in vgonel (vp=0xce2d45c0, p=0xcc0155e0) at /usr/src/sys/kern/vfs_subr.c:2037

#14 0xc0175480 in vlrureclaim (mp=0xc1217400, count=10) at /usr/src/sys/kern/vfs_subr.c:497

#15 0xc0175550 in vnlru_proc () at /usr/src/sys/kern/vfs_subr.c:544

(kgdb) up 11

#11 0xc01759d8 in vinvalbuf (vp=0xce2d45c0, flags=1, cred=0x0, p=0xcc0155e0, slpflag=0, slptimeo=0) at /usr/src/sys/kern/vfs_subr.c:811

811			for (bp = blist; bp; bp = nbp) {

(kgdb) p bp

$1 = (struct buf *) 0x68c800

(kgdb) p *bp

Cannot access memory at address 0x68c800.

(kgdb) p bp

$2 = (struct buf *) 0x68c800

(kgdb) p vp

$3 = (struct vnode *) 0xce2d45c0

(kgdb) p *vp

$4 = {v_flag = 8448, v_usecount = 0, v_writecount = 0, v_holdcnt = 1, v_id = 1110691, v_mount = 0xc1217400, v_op = 0xc11bfd00, 

  v_freelist = {tqe_next = 0x0, tqe_prev = 0xce2d4b1c}, v_nmntvnodes = {tqe_next = 0x0, tqe_prev = 0xce2d0be4}, v_cleanblkhd = {

    tqh_first = 0xc600acf8, tqh_last = 0xc652ad00}, v_dirtyblkhd = {tqh_first = 0x0, tqh_last = 0xce2d45f4}, v_synclist = {le_next = 0x0, 

    le_prev = 0x0}, v_numoutput = 0, v_type = VDIR, v_un = {vu_mountedhere = 0x0, vu_socket = 0x0, vu_spec = {vu_specinfo = 0x0, 

      vu_specnext = {sle_next = 0x0}}, vu_fifoinfo = 0x0}, v_lease = 0x0, v_lastw = 0, v_cstart = 0, v_lasta = 0, v_clen = 0, 

  v_object = 0xce2dd720, v_interlock = {lock_data = 0}, v_vnlock = 0xc19bc100, v_tag = VT_UFS, v_data = 0xc19bc100, v_cache_src = {

    lh_first = 0x0}, v_cache_dst = {tqh_first = 0xc19bfdc0, tqh_last = 0xc19bfdd0}, v_dd = 0xce2d0bc0, v_ddid = 1110225, v_pollinfo = {

    vpi_lock = {lock_data = 0}, vpi_selinfo = {si_pid = 0, si_note = {slh_first = 0x0}, si_flags = 0}, vpi_events = 0, vpi_revents = 0}, 

  v_vxproc = 0xcc0155e0}

(kgdb) quit

bitch# ^Dexit


Script done on Tue Aug 27 12:47:58 2002

[-- Attachment #4 --]
FreeBSD bitch.inducedreality.net 4.6-STABLE FreeBSD 4.6-STABLE #1: Sun Aug 25 12:51:48 PDT 2002     david@bitch.inducedreality.net:/usr/obj/usr/src/sys/BITCH  i386

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