From owner-freebsd-current Mon Jan 6 9:56:45 2003 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 F119A37B401 for ; Mon, 6 Jan 2003 09:56:43 -0800 (PST) Received: from wrzx35.rz.uni-wuerzburg.de (wrzx35.rz.uni-wuerzburg.de [132.187.3.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFD7443EC2 for ; Mon, 6 Jan 2003 09:56:41 -0800 (PST) (envelope-from q@uni.de) Received: from wrzx34.rz.uni-wuerzburg.de (wrzx34.rz.uni-wuerzburg.de [132.187.3.34]) by wrzx35.rz.uni-wuerzburg.de (8.8.8/8.8.8/uniwue-MM-1.05) with ESMTP id SAA21637 for ; Mon, 6 Jan 2003 18:56:40 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.rz.uni-wuerzburg.de (Postfix) with ESMTP id 97D4B66E69 for ; Mon, 6 Jan 2003 18:56:40 +0100 (CET) Received: from wrzx37.rz.uni-wuerzburg.de (wrzx37.rz.uni-wuerzburg.de [132.187.3.37]) by wrzx34.rz.uni-wuerzburg.de (Postfix) with ESMTP id 83A3A66E0B for ; Mon, 6 Jan 2003 18:56:40 +0100 (CET) Received: from spamchecker (localhost [127.0.0.1]) by spamcheck.rz.uni-wuerzburg.de (Postfix) with ESMTP id CCE8DA110 for ; Mon, 6 Jan 2003 18:56:39 +0100 (CET) Received: from frodo.galgenberg.net (galgenberg.net [132.187.222.250]) by wrzx37.rz.uni-wuerzburg.de (Postfix) with SMTP id AE961A08A for ; Mon, 6 Jan 2003 18:56:39 +0100 (CET) Received: (qmail 40108 invoked from network); 6 Jan 2003 17:56:39 -0000 Received: from gb-007.galgenberg.net (HELO roadrunner) (@132.187.222.7) by galgenberg.net with SMTP; 6 Jan 2003 17:56:39 -0000 Date: Mon, 6 Jan 2003 18:56:39 +0100 From: Ulrich Spoerlein To: leafy Cc: freebsd-current@freebsd.org Subject: Re: lock order reversal Message-Id: <20030106185639.27667916.q@uni.de> In-Reply-To: <20030104162517.GA630@leafy.idv.tw> References: <20030104162517.GA630@leafy.idv.tw> X-Mailer: Sylpheed version 0.8.8claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.W+Gxl__.iVTv5d" X-Spam-Status: No, hits=-3.9 required=8.0 tests=IN_REP_TO,NICE_HELO,ORDER_STATUS,PGP_SIGNATURE_2, REFERENCES,SPAM_PHRASE_00_01,TO_LOCALPART_EQ_REAL version=2.42-string_20021002 X-Spam-Level: X-Virus-Scanned: by AMaViS snapshot-20020422 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 --=.W+Gxl__.iVTv5d Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On 2003/01/05-00:25:17 leafy wrote: >lock order reversal >Jan 5 00:19:15 leafy kernel: 1st 0xc26b05c0 process lock (process lock) >@/usr/src/sys/kern/kern_descrip.c:2099 Jan 5 00:19:15 leafy kernel: 2nd >0xc2667e34 filedesc structure (filedesc structure) @ >/usr/src/sys/kern/kern_descrip.c:2106 > >The kernel is only about 40 mins old. /me too. updated world + kernel sometime yesterday (2003/01/05) and was about updating linux_base when a kernel panic occured. # portupgrade linux_base ... panic: lockmgr: pid 3171, not exclusive lock holder (sorry, i don't have more details :( after rebooting i got this on bootup: Mounting root from ufs:/dev/ad0s3a WARNING: / was not properly dismounted lock order reversal 1st 0xc340f068 process lock (process lock) @ /usr/src/sys/kern/kern_descrip.c:2099 2nd 0xc33e9634 filedesc structure (filedesc structure) @ /usr/src/sys/kern/kern_descrip.c:2106 i got another LOR when starting up Quake2 (but only once every boot): acquiring duplicate lock of same type: "pcm channel" 1st pcm0:record:0 @ /usr/src/sys/dev/sound/pcm/sound.c:191 2nd pcm0:play:0 @ /usr/src/sys/dev/sound/pcm/sound.c:191 --=.W+Gxl__.iVTv5d Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+GcNXmArGtfDbn0QRAjkpAJwIZpk8hdVFI5+40PV3Yp0QBARhbgCgg1VP q1bAH5xNI5oBM2B/z0eUbPo= =EU+4 -----END PGP SIGNATURE----- --=.W+Gxl__.iVTv5d-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message