From owner-freebsd-current Sun Dec 8 6:33:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEA9F37B401 for ; Sun, 8 Dec 2002 06:33:47 -0800 (PST) Received: from smtp0.libero.it (smtp0.libero.it [193.70.192.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12B9C43EBE for ; Sun, 8 Dec 2002 06:33:47 -0800 (PST) (envelope-from flag@libero.it) Received: from newluxor.skynet.org (151.29.241.220) by smtp0.libero.it (6.7.015) id 3DE22A34005B05C7 for freebsd-current@FreeBSD.ORG; Sun, 8 Dec 2002 15:33:45 +0100 Received: by newluxor.skynet.org (Postfix, from userid 1001) id 70CE11B; Sun, 8 Dec 2002 15:30:35 +0100 (CET) Date: Sun, 8 Dec 2002 15:30:35 +0100 From: Paolo Pisati To: FreeBSD_Current Subject: Re: panic: lockmgr: locking against myself Message-ID: <20021208143035.GA722@newluxor.skynet.org> References: <20021208130541.GA580@newluxor.skynet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20021208130541.GA580@newluxor.skynet.org> User-Agent: Mutt/1.4i X-Useless-Header: Look ma, it's a # sign! X-Operating-System: FreeBSD newluxor.skynet.org 5.0-RC FreeBSD 5.0-RC Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Dec 08, 2002 at 02:05:41PM +0100, Paolo Pisati wrote: >=20 > flag@newluxor$ uname -a > FreeBSD newluxor.skynet.org 5.0-RC FreeBSD 5.0-RC #6: Sun Dec 8 13:45:45= CET 2002 flag@newluxor.skynet.org:/usr/obj/usr/src/sys/NEWLUXOR i386 > flag@newluxor$ >=20 > i get a panic everytime i launch tin to read the newsgroup: >=20 > panic: lockmgr: locking against myself > syncing disks, buffers remaining... panic: bdwrite: buffer is not busy and here is the dump: Script started on Sun Dec 8 15:22:34 2002 bash-2.05b# gdb -l=08 =08k /usr/obj/usr/src/sys/NEWLUXOR/kernel.debug vmcor= e.0 =0D GNU gdb 5.2.1 (FreeBSD)=0D Copyright 2002 Free Software Foundation, Inc.=0D GDB is free software, covered by the GNU General Public License, and you ar= e=0D welcome to change it and/or distribute copies of it under certain condition= s.=0D Type "show copying" to see the conditions.=0D There is absolutely no warranty for GDB. Type "show warranty" for details.= =0D This GDB was configured as "i386-undermydesk-freebsd"...=0D panic: bdwrite: buffer is not busy=0D panic messages:=0D ---=0D panic: lockmgr: locking against myself=0D =0D syncing disks, buffers remaining... panic: bdwrite: buffer is not busy=0D Uptime: 1m1s=0D Dumping 191 MB=0D ata0: resetting devices ..=0D done=0D 16 32 48 64 80 96 112 128 144 160 176=0D ---=0D #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:232=0D 232 dumping++;=0D (kgdb) where=0D #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:232=0D #1 0xc0225e8c in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:3= 64=0D #2 0xc02260b7 in panic () at /usr/src/sys/kern/kern_shutdown.c:517=0D #3 0xc0263ee8 in bdwrite (bp=3D0xc5babff8) at /usr/src/sys/kern/vfs_bio.c:= 950=0D #4 0xc02df9c8 in ffs_update (vp=3D0xc2001ce4, waitfor=3D0)=0D at /usr/src/sys/ufs/ffs/ffs_inode.c:125=0D #5 0xc02f1b95 in ffs_fsync (ap=3D0xd3a9e888)=0D at /usr/src/sys/ufs/ffs/ffs_vnops.c:315=0D #6 0xc02f0e1c in ffs_sync (mp=3D0xc1f27800, waitfor=3D2, cred=3D0xc0d3ae80= , =0D td=3D0xc03c5ae0) at vnode_if.h:612=0D #7 0xc0276146 in sync (td=3D0xc03c5ae0, uap=3D0x0)=0D at /usr/src/sys/kern/vfs_syscalls.c:138=0D #8 0xc0225ad9 in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c:2= 73=0D #9 0xc02260b7 in panic () at /usr/src/sys/kern/kern_shutdown.c:517=0D #10 0xc021a647 in lockmgr (lkp=3D0xc0d539fc, flags=3D2, interlkp=3D0x0, =0D td=3D0xc1faa1c0) at /usr/src/sys/kern/kern_lock.c:441=0D #11 0xc030487a in _vm_map_lock_read (map=3D0xc0d539c0, file=3D0x0, line=3D0= )=0D at /usr/src/sys/vm/vm_map.c:386=0D #12 0xc03072e0 in vm_map_lookup (var_map=3D0xd3a9ea24, vaddr=3D0, =0D fault_typea=3D2 '\002', out_entry=3D0xd3a9ea28, object=3D0x0, pindex=3D= 0x0, =0D out_prot=3D0x0, wired=3D0xd3a9ea00) at /usr/src/sys/vm/vm_map.c:2684=0D #13 0xc0301275 in vm_fault (map=3D0xc0d539c0, vaddr=3D0, fault_type=3D2 '\0= 02', =0D fault_flags=3D8) at /usr/src/sys/vm/vm_fault.c:214=0D ---Type to continue, or q to quit---=0D #14 0xc034409c in trap_pfault (frame=3D0xd3a9eae8, usermode=3D0, eva=3D62)= =0D at /usr/src/sys/i386/i386/trap.c:734=0D #15 0xc0343d16 in trap (frame=3D=0D {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D 0, tf_esi =3D 1= 3, tf_ebp =3D -743838936, tf_isp =3D -743838956, tf_ebx =3D -1037074680, tf= _edx =3D 0, tf_ecx =3D 1, tf_eax =3D 4096, tf_trapno =3D 12, tf_err =3D 2, = tf_eip =3D -1070557399, tf_cs =3D 8, tf_eflags =3D 66054, tf_esp =3D -74383= 8844, tf_ss =3D -1070564930})=0D at /usr/src/sys/i386/i386/trap.c:445=0D #16 0xc0335958 in calltrap () at {standard input}:98=0D #17 0xc03079be in vm_uiomove (mapa=3D0xc0d539c0, srcobject=3D0x0, cp=3D5324= 8, =0D cnta=3D4096, uaddra=3D135434240, npages=3D0x0) at /usr/src/sys/vm/vm_ma= p.c:3030=0D #18 0xc022aa4b in userspaceco (=0D cp=3D0xcb527000 "1 y\r\nsaar.org.handshake.aktuell 1 1 y\r\nsaar.org.ha= ndshake.diskussion 1 1 y\r\nsaar.org.handshake.gastinfo 1 1 y\r\nsaar.org.h= andshake.hilfe 1 1 y\r\nsaar.org.handshake.offizielles 1 1 y\r\nsaar.org.ip= .general"..., =0D cnt=3D4096, uio=3D0x0, obj=3D0x0, disposable=3D0)=0D at /usr/src/sys/kern/kern_subr.c:266=0D #19 0xc022aaf6 in uiomoveco (=0D cp=3D0xcb527000 "1 y\r\nsaar.org.handshake.aktuell 1 1 y\r\nsaar.org.ha= ndshake.diskussion 1 1 y\r\nsaar.org.handshake.gastinfo 1 1 y\r\nsaar.org.h= andshake.hilfe 1 1 y\r\nsaar.org.handshake.offizielles 1 1 y\r\nsaar.org.ip= .general"..., =0D n=3D4096, uio=3D0xd3a9ec88, obj=3D0x0, disposable=3D0)=0D at /usr/src/sys/kern/kern_subr.c:334=0D ---Type to continue, or q to quit---=0D #20 0xc025b913 in soreceive (so=3D0xc2302900, psa=3D0x0, uio=3D0xd3a9ec88, = mp0=3D0x0, =0D controlp=3D0x0, flagsp=3D0x0) at /usr/src/sys/kern/uipc_socket.c:993=0D #21 0xc024c48f in soo_read (fp=3D0x0, uio=3D0xd3a9ec88, active_cred=3D0xc22= f9d80, =0D flags=3D0, td=3D0xc1faa1c0) at /usr/src/sys/kern/sys_socket.c:81=0D #22 0xc02466a4 in dofileread (td=3D0xc1faa1c0, fp=3D0xc1fe91a4, fd=3D3, =0D buf=3D0x8129000, nbyte=3D0, offset=3D0, flags=3D0) at file.h:203=0D #23 0xc024659d in read (td=3D0xc1faa1c0, uap=3D0xd3a9ed14)=0D at /usr/src/sys/kern/sys_generic.c:107=0D #24 0xc034469c in syscall (frame=3D=0D {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47, tf_edi =3D 499, tf_esi =3D= 674022528, tf_ebp =3D -1077938616, tf_isp =3D -743838348, tf_ebx =3D 67394= 4348, tf_edx =3D -63356, tf_ecx =3D 0, tf_eax =3D 3, tf_trapno =3D 12, tf_e= rr =3D 2, tf_eip =3D 673507427, tf_cs =3D 31, tf_eflags =3D 514, tf_esp =3D= -1077938644, tf_ss =3D 47})=0D at /usr/src/sys/i386/i386/trap.c:1033=0D #25 0xc03359ad in Xint0x80_syscall () at {standard input}:140=0D ---Can't read userspace from dump, or kernel process---=0D =0D (kgdb) quit=0D bash-2.05b# xem=07acs/=08 =08 /=08 =08=08 =08=08 =08=08 =08=08 =08=08 =08= =08 =08=08 =08=07=07=07=07exit=0D exit=0D Script done on Sun Dec 8 15:24:36 2002 hope it helps u... --=20 Paolo Italian FreeBSD User Group: http://www.gufi.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message