Re: panic in devstat_remove_entry

From: Bruce Cran <bruce_at_cran.org.uk>
Date: Fri, 5 Dec 2003 23:08:58 +0000
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
> _at__at_ -171,6 +171,7 _at__at_
>         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 
Received on Sat Dec 06 2003 - 07:39:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:32 UTC