Date: Tue, 18 Aug 1998 13:08:12 +0200 (MEST) From: Werner Griessl <croot@btp1da.phy.uni-bayreuth.de> To: current@FreeBSD.ORG Subject: softupdates and smp crash Message-ID: <XFMail.980818130812.croot@btp1da.phy.uni-bayreuth.de>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
----------------------------------
E-Mail: Werner Griessl <croot@btp1da.phy.uni-bayreuth.de>
Date: 18-Aug-98
Time: 12:58:27
This message was sent by XFMail
----------------------------------
My system with current-smp from yesterday (Aug. 17) crashes with
"make buildworld -jx" with x>1 and softupdates on for /usr/obj.
Have no problems with j1,softupdates on and j4 or j8 with softupdates off.
Appended is a crash-log "gdb6.log" with j4
Werner
[-- Attachment #2 --]
GDB is free software and you are welcome to 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.
GDB 4.16 (i386-unknown-freebsd),
Copyright 1996 Free Software Foundation, Inc...
IdlePTD 2490368
initial pcb at 235690
panicstr: %s: dir inum %d != new %d
panic messages:
---
panic: initiate_write_filepage: dir inum 0 != new 40177
mp_lock = 01000001; cpuid = 1; lapic.id = 01000000
boot() called on cpu#1
syncing disks... panic: softdep_lock: locking against myself
mp_lock = 01000001; cpuid = 1; lapic.id = 01000000
boot() called on cpu#1
dumping to dev 30401, offset 262144
dump 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 boot (howto=260) at ../../kern/kern_shutdown.c:286
286 dumppcb.pcb_cr3 = rcr3();
(kgdb) bt
#0 boot (howto=260) at ../../kern/kern_shutdown.c:286
#1 0xf01151c1 in panic (fmt=0xf01ab861 "softdep_lock: locking against myself")
at ../../kern/kern_shutdown.c:429
#2 0xf01ab8c9 in acquire_lock (lk=0xf02265ac)
at ../../ufs/ffs/ffs_softdep.c:263
#3 0xf01aee54 in initiate_write_filepage (pagedep=0xf0c49e00, bp=0xf35300b0)
at ../../ufs/ffs/ffs_softdep.c:2745
#4 0xf01aecbf in softdep_disk_io_initiation (bp=0xf35300b0)
at ../../ufs/ffs/ffs_softdep.c:2666
#5 0xf0143e7a in spec_strategy (ap=0xf5f4bbd0)
at ../../miscfs/specfs/spec_vnops.c:555
#6 0xf0143599 in spec_vnoperate (ap=0xf5f4bbd0)
at ../../miscfs/specfs/spec_vnops.c:127
#7 0xf01bbb81 in ufs_vnoperatespec (ap=0xf5f4bbd0)
at ../../ufs/ufs/ufs_vnops.c:2303
#8 0xf01bb4d3 in ufs_strategy (ap=0xf5f4bc10) at vnode_if.h:891
#9 0xf01bbb51 in ufs_vnoperate (ap=0xf5f4bc10)
at ../../ufs/ufs/ufs_vnops.c:2285
#10 0xf013070b in bwrite (bp=0xf35300b0) at vnode_if.h:891
#11 0xf0134fea in vop_stdbwrite (ap=0xf5f4bc4c) at ../../kern/vfs_default.c:284
#12 0xf0134e01 in vop_defaultop (ap=0xf5f4bc4c) at ../../kern/vfs_default.c:130
#13 0xf01bbb51 in ufs_vnoperate (ap=0xf5f4bc4c)
at ../../ufs/ufs/ufs_vnops.c:2285
#14 0xf0130938 in bawrite (bp=0xf35300b0) at vnode_if.h:1121
#15 0xf01b49b1 in ffs_fsync (ap=0xf5f4bcf0) at ../../ufs/ffs/ffs_vnops.c:186
#16 0xf01b2e42 in ffs_sync (mp=0xf0b97800, waitfor=2, cred=0xf0b1aa80,
p=0xf0252d70) at vnode_if.h:499
#17 0xf0139a53 in sync (p=0xf0252d70, uap=0x0) at ../../kern/vfs_syscalls.c:515
#18 0xf0114d43 in boot (howto=256) at ../../kern/kern_shutdown.c:203
#19 0xf01151c1 in panic (fmt=0xf01aee09 "%s: dir inum %d != new %d")
at ../../kern/kern_shutdown.c:429
#20 0xf01aee84 in initiate_write_filepage (pagedep=0xf0c47780, bp=0xf35250f0)
at ../../ufs/ffs/ffs_softdep.c:2752
#21 0xf01aecbf in softdep_disk_io_initiation (bp=0xf35250f0)
at ../../ufs/ffs/ffs_softdep.c:2666
#22 0xf0143e7a in spec_strategy (ap=0xf5f4bdf4)
at ../../miscfs/specfs/spec_vnops.c:555
#23 0xf0143599 in spec_vnoperate (ap=0xf5f4bdf4)
at ../../miscfs/specfs/spec_vnops.c:127
#24 0xf01bbb81 in ufs_vnoperatespec (ap=0xf5f4bdf4)
at ../../ufs/ufs/ufs_vnops.c:2303
#25 0xf01bb4d3 in ufs_strategy (ap=0xf5f4be34) at vnode_if.h:891
#26 0xf01bbb51 in ufs_vnoperate (ap=0xf5f4be34)
at ../../ufs/ufs/ufs_vnops.c:2285
#27 0xf013070b in bwrite (bp=0xf35250f0) at vnode_if.h:891
#28 0xf0134fea in vop_stdbwrite (ap=0xf5f4be70) at ../../kern/vfs_default.c:284
#29 0xf0134e01 in vop_defaultop (ap=0xf5f4be70) at ../../kern/vfs_default.c:130
#30 0xf01bbb51 in ufs_vnoperate (ap=0xf5f4be70)
at ../../ufs/ufs/ufs_vnops.c:2285
#31 0xf0130938 in bawrite (bp=0xf35250f0) at vnode_if.h:1121
#32 0xf01b49b1 in ffs_fsync (ap=0xf5f4bf14) at ../../ufs/ffs/ffs_vnops.c:186
#33 0xf01b2e42 in ffs_sync (mp=0xf0b97800, waitfor=2, cred=0xf0bb6d80,
p=0xf5eba1c0) at vnode_if.h:499
#34 0xf0139a53 in sync (p=0xf5eba1c0, uap=0xf5f4bf84)
at ../../kern/vfs_syscalls.c:515
#35 0xf01de75b in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = -272638849,
tf_esi = -272638544, tf_ebp = -272639228, tf_isp = -168509484,
tf_ebx = 147552, tf_edx = 6, tf_ecx = 0, tf_eax = 36, tf_trapno = 7,
tf_err = 7, tf_eip = 537258529, tf_cs = 31, tf_eflags = 514,
tf_esp = -272639236, tf_ss = 39}) at ../../i386/i386/trap.c:1031
#36 0x2005ea21 in ?? ()
(kgdb) quit
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980818130812.croot>
