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 gon...@bsdinfo.com.br 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

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 10:04 AM, Marcelo Gondim gon...@bsdinfo.com.br 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: -- |---

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 gon...@bsdinfo.com.br 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:

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 gon...@bsdinfo.com.br 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:

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 gon...@bsdinfo.com.br 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