Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2010 08:30:57 -0700
From:      Julian Elischer <julian@freebsd.org>
To:        Nikos Vassiliadis <nvass9573@gmx.com>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: VIMAGE + NDIS
Message-ID:  <4CA0B8B1.9040304@freebsd.org>
In-Reply-To: <4CA04A35.5030107@gmx.com>
References:  <4CA04A35.5030107@gmx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  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"
>




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