From owner-freebsd-virtualization@FreeBSD.ORG Mon Sep 27 15:45:10 2010 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 A84D1106566B for ; Mon, 27 Sep 2010 15:45:10 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from out-0.mx.aerioconnect.net (out-0-17.mx.aerioconnect.net [216.240.47.77]) by mx1.freebsd.org (Postfix) with ESMTP id 8C0C58FC16 for ; Mon, 27 Sep 2010 15:45:10 +0000 (UTC) Received: from idiom.com (postfix@mx0.idiom.com [216.240.32.160]) by out-0.mx.aerioconnect.net (8.13.8/8.13.8) with ESMTP id o8RFUG9n019757; Mon, 27 Sep 2010 08:30:16 -0700 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (h-67-100-89-137.snfccasy.static.covad.net [67.100.89.137]) by idiom.com (Postfix) with ESMTP id F0B2E2D6019; Mon, 27 Sep 2010 08:30:15 -0700 (PDT) Message-ID: <4CA0B8B1.9040304@freebsd.org> Date: Mon, 27 Sep 2010 08:30:57 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Nikos Vassiliadis References: <4CA04A35.5030107@gmx.com> In-Reply-To: <4CA04A35.5030107@gmx.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 216.240.47.51 Cc: freebsd-virtualization@freebsd.org Subject: Re: VIMAGE + NDIS 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, 27 Sep 2010 15:45:10 -0000 On 9/27/10 12:39 AM, Nikos Vassiliadis wrote: > Hello, > > I am seeing a kernel panic with VIMAGE and NDIS. My wifi card needs > NDIS > and I need VIMAGE :) > > It is easily producible. Associate with an AP, run dhclient and then > change the SSID to something random. > > #10 0xc0978200 in rt_dispatch (m=0xc764ad00, sa=0x0) at > /usr/src/sys/net/rtsock.c:1374 > 1374 if (V_loif) > (kgdb) list > 1369 } > 1370 *(unsigned short *)(tag + 1) = sa->sa_family; > 1371 m_tag_prepend(m, tag); > 1372 } > 1373 #ifdef VIMAGE > 1374 if (V_loif) > 1375 m->m_pkthdr.rcvif = V_loif; > 1376 else { > 1377 m_freem(m); > 1378 return; > (kgdb) > > > Is there something I could try? Anything? I am using 8-STABLE and > I really want a VIMAGE enabled kernel. > > Thanks for any insights(and patches), ok so probably there is a code-path to this point that does not first set up the current-vnet pointer before doing this. what you need to do is to produce a stack-trace so we can see how it got here, and then we can figure out where on that path we should set the pointer. > > Nikos > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to > "freebsd-virtualization-unsubscribe@freebsd.org" >