panic in devstat_remove_entry

Bruce Cran bruce at cran.org.uk
Sat Dec 6 08:39:00 PST 2003


On Fri, Dec 05, 2003 at 10:52:14PM +0100, Poul-Henning Kamp wrote:
> In message <1070660961.42400.0.camel at hood.oook.cz>, Pav Lucistnik writes:
> >
> >--=-uWdTSPmn/JeCdMEeEHqT
> >Content-Type: text/plain; charset=iso-8859-2
> >Content-Transfer-Encoding: quoted-printable
> >
> >V p=E1, 05. 12. 2003 v 22:29, Poul-Henning Kamp p=ED=B9e:
> >
> >> >I've found a way to panic 5.2-BETA which I can trigger in two ways.
> >>=20
> >> Can you try with this patch ?
> >
> >gcc [...] /usr/src/sys/geom/geom_event.c
> >
> >/usr/src/sys/geom/geom_event.c: In function `g_orphan_provider':
> >/usr/src/sys/geom/geom_event.c:114: error: `G_PF_ORPHAN' undeclared (first =
> >use in this function)
> >/usr/src/sys/geom/geom_event.c:114: error: (Each undeclared identifier is r=
> >eported only once
> >/usr/src/sys/geom/geom_event.c:114: error: for each function it appears in.=
> 
> Sorry, you need this bit too (cut & paste):
> 
> Index: geom.h
> ===================================================================
> RCS file: /home/ncvs/src/sys/geom/geom.h,v
> retrieving revision 1.74
> diff -u -r1.74 geom.h
> --- geom.h      6 Oct 2003 09:05:44 -0000       1.74
> +++ geom.h      5 Dec 2003 21:26:40 -0000
> @@ -171,6 +171,7 @@
>         u_int                   flags;
>  #define G_PF_CANDELETE         0x1
>  #define G_PF_WITHER            0x2
> +#define G_PF_ORPHAN            0x4
>  };
>  
>  /* geom_dev.c */
> 
>

Great, I can't get it to panic any more!  Thanks for the
quick response!

--
Bruce Cran 


More information about the freebsd-current mailing list