Re: adding vtnet to bridge results to kernel panic

2015-05-16 Thread Nikos Vassiliadis

On 05/14/15 22:49, Peter Grehan wrote:

Hi Nikos,


Hi Peter,


I get this panic when I add vtnet0 to a bridge.


  I created a PR for this
(https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200210) and will look
into it.


Thanks


 Thanks in advance for any ideas,

  tap will work, though, I suspect you're using vtnet to retain a
config'd IP address when the guest exits ??


I don't have a specific use case. I was trying something (*) and I got
this panic and I reported it;)

*:
I was testing a big STP experiment with VIMAGE and I wanted to
connect the host to the experiment and I got this panic. After
that I tried to narrow down the panic's trigger, so I removed
VIMAGE and tried to connect vtnet to a bridge.

Thanks,
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


adding vtnet to bridge results to kernel panic

2015-05-12 Thread Nikos Vassiliadis

Hi,

I get this panic when I add vtnet0 to a bridge.



Unread portion of the kernel message buffer:
panic: if_setflag: decrement non-positive refcount 0 for flag 256
cpuid = 1
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfe01a5be54c0
vpanic() at vpanic+0x189/frame 0xfe01a5be5540
kassert_panic() at kassert_panic+0x132/frame 0xfe01a5be55b0
if_setflag() at if_setflag+0x147/frame 0xfe01a5be5610
ifpromisc() at ifpromisc+0x2c/frame 0xfe01a5be5640
bridge_delete_member() at bridge_delete_member+0x3a8/frame 0xfe01a5be56c0
bridge_ioctl_add() at bridge_ioctl_add+0x574/frame 0xfe01a5be5710
bridge_ioctl() at bridge_ioctl+0x1ad/frame 0xfe01a5be57b0
ifioctl() at ifioctl+0x9df/frame 0xfe01a5be5860
kern_ioctl() at kern_ioctl+0x230/frame 0xfe01a5be58c0
sys_ioctl() at sys_ioctl+0x153/frame 0xfe01a5be59a0
amd64_syscall() at amd64_syscall+0x27f/frame 0xfe01a5be5ab0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfe01a5be5ab0
--- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x8011e09aa, rsp = 
0x7fffe1f8, rbp = 0x7fffe2a0 ---
KDB: enter: panic


Thanks in advance for any ideas,
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