From owner-freebsd-current@FreeBSD.ORG Fri Dec 5 15:46:46 2003 Return-Path: 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 4D7E516A4CE for ; Fri, 5 Dec 2003 15:46:46 -0800 (PST) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id D80EC43FBD for ; Fri, 5 Dec 2003 15:46:42 -0800 (PST) (envelope-from mistry.7@osu.edu) Received: from 192.168.0.2 (adsl-64-108-96-51.dsl.wotnoh.ameritech.net [64.108.96.51]) (authenticated bits=0)hB5NnjZh089311 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 5 Dec 2003 18:49:48 -0500 (EST) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: Poul-Henning Kamp Date: Fri, 5 Dec 2003 18:44:51 -0500 User-Agent: KMail/1.5.3 References: <9419.1070659770@critter.freebsd.dk> In-Reply-To: <9419.1070659770@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_7hR0/cQybAlgx+V"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200312051844.59369.mistry.7@osu.edu> cc: freebsd-current@freebsd.org Subject: Re: panic in devstat_remove_entry X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2003 23:46:46 -0000 --Boundary-02=_7hR0/cQybAlgx+V Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Friday 05 December 2003 04:29 pm, Poul-Henning Kamp wrote: > In message <20031205185949.GA861@buffy.brucec.backnet>, Bruce Cran=20 writes: > > > >--r5Pyd7+fXNt84Ff3 > >Content-Type: text/plain; charset=3Dus-ascii > >Content-Disposition: inline > > > >I've found a way to panic 5.2-BETA which I can trigger in two ways. >=20 > Can you try with this patch ? >=20 >=20 > Index: geom_event.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/src/sys/geom/geom_event.c,v > retrieving revision 1.43 > diff -u -r1.43 geom_event.c > --- geom_event.c 18 Nov 2003 07:54:12 -0000 1.43 > +++ geom_event.c 5 Dec 2003 21:29:03 -0000 > @@ -106,8 +106,12 @@ > KASSERT(error !=3D 0, > ("g_orphan_provider(%p(%s), 0) error must be non-zero\n", > pp, pp->name)); > +=09 > pp->error =3D error; > mtx_lock(&g_eventlock); > + KASSERT(!(pp->flags & G_PF_ORPHAN), > + ("g_orphan_provider(%p(%s)), already an orphan", pp, pp->name)); > + pp->flags |=3D G_PF_ORPHAN; > TAILQ_INSERT_TAIL(&g_doorstep, pp, orphan); > mtx_unlock(&g_eventlock); > wakeup(&g_wait_event); >=20 > --=20 > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe =20 > Never attribute to malice what can adequately be explained by=20 incompetence. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to=20 "freebsd-current-unsubscribe@freebsd.org" >=20 Even with the patch I am getting a panic following Bruce's procedure. As=20 well as general problems playing cd, burning, etc. =2D-=20 Anish Mistry --Boundary-02=_7hR0/cQybAlgx+V Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/0Rh7xqA5ziudZT0RAsosAJ9WoM4E84IUpHXW3Cy4C/ED4s4AwACaA7mz nxNwgk1VtcQbwbHSQXuzT7Q= =xFWS -----END PGP SIGNATURE----- --Boundary-02=_7hR0/cQybAlgx+V--