Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 May 1998 13:09:17 -0400
From:      Adam McDougall <mcdougall@ameritech.net>
To:        current@FreeBSD.ORG
Subject:   SoftUpdates panics
Message-ID:  <3551EABD.CA93270F@ameritech.net>

next in thread | raw e-mail | index | archive | help
Sorry if this has already been reported but I keep getting panics during
a make world with a UP kernel, and wanted to provide a backtrace if
someone finds it useful.   Seems to panic within a few minutes of
starting the make world.

IdlePTD 1fe000
initial pcb at 1d52fc
panicstr: softdep_fsync: pending ops
panic messages:
---
panic: softdep_fsync: pending ops

syncing disks... panic: softdep_lock: locking against myself
dpt0: Shutting down (mode 260) HBA.     Please wait...panic:
softdep_disk_write_
complete: lock is held

dumping to dev 30001, offset 30208
dump 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:297
297                                     dumppcb.pcb_cr3 = rcr3();
(kgdb) backtrace
#0  boot (howto=260) at ../../kern/kern_shutdown.c:297
#1  0xf011ad1a in panic (
    fmt=0xf017153f "softdep_disk_write_complete: lock is held")
    at ../../kern/kern_shutdown.c:441
#2  0xf01715ff in softdep_disk_write_complete (bp=0xf1ee19c8)
    at ../../ufs/ffs/ffs_softdep.c:2902
#3  0xf0137896 in biodone (bp=0xf1ee19c8) at ../../kern/vfs_bio.c:1917
#4  0xf01396ec in cluster_callback (bp=0xf1ec1050)
    at ../../kern/vfs_cluster.c:484
#5  0xf0137870 in biodone (bp=0xf1ec1050) at ../../kern/vfs_bio.c:1912
#6  0xf0164824 in scsi_done (xs=0xf0bc6300) at
../../scsi/scsi_base.c:448
#7  0xf010495a in dpt_complete (dpt=0xf0a12000)
    at ../../dev/dpt/dpt_scsi.c:2620
#8  0xf01047bf in dpt_sintr () at ../../dev/dpt/dpt_scsi.c:2548
#9  0xf018f617 in doreti_swi ()
#10 0xf01053d3 in dpt_shutdown (howto=260, arg_dpt=0xf0a12000)
    at ../../dev/dpt/dpt_scsi.c:3309
#11 0xf011a9b8 in boot (howto=260) at ../../kern/kern_shutdown.c:277
#12 0xf011ad1a in panic (fmt=0xf016d9b1 "softdep_lock: locking against
myself")
    at ../../kern/kern_shutdown.c:441
#13 0xf016da19 in acquire_lock (lk=0xf01c9e8c)
    at ../../ufs/ffs/ffs_softdep.c:263
#14 0xf0171353 in initiate_write_inodeblock (inodedep=0xf0b50780,
---Type <return> to continue, or q <return> to quit---
    bp=0xf1ec7e28) at ../../ufs/ffs/ffs_softdep.c:2792
#15 0xf0170eb7 in softdep_disk_io_initiation (bp=0xf1ec7e28)
    at ../../ufs/ffs/ffs_softdep.c:2626
#16 0xf0148ab4 in spec_strategy (ap=0xf482baf0)
    at ../../miscfs/specfs/spec_vnops.c:555
#17 0xf01481b9 in spec_vnoperate (ap=0xf482baf0)
    at ../../miscfs/specfs/spec_vnops.c:127
#18 0xf017cdc5 in ufs_vnoperatespec (ap=0xf482baf0)
    at ../../ufs/ufs/ufs_vnops.c:2266
#19 0xf0135902 in bwrite (bp=0xf1ec7e28) at vnode_if.h:1100
#20 0xf013a07a in vop_stdbwrite (ap=0xf482bb54) at
../../kern/vfs_default.c:283
#21 0xf0139ec1 in vop_defaultop (ap=0xf482bb54) at
../../kern/vfs_default.c:130
#22 0xf01481b9 in spec_vnoperate (ap=0xf482bb54)
    at ../../miscfs/specfs/spec_vnops.c:127
#23 0xf017cdc5 in ufs_vnoperatespec (ap=0xf482bb54)
    at ../../ufs/ufs/ufs_vnops.c:2266
#24 0xf013639b in vfs_bio_awrite (bp=0xf1ec7e28) at vnode_if.h:1117
#25 0xf0176a5f in ffs_fsync (ap=0xf482bbf0) at
../../ufs/ffs/ffs_vnops.c:203
#26 0xf0174f57 in ffs_sync (mp=0xf0a15200, waitfor=2, cred=0xf0a3ac80,
    p=0xf01f32e0) at vnode_if.h:499
#27 0xf013e6a3 in sync (p=0xf01f32e0, uap=0x0) at
../../kern/vfs_syscalls.c:509
#28 0xf011a8db in boot (howto=256) at ../../kern/kern_shutdown.c:219
#29 0xf011ad1a in panic (fmt=0xf01724f9 "softdep_fsync: pending ops")
---Type <return> to continue, or q <return> to quit---
    at ../../kern/kern_shutdown.c:441
#30 0xf01725de in softdep_fsync (vp=0xf4899be0)
    at ../../ufs/ffs/ffs_softdep.c:3577
#31 0xf0176b7c in ffs_fsync (ap=0xf482bdb4) at
../../ufs/ffs/ffs_vnops.c:261
#32 0xf016cc27 in ffs_truncate (vp=0xf4899be0,
length=0x0000000000009000,
    flags=0, cred=0xf0a3ac80, p=0xf47c0c00) at vnode_if.h:499
#33 0xf017a8e9 in ufs_setattr (ap=0xf482bee8) at
../../ufs/ufs/ufs_vnops.c:487
#34 0xf017cd95 in ufs_vnoperate (ap=0xf482bee8)
    at ../../ufs/ufs/ufs_vnops.c:2248
#35 0xf0140d24 in ftruncate (p=0xf47c0c00, uap=0xf482bf94) at
vnode_if.h:275
#36 0xf0197c7f in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi =
-272639096,
      tf_esi = -272639026, tf_ebp = -272639252, tf_isp = -192757788,
      tf_ebx = 537387104, tf_edx = 0, tf_ecx = 36864, tf_eax = 198,
      tf_trapno = 12, tf_err = 7, tf_eip = 537329793, tf_cs = 31,
      tf_eflags = 534, tf_esp = -272639284, tf_ss = 39})
    at ../../i386/i386/trap.c:1031
#37 0x20070081 in ?? ()
#38 0x18d0 in ?? ()
#39 0x175f in ?? ()
#40 0x1099 in ?? ()
(kgdb)



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?3551EABD.CA93270F>