Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2000 12:49:21 -0500 (EST)
From:      "Chris D. Faulhaber" <jedgar@fxp.org>
To:        freebsd-current@freebsd.org
Cc:        mckusick@freebsd.org
Subject:   Softupdates panic?
Message-ID:  <Pine.BSF.4.10.10001121241450.32901-100000@pawn.primelocation.net>

next in thread | raw e-mail | index | archive | help
The following backtrace comes from a panic I just had on my laptop
that appears to be softupdates-related.  Sources are from yesterday,
re-cvsup'ing shows no new fs-related sources updated.  At the time I was
in the middle of compiling the Window Maker port (actually compiling the
jpeglib dependency).

ffs_softdep.c version below, others available upon request (along with
kernel.debug/vmcore info):

$FreeBSD: src/sys/contrib/softupdates/ffs_softdep.c,v 1.47 2000/01/11
06:52:35 mckusick Exp $

ata-pci0: <Intel PIIX4 ATA-33 controller> port 0x3000-0x300f at device 1.1
on pci0
ata-pci0: Busmastering DMA supported
ata0 at 0x01f0 irq 14 on ata-pci0
ad0: <FUJITSU MHA2021AT/8210> ATA-3 disk at ata0 as master
ad0: 2067MB (4233600 sectors), 4200 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, WDMA2

Script started on Wed Jan 12 12:25:45 2000

root@pluto:~# gdb -k /sys/compile/PLUTO/kernel.debug /var/crash/vmcore.0
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"...
IdlePTD 3149824
initial pcb at 28b660
panicstr: from debugger
panic messages:
---
panic: flush_pagedep_deps: flush 3 failed
panic: from debugger
Uptime: 23h19m6s

dumping to dev #ad/0x30001, offset 131072
dump ata0: resetting devices .. done
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=260) at ../../kern/kern_shutdown.c:304
304			dumppcb.pcb_cr3 = rcr3();
(kgdb) bt
#0  boot (howto=260) at ../../kern/kern_shutdown.c:304
#1  0xc01373a5 in panic (fmt=0xc0235bf4 "from debugger")
    at ../../kern/kern_shutdown.c:554
#2  0xc011c419 in db_panic (addr=-1071552339, have_addr=0, count=-1, 
    modif=0xc72a18d0 "") at ../../ddb/db_command.c:433
#3  0xc011c3b9 in db_command (last_cmdp=0xc025e8b8, cmd_table=0xc025e718, 
    aux_cmd_tablep=0xc02878cc) at ../../ddb/db_command.c:333
#4  0xc011c47e in db_command_loop () at ../../ddb/db_command.c:455
#5  0xc011e507 in db_trap (type=3, code=0) at ../../ddb/db_trap.c:71
#6  0xc0216651 in kdb_trap (type=3, code=0, regs=0xc72a19d8)
    at ../../i386/i386/db_interface.c:158
#7  0xc0222088 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, 
      tf_edi = 276254, tf_esi = 256, tf_ebp = -953542112, tf_isp = -953542140, 
      tf_ebx = -1071353856, tf_edx = 0, tf_ecx = 0, tf_eax = 18, 
      tf_trapno = 3, tf_err = 0, tf_eip = -1071552339, tf_cs = 8, 
      tf_eflags = 582, tf_esp = -1071302401, tf_ss = -1071410141})
    at ../../i386/i386/trap.c:531
#8  0xc02168ad in Debugger (msg=0xc0239423 "panic") at machine/cpufunc.h:64
#9  0xc013739c in panic (fmt=0xc0247000 "flush_pagedep_deps: flush 3 failed")
    at ../../kern/kern_shutdown.c:552
#10 0xc01d01f2 in flush_pagedep_deps (pvp=0xc7391ea0, mp=0xc0ffd800, 
    diraddhdp=0xc11246a4) at ../../ufs/ffs/ffs_softdep.c:4248
#11 0xc01cfaf8 in softdep_sync_metadata (ap=0xc72a1b6c)
    at ../../ufs/ffs/ffs_softdep.c:3934
---Type <return> to continue, or q <return> to quit---
#12 0xc01d3a6c in ffs_fsync (ap=0xc72a1b6c) at ../../ufs/ffs/ffs_vnops.c:249
#13 0xc01cab08 in ffs_truncate (vp=0xc7391ea0, length=1024, flags=4, 
    cred=0xc1006400, p=0xc6d6e100) at vnode_if.h:537
#14 0xc01d6277 in ufs_direnter (dvp=0xc7391ea0, tvp=0xc7378180, 
    dirp=0xc72a1cb8, cnp=0xc72a1f04, newdirbp=0x0)
    at ../../ufs/ufs/ufs_lookup.c:842
#15 0xc01da137 in ufs_makeinode (mode=33188, dvp=0xc7391ea0, vpp=0xc72a1ef0, 
    cnp=0xc72a1f04) at ../../ufs/ufs/ufs_vnops.c:2159
#16 0xc01d7994 in ufs_create (ap=0xc72a1e10) at ../../ufs/ufs/ufs_vnops.c:183
#17 0xc01da1c1 in ufs_vnoperate (ap=0xc72a1e10)
    at ../../ufs/ufs/ufs_vnops.c:2283
#18 0xc0166b1c in vn_open (ndp=0xc72a1edc, fmode=1538, cmode=420)
    at vnode_if.h:106
#19 0xc0162de1 in open (p=0xc6d6e100, uap=0xc72a1f80)
    at ../../kern/vfs_syscalls.c:994
#20 0xc0222956 in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = 1, tf_esi = 135000800, tf_ebp = -1077939148, 
      tf_isp = -953540652, tf_ebx = -1, tf_edx = 134975904, 
      tf_ecx = -1077939096, tf_eax = 5, tf_trapno = 12, tf_err = 2, 
      tf_eip = 134692812, tf_cs = 31, tf_eflags = 663, tf_esp = -1077939192, 
      tf_ss = 47}) at ../../i386/i386/trap.c:1055
#21 0xc0216f56 in Xint0x80_syscall ()
#22 0x8056afd in ?? ()
#23 0x804b9e5 in ?? ()
---Type <return> to continue, or q <return> to quit---
#24 0x804a94c in ?? ()
#25 0x804a785 in ?? ()
#26 0x804a8a2 in ?? ()
#27 0x8051ac6 in ?? ()
#28 0x8051a32 in ?? ()
#29 0x80480f9 in ?? ()
(kgdb) 
root@pluto:~# 

Script done on Wed Jan 12 12:25:56 2000

-----
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org



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?Pine.BSF.4.10.10001121241450.32901-100000>