panic in devstat_remove_entry
Poul-Henning Kamp
phk at phk.freebsd.dk
Fri Dec 5 13:52:17 PST 2003
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 */
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at 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.
More information about the freebsd-current
mailing list