Date: Fri, 17 Mar 2017 10:42:41 +0530 From: Reshad Patuck <reshadpatuck1@gmail.com> To: Ayaka Koshibe <akoshibe@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: VNET kernel panic on remove renamed interfaces Message-ID: <7C98607E-8918-4C42-9956-648B11BD9701@gmail.com> In-Reply-To: <CAA-4d9SK3hkdpnBH_o8u3qHFKoZuKpu2dOA0UU5%2BXxNi5wODEA@mail.gmail.com> References: <C20DF21D-A392-4AB7-852F-4D3E599956A3@gmail.com> <CAA-4d9SK3hkdpnBH_o8u3qHFKoZuKpu2dOA0UU5%2BXxNi5wODEA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I applied the patch @Ayaka mentioned (r315192) against 11-STABLE and ran the same test against a complied kernel, and it works now. Also I found another issue with 11-STABLE that seems to be patched in 12. I wrote a script to bring up 300 vnet jails on 3 bridges, with a pf router jail in between and shut them down. When I run this script in a loop for some time the system crashes, without leaving a crash dump. Please let me know if there is anything in the PF-VNET-Jails stack I can help test. Are there any plans to backport these patches to 11-STABLE. I would like if it is possible to have these in 11.1-RELEASE. Best regards, Reshad On 15 March 2017 01:08:14 GMT+05:30, Ayaka Koshibe <akoshibe@gmail.com> wrote: >Hi, > >This looks identical to the panic that I was seeing. It was just >patched in -CURRENT yesterday (r315192) - maybe it's this? > >https://svnweb.freebsd.org/base?view=revision&revision=315192 > > >Ayaka > >On Tue, Mar 14, 2017 at 11:25 AM, Reshad Patuck ><reshadpatuck1@gmail.com> wrote: >> Hi, >> >> I am trying to use vnet and pf to host multiple (100s of) jails on a >server with a jailed pf router, which will be spun up and down by a >script. >> >> I rename the epair interfaces so that I know which jail links to >which interface (for convenience). >> >> After I delete the jail and renamed epair the kernel panics when I >attempt to recreate the epair. >> >> I believe this is an issue occurs only when I have renamed the epair. >> >> This issue seems to be fixed in 12-CURRENT as I can not make it crash >on current. However this continues to happen on 11-STABLE and >11.0-RELEASE. >> >> I have found these which seem to fix something similar issues: >> >https://svnweb.freebsd.org/base?view=revision&sortby=rev&revision=292604 >> >https://svnweb.freebsd.org/base/projects/vnet/_scripts/jail-vnet-epair-regression01.sh?view=markup >> >> I have attached scripts that crash the system for the latest versions >on 11.0-RELEASE and 11-STABLE branches. >> >> Can someone help me find where this problem was fixed? (for 12) and >if there are any plans to backport the fix to the 11 branch. >> >> Also any tips on running 100s of VNET jails on a single box would be >much appreciated, and if there is anything I can help test I have some >physical and VMware boxes I can test on. >> >> Kernel version I have tested on: >> FreeBSD FreeBSD-11-RELEASE 11.0-RELEASE-p8 FreeBSD 11.0-RELEASE-p8 #1 >r315007: Fri Mar 10 17:27:30 UTC 2017 >root@FreeBSD-11-RELEASE:/usr/obj/usr/src/sys/VNET amd64 >> FreeBSD FreeBSD-11-STABLE 11.0-STABLE FreeBSD 11.0-STABLE #1 r315241: >Tue Mar 14 12:58:54 UTC 2017 >root@FreeBSD-11-STABLE:/usr/obj/usr/src/sys/VNET amd64 >> FreeBSD FreeBSD-12 12.0-CURRENT FreeBSD 12.0-CURRENT #1 r315237: Tue >Mar 14 10:17:06 UTC 2017 root@FreeBSD-12:/usr/obj/usr/src/sys/VNET >amd64 >> >> Attached: >> vnet-rename-epair.sh - Create and destroy a VNET jail in a loop while >renaming the epair interface. This crashes on 11. >> vnet-no-rename-epair.sh - Create and destroy a VNET jail while not >renaming the epair interface. This does not crash. >> info.0 - info file from core dump on FreeBSD-11-STABLE >> core.txt.0 - core.txt.0 file from core dump on FreeBSD-11-STABLE >> >> Best regards, >> >> Reshad >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to >"freebsd-net-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7C98607E-8918-4C42-9956-648B11BD9701>
