[FreeBSD 4.8-RELEASE] kernel panic

Lennaert Meijvogel lennaert at s15156.leidenuniv.nl
Wed Jul 9 09:21:51 PDT 2003


Hi,

I have experienced a kernel panic. It happened after doing shutdown. A small
gdb-typescript is included. If you need more information, you can e-mail me.

Lennaert
--
Last night I was layin' down...
And I hear momma tell poppa: "That boy love to boogie-woogie"
And I hear poppa tell momma: "Let him boogie"
-------------- next part --------------
Script started on Wed Jul  9 18:09:59 2003
lennaert at scred/usr/obj/usr/src/sys/GW-5$ gdb -k kernel.debug /var/crash/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"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf

IdlePTD at phsyical address 0x002c8000
initial pcb at physical address 0x00249320
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xe0a5f098
fault code		= supervisor write, page not present
instruction pointer	= 0x8:0xc01bec92
stack pointer	        = 0x10:0xc8332b64
frame pointer	        = 0x10:0xc8332b64
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		= 255 (squid)
interrupt mask		= bio 
trap number		= 12
panic: page fault

syncing disks... 17 1 
done
Uptime: 2h38m24s

dumping to dev #ad/0x20001, offset 493632
dump ata0: resetting devices .. done
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:487
487		if (dumping++) {
(kgdb) where
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc014bcb7 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0xc014c0f5 in panic (fmt=0xc022664c "%s") at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc01f8a8b in trap_fatal (frame=0xc8332b24, eva=3768971416) at /usr/src/sys/i386/i386/trap.c:974
#4  0xc01f8739 in trap_pfault (frame=0xc8332b24, usermode=0, eva=3768971416) at /usr/src/sys/i386/i386/trap.c:867
#5  0xc01f82df in trap (frame={tf_fs = -936181744, tf_es = -936181744, tf_ds = -1071906800, tf_edi = -947695552, 
      tf_esi = -936949888, tf_ebp = -936170652, tf_isp = -936170672, tf_ebx = -1062302464, tf_edx = -525995880, 
      tf_ecx = -1062302464, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip = -1071911790, tf_cs = 8, tf_eflags = 66118, 
      tf_esp = -936170632, tf_ss = -1071911438}) at /usr/src/sys/i386/i386/trap.c:466
#6  0xc01bec92 in ufs_ihashrem (ip=0xc0ae8d00) at /usr/src/sys/ufs/ufs/ufs_ihash.c:152
#7  0xc01bedf2 in ufs_reclaim (ap=0xc8332ba4) at /usr/src/sys/ufs/ufs/ufs_inode.c:135
#8  0xc01c415d in ufs_vnoperatespec (ap=0xc8332ba4) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2394
#9  0xc017a6f8 in vclean (vp=0xc8274780, flags=8, p=0xc7835040) at vnode_if.h:836
#10 0xc017a84f in vgonel (vp=0xc8274780, p=0xc7835040) at /usr/src/sys/kern/vfs_subr.c:2037
#11 0xc01790db in getnewvnode (tag=VT_UFS, mp=0xc0aa0e00, vops=0xc0a55600, vpp=0xc8332c4c)
    at /usr/src/sys/kern/vfs_subr.c:666
#12 0xc01bcab3 in ffs_vget (mp=0xc0aa0e00, ino=91601, vpp=0xc8332cb8) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1109
#13 0xc01bf8b9 in ufs_lookup (ap=0xc8332d18) at /usr/src/sys/ufs/ufs/ufs_lookup.c:611
#14 0xc01c412d in ufs_vnoperate (ap=0xc8332d18) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#15 0xc0175492 in vfs_cache_lookup (ap=0xc8332d70) at vnode_if.h:77
#16 0xc01c412d in ufs_vnoperate (ap=0xc8332d70) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#17 0xc01783fd in lookup (ndp=0xc8332ec8) at vnode_if.h:52
#18 0xc0177ef8 in namei (ndp=0xc8332ec8) at /usr/src/sys/kern/vfs_lookup.c:153
#19 0xc01808df in vn_open (ndp=0xc8332ec8, fmode=5, cmode=420) at /usr/src/sys/kern/vfs_vnops.c:138
#20 0xc017ca14 in open (p=0xc7835040, uap=0xc8332f80) at /usr/src/sys/kern/vfs_syscalls.c:1028
#21 0xc01f8d41 in syscall2 (frame={tf_fs = -1078001617, tf_es = -1078001617, tf_ds = -1078001617, tf_edi = 140259092, 
      tf_esi = 0, tf_ebp = -1077954224, tf_isp = -936169516, tf_ebx = 134933944, tf_edx = 135680480, tf_ecx = -1077954376, 
      tf_eax = 5, tf_trapno = 12, tf_err = 2, tf_eip = 672791320, tf_cs = 31, tf_eflags = 659, tf_esp = -1077954268, 
      tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1175
#22 0xc01ec475 in Xint0x80_syscall ()
#23 0x80aee22 in ?? ()
#24 0x80a00a4 in ?? ()
#25 0x80a3e08 in ?? ()
#26 0x80a0a9c in ?? ()
#27 0x80a094e in ?? ()
#28 0x80a078a in ?? ()
#29 0x8060b4b in ?? ()
#30 0x805bd40 in ?? ()
#31 0x804ee17 in ?? ()
#32 0x804ed46 in ?? ()
#33 0x804f189 in ?? ()
#34 0x805bccf in ?? ()
#35 0x805bc66 in ?? ()
#36 0x809386a in ?? ()
#37 0x805b789 in ?? ()
#38 0x804ee17 in ?? ()
#39 0x804ecc8 in ?? ()
#40 0x804f189 in ?? ()
#41 0x805b52d in ?? ()
#42 0x80628b4 in ?? ()
#43 0x8066657 in ?? ()
#44 0x8088c49 in ?? ()
#45 0x804a4a5 in ?? ()
(kgdb) up 6
#6  0xc01bec92 in ufs_ihashrem (ip=0xc0ae8d00) at /usr/src/sys/ufs/ufs/ufs_ihash.c:152
152			LIST_REMOVE(ip, i_hash);
(kgdb) p ip
$1 = (struct inode *) 0x0
(kgdb) p i_hash
No symbol "i_hash" in current context.
(kgdb) lennaert at scred/usr/obj/usr/src/sys/GW-5$ exit

Script done on Wed Jul  9 18:11:04 2003


More information about the freebsd-hackers mailing list