Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 1999 16:03:07 -0500 (EST)
From:      tstromberg@rtci.com
To:        freebsd-current@freebsd.org
Cc:        mdillon@apollo.backplane.com
Subject:   More crashes under heavy exec() load in -CURRENT (and strange savecore)
Message-ID:  <84694702.944254987164.JavaMail.chenresig@karma>

next in thread | raw e-mail | index | archive | help
I've been experiencing more strange crashes. I've been getting them about once or twice a day lately, but only if I'm running my testing for the FreeBSD-audit project. I'm basically brute forcing the FreeBSD toolchain, and reporting the results to the audit mailing list. Unfortunatly, the crashes have been getting in the way.. 

Matt Dillon told me to try to up my PV's in my kernel as a first step. After upping it to 1000 (this could have nothing to do with it), my machine would no longer dump core, or drop into DDB, it'd simply reboot. So I lowered it back down to the default, and now it cored again. I'll pop it up to 1000 again to what it does. 

For an idea of the load, it was probably at about 1.50. I had three processes doing a bunch of execs, and just before the crash the tester was only at ~1800 exec()'s a minute.  

I've got all of the info (dmesg, kernel conf, vmcore, kernel) sitting at http://www.afterthought.org/freebsd/crashes/ 

I also noticed this oddity in my /var/log/messages:

Dec  3 15:35:45 karma savecore: reboot after panic: page fault
Dec  3 15:35:45 karma savecore: /var/crash/bounds: No such file or directory
Dec  3 15:35:45 karma savecore: /dev/rrwd0s1b: No such file or directory; using block device
Dec  3 15:35:45 karma savecore: writing core to /var/crash/vmcore.0
Dec  3 15:36:03 karma savecore: writing kernel to /var/crash/kernel.0
Dec  3 15:36:03 karma savecore: read: No such file or directory

My rc.conf says:
dumpdev="/dev/wd0s1b"

Kernel:
FreeBSD karma.afterthought.org 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Thu Dec  2 13:04:29 EST 1999     chenresig@karma.afterthought.org:/usr/src/sys/compile/KARMA  i386

Last 'make world':
November 29th. 

Here's a backtrace:
===================
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc01d8339
stack pointer           = 0x10:0xcf71addc
frame pointer           = 0x10:0xcf71adec
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         = 86209 (cc1plus)
interrupt mask          = none
trap number             = 12
panic: page fault

syncing disks... 34 8 
done

dumping to dev #wd/0x20001, offset 1413889
dump ata0: resetting devices .. WARNING: WAIT_READY active=UNKNOWN
done
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  boot (howto=256) at ../../kern/kern_shutdown.c:273
273                     dumppcb.pcb_cr3 = rcr3();
(kgdb) bt
#0  boot (howto=256) at ../../kern/kern_shutdown.c:273
#1  0xc0132295 in panic (fmt=0xc0244fcf "page fault") at ../../kern/kern_shutdown.c:523
#2  0xc02158e2 in trap_fatal (frame=0xcf71ad9c, eva=0) at ../../i386/i386/trap.c:908
#3  0xc0215595 in trap_pfault (frame=0xcf71ad9c, usermode=0, eva=0) at ../../i386/i386/trap.c:801
#4  0xc0215167 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16777232, tf_edi = 0, tf_esi = -1071179392, tf_ebp = -814633492, 
      tf_isp = -814633528, tf_ebx = -1071179392, tf_edx = 0, tf_ecx = 11, tf_eax = 0, tf_trapno = 12, tf_err = 2, 
      tf_eip = -1071807687, tf_cs = 8, tf_eflags = 66118, tf_esp = -1071172824, tf_ss = -814624768})
    at ../../i386/i386/trap.c:425
#5  0xc01d8339 in _vm_map_clip_end (map=0xc0273328, entry=0xc0271980, end=3480358912) at ../../vm/vm_map.c:835
#6  0xc01d93bf in vm_map_delete (map=0xc0273328, start=3480342528, end=3480358912) at ../../vm/vm_map.c:1751
#7  0xc01d9536 in vm_map_remove (map=0xc0273328, start=3480342528, end=3480358912) at ../../vm/vm_map.c:1822
#8  0xc01d747d in kmem_free (map=0xc0273328, addr=3480342528, size=16384) at ../../vm/vm_kern.c:233
#9  0xc0141731 in pipeclose (cpipe=0xccd40a20) at ../../kern/sys_pipe.c:1093
#10 0xc014161d in pipe_close (fp=0xc3154540, p=0xcf67a300) at ../../kern/sys_pipe.c:1049
#11 0xc012a4f1 in fdrop (fp=0xc3154540, p=0xcf67a300) at ../../sys/file.h:211
#12 0xc012a42f in closef (fp=0xc3154540, p=0xcf67a300) at ../../kern/kern_descrip.c:1017
#13 0xc0129b90 in close (p=0xcf67a300, uap=0xcf71af80) at ../../kern/kern_descrip.c:515
#14 0xc0215b1a in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 136883640, tf_esi = 0, tf_ebp = -1077978820, 
      tf_isp = -814633004, tf_ebx = 136674112, tf_edx = 136674200, tf_ecx = 0, tf_eax = 6, tf_trapno = 7, tf_err = 2, 
      tf_eip = 136203996, tf_cs = 31, tf_eflags = 647, tf_esp = -1077978848, tf_ss = 47}) at ../../i386/i386/trap.c:1057
#15 0xc020a516 in Xint0x80_syscall ()
#16 0x81dd327 in ?? ()
#17 0x807fd54 in ?? ()
#18 0x80d8979 in ?? ()
#19 0x80db8cb in ?? ()
#20 0x80480f9 in ?? ()



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?84694702.944254987164.JavaMail.chenresig>