VIMAGE + NDIS

2010-09-27 Thread Nikos Vassiliadis

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

1374if (V_loif)
(kgdb) list
1369}
1370*(unsigned short *)(tag + 1) = sa-sa_family;
1371m_tag_prepend(m, tag);
1372}
1373#ifdef VIMAGE
1374if (V_loif)
1375m-m_pkthdr.rcvif = V_loif;
1376else {
1377m_freem(m);
1378return;
(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),

Nikos
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: VIMAGE + NDIS

2010-09-27 Thread Julian Elischer

 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

1374if (V_loif)
(kgdb) list
1369}
1370*(unsigned short *)(tag + 1) = sa-sa_family;
1371m_tag_prepend(m, tag);
1372}
1373#ifdef VIMAGE
1374if (V_loif)
1375m-m_pkthdr.rcvif = V_loif;
1376else {
1377m_freem(m);
1378return;
(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-unsubscr...@freebsd.org




___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org