From nobody@FreeBSD.org  Thu Jan 31 21:16:27 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F0E5D16A41A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 31 Jan 2008 21:16:26 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E1F4D13C459
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 31 Jan 2008 21:16:26 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0VLEa12044725
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 31 Jan 2008 21:14:36 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m0VLEZKq044719;
	Thu, 31 Jan 2008 21:14:35 GMT
	(envelope-from nobody)
Message-Id: <200801312114.m0VLEZKq044719@www.freebsd.org>
Date: Thu, 31 Jan 2008 21:14:35 GMT
From: Nicolae Namolovan <adrenalinup@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Current gvinum is not usable
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         120192
>Category:       kern
>Synopsis:       Current gvinum(8) is not usable
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lulf
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 31 21:20:01 UTC 2008
>Closed-Date:    Tue Mar 04 13:27:25 UTC 2008
>Last-Modified:  Tue Mar 04 13:27:25 UTC 2008
>Originator:     Nicolae Namolovan
>Release:        RELENG_7_0 from 31.01.2008
>Organization:
>Environment:
[root@centru /sys/modules/geom/geom_vinum]# uname -a
FreeBSD centru.md 7.0-RC1 FreeBSD 7.0-RC1 #1: Thu Jan 31 20:35:48 EET 2008     adrenalin@centru.md:/usr/obj/usr/src/sys/GOGOASHA  amd64
>Description:
Current gvinum is not usable, yesterday I got a kernel panic.

http://lists.freebsd.org/pipermail/freebsd-geom/2007-November/002683.html
I saw the same problem on the mail list, yet not fixed..

I heard there is some patches from Google Sumer Code ? Anyway, I can't
manage to compile them, this is what I get..

http://people.freebsd.org/~lulf/patches/gvinum/gvinum_2007-11-03_RELENG_7.diff

===> geom_vinum (all)
cc -O2 -march=nocona -fno-strict-aliasing  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum.c
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum.c: In function 'gv_init':
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum.c:177: warning: implicit declaration of function 'kproc_create'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum.c:177: warning: nested extern declaration of 'kproc_create'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum.c: In function 'gv_worker':
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum.c:931: warning: implicit declaration of function 'kproc_exit'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum.c:931: warning: nested extern declaration of 'kproc_exit'
cc -O2 -march=nocona -fno-strict-aliasing  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:657: error: redefinition of 'gv_create_drive'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:46: error: previous definition of 'gv_create_drive' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:788: error: redefinition of 'gv_create_volume'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:177: error: previous definition of 'gv_create_volume' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:802: error: redefinition of 'gv_create_plex'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:191: error: previous definition of 'gv_create_plex' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:837: error: redefinition of 'gv_create_sd'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:226: error: previous definition of 'gv_create_sd' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:923: error: redefinition of 'gv_concat'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:312: error: previous definition of 'gv_concat' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:989: error: redefinition of 'gv_mirror'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:378: error: previous definition of 'gv_mirror' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:1078: error: redefinition of 'gv_raid5'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:467: error: previous definition of 'gv_raid5' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:1157: error: redefinition of 'gv_stripe'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:546: error: previous definition of 'gv_stripe' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:1268: error: redefinition of 'gv_create_drive'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:46: error: previous definition of 'gv_create_drive' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:1399: error: redefinition of 'gv_create_volume'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:177: error: previous definition of 'gv_create_volume' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:1413: error: redefinition of 'gv_create_plex'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:191: error: previous definition of 'gv_create_plex' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:1448: error: redefinition of 'gv_create_sd'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:226: error: previous definition of 'gv_create_sd' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:1534: error: redefinition of 'gv_concat'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:312: error: previous definition of 'gv_concat' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:1600: error: redefinition of 'gv_mirror'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:378: error: previous definition of 'gv_mirror' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:1689: error: redefinition of 'gv_raid5'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:467: error: previous definition of 'gv_raid5' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:1768: error: redefinition of 'gv_stripe'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:546: error: previous definition of 'gv_stripe' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:1879: error: redefinition of 'gv_create_drive'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:46: error: previous definition of 'gv_create_drive' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:2010: error: redefinition of 'gv_create_volume'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:177: error: previous definition of 'gv_create_volume' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:2024: error: redefinition of 'gv_create_plex'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:191: error: previous definition of 'gv_create_plex' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:2059: error: redefinition of 'gv_create_sd'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:226: error: previous definition of 'gv_create_sd' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:2145: error: redefinition of 'gv_concat'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:312: error: previous definition of 'gv_concat' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:2211: error: redefinition of 'gv_mirror'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:378: error: previous definition of 'gv_mirror' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:2300: error: redefinition of 'gv_raid5'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:467: error: previous definition of 'gv_raid5' was here
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:2379: error: redefinition of 'gv_stripe'
/usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum_create.c:546: error: previous definition of 'gv_stripe' was here
*** Error code 1

Stop in /usr/src/sys/modules/geom/geom_vinum.
*** Error code 1

Stop in /usr/src/sys/modules/geom.


Thanks for your assistance.. I'll try ZFS in the mean time..
>How-To-Repeat:
http://lists.freebsd.org/pipermail/freebsd-geom/2007-November/002683.html
>Fix:
http://lists.freebsd.org/pipermail/freebsd-geom/2007-November/002683.html

>Release-Note:
>Audit-Trail:

From: Volker <volker@vwsoft.com>
To: bug-followup@FreeBSD.org, adrenalinup@gmail.com
Cc:  
Subject: Re: kern/120192: Current gvinum(8) is not usable
Date: Fri, 01 Feb 2008 14:16:12 +0100

 Nicolae,
 
 I'm assuming you're trying to compile that patch, downloaded from
 ~lulf - am I wrong?
 
 If so, please ask the maintainer whether or not these patches are
 still valid and ask for help. Unfortunately we're unable to handle PRs
 for code not in CVS. We're sorry about that.
 
 If you're getting a kernel panic with code compiled from CVS, please
 post the panic message and a backtrace. Please provide as much
 information as possible to have someone else investigate that problem.
 
 Thanks!
 
 Volker
Responsible-Changed-From-To: freebsd-bugs->lulf 
Responsible-Changed-By: lulf 
Responsible-Changed-When: Mon Feb 11 17:35:04 UTC 2008 
Responsible-Changed-Why:  
- Investigating 

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

From: Ulf Lilleengen <lulf@stud.ntnu.no>
To: Nicolae Namolovan <adrenalinup@gmail.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/120192: Current gvinum is not usable
Date: Mon, 11 Feb 2008 18:38:15 +0100

 On tor, jan 31, 2008 at 09:14:35pm +0000, Nicolae Namolovan wrote:
 > 
 > >Number:         120192
 > >Category:       kern
 > >Synopsis:       Current gvinum is not usable
 > >Confidential:   no
 > >Severity:       critical
 > >Priority:       high
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Thu Jan 31 21:20:01 UTC 2008
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Nicolae Namolovan
 > >Release:        RELENG_7_0 from 31.01.2008
 > >Organization:
 > >Environment:
 > [root@centru /sys/modules/geom/geom_vinum]# uname -a
 > FreeBSD centru.md 7.0-RC1 FreeBSD 7.0-RC1 #1: Thu Jan 31 20:35:48 EET 2008     adrenalin@centru.md:/usr/obj/usr/src/sys/GOGOASHA  amd64
 > >Description:
 > Current gvinum is not usable, yesterday I got a kernel panic.
 > 
 > http://lists.freebsd.org/pipermail/freebsd-geom/2007-November/002683.html I saw the same problem on the mail list, yet not fixed..
 > 
 > I heard there is some patches from Google Sumer Code ? Anyway, I can't manage to compile them, this is what I get..
 > http://people.freebsd.org/~lulf/patches/gvinum/gvinum_2007-11-03_RELENG_7.diff
 > 
 > ===> geom_vinum (all)
 > cc -O2 -march=nocona -fno-strict-aliasing  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef - Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum.c
 [...]
 
 I replied to this in private, but I'll post it here also to get it into
 GNATS:
 
 Hi,
 
 Glad to hear someone is trying my patches out :)
 
 I just tried it, and it works on RELENG_7_0. From the errors you get, it
 looks like you've tried to apply the patch twice (since you get redifenition
 of function XXX all the time). Also, the kproc_ warning seems strange, but
 might come if you run 6.x and compile 7.0.
 
 So, make sure you have a clean geom tree. Try and rm -rf
 sys/geom/vinum
 sys/modules/geom/geom_vinum
 sbin/gvinum
 
 do a csup, and try to apply the patch again.
 
 In case you applied it to the wrong place the first time, the patch is to be
 applied to /usr/src
 
 -- 
 Ulf Lilleengen
State-Changed-From-To: open->feedback 
State-Changed-By: lulf 
State-Changed-When: Mon Feb 11 18:05:58 UTC 2008 
State-Changed-Why:  
- A solution proposal have been posted. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120192 
State-Changed-From-To: feedback->closed 
State-Changed-By: lulf 
State-Changed-When: Mon Feb 11 19:44:48 UTC 2008 
State-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=120192 
State-Changed-From-To: closed->feedback 
State-Changed-By: lulf 
State-Changed-When: Mon Feb 11 19:50:19 UTC 2008 
State-Changed-Why:  
- Closed this by an error. 

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

From: "Nicolae Namolovan" <adrenalinup@gmail.com>
To: "Ulf Lilleengen" <lulf@stud.ntnu.no>, freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/120192: Current gvinum is not usable
Date: Mon, 11 Feb 2008 20:34:32 +0100

 Unfortunately I don't have more time for testing.. Already using ZFS,
 seem to working fine..
 
 On Feb 11, 2008 6:38 PM, Ulf Lilleengen <lulf@stud.ntnu.no> wrote:
 > On tor, jan 31, 2008 at 09:14:35pm +0000, Nicolae Namolovan wrote:
 > >
 > > >Number:         120192
 > > >Category:       kern
 > > >Synopsis:       Current gvinum is not usable
 > > >Confidential:   no
 > > >Severity:       critical
 > > >Priority:       high
 > > >Responsible:    freebsd-bugs
 > > >State:          open
 > > >Quarter:
 > > >Keywords:
 > > >Date-Required:
 > > >Class:          sw-bug
 > > >Submitter-Id:   current-users
 > > >Arrival-Date:   Thu Jan 31 21:20:01 UTC 2008
 > > >Closed-Date:
 > > >Last-Modified:
 > > >Originator:     Nicolae Namolovan
 > > >Release:        RELENG_7_0 from 31.01.2008
 > > >Organization:
 > > >Environment:
 > > [root@centru /sys/modules/geom/geom_vinum]# uname -a
 > > FreeBSD centru.md 7.0-RC1 FreeBSD 7.0-RC1 #1: Thu Jan 31 20:35:48 EET 2008     adrenalin@centru.md:/usr/obj/usr/src/sys/GOGOASHA  amd64
 > > >Description:
 > > Current gvinum is not usable, yesterday I got a kernel panic.
 > >
 > > http://lists.freebsd.org/pipermail/freebsd-geom/2007-November/002683.html I saw the same problem on the mail list, yet not fixed..
 > >
 > > I heard there is some patches from Google Sumer Code ? Anyway, I can't manage to compile them, this is what I get..
 > > http://people.freebsd.org/~lulf/patches/gvinum/gvinum_2007-11-03_RELENG_7.diff
 > >
 > > ===> geom_vinum (all)
 > > cc -O2 -march=nocona -fno-strict-aliasing  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef  -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/geom/geom_vinum/../../../geom/vinum/geom_vinum.c
 > [...]
 >
 > I replied to this in private, but I'll post it here also to get it into
 > GNATS:
 >
 > Hi,
 >
 > Glad to hear someone is trying my patches out :)
 >
 > I just tried it, and it works on RELENG_7_0. From the errors you get, it
 > looks like you've tried to apply the patch twice (since you get redifenition
 > of function XXX all the time). Also, the kproc_ warning seems strange, but
 > might come if you run 6.x and compile 7.0.
 >
 > So, make sure you have a clean geom tree. Try and rm -rf
 > sys/geom/vinum
 > sys/modules/geom/geom_vinum
 > sbin/gvinum
 >
 > do a csup, and try to apply the patch again.
 >
 > In case you applied it to the wrong place the first time, the patch is to be
 > applied to /usr/src
 >
 > --
 > Ulf Lilleengen
 >
 
 
 
 -- 
 Sincerely,
 Nicolae Namolovan.
State-Changed-From-To: feedback->closed 
State-Changed-By: lulf 
State-Changed-When: Tue Mar 4 13:26:53 UTC 2008 
State-Changed-Why:  
- The patch have been verified to work against a clean source tree. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=120192 
>Unformatted:
