Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2001 10:39:59 -0400 (EDT)
From:      Jaime Kikpole <jkikpole@cairodurham.org>
To:        <freebsd-stable@FreeBSD.ORG>
Subject:   Re: Random (?) kernel panics 
Message-ID:  <20010426103529.H51683-100000@zeus>
In-Reply-To: <200104261326.f3QDQwR53296@cwsys.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
	OK, I have the full backtrace this time.  Here we go:

Script started on Thu Apr 26 10:36:07 2001
zeus# whoami
root
zeus# pwd
/usr/obj/usr/src/sys/ZEUS
zeus# ls kernel.*
kernel.debug
zeus# gdb -k
GNU gdb 4.18
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".
(kgdb) symbol-file kernel.debug
Reading symbols from kernel.debug...done.
(kgdb) exec-file /var/crash/kernel.3
(kgdb) core-file /var/crash/vmcore.3
IdlePTD 3420160
initial pcb at 2b84e0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x20200
fault code		= supervisor write, page not present
instruction pointer	= 0x8:0xc017cc8d
stack pointer	        = 0x10:0xcd439cc4
frame pointer	        = 0x10:0xcd439cd4
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		= 26781 (afpd)
interrupt mask		= bio
trap number		= 12
panic: page fault

syncing disks...

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x2041838
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc017d197
stack pointer	        = 0x10:0xcd439a54
frame pointer	        = 0x10:0xcd439a74
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		= 26781 (afpd)
interrupt mask		= bio
trap number		= 12
panic: page fault
Uptime: 1d0h34m2s

dumping to dev #ad/0x20001, offset 524288
dump ata0: resetting devices .. done
256 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  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:469
469		if (dumping++) {
(kgdb) bt
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:469
#1  0xc01579d7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:309
#2  0xc0157d54 in poweroff_wait (junk=0xc028a90f, howto=-851282048)
    at /usr/src/sys/kern/kern_shutdown.c:556
#3  0xc024e8d5 in trap_fatal (frame=0xcd439a14, eva=33822776)
    at /usr/src/sys/i386/i386/trap.c:951
#4  0xc024e5ad in trap_pfault (frame=0xcd439a14, usermode=0, eva=33822776)
    at /usr/src/sys/i386/i386/trap.c:844
#5  0xc024e167 in trap (frame={tf_fs = -872611824, tf_es = -851247088,
      tf_ds = -1072168944, tf_edi = 2, tf_esi = 33822760, tf_ebp = -851207564,
      tf_isp = -851207616, tf_ebx = 33822760, tf_edx = 6864960,
      tf_ecx = -970781404, tf_eax = 36716544, tf_trapno = 12, tf_err = 0,
      tf_eip = -1072180841, tf_cs = 8, tf_eflags = 66054, tf_esp = -970781412,
      tf_ss = 16384}) at /usr/src/sys/i386/i386/trap.c:443
#6  0xc017d197 in getnewbuf (slpflag=0, slptimeo=0, size=6144, maxsize=16384)
    at /usr/src/sys/kern/vfs_bio.c:1554
#7  0xc017de13 in geteblk (size=6144) at /usr/src/sys/kern/vfs_bio.c:2289
#8  0xc017c0c4 in bwrite (bp=0xc6230d1c) at /usr/src/sys/kern/vfs_bio.c:651
#9  0xc01816a2 in vop_stdbwrite (ap=0xcd439b00)
    at /usr/src/sys/kern/vfs_default.c:319
#10 0xc01814fd in vop_defaultop (ap=0xcd439b00)
    at /usr/src/sys/kern/vfs_default.c:138
#11 0xc018e935 in spec_vnoperate (ap=0xcd439b00)
    at /usr/src/sys/miscfs/specfs/spec_vnops.c:119
#12 0xc0200be1 in ufs_vnoperatespec (ap=0xcd439b00)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2391
#13 0xc017c516 in bawrite (bp=0xc6230d1c) at vnode_if.h:1193
#14 0xc01f9ca2 in ffs_fsync (ap=0xcd439b6c)
    at /usr/src/sys/ufs/ffs/ffs_vnops.c:198
#15 0xc01f881a in ffs_sync (mp=0xc107fc00, waitfor=2, cred=0xc0a3b900,
    p=0xc02ce2a0) at vnode_if.h:558
#16 0xc01861ff in sync (p=0xc02ce2a0, uap=0x0)
    at /usr/src/sys/kern/vfs_syscalls.c:545
#17 0xc01577aa in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:233
#18 0xc0157d54 in poweroff_wait (junk=0xc028a90f, howto=-851282048)
    at /usr/src/sys/kern/kern_shutdown.c:556
#19 0xc024e8d5 in trap_fatal (frame=0xcd439c84, eva=131584)
    at /usr/src/sys/i386/i386/trap.c:951
#20 0xc024e5ad in trap_pfault (frame=0xcd439c84, usermode=0, eva=131584)
    at /usr/src/sys/i386/i386/trap.c:844
#21 0xc024e167 in trap (frame={tf_fs = 16, tf_es = -970850288, tf_ds = 16,
      tf_edi = 6864960, tf_esi = 1, tf_ebp = -851206956, tf_isp = -851206992,
      tf_ebx = -970828556, tf_edx = 131584, tf_ecx = 43323352,
      tf_eax = -1070993648, tf_trapno = 12, tf_err = 2, tf_eip = -1072182131,
      tf_cs = 8, tf_eflags = 66195, tf_esp = 8532, tf_ss = -8204})
    at /usr/src/sys/i386/i386/trap.c:443
#22 0xc017cc8d in bqrelse (bp=0xc62254f4) at /usr/src/sys/kern/vfs_bio.c:1283
#23 0xc01fa982 in ufs_bmaparray (vp=0xcd899c00, bn=8532, bnp=0xcd439dac,
    ap=0x0, nump=0x0, runp=0xcd439da4, runb=0x0)
    at /usr/src/sys/ufs/ufs/ufs_bmap.c:185
#24 0xc01fa79c in ufs_bmap (ap=0xcd439db0)
    at /usr/src/sys/ufs/ufs/ufs_bmap.c:81
#25 0xc0200bb1 in ufs_vnoperate (ap=0xcd439db0)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2373
#26 0xc017fef9 in cluster_read (vp=0xcd899c00, filesize=89923232, lblkno=8532,
    size=8192, cred=0x0, totread=8192, seqcount=127, bpp=0xcd439e44)
    at vnode_if.h:923
#27 0xc01f8f9e in ffs_read (ap=0xcd439e68)
    at /usr/src/sys/ufs/ufs/ufs_readwrite.c:253
#28 0xc018acf0 in vn_read (fp=0xc1637c00, uio=0xcd439ed8, cred=0xc189bd00,
    flags=0, p=0xcd427780) at vnode_if.h:334
#29 0xc0165788 in dofileread (p=0xcd427780, fp=0xc1637c00, fd=4,
    buf=0x8074390, nbyte=8192, offset=-1, flags=0)
    at /usr/src/sys/sys/file.h:147
#30 0xc016564e in read (p=0xcd427780, uap=0xcd439f80)
    at /usr/src/sys/kern/sys_generic.c:117
#31 0xc024eb81 in syscall2 (frame={tf_fs = 47, tf_es = 47,
      tf_ds = -1078001617, tf_edi = 69763072, tf_esi = 134662144,
      tf_ebp = -1077938968, tf_isp = -851206188, tf_ebx = 21093888,
      tf_edx = 134693776, tf_ecx = 4, tf_eax = 3, tf_trapno = 7, tf_err = 2,
      tf_eip = 672980572, tf_cs = 31, tf_eflags = 647, tf_esp = -1077939012,
      tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1150
#32 0xc0243405 in Xint0x80_syscall ()
#33 0x805493b in ?? ()
#34 0x8054ca6 in ?? ()
#35 0x8057f44 in ?? ()
#36 0x80583fe in ?? ()
#37 0x804bc29 in ?? ()
#38 0x804a19d in ?? ()
(kgdb) quit
zeus# exit
exit

Script done on Thu Apr 26 10:37:15 2001

	Thanks to all those who filled me in on the gdb tricks.  As usual,
any/all advise, insight, feedback, etc. is welcome.  Thanks in advance.

							Jaime

-- 
Network Administrator
Cairo-Durham Central School District



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




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