Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2003 18:56:39 +0100
From:      Ulrich Spoerlein <q@uni.de>
To:        leafy <leafy@leafy.idv.tw>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--=.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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030106185639.27667916.q>