Date: Tue, 02 Sep 2003 03:01:49 +0200 From: Christian Brueffer <chris@unixpages.org> To: current@freebsd.org Subject: panic: softdep_lock: locking against myself Message-ID: <20030902010149.GG616@unixpages.org>
next in thread | raw e-mail | index | archive | help
--9dgjiU4MmWPVapMU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, got a panic with a kernel from sources around September 1st, 8pm. Dump and debugging kernel available for further debugging. cg@ got the same panic on his machine. Fatal trap 12: page fault while in kernel mode cpuid =3D 0; lapic.id =3D 00000000 fault virtual address =3D 0xdeadc1e6 fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc0306f82 stack pointer =3D 0x10:0xdb832528 frame pointer =3D 0x10:0xdb832558 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 42532 (as) trap number =3D 12 panic: page fault cpuid =3D 0; lapic.id =3D 00000000 boot() called on cpu#0 syncing disks, buffers remaining... panic: softdep_lock: locking against my= self cpuid =3D 0; lapic.id =3D 00000000 boot() called on cpu#0 Uptime: 5h39m29s Dumping 511 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 = 336 352 368 384 400 416 432 448 4 64 480 496 --- #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 240 dumping++; (kgdb) bt #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 #1 0xc0212d70 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:3= 72 #2 0xc0213176 in panic (fmt=3D0xc03bf620 "softdep_lock: locking against my= self") at /usr/src/sys/kern/kern_shutdown.c:550 #3 0xc02fde43 in acquire_lock (lk=3D0x0) at /usr/src/sys/ufs/ffs/ffs_softd= ep.c:258 #4 0xc0303152 in initiate_write_filepage (pagedep=3D0xc4f9d8c0, bp=3D0xce6= 61980) at /usr/src/sys/ufs/ffs/ffs_softdep.c:3535 #5 0xc0302fac in softdep_disk_io_initiation (bp=3D0xce661980) at /usr/src/= sys/ufs/ffs/ffs_softdep.c:3452 #6 0xc01c0b14 in spec_xstrategy (vp=3D0xc420adb0, bp=3D0xce661980) at /usr= /src/sys/sys/buf.h:416 #7 0xc01c0cf2 in spec_specstrategy (ap=3D0xdb832258) at /usr/src/sys/fs/sp= ecfs/spec_vnops.c:529 #8 0xc01bfc88 in spec_vnoperate (ap=3D0x0) at /usr/src/sys/fs/specfs/spec_= vnops.c:122 #9 0xc0318380 in ufs_strategy (ap=3D0x0) at vnode_if.h:1141 #10 0xc0319138 in ufs_vnoperate (ap=3D0x0) at /usr/src/sys/ufs/ufs/ufs_vnop= s.c:2792 #11 0xc025a497 in bwrite (bp=3D0xce661980) at vnode_if.h:1116 #12 0xc025acfc in bawrite (bp=3D0x0) at /usr/src/sys/kern/vfs_bio.c:1139 #13 0xc030ab59 in ffs_fsync (ap=3D0xdb832350) at /usr/src/sys/ufs/ffs/ffs_v= nops.c:247 #14 0xc0309d03 in ffs_sync (mp=3D0xc41c3e00, waitfor=3D2, cred=3D0xc150de80= , td=3D0xc040eb20) at vnode_if.h:627 #15 0xc027024b in sync (td=3D0xc040eb20, uap=3D0x0) at /usr/src/sys/kern/vf= s_syscalls.c:142 #16 0xc02128bf in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c:2= 81 #17 0xc0213176 in panic (fmt=3D0xc039f254 "%s") at /usr/src/sys/kern/kern_s= hutdown.c:550 #18 0xc0373446 in trap_fatal (frame=3D0xdb8324e8, eva=3D0) at /usr/src/sys/= i386/i386/trap.c:818 #19 0xc03730b2 in trap_pfault (frame=3D0xdb8324e8, usermode=3D0, eva=3D3735= 929318) at /usr/src/sys/i386/i386/trap.c:732 #20 0xc0372c6d in trap (frame=3D {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D 0, tf_esi =3D -83= 1494876, tf_ebp =3D -612162216, tf_isp =3D -6 12162284, tf_ebx =3D -559038242, tf_edx =3D 0, tf_ecx =3D -1069303248, = tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 0, tf_ eip =3D -1070567550, tf_cs =3D 8, tf_eflags =3D 66182, tf_esp =3D -1069= 607688, tf_ss =3D 1}) at /usr/src/sys/i386/i386/trap.c:417 #21 0xc0306f82 in getdirtybuf (bpp=3D0xc546ebbc, mtx=3D0x0, waitfor=3D1) at /usr/src/sys/ufs/ffs/ffs_softdep.c:5827 #22 0xc030601d in flush_deplist (listhead=3D0x0, waitfor=3D1, errorp=3D0xdb= 832590) at /usr/src/sys/ufs/ffs/ffs_softdep.c:5271 #23 0xc0305f29 in flush_inodedep_deps (fs=3D0xc41ca000, ino=3D918604) at /usr/src/sys/ufs/ffs/ffs_softdep.c:5235 #24 0xc0305977 in softdep_sync_metadata (ap=3D0xdb8326d4) at /usr/src/sys/u= fs/ffs/ffs_softdep.c:4968 #25 0xc030ac69 in ffs_fsync (ap=3D0xdb8326d4) at /usr/src/sys/ufs/ffs/ffs_v= nops.c:299 #26 0xc02f61cd in ffs_truncate (vp=3D0xc5b25000, length=3D26112, flags=3D20= 52, cred=3D0xc44c9e80, td=3D0xc531a980) at vnode_if.h:627 #27 0xc0312b29 in ufs_direnter (dvp=3D0xc5b25000, tvp=3D0xc4dde6d8, dirp=3D= 0xdb832910, cnp=3D0xdb832c00,=20 newdirbp=3D0x0) at /usr/src/sys/ufs/ufs/ufs_lookup.c:966 #28 0xc0318e4d in ufs_makeinode (mode=3D33188, dvp=3D0xc5b25000, vpp=3D0xdb= 832bec, cnp=3D0xdb832c00) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2541 #29 0xc0314f89 in ufs_create (ap=3D0xdb832a78) at /usr/src/sys/ufs/ufs/ufs_= vnops.c:199 #30 0xc0319138 in ufs_vnoperate (ap=3D0x0) at /usr/src/sys/ufs/ufs/ufs_vnop= s.c:2792 #31 0xc0278218 in vn_open_cred (ndp=3D0xdb832bd8, flagp=3D0xdb832cd8, cmode= =3D420, cred=3D0xc44c9e80, fdidx=3D0) at vnode_if.h:118 #32 0xc0278040 in vn_open (ndp=3D0x0, flagp=3D0x0, cmode=3D0, fdidx=3D0) at= /usr/src/sys/kern/vfs_vnops.c:93 #33 0xc0271060 in kern_open (td=3D0xc531a980, path=3D0x0, pathseg=3DUIO_USE= RSPACE, flags=3D1539, mode=3D438) at /usr/src/sys/kern/vfs_syscalls.c:688 #34 0xc0270f10 in open (td=3D0x0, uap=3D0x0) at /usr/src/sys/kern/vfs_sysca= lls.c:654 #35 0xc0373763 in syscall (frame=3D {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47, tf_edi =3D -1077938472, tf_e= si =3D 16, tf_ebp =3D -1077938744, tf_isp =3D -612160140, tf_ebx =3D 135094816, tf_edx =3D 176, tf_ecx =3D 17, tf_eax= =3D 5, tf_trapno =3D 12, tf_err =3D 2, tf_eip =3D 134911639, tf_cs =3D 31, tf_eflags =3D 514, tf_esp =3D -1077938788, tf_= ss =3D 47}) at /usr/src/sys/i386/i386/trap.c:1005 =20 - Christian =20 --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --9dgjiU4MmWPVapMU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/U+v9bHYXjKDtmC0RAk3eAJ4mBt/NRl3AVqMmHmp5HdKdrCwR7gCglOpa 6xmQWbU3jd3ZkLLWd0/+QAw= =n92I -----END PGP SIGNATURE----- --9dgjiU4MmWPVapMU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030902010149.GG616>