From owner-freebsd-current Fri Jan 1 10:15:00 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA06928 for freebsd-current-outgoing; Fri, 1 Jan 1999 10:15:00 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from opus.cts.cwu.edu (opus.cts.cwu.edu [198.104.92.71]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA06923 for ; Fri, 1 Jan 1999 10:14:59 -0800 (PST) (envelope-from skynyrd@opus.cts.cwu.edu) Received: from localhost (skynyrd@localhost) by opus.cts.cwu.edu (8.9.1/8.9.1) with SMTP id KAA26615 for ; Fri, 1 Jan 1999 10:14:36 -0800 (PST) Date: Fri, 1 Jan 1999 10:14:36 -0800 (PST) From: Chris Timmons To: freebsd-current@FreeBSD.ORG Subject: odd mkdir & softdep death; coincidence? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've been happily building and installing worlds in -current (elf, elf kernel) for some time on my ostensibly hardware-solid thrash machine. Yesterday it crashed and by chance I noticed a recent call to free(3) added to mkdir.c. I can't see how userland could affect this, so it is probably a coincidence. This happened yesterday, and the softupdates-enabled filesystem was implemented on a ccd device. Fatal trap 12: page fault while in kernel mode fault virtual address = 0x19 fault code = supervisor read, page not present instruction pointer = 0x8:0xf01db5dc stack pointer = 0x10:0xf4616bd0 frame pointer = 0x10:0xf4616bdc 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 = 37724 (mkdir) interrupt mask = bio panic: from debugger panic: from debugger #0 boot (howto=260) at ../../kern/kern_shutdown.c:285 #1 0xf0147ef5 in panic (fmt=0xf021f514 "from debugger") at ../../kern/kern_shutdown.c:446 #2 0xf0127cdd in db_panic (addr=-266488356, have_addr=0, count=-1, modif=0xf4616a50 "") at ../../ddb/db_command.c:432 #3 0xf0127c7d in db_command (last_cmdp=0xf0239ac8, cmd_table=0xf0239928, aux_cmd_tablep=0xf024d838) at ../../ddb/db_command.c:332 #4 0xf0127d42 in db_command_loop () at ../../ddb/db_command.c:454 #5 0xf012a093 in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71 #6 0xf01fa2c6 in kdb_trap (type=12, code=0, regs=0xf4616b94) at ../../i386/i386/db_interface.c:157 #7 0xf020438c in trap_fatal (frame=0xf4616b94, eva=25) at ../../i386/i386/trap.c:908 #8 0xf020406b in trap_pfault (frame=0xf4616b94, usermode=0, eva=25) at ../../i386/i386/trap.c:806 #9 0xf0203c82 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -259539968, tf_esi = -259741284, tf_ebp = -194941988, tf_isp = -194942020, tf_ebx = 1, tf_edx = -253479424, tf_ecx = -238359604, tf_eax = 284202, tf_trapno = 12, tf_err = 0, tf_eip = -266488356, tf_cs = 8, tf_eflags = 66050, tf_esp = -258222480, tf_ss = -255705984}) at ../../i386/i386/trap.c:437 #10 0xf01db5dc in pagedep_lookup (ip=0xf0e43600, lbn=0, flags=1, pagedeppp=0xf4616c00) at ../../ufs/ffs/ffs_softdep.c:759 #11 0xf01dbe6f in softdep_setup_allocdirect (ip=0xf0e43600, lbn=0, newblkno=1244167, oldblkno=0, newsize=1024, oldsize=0, bp=0xf1caeaa8) at ../../ufs/ffs/ffs_softdep.c:1205 #12 0xf01d98eb in ffs_balloc (ap=0xf4616d24) at ../../ufs/ffs/ffs_balloc.c:175 #13 0xf01e80c4 in ufs_mkdir (ap=0xf4616e98) at vnode_if.h:1015 #14 0xf01e8f79 in ufs_vnoperate (ap=0xf4616e98) at ../../ufs/ufs/ufs_vnops.c:2303 #15 0xf016d9ce in mkdir (p=0xf451c2c0, uap=0xf4616f94) at vnode_if.h:611 #16 0xf020460f in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 18, tf_esi = 1, tf_ebp = -272641184, tf_isp = -194940956, tf_ebx = -272640740, tf_edx = -1, tf_ecx = 2, tf_eax = 136, tf_trapno = 12, tf_err = 2, tf_eip = 134516284, tf_cs = 31, tf_eflags = 514, tf_esp = -272641316, tf_ss = 39}) at ../../i386/i386/trap.c:1064 #17 0xf01fac1c in Xint0x80_syscall () #18 0x804823b in ?? () #19 0x80480e9 in ?? () To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message