From owner-freebsd-current Tue Jan 28 17: 4:11 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 5728537B401 for ; Tue, 28 Jan 2003 17:04:09 -0800 (PST) Received: from edgemaster.zombie.org (edgemaster.creighton.edu [147.134.112.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id C941B43F79 for ; Tue, 28 Jan 2003 17:04:08 -0800 (PST) (envelope-from smkelly@zombie.org) Received: by edgemaster.zombie.org (Postfix, from userid 1001) id F323741591; Tue, 28 Jan 2003 19:04:07 -0600 (CST) Date: Tue, 28 Jan 2003 19:04:07 -0600 From: Sean Kelly To: current@freebsd.org Subject: Lock order reversal Message-ID: <20030129010407.GA31592@edgemaster.zombie.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline User-Agent: Mutt/1.5.3i 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 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I just noticed this during bootup. It is repeatable. FreeBSD 5.0-CURRENT #1: Mon Jan 27 14:00:00 CST 2003 root@edgemaster.zombie.org:/usr/obj/usr/src/sys/EDGEMASTER =2E.. Mounting root from ufs:/dev/ad1s1a cd0 at ata0 bus 0 target 1 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - t= ray open lock order reversal 1st 0xc6998a54 process lock (process lock) @ /usr/src/sys/kern/kern_descri= p.c:2104 2nd 0xc6944234 filedesc structure (filedesc structure) @ /usr/src/sys/kern= /kern_descrip.c:2111 sysctl_kern_file(SYSCTL_HANDLER_ARGS) { =2E.. LIST_FOREACH(p, &allproc, p_list) { 2104---> PROC_LOCK(p); xf.xf_pid =3D p->p_pid; xf.xf_uid =3D p->p_ucred->cr_uid; if ((fdp =3D p->p_fd) =3D=3D NULL) { PROC_UNLOCK(p); continue; } 2111---> FILEDESC_LOCK(fdp); for (n =3D 0; n < fdp->fd_nfiles; ++n) { if ((fp =3D fdp->fd_ofiles[n]) =3D=3D NULL) continue; =2E... --=20 Sean Kelly | PGP KeyID: D2E5E296 smkelly@zombie.org | http://www.zombie.org --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+NyiHPm7A9NLl4pYRAsd5AJ9MkaI/szmzgOlszWlcjaJTGanyvQCgwV9P +54uijWoqjr9TW6kIaLMBj4= =IUFy -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message