Date: Sun, 23 Feb 2003 22:50:07 -0800 (PST) From: "Evgueni V. Gavrilov" <aquatique@rusunix.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/42277: Several kernel panics per day with panicstr: softdep_lock: locking against myself. Further filesystems damage guaranteed. Message-ID: <200302240650.h1O6o7NL066196@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/42277; it has been noted by GNATS.
From: "Evgueni V. Gavrilov" <aquatique@rusunix.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:
Subject: Re: kern/42277: Several kernel panics per day with panicstr: softdep_lock: locking against myself. Further filesystems damage guaranteed.
Date: Mon, 24 Feb 2003 12:47:35 +0600
where full follows
#0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
error = 0
#1 0xc0188d8f in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316
howto = 260
#2 0xc01891b4 in poweroff_wait (junk=0xc02add80, howto=-967414684) at /usr/src/sys/kern/kern_shutdown.c:595
fmt = 0xc02add80 "softdep_lock: locking against myself"
bootopt = 260
buf = "softdep_lock: locking against myself", '\000' <repeats 219 times>
#3 0xc022b242 in acquire_lock (lk=0xc02deb9c) at /usr/src/sys/ufs/ffs/ffs_softdep.c:261
lk = (struct lockit *) 0xc02add80
holder = 260
#4 0xc0230940 in softdep_count_dependencies (bp=0xc6566c64, wantcount=0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:4792
bp = (struct buf *) 0xc6566c64
wantcount = 0
wk = (struct worklist *) 0xc6566c64
inodedep = (struct inodedep *) 0x0
aip = (struct allocindir *) 0x0
pagedep = (struct pagedep *) 0x0
dap = (struct diradd *) 0x0
i = 0
retval = 0
#5 0xc0233b84 in ffs_fsync (ap=0xcd114bb0) at /usr/src/sys/ufs/ffs/ffs_vnops.c:168
vp = (struct vnode *) 0xcd6e9540
bp = (struct buf *) 0xc6566c64
nbp = (struct buf *) 0x0
s = 6864960
error = 0
wait = 0
passes = 4
skipmeta = 0
lbn = 1
#6 0xc0232667 in ffs_sync (mp=0xc12e8600, waitfor=2, cred=0xc0a60580, p=0xc03050e0) at vnode_if.h:558
a = {a_desc = 0xc02c8380, a_vp = 0xcd6e9540, a_cred = 0xc0a60580, a_waitfor = 2, a_p = 0xc03050e0}
vp = (struct vnode *) 0xcd6e9540
cred = (struct ucred *) 0xc0a60580
waitfor = 2
p = (struct proc *) 0xc03050e0
p = (struct proc *) 0xc03050e0
nvp = (struct vnode *) 0xcd6e9480
vp = (struct vnode *) 0xcd6e9540
ip = (struct inode *) 0x0
ump = (struct ufsmount *) 0xc12f8c00
fs = (struct fs *) 0xc130f000
error = 0
allerror = 0
#7 0xc01b94bf in sync (p=0xc03050e0, uap=0x0) at /usr/src/sys/kern/vfs_syscalls.c:576
p = (struct proc *) 0xc03050e0
mp = (struct mount *) 0xc12e8600
nmp = (struct mount *) 0x0
asyncflag = 0
#8 0xc0188b2a in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:235
bp = (struct buf *) 0x0
iter = 5
nbusy = -1070863476
pbusy = -854504396
howto = 256
#9 0xc01891b4 in poweroff_wait (junk=0xc02beb8c, howto=-1070864721) at /usr/src/sys/kern/kern_shutdown.c:595
fmt = 0xc02beb8c "%s"
bootopt = 256
buf = "softdep_lock: locking against myself", '\000' <repeats 219 times>
#10 0xc02769a6 in trap_fatal (frame=0xcd114cd0, eva=4294901770) at /usr/src/sys/i386/i386/trap.c:974
frame = (struct trapframe *) 0x100
code = -1070863476
type = 12
ss = -1070863476
esp = 0
softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, ssd_dpl = 0, ssd_p = 1, ssd_xx = 6, ssd_xx1 = 2,
ssd_def32 = 1, ssd_gran = 1}
#11 0xc0276679 in trap_pfault (frame=0xcd114cd0, usermode=0, eva=4294901770) at /usr/src/sys/i386/i386/trap.c:867
va = 4294901760
vm = (struct vmspace *) 0x0
map = 0xc02f6f2c
rv = 0
ftype = 1 '\001'
p = (struct proc *) 0xcc008780
#12 0xc0276263 in trap (frame={tf_fs = -854523888, tf_es = -1046544368, tf_ds = 16, tf_edi = 0, tf_esi = -1046538240,
tf_ebp = -854504176, tf_isp = -854504196, tf_ebx = -65536, tf_edx = -1048670080, tf_ecx = -65536, tf_eax = -1048670080,
tf_trapno = 12, tf_err = 0, tf_eip = -1071467248, tf_cs = 8, tf_eflags = 66071, tf_esp = -854504144, tf_ss = -1071451118})
at /usr/src/sys/i386/i386/trap.c:466
p = (struct proc *) 0xcc008780
sticks = 3327710644
i = 0
ucode = 0
type = 12
code = 0
eva = 4294901770
#13 0xc022b510 in worklist_remove (item=0xffff0000) at /usr/src/sys/ufs/ffs/ffs_softdep.c:467
item = (struct worklist *) 0x0
#14 0xc022f412 in softdep_update_inodeblock (ip=0xc19f1800, bp=0xc658d5b4, waitfor=0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:3847
ip = (struct inode *) 0x68c040
inodedep = (struct inodedep *) 0xc17e9080
wk = (struct worklist *) 0x68c040
gotit = 6864960
#15 0xc022a391 in ffs_update (vp=0xcd8e1380, waitfor=0) at /usr/src/sys/ufs/ffs/ffs_inode.c:106
fs = (struct fs *) 0xc130f000
bp = (struct buf *) 0xc658d5b4
ip = (struct inode *) 0xc19f1800
error = 0
#16 0xc022a675 in ffs_truncate (vp=0xcd8e1380, length=0, flags=0, cred=0x0, p=0xcc008780) at /usr/src/sys/ufs/ffs/ffs_inode.c:201
flags = 0
ovp = (struct vnode *) 0xcd8e1380
lastblock = -1050765568
oip = (struct inode *) 0xc19f1800
bn = -872380544
lbn = -1053816608
lastiblock = {16842754, -872380544, -854503788}
indir_lbn = {-1053762688, -1070823872, -846326912}
oldblks = {5, -854503868, -1071954580, -1046538240, 16842754, -846326804, -872380544, -854503856, -1071405019,
-854503832, -854503816, -1071913279, -854503832, -846326912, 65538}
newblks = {-1071355862, -1066948224, -1072155537, 0, -1046538240, 16777280, 0, -854503892, -1072154947, -1046538240,
16777280, 1048832, 65538, -846326912, -872380544}
fs = (struct fs *) 0xc130f000
bp = (struct buf *) 0xc01927c9
offset = -1053816832
size = 0
level = 0
count = -854503996
nblocks = 6864960
blocksreleased = 0
i = -1046538240
aflags = -1053878016
error = 0
allerror = -1072519760
osize = -3670066803013795776
#17 0xc02353fc in ufs_inactive (ap=0xcd114ed8) at /usr/src/sys/ufs/ufs/ufs_inode.c:89
ap = (struct vop_inactive_args *) 0x0
vp = (struct vnode *) 0xcd8e1380
ip = (struct inode *) 0xc19f1800
p = (struct proc *) 0xcc008780
mode = 0
error = 0
#18 0xc023a825 in ufs_vnoperate (ap=0xcd114ed8) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
ap = (struct vop_generic_args *) 0x0
#19 0xc01b7610 in vput (vp=0xcd8e1380) at vnode_if.h:815
a = {a_desc = 0xc02c85c0, a_vp = 0xcd8e1380, a_p = 0xcc008780}
vp = (struct vnode *) 0xcd8e1380
p = (struct proc *) 0x0
vp = (struct vnode *) 0xcd8e1380
p = (struct proc *) 0x0
#20 0xc022e218 in handle_workitem_remove (dirrem=0xc18b3780) at /usr/src/sys/ufs/ffs/ffs_softdep.c:2852
dirrem = (struct dirrem *) 0xc18b3780
p = (struct proc *) 0xcc008780
inodedep = (struct inodedep *) 0xc17e9080
vp = (struct vnode *) 0xcd8e1380
ip = (struct inode *) 0x0
oldinum = 0
error = 0
#21 0xc022b891 in process_worklist_item (matchmnt=0x0, flags=0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:716
flags = 0
wk = (struct worklist *) 0xc18b3780
matchfs = (struct fs *) 0x0
vp = (struct vnode *) 0x0
matchcnt = 0
#22 0xc022b736 in softdep_process_worklist (matchmnt=0x0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:622
matchmnt = (struct mount *) 0x0
p = (struct proc *) 0xcc008780
matchcnt = 0
loopcount = 1
starttime = 1046045855
#23 0xc01b6f37 in sched_sync () at /usr/src/sys/kern/vfs_subr.c:1177
slp = (struct synclist *) 0xc1219a0c
vp = (struct vnode *) 0x0
starttime = 1046045855
s = 0
p = (struct proc *) 0xcc008780
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302240650.h1O6o7NL066196>
