Date: Fri, 05 Dec 2003 22:52:14 +0100 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: pav@FreeBSD.org Cc: freebsd-current@FreeBSD.org Subject: Re: panic in devstat_remove_entry Message-ID: <9995.1070661134@critter.freebsd.dk> In-Reply-To: Your message of "Fri, 05 Dec 2003 22:49:21 %2B0100." <1070660961.42400.0.camel@hood.oook.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <1070660961.42400.0.camel@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 */
--
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9995.1070661134>
