Re: geom_virstor with kernel panic in FreeBSD 9.x

2012-08-03 Thread Jim Harris
On Fri, Aug 3, 2012 at 1:12 PM, Marcelo Gondim wrote: > > Hi Jim, > > Perfect!!! > > # gvirstor destroy tudo > gvirstor: Don't know anything about 'tudo' > > > Patch applied to head as r239021. I have requested approval from re@ to merge to stable/9. Thank you for confirming the patch on your e

Re: geom_virstor with kernel panic in FreeBSD 9.x

2012-08-03 Thread Marcelo Gondim
Em 03/08/2012 14:22, Jim Harris escreveu: On Fri, Aug 3, 2012 at 10:04 AM, Marcelo Gondim wrote: Hi Jim, When I applied the patch gave this error: # patch < /root/patch.diff Hmm... Looks like a unified diff to me... The text leading up to this was: -- |--- sys/geom/v

Re: geom_virstor with kernel panic in FreeBSD 9.x

2012-08-03 Thread Marcelo Gondim
Em 03/08/2012 14:22, Jim Harris escreveu: On Fri, Aug 3, 2012 at 10:04 AM, Marcelo Gondim wrote: Hi Jim, When I applied the patch gave this error: # patch < /root/patch.diff Hmm... Looks like a unified diff to me... The text leading up to this was: -- |--- sys/geom/v

Re: geom_virstor with kernel panic in FreeBSD 9.x

2012-08-03 Thread Jim Harris
On Fri, Aug 3, 2012 at 10:04 AM, Marcelo Gondim wrote: > Hi Jim, > > When I applied the patch gave this error: > > # patch < /root/patch.diff > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -- > > |--- sys/geom/virstor/g_virstor.c(r

Re: geom_virstor with kernel panic in FreeBSD 9.x

2012-08-03 Thread Marcelo Gondim
Em 03/08/2012 13:49, Jim Harris escreveu: === --- sys/geom/virstor/g_virstor.c(revision 238909) +++ sys/geom/virstor/g_virstor.c(working copy) @@ -235,6 +235,12 @@ return; }

Re: geom_virstor with kernel panic in FreeBSD 9.x

2012-08-03 Thread Jim Harris
On Fri, Aug 3, 2012 at 5:06 AM, Marcelo Gondim wrote: > Hi all, > > I sent a PR [1] but I decided to also send the problem here. > If you try to destroy a geom_virstor that does not exist, this causes a > kernel panic immediately. > > Just try: > > gvirstor load > gvirstor destroy tatata > > # una

geom_virstor with kernel panic in FreeBSD 9.x

2012-08-03 Thread Marcelo Gondim
Hi all, I sent a PR [1] but I decided to also send the problem here. If you try to destroy a geom_virstor that does not exist, this causes a kernel panic immediately. Just try: gvirstor load gvirstor destroy tatata # uname -a FreeBSD zeus..xxx.br 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #27