Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2009 04:09:04 +0200
From:      Marko Zec <zec@icir.org>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: Kernel Compiled with options VIMAGE panics on boot
Message-ID:  <200905110409.04612.zec@icir.org>
In-Reply-To: <4A06E7B0.10600@gmail.com>
References:  <4A06E7B0.10600@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 10 May 2009 16:41:52 Sevan / Venture37 wrote:
> Hi
> I've installed a fresh copy of this months snapshot, updated src via
> cvsup, made a copy of the GENERIC config file, added 'options VIMAGE' &
> 'nooptions SCTP' & compiled & installed it, on boot the system panics
> with the error:
> panic: in /usr/src/sys/net/if.c:485 if_alloc()
>   vnet=0 curvnet=0
> cpuid = 0
>
> photo of panic:
> http://img18.imageshack.us/img18/3297/img1057e.jpg
>
> Any ideas??
>
> /usr/src/sys/net/if.c is v1.328 if that helps.

It seems that the USB code should set the curvnet context when attaching and 
detaching ifnets (rum0 in your case), which it currently does not.  I'll look 
into this in the next few days - thanks for the report!

Marko



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