VNET teardown changes (part I)

2016-02-22 Thread Bjoern A. Zeeb
) please do so and report back to me (privately) in case of success or panics. There is more to come. https://people.freebsd.org/~bz/20160222-01-projects-vnets.diff Thanks, Bjoern ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org

VNET jails not going away

2016-02-22 Thread Bjoern A. Zeeb
Hi, has anyone else experienced VNET jails to not fully go away anymore on a recent HEAD kernel (or possibly an older kernel)? I have test cases with which I can have them in DYING state (see jls -av) for ever or at least more than half a day. I am in the process of trying to find the cause

Re: sr-iov issues, reset_hw() failed with error -100

2016-02-22 Thread Ultima
After reboot... ifconfig ix1 up dhclient ix1 DHCPDISCOVER on ix1 to 255.255.255.255 port 67 interval 4 DHCPOFFER from 192.168.1.1 DHCPREQUEST on ix1 to 255.255.255.255 port 67 DHCPACK from 192.168.1.1 bound to 192.168.1.145 -- renewal in 21600 seconds. ix0 down ping 192.168.1.1 PING 192.168.1.1

Re: sr-iov issues, reset_hw() failed with error -100

2016-02-22 Thread Eric Joyner
Did you do an ifconfig up on ix1 before loading the VF driver? On Sat, Feb 20, 2016 at 11:57 AM Ultima wrote: > Decided to do some testing with iovctl to see how sr-iov is coming along. > Currently when adding the vf's there are a couple errors, and the network > no longer function after iovctl

RE: sr-iov issues, reset_hw() failed with error -100

2016-02-22 Thread Pieper, Jeffrey E
Just out of curiosity, how many cores does your system have? Jeff -Original Message- From: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd-curr...@freebsd.org] On Behalf Of Ultima Sent: Monday, February 22, 2016 12:02 PM To: Eric Joyner Cc: freebsd-curr...@freebsd.org; freebsd-v

Re: sr-iov issues, reset_hw() failed with error -100

2016-02-22 Thread Ultima
This system has 24 cores (e5-2670v3)x2 Ultima On Mon, Feb 22, 2016 at 3:53 PM, Pieper, Jeffrey E < jeffrey.e.pie...@intel.com> wrote: > Just out of curiosity, how many cores does your system have? > > Jeff > > -Original Message- > From: owner-freebsd-curr...@freebsd.org [mailto: > owner-

Re: sr-iov issues, reset_hw() failed with error -100

2016-02-22 Thread Ultima
Yeah, dmesg does show 48. 12 Cores and 24 threads each. 48 total On Mon, Feb 22, 2016 at 4:35 PM, Steven Hartland wrote: > isn't that 48 cores (12 real 12 virtual) per CPU? > > > On 22/02/2016 21:26, Ultima wrote: > >> This system has 24 cores (e5-2670v3)x2 >> >> Ultima >> >> On Mon, Feb 22, 201

Re: sr-iov issues, reset_hw() failed with error -100

2016-02-22 Thread Eric Joyner
I don't really have any ideas on the error -100. Error -100 means there was a mailbox error, so something failed in the initial communications setup between the PF and VF, but I don't know what exactly went wrong. I'm grasping at straws, but try using a smaller number of VFs initially, like 2? And

Re: sr-iov issues, reset_hw() failed with error -100

2016-02-22 Thread Ultima
I forgot to mention my kernel conf I'm not sure if it would cause this issue, but I'll test again with GENERIC. --- /usr/src/sys/amd64/conf/GENERIC 2016-02-22 21:05:37.152953000 -0500 +++ /root/MYKERNEL-11-CURRENT-AMD64 2015-12-28 19:18:22.893391452 -0500 @@ -91,6 +91,12 @@ options WITNESS_SK