From owner-freebsd-virtualization@FreeBSD.ORG Mon May 11 02:35:16 2009 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A2FF106564A for ; Mon, 11 May 2009 02:35:16 +0000 (UTC) (envelope-from zec@icir.org) Received: from xaqua.tel.fer.hr (xaqua.tel.fer.hr [161.53.19.25]) by mx1.freebsd.org (Postfix) with ESMTP id 09AAF8FC14 for ; Mon, 11 May 2009 02:35:15 +0000 (UTC) (envelope-from zec@icir.org) Received: by xaqua.tel.fer.hr (Postfix, from userid 20006) id 80A609B644; Mon, 11 May 2009 04:10:04 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on xaqua.tel.fer.hr X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.7 Received: from localhost (imunes.tel.fer.hr [161.53.19.8]) by xaqua.tel.fer.hr (Postfix) with ESMTP id 23D019B645; Mon, 11 May 2009 04:09:46 +0200 (CEST) From: Marko Zec To: freebsd-virtualization@freebsd.org Date: Mon, 11 May 2009 04:09:04 +0200 User-Agent: KMail/1.9.10 References: <4A06E7B0.10600@gmail.com> In-Reply-To: <4A06E7B0.10600@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905110409.04612.zec@icir.org> Cc: Subject: Re: Kernel Compiled with options VIMAGE panics on boot X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2009 02:35:16 -0000 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