Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2004 06:07:04 GMT
From:      Max Khon <fjoe@FreeBSD.org>
To:        daichi@FreeBSD.org, fjoe@FreeBSD.org, freebsd-geom@FreeBSD.org
Subject:   Re: kern/71431: [panic fix] [patch] geom_uzip.ko caused panic
Message-ID:  <200409090607.i89674F3039635@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: [panic fix] [patch] geom_uzip.ko caused panic

State-Changed-From-To: open->feedback
State-Changed-By: fjoe
State-Changed-When: Thu Sep 9 06:04:33 GMT 2004
State-Changed-Why: 
I can't reproduce this.
geom uzip load does not work.
kldload geom_uzip works perfectly.

Can you provide stack trace?
Can you reproduce the problem on recent -CURRENT?
You can try this patch instead (but I doubt that it will change anything
for you):

Index: sys/geom/uzip/g_uzip.c
===================================================================
RCS file: /home/ncvs/src/sys/geom/uzip/g_uzip.c,v
retrieving revision 1.1
diff -u -p -r1.1 g_uzip.c
--- sys/geom/uzip/g_uzip.c	13 Aug 2004 09:40:57 -0000	1.1
+++ sys/geom/uzip/g_uzip.c	8 Sep 2004 15:34:42 -0000
@@ -518,4 +518,5 @@ static struct g_class g_uzip_class = {
 	.spoiled = g_uzip_spoiled,
 };
 
-DECLARE_GEOM_CLASS(g_uzip_class, g_uzip);
+DECLARE_GEOM_CLASS(g_uzip_class, geom_uzip);
+MODULE_DEPEND(geom_uzip, zlib, 1, 1, 1);
Index: sys/modules/geom/geom_uzip/Makefile
===================================================================
RCS file: /home/ncvs/src/sys/modules/geom/geom_uzip/Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile
--- sys/modules/geom/geom_uzip/Makefile	13 Aug 2004 09:40:58 -0000	1.1
+++ sys/modules/geom/geom_uzip/Makefile	8 Sep 2004 15:32:40 -0000
@@ -3,7 +3,7 @@
 .PATH: ${.CURDIR}/../../../geom/uzip ${.CURDIR}/../../../net
 
 KMOD=	geom_uzip
-SRCS=	g_uzip.c zlib.c
+SRCS=	g_uzip.c
 #CFLAGS=	-g
 
 .include <bsd.kmod.mk>

http://www.freebsd.org/cgi/query-pr.cgi?pr=71431



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409090607.i89674F3039635>