Date: Fri, 5 Dec 2003 18:44:51 -0500 From: Anish Mistry <mistry.7@osu.edu> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: freebsd-current@freebsd.org Subject: Re: panic in devstat_remove_entry Message-ID: <200312051844.59369.mistry.7@osu.edu> In-Reply-To: <9419.1070659770@critter.freebsd.dk> References: <9419.1070659770@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Friday 05 December 2003 04:29 pm, Poul-Henning Kamp wrote:
> In message <20031205185949.GA861@buffy.brucec.backnet>, Bruce Cran
writes:
> >
> >--r5Pyd7+fXNt84Ff3
> >Content-Type: text/plain; charset=us-ascii
> >Content-Disposition: inline
> >
> >I've found a way to panic 5.2-BETA which I can trigger in two ways.
>
> Can you try with this patch ?
>
>
> Index: geom_event.c
> ===================================================================
> 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 != 0,
> ("g_orphan_provider(%p(%s), 0) error must be non-zero\n",
> pp, pp->name));
> +
> pp->error = error;
> mtx_lock(&g_eventlock);
> + KASSERT(!(pp->flags & G_PF_ORPHAN),
> + ("g_orphan_provider(%p(%s)), already an orphan", pp, pp->name));
> + pp->flags |= G_PF_ORPHAN;
> TAILQ_INSERT_TAIL(&g_doorstep, pp, orphan);
> mtx_unlock(&g_eventlock);
> wakeup(&g_wait_event);
>
> --
> Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG | TCP/IP since RFC 956
> FreeBSD committer | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by
incompetence.
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
"freebsd-current-unsubscribe@freebsd.org"
>
Even with the patch I am getting a panic following Bruce's procedure. As
well as general problems playing cd, burning, etc.
--
Anish Mistry
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQA/0Rh7xqA5ziudZT0RAsosAJ9WoM4E84IUpHXW3Cy4C/ED4s4AwACaA7mz
nxNwgk1VtcQbwbHSQXuzT7Q=
=xFWS
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312051844.59369.mistry.7>
