Date: 06 Sep 1999 11:08:33 +0200 From: Dag-Erling Smorgrav <des@yes.no> To: current@freebsd.org Subject: Panic with -CURRENT from Jul 31 Message-ID: <xzp4sh8z9ta.fsf@des.follo.net>
next in thread | raw e-mail | index | archive | help
Here's (most of) the relevant information. Sources are from July 31st,
the kernel was built on August 2nd. The panic occurred while I was
doing a large rm -rf (deleting a full copy of the src/contrib tree).
The "symbols.1" file referenced below is an unstripped copy of the
kernel that panicked.
root@des /var/crash# 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) file symbols.1
Reading symbols from symbols.1...done.
(kgdb) core vmcore.1
IdlePTD 2949120
initial pcb at 21e3a0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x1b1b0e03
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc0128333
stack pointer = 0x10:0xc8c4edd0
frame pointer = 0x10:0xc8c4edf0
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 = 3329 (rm)
interrupt mask = net tty bio cam
trap number = 12
panic: page fault
syncing disks... 462 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 gi
ving up
dumping to dev (3,1), offset 786464
dump 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 5
7 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 boot (howto=256) at ../../kern/kern_shutdown.c:291
291 dumppcb.pcb_cr3 = rcr3();
(kgdb) bt
#0 boot (howto=256) at ../../kern/kern_shutdown.c:291
#1 0xc012ba30 in at_shutdown (
function=0xc01f430f <__set_sysinit_set_sym_nexus_rootmodule_sys_init+1751>, arg=0xc89d91e0, queue=-926618224) at ../../kern/kern_shutdown.c:505
#2 0xc01bb2e1 in trap_fatal (frame=0xc8c4ed90, eva=454757891)
at ../../i386/i386/trap.c:907
#3 0xc01bafb9 in trap_pfault (frame=0xc8c4ed90, usermode=0, eva=454757891)
at ../../i386/i386/trap.c:800
#4 0xc01bac37 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 7,
tf_esi = -1071521632, tf_ebp = -926618128, tf_isp = -926618180,
tf_ebx = -1071595200, tf_edx = 0, tf_ecx = 454757891, tf_eax = 128,
tf_trapno = 12, tf_err = 0, tf_eip = -1072528589, tf_cs = 8,
tf_eflags = 66054, tf_esp = 0, tf_ss = -1044702840})
at ../../i386/i386/trap.c:426
#5 0xc0128333 in malloc (size=84, type=0xc020c140, flags=0)
at ../../kern/kern_malloc.c:217
#6 0xc01815e8 in inodedep_lookup (fs=0xc1c04800, inum=1135712, flags=1,
inodedeppp=0xc8c4ee30) at ../../ufs/ffs/ffs_softdep.c:843
#7 0xc0184911 in softdep_update_inodeblock (ip=0xc293f100, bp=0xc459ae78,
waitfor=0) at ../../ufs/ffs/ffs_softdep.c:3489
#8 0xc017ff7d in ffs_update (vp=0xc8987640, waitfor=0)
at ../../ufs/ffs/ffs_inode.c:105
#9 0xc018a159 in ufs_inactive (ap=0xc8c4eec8) at ../../ufs/ufs/ufs_inode.c:92
#10 0xc018f3e5 in ufs_vnoperate (ap=0xc8c4eec8)
at ../../ufs/ufs/ufs_vnops.c:2316
#11 0xc0151e3e in vput (vp=0xc8987640) at vnode_if.h:767
#12 0xc0156d5d in rmdir (p=0xc89d91e0, uap=0xc8c4ef80)
at ../../kern/vfs_syscalls.c:2703
#13 0xc01bb51e in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
tf_edi = 1, tf_esi = 134713344, tf_ebp = -1077945364,
tf_isp = -926617644, tf_ebx = 134722048, tf_edx = 134722120,
tf_ecx = 134742016, tf_eax = 137, tf_trapno = 7, tf_err = 2,
tf_eip = 134532664, tf_cs = 31, tf_eflags = 582, tf_esp = -1077945384,
tf_ss = 47}) at ../../i386/i386/trap.c:1056
#14 0xc01b0186 in Xint0x80_syscall ()
#15 0x8048242 in ?? ()
#16 0x80480e9 in ?? ()
(kgdb) q
root@des /var/crash# strings -n 3 kernel.1 | grep ___ | sed s/___//
# Kernel configuration for des.follo.net
machine i386
cpu I586_CPU
cpu I686_CPU
ident DES
maxusers 32
makeoptions DEBUG=-g
options AUTO_EOI_1
options AUTO_EOI_2
options COMPAT_43
options FFS
options FFS_ROOT
options ICMP_BANDLIM
options INCLUDE_CONFIG_FILE
options INET
options IPFIREWALL
options IPFIREWALL_VERBOSE
options KTRACE
options NMBCLUSTERS=8192
options PROCFS
options SOFTUPDATES
options SYSVMSG
options SYSVSEM
options SYSVSHM
options TCP_DROP_SYNFIN
options TCP_RESTRICT_RST
options UCONSOLE
options USERCONFIG
options VESA
options VISUAL_USERCONFIG
config kernel
controller isa0
controller pci0
controller pnp0
controller fdc0 at isa? port IO_FD1 irq 6 drq 2
disk fd0 at fdc0 drive 0
controller wdc0 at isa? port IO_WD1 irq 14 flags 0xa0ffa0ff
disk wd0 at wdc0 drive 0
controller wdc1 at isa? port IO_WD2 irq 15 flags 0xa0ffa0ff
disk wd2 at wdc1 drive 0
controller atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1
device psm0 at atkbdc? irq 12
device vga0 at isa? port ? conflicts
pseudo-device splash
device sc0 at isa?
options SC_DFLT_FONT
makeoptions SC_DFLT_FONT=iso
options MSGBUF_SIZE=32768
options SC_HISTORY_SIZE=1024
device npx0 at nexus? port IO_NPX irq 13
device apm0 at isa? disable
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
device sio1 at isa? port IO_COM2 irq 3
device ppc0 at isa? port? irq 7
controller ppbus0
device lpt0 at ppbus?
device plip0 at ppbus?
device ppi0 at ppbus?
device xl0
pseudo-device loop
pseudo-device ether
pseudo-device tun 4
pseudo-device bpf 4
pseudo-device pty 64
pseudo-device vn 4
device pcm0 at isa? port? irq 5 drq 1 flags 0x0
root@des /var/crash# strings kernel.1 | grep CURRENT
4.0-CURRENT
FreeBSD 4.0-CURRENT #11: Mon Aug 2 10:04:39 CEST 1999
DES
--
Dag-Erling Smorgrav - des@yes.no
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp4sh8z9ta.fsf>
